/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --color-bg-darkest: #0a0c10;
    --color-bg-darker: #0f131a;
    --color-bg-dark: #161b22;
    --color-glass-bg: rgba(22, 27, 34, 0.6);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    
    --color-primary: #6366f1; /* Indigo */
    --color-primary-glow: rgba(99, 102, 241, 0.25);
    --color-secondary: #06b6d4; /* Cyan */
    --color-secondary-glow: rgba(6, 182, 212, 0.25);
    --color-accent: #f59e0b; /* Amber */
    --color-accent-glow: rgba(245, 158, 11, 0.2);
    
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
    --gradient-card-hover: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0) 100%);
    
    /* Typography */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-english: 'Outfit', sans-serif;
    
    /* Layout Settings */
    --container-max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET & BASICS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================
   GLASSMORPHISM REUSABLE CLASS
   ========================================== */
.glass {
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-hero);
    color: #fff;
    box-shadow: 0 4px 20px var(--color-primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-header {
    background: var(--color-primary);
    color: #fff;
    padding: 8px 18px;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px var(--color-primary-glow);
}

.btn-header:hover {
    background: #4f46e5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-glass-border);
    padding: 10px 0;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-card:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px var(--color-primary-glow);
}

/* ==========================================
   HEADER NAVIGATION
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--color-text-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Moving/Floating Ambient Lights */
.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
    animation: pulse-glow 10s infinite alternate;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: 100px;
    left: -100px;
    animation: pulse-glow 8s infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.2); opacity: 0.25; }
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-secondary);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--color-secondary);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    width: 100%;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-bg-darkest);
    background-size: cover;
    background-position: center;
    margin-right: -10px;
}

