/* --------------------------------------------------
   In2AI LAB - Premium Global Stylesheet
   -------------------------------------------------- */

:root {
    /* Color Tokens (HSL Tailored) */
    --bg-dark: #07080e;
    --bg-dark-secondary: #0c0e18;
    --bg-card: rgba(13, 16, 28, 0.65);
    
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.25);
    --secondary: #7f00ff;
    --secondary-glow: rgba(127, 0, 255, 0.25);
    
    --cyan: #00f2fe;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --blue: #3b82f6;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Elements */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Background Ambient Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(180px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 40%;
    right: -100px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

/* Buttons */
.cta-button {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-cta {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    color: #07080e;
    box-shadow: 0 4px 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
    color: #ffffff;
}

.primary-cta:hover::before {
    opacity: 1;
}

.secondary-button {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.icon-right {
    transition: transform 0.3s ease;
}

.primary-cta:hover .icon-right {
    transform: translateX(4px);
}

/* Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 8, 14, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

#main-header.scrolled {
    background: rgba(7, 8, 14, 0.85);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.25em;
    color: var(--text-primary);
}

.logo-accent {
    color: #2563eb;
    background: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.logo img, .footer-logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 8px rgba(0, 136, 255, 0.15));
    transition: var(--transition-smooth);
}
.logo img:hover, .footer-logo img:hover {
    filter: drop-shadow(0 0 12px rgba(0, 136, 255, 0.35));
    transform: scale(1.05);
}

#desktop-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    padding: 8px 20px;
    font-size: 14px;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu Panel */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 8, 14, 0.95);
    backdrop-filter: blur(24px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.hidden {
    transform: translateX(100%);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-link {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text-secondary);
}

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

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Account for fixed header */
    box-sizing: border-box;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

#hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Interactive Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    position: relative;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.1) 0%, transparent 80%);
    border-radius: 50%;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    box-shadow: 0 0 40px var(--primary-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #07080e;
    z-index: 10;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-1 {
    width: 180px;
    height: 180px;
    animation: rotate-cw 20s linear infinite;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation: rotate-ccw 30s linear infinite;
}

.node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan);
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); }
.node-2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.node-3 { top: 50%; left: 0; transform: translate(-50%, -50%); }
.node-4 { top: 50%; right: 0; transform: translate(50%, -50%); }

@keyframes rotate-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Sections Global */
section {
    position: relative;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px; /* Offset for fixed header and space */
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* About Section */
#about {
    border-top: 1px solid var(--border-glass);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(127, 0, 255, 0.08);
    border: 1px solid rgba(127, 0, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--violet);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-desc h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.feature-desc p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Services Section */
#services {
    border-top: 1px solid var(--border-glass);
    padding: 100px 0 50px; /* Reduced vertical padding to save height */
}

#services .section-header {
    margin-bottom: 30px; /* Reduced spacing from header to cards */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Reduced min-width to prevent wrapping */
    gap: 16px; /* Reduced gap from 30px to save height */
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 24px 20px; /* Reduced card padding from 40px 30px */
    border-radius: 16px; /* Slightly tighter border radius */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
}
#card-automation:hover { box-shadow: 0 10px 30px rgba(0, 242, 254, 0.08); }
#card-apps:hover { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08); }
#card-agents:hover { box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08); }
#card-systems:hover { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08); }

.service-icon {
    width: 44px; /* Reduced icon container size from 56px */
    height: 44px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px; /* Reduced font size from 24px */
    margin-bottom: 16px; /* Reduced spacing from icon to title from 28px */
}

.icon-cyan {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--cyan);
}

.icon-violet {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--violet);
}

.icon-pink {
    background: rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: var(--pink);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--blue);
}

.service-card h3 {
    font-size: 18px; /* Reduced title size from 22px */
    margin-bottom: 8px; /* Reduced spacing from title to description from 12px */
}