.avatar-1 { background-image: url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=100&q=80'); }
.avatar-2 { background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=100&q=80'); }
.avatar-3 { background-image: url('https://images.unsplash.com/photo-1492562080023-ab3db95bfbce?auto=format&fit=crop&w=100&q=80'); }

.avatar-plus {
    background-color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-english);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    border: 2px solid var(--color-glass-border);
}

.trust-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.highlight-text {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Hero Visual & Mockups */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
}

.mockup-card {
    width: 100%;
    border-radius: 20px;
    padding: 24px;
    position: absolute;
    top: 10%;
    left: 0;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(10deg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.circle.red { background-color: #ef4444; }
.circle.yellow { background-color: #f59e0b; }
.circle.green { background-color: #10b981; }

.header-title {
    font-family: var(--font-english);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-left: 10px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-group {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    font-family: var(--font-english);
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-change {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 2px;
}

.stat-change.positive { color: #10b981; }

.visual-chart {
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 4px 4px 0 0;
    height: var(--h);
    transition: var(--transition-smooth);
}

/* Floating Elements */
.float-1 {
    animation: floating-y 6s ease-in-out infinite alternate;
}

.float-2 {
    animation: floating-y 8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
    0% { transform: translateY(0) perspective(1000px) rotateY(-10deg) rotateX(10deg); }
    100% { transform: translateY(-15px) perspective(1000px) rotateY(-10deg) rotateX(10deg); }
}

.device-pos {
    width: 140px;
    padding: 16px;
    border-radius: 16px;
    position: absolute;
    top: -5%;
    right: -10%;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.device-terminal {
    width: 120px;
    padding: 16px;
    border-radius: 16px;
    position: absolute;
    bottom: 5%;
    left: -15%;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.device-screen {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.screen-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: absolute;
    top: 0;
    right: 0;
}

.device-tag {
    font-family: var(--font-english);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.device-details {
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.text-xs { font-size: 0.65rem; color: var(--color-text-secondary); }
.text-sm { font-size: 0.8rem; }
.font-bold { font-weight: 700; }

.nfc-icon {
    font-size: 1.5rem;
    align-self: center;
    margin: 8px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    position: relative;
    padding: 120px 0;
    background-color: #ffffff; /* Clean white background */
    color: #0f172a;
    z-index: 2;
}

.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-family: var(--font-english);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.highlight-underline {
    position: relative;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: 2px;
}

.section-description {
    color: var(--color-text-secondary);
    font-size: 1rem;
    max-width: 600px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border: 2.5px solid #0f131a; /* 1번 섹션 바탕색 딥 블루 계열의 외곽선 */
    border-radius: 24px;
    padding: 32px;
    background-color: rgba(15, 23, 42, 0.01);
}

.product-card {
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card-hover);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
}

.card-badge.highlight {
    background: var(--color-secondary);
}

.card-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.card-icon {
    width: 26px;
    height: 26px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-tagline {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
}

.check-icon {
    color: var(--color-secondary);
    font-weight: bold;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Card Hover State */
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover .card-icon-wrapper {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

/* ==========================================
   ADVANTAGES SECTION (Z-PATTERN & ALTERNATING THEMES)
   ========================================== */
.advantages-section {
    position: relative;
    z-index: 2;
}

.advantages-header-container {
    padding-top: 100px;
    padding-bottom: 40px;
    background-color: var(--color-bg-darker);
}

.advantages-header-container .section-header {
    margin-bottom: 0;
}

.advantages-list {
    display: flex;
    flex-direction: column;
}

.advantage-item {
    padding: 100px 0;
    display: flex;
    align-items: center;
    width: 100%;
    transition: var(--transition-smooth);
}

/* Odd row (Deep Blue Theme) */
.advantage-item:nth-child(odd) {
    background-color: #0b0f17;
    color: var(--color-text-primary);
}

.advantage-item:nth-child(odd) .advantage-number {
    color: #3b82f6; /* Vivid blue for visibility on dark background */
    opacity: 0.7; /* Enhanced visibility */
}

.advantage-item:nth-child(odd) .advantage-title {
    color: var(--color-text-primary);
}

.advantage-item:nth-child(odd) .advantage-desc {
    color: var(--color-text-secondary);
}

.advantage-item:nth-child(odd) .bullet-item {
    color: var(--color-text-secondary);
}

.advantage-item:nth-child(odd) .advantage-note {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-secondary);
    border-left: 3px solid var(--color-primary);
}

/* Even row (White Theme) */
.advantage-item:nth-child(even) {
    background-color: #ffffff;
    color: #0f172a;
}

.advantage-item:nth-child(even) .advantage-number {
    color: #1e3a8a; /* Deep navy blue for visibility on white background */
    opacity: 0.85; /* Highly visible */
}

.advantage-item:nth-child(even) .advantage-title {
    color: #0f172a;
}

.advantage-item:nth-child(even) .advantage-desc {
    color: #334155;
}

.advantage-item:nth-child(even) .bullet-item {
    color: #475569;
}

.advantage-item:nth-child(even) .advantage-note {
    background: rgba(15, 23, 42, 0.05);
    color: #475569;
    border-left: 3px solid var(--color-primary);
}

.advantage-item:nth-child(even) .advantage-image-container {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

/* Inner Container Grid */
.advantage-inner-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.advantage-item:nth-child(even) .advantage-inner-container {
    flex-direction: row-reverse;
}

/* Image Container */
.advantage-image-container {
    flex: 1.1;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1.5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.advantage-item:nth-child(even) .advantage-image-container {
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.advantage-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.advantage-image-container:hover .advantage-image {
    transform: scale(1.06);
}

/* Text Container */
.advantage-text-container {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.advantage-number {
    font-family: var(--font-english);
    font-size: clamp(5rem, 12vw, 8rem); /* scaled up significantly */
    font-weight: 800;
    line-height: 1;
    margin-bottom: -20px;
    user-select: none;
}

.advantage-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.advantage-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.advantage-note {
    font-size: 0.88rem;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.advantage-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
}

.bullet-icon {
    font-size: 1.1rem;
    color: var(--color-accent);
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVE SETTINGS)
   ========================================== */

/* Tablet (Under 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text-content {
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .advantage-inner-container {
        gap: 40px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (Under 768px) */
@media (max-width: 768px) {
    /* Critical constraint: ensure at least 20px of edge margin on mobile */
    .header-container,
    .hero-container,
    .section-container,
    .advantage-inner-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .nav-menu {
        display: none; /* simple hidden layout for menu on hero-only phase */
    }
    
    .hero-section {
        padding: 130px 0 60px;
    }
    
    .hero-visual {
        transform: scale(0.9);
    }
    
    .device-pos {
        right: -5%;
    }
    
    .device-terminal {
        left: -10%;
    }
    
    .section-header {
        margin-bottom: 40px;
    }

    /* Stacking advantages vertically (Photo top, Text bottom) */
    .advantage-inner-container {
        flex-direction: column !important;
        gap: 32px;
    }

    .advantage-image-container,
    .advantage-text-container {
        flex: none;
        width: 100%;
    }

    .advantage-item {
        padding: 60px 0;
    }

    .advantage-text-container {
        align-items: center;
        text-align: center;
    }

    .advantage-number {
        margin-bottom: 0;
    }

    .advantage-bullets {
        align-items: center;
    }
}

/* Small Screens (Under 480px) */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-visual {
        transform: scale(0.8);
        height: 280px;
    }
    
    .mockup-wrapper {
        max-width: 320px;
    }
    
    .product-card {
        padding: 24px;
    }
}

/* ==========================================
   CONTACT SECTION (FREE CONSULTATION FORM)
   ========================================== */
.contact-section {
    padding: 100px 0;
    background-color: #0b0f17; /* 허위 광고 없는 정직한 조건 섹션과 동일한 딥 블루/블랙 배경색 */
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Form Grid for Input Fields */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.input-group input::placeholder {
    color: var(--color-text-muted);
}

/* Input Focus Glow */
.input-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

/* Product Selection Section */
.product-selection-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.selection-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.label-hint {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-left: 6px;
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Hide native checkbox */
.product-select-card input[type="checkbox"] {
    display: none;
}

/* Card Style */
.product-select-card {
    cursor: pointer;
    display: block;
}

.card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--color-glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image-box {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 1px solid var(--color-glass-border);
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-select-card:hover .card-image-box img {
    transform: scale(1.05);
}

.card-text-box {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(22, 27, 34, 0.3);
}

.product-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

/* Custom Checkbox Design inside Card */
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-text-muted);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-smooth);
}

/* Hover and Checked states */
.product-select-card:hover .card-inner {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

/* When checked: Border glow and gradient outline */
.product-select-card.selected .card-inner {
    border-color: var(--color-secondary);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 20px var(--color-secondary-glow);
}

.product-select-card.selected .product-title {
    color: var(--color-text-primary);
}

.product-select-card.selected .checkbox-custom {
    border-color: var(--color-secondary);
    background: transparent;
}

.product-select-card.selected .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 8px var(--color-secondary);
}

/* Large Submit Button */
.form-submit-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    max-width: 480px;
    padding: 18px 0;
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); /* Eye-catching Amber gradient */
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(245, 158, 11, 0.35);
    transition: var(--transition-smooth);
    margin-bottom: 50px; /* Safe margin from bottom floating buttons */
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.submit-arrow {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.btn-submit:hover .submit-arrow {
    transform: translateX(6px);
}

/* Submitting state for button */
.btn-submit.submitting {
    opacity: 0.8;
    cursor: not-allowed;
    background: #4b5563;
    box-shadow: none;
    transform: none !important;
}

.btn-submit.submitting .submit-arrow {
    display: none;
}

/* Feedback Overlay */
.contact-form-wrapper {
    position: relative;
    overflow: hidden;
}

.form-feedback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 10;
    padding: 24px;
}

.form-feedback-overlay.active {
    opacity: 1;
    visibility: visible;
}

.feedback-content {
    max-width: 440px;
    width: 100%;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.form-feedback-overlay.active .feedback-content {
    transform: translateY(0);
}

.feedback-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-icon-wrapper.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.feedback-icon-wrapper.failure {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.feedback-icon {
    width: 32px;
    height: 32px;
}

.feedback-title {
    font-size: 1.3rem;
    font-weight: 800;
}

.feedback-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE DESIGN FOR FORM
   ========================================== */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 32px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .card-text-box {
        padding: 12px;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        font-size: 1.05rem;
    }
}

/* ==========================================
   PHILOSOPHY SECTION (BUSINESS COLUMN)
   ========================================== */
.philosophy-section {
    position: relative;
    padding: 100px 0;
    background-color: #f8fafc; /* 밝고 차분한 그레이/슬레이트 톤 */
    color: #0f172a; /* 가독성 높은 딥네이비 */
    z-index: 2;
}

/* 철학 섹션에 원고 데이터가 주입되지 않고 비어있을 경우 전체 숨김 처리 */
.philosophy-section:has(#philosophy-content-area:empty) {
    display: none;
}

.philosophy-container {
    max-width: 800px; /* 비즈니스 칼럼 느낌을 위해 가로 너비를 좁혀 독서 피로도 최소화 */
    margin: 0 auto;
}

.philosophy-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.philosophy-content {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.philosophy-section .content-text {
    font-size: 1.125rem;
    line-height: 1.85; /* 가독성을 위한 넉넉한 줄 간격 */
    color: #334155;
    word-break: keep-all;
}

.philosophy-section .content-text p {
    margin-bottom: 24px;
}

.philosophy-section .content-text p:last-child {
    margin-bottom: 0;
}

.philosophy-section .highlight-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.6;
    color: #0f172a;
    background: #f1f5f9;
    border-left: 5px solid var(--color-primary); /* 포인트 컬러 라인 */
    padding: 24px 32px;
    margin: 36px 0;
    border-radius: 4px 16px 16px 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

/* Responsive Styles for Philosophy Section */
@media (max-width: 768px) {
    .philosophy-section {
        padding: 60px 0;
    }
    
    .philosophy-content {
        padding: 32px 20px;
        border-radius: 16px;
    }
    
    .philosophy-section .content-text {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .philosophy-section .highlight-text {
        font-size: 1.1rem;
        padding: 16px 20px;
        margin: 24px 0;
    }
}

/* ==========================================
   WHITE THEME & VISUAL CARD ADJUSTMENTS
   ========================================== */

/* 1. Products Section Override (White Background) */
.products-section .section-title {
    color: #0f172a;
}

.products-section .section-description {
    color: #475569;
}

/* Card Styling adjustments for White Background */
.products-section .product-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    color: #0f172a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0; /* Let images touch card edges */
    transition: var(--transition-smooth);
}

.products-section .product-card .product-name {
    margin-top: 24px;
    padding-left: 28px;
    padding-right: 28px;
    color: #0f172a;
}

.products-section .product-card .product-tagline {
    color: #475569;
    padding-left: 28px;
    padding-right: 28px;
    margin-bottom: 20px;
}

.products-section .product-card .product-features {
    padding-left: 28px;
    padding-right: 28px;
    margin-bottom: 32px;
}

.products-section .product-card .product-features li {
    color: #334155;
}

/* Product Card representative images (16:9 Aspect Ratio) */
.product-img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.products-section .product-card:hover .product-img-box img {
    transform: scale(1.06);
}

.products-section .product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
    background: #ffffff;
}

/* ==========================================
   CONTACT FORM WRAPPER (LIGHT MODE ENVELOPE ON DARK BG)
   ========================================== */
.contact-form-wrapper {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.contact-form-wrapper .input-group label {
    color: #0f172a !important;
}

.contact-form-wrapper .input-group input {
    background: #f8fafc !important;
    border: 2px solid #cbd5e1 !important; /* 가독성 높은 외곽 테두리 */
    color: #0f172a !important;
}

.contact-form-wrapper .input-group input:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.25) !important;
    background: #ffffff !important;
}

.contact-form-wrapper .input-group input::placeholder {
    color: #94a3b8 !important;
}

.contact-form-wrapper .selection-label {
    color: #0f172a !important;
}

.contact-form-wrapper .label-hint {
    color: #64748b !important;
}

/* 상품 선택 체크박스 카드 라이트 테마 대응 */
.contact-form-wrapper .card-inner {
    background: #f8fafc !important;
    border: 2px solid #cbd5e1 !important;
}

.contact-form-wrapper .card-text-box {
    background: #ffffff !important;
    border-top: 1px solid #cbd5e1 !important;
}

.contact-form-wrapper .product-title {
    color: #475569 !important;
}

.contact-form-wrapper .product-select-card:hover .card-inner {
    border-color: var(--color-primary) !important;
}

.contact-form-wrapper .product-select-card.selected .card-inner {
    border-color: var(--color-secondary) !important;
    background: rgba(6, 182, 212, 0.02) !important;
}

.contact-form-wrapper .product-select-card.selected .product-title {
    color: #0f172a !important;
}

/* 모바일 해상도에서 테두리 박스 안의 여백 및 라운딩 반응형 최적화 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 20px 16px !important; /* 모바일 폭에 맞게 패딩 축소 */
        border-radius: 16px !important;
    }
    .contact-form-wrapper {
        border-radius: 16px !important;
    }
}