.service-card p {
    color: var(--text-secondary);
    font-size: 13.5px; /* Compacted text size from 15px */
    line-height: 1.45; /* Compacted line height from 1.6 */
}

/* Early Access Section */
#early-access {
    border-top: 1px solid var(--border-glass);
}

.glass-form-container {
    background: rgba(13, 16, 28, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.form-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.access-form-el {
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-field {
    width: 100%;
    background: rgba(7, 8, 14, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 16px 20px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-field:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.form-field::placeholder {
    color: var(--text-muted);
}

textarea.form-field {
    min-height: 120px;
    resize: vertical;
}

.submit-btn-full {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 8px;
}

/* Success State Styles */
#success-message {
    padding: 20px 0;
    animation: scale-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon {
    font-size: 56px;
    color: var(--cyan);
    margin-bottom: 20px;
    animation: bounce 1.5s infinite;
    cursor: pointer;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.success-icon:hover {
    filter: drop-shadow(0 0 15px var(--cyan-glow));
}

#success-message h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

#success-message p {
    color: var(--text-secondary);
    font-size: 16px;
}

.hidden {
    display: none !important;
}

@keyframes scale-up {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Contact Section (Independent Full Screen) */
#contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    border-top: 1px solid var(--border-glass);
    position: relative;
    padding: 0;
    background: #040509;
}

.contact-section-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.contact-email-wrapper {
    margin-top: 20px;
    display: inline-block;
}

.contact-email-large {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.05em;
}

.contact-email-large i {
    color: var(--cyan);
    font-size: 28px;
    transition: transform 0.4s ease;
}

.contact-email-large:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.05);
    transform: scale(1.02);
}

.contact-email-large:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* Footer Section */
#main-footer {
    border-top: 1px solid var(--border-glass);
    padding: 30px 0;
    background: #040509;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* Mobile responsive for large email */
@media (max-width: 768px) {
    .contact-email-large {
        font-size: 18px;
        padding: 12px 20px;
        gap: 10px;
        border-radius: 30px;
    }
    
    .contact-email-large i {
        font-size: 16px;
    }
    
    #contact {
        min-height: 80vh;
    }
}

/* Process Section (How It Works) */
#process {
    border-top: 1px solid var(--border-glass);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.1);
    background: rgba(13, 16, 28, 0.85);
}

.process-step:hover::before {
    opacity: 1;
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
    line-height: 1;
}

.process-step h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive adjustment for process grid */
@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.fade-in.active {
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    #hero-title {
        font-size: 52px;
    }
    
    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
    
    section {
        min-height: auto;
        padding: 80px 0;
        display: block;
    }
    
    #hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 60px;
        display: block;
    }

    /* Header mobile adaptation */
    #desktop-nav, .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hero mobile adaptation */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    #hero-title {
        font-size: 44px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* About mobile adaptation */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Early Access mobile adaptation */
    .glass-form-container {
        padding: 40px 24px;
    }
    
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 16px;
    }
    
    .form-input {
        background: rgba(7, 8, 14, 0.6);
        border: 1px solid var(--border-glass);
        border-radius: 30px;
        text-align: center;
    }
    
    /* Footer mobile adaptation */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Language Toggle and Translation System */
body.lang-en .lang-ko {
    display: none !important;
}
body.lang-ko .lang-en {
    display: none !important;
}

/* Prevent CJK character break in the middle of words for Korean */
.lang-ko {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.lang-toggle-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 2px;
    margin-right: 15px;
}

.lang-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.05em;
}

.lang-toggle-btn.active {
    background: var(--cyan);
    color: #040509;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.lang-toggle-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Align Language toggle nicely in header */
.header-container {
    gap: 15px;
}

#desktop-nav {
    margin-right: auto;
    margin-left: 40px;
}

@media (max-width: 1024px) {
    .lang-toggle-wrapper {
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .lang-toggle-wrapper {
        margin-right: 0;
        margin-top: 10px;
    }
}
