/* ==========================================
   CSS Reset & Variables
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance Optimizations */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
}

/* GPU Acceleration for animated elements */
.navbar,
.hero,
.neural-bg,
.marquee-content,
.process-card,
.network-card,
.cta-card,
.service-content,
.faq-answer,
.fade-in {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Ensure images and media are responsive */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove default button/input styles */
button,
input,
textarea,
select {
    font: inherit;
}

/* Accessibility - Visible focus outlines */
:focus-visible {
    outline: 2px solid var(--accent-highlight);
    outline-offset: 3px;
}

/* Hide visually but keep accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    /* Colors - Clean Dark Theme like Won Agency */
    --bg-dark: #0d0d0d;
    --bg-darker: #000000;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    
    /* Accent */
    --accent-primary: #ffffff;
    --accent-secondary: #888888;
    --accent-highlight: #c8ff00; /* Lime/yellow like Won */
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    
    /* Borders */
    --border-color: #222222;
    --border-hover: #333333;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing - Responsive values */
    --container-max: 1400px;
    --section-padding: clamp(60px, 10vw, 120px) 0;
    --section-padding-mobile: 60px 0;
    --container-padding: clamp(16px, 4vw, 40px);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Touch targets - Minimum 44px for accessibility */
    --min-touch-target: 44px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: clamp(14px, 2.5vw, 16px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-highlight);
    color: var(--bg-dark);
}

/* ==========================================
   Container
   ========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: clamp(12px, 2vw, 20px) 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-color);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    line-height: 1;
}

.logo-img {
    height: clamp(36px, 6vw, 60px);
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    display: inline;
    line-height: 1;
}

@media (max-width: 360px) {
    .logo-text {
        display: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(20px, 4vw, 40px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
    min-height: var(--min-touch-target);
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--accent-highlight);
}

.nav-cta {
    padding: clamp(10px, 1.5vw, 12px) clamp(16px, 2.5vw, 24px);
    background: var(--text-primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
    min-height: var(--min-touch-target);
    display: flex;
    align-items: center;
}

.nav-cta:hover,
.nav-cta:focus {
    background: var(--accent-highlight);
    color: var(--bg-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    min-width: var(--min-touch-target);
    min-height: var(--min-touch-target);
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    display: block;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport for mobile browsers */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(100px, 15vw, 120px) 0 clamp(60px, 10vw, 80px);
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

.neural-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
    contain: strict;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(24px, 4.8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

.hero-title-line1 {
    display: block;
    white-space: nowrap;
}

.highlight {
    color: var(--accent-highlight);
    display: block;
    white-space: nowrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: clamp(20px, 5vw, 40px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: clamp(40px, 8vw, 60px);
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

/* ==========================================
   Marquee
   ========================================== */
.marquee-container {
    padding: clamp(20px, 4vw, 30px) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: clamp(24px, 5vw, 40px);
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.2vw, 2px);
}

.marquee-dot {
    color: var(--accent-highlight) !important;
    font-size: 8px !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   Section Labels & Titles
   ========================================== */
.section-label {
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.3vw, 3px);
    margin-bottom: clamp(12px, 2vw, 20px);
}

.section-title-large {
    font-size: clamp(24px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: clamp(-0.5px, -0.03em, -1.5px);
    max-width: min(800px, 100%);
}

.section-header {
    margin-bottom: clamp(40px, 8vw, 80px);
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.about-title {
    font-size: clamp(22px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: clamp(-0.5px, -0.02em, -1px);
}

.about-text p {
    color: var(--text-secondary);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.text-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(15px, 2vw, 18px);
    margin-top: clamp(12px, 2vw, 20px);
    transition: var(--transition-fast);
    padding: 8px 0;
}

.text-link span {
    color: var(--accent-highlight);
    transition: var(--transition-fast);
}

.text-link:hover,
.text-link:focus {
    color: var(--text-primary);
}

.text-link:hover span,
.text-link:focus span {
    margin-left: 8px;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.services-accordion {
    border-top: 1px solid var(--border-color);
}

.service-item {
    border-bottom: 1px solid var(--border-color);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 4vw, 30px) 0;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 100%;
    background: transparent;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    text-align: left;
    min-height: var(--min-touch-target);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.service-header:hover,
.service-header:focus {
    padding-left: clamp(10px, 2vw, 20px);
}

.service-name {
    font-size: clamp(18px, 3.5vw, 36px);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.service-toggle {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition-medium);
    flex-shrink: 0;
    margin-left: 16px;
}

.service-item.active .service-toggle {
    transform: rotate(45deg);
    color: var(--accent-highlight);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.service-item.active .service-content {
    max-height: 500px;
    padding-bottom: clamp(24px, 5vw, 40px);
}

.service-content p {
    color: var(--text-secondary);
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.8;
    max-width: min(700px, 100%);
    margin-bottom: clamp(16px, 3vw, 24px);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1.5vw, 12px);
}

.service-tags span {
    padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 16px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: clamp(11px, 1.3vw, 13px);
    color: var(--text-secondary);
    white-space: nowrap;
}

.section-cta {
    display: inline-block;
    margin-top: clamp(32px, 6vw, 60px);
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px);
    background: var(--text-primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-size: clamp(14px, 1.6vw, 15px);
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-fast);
    min-height: var(--min-touch-target);
}

.section-cta:hover,
.section-cta:focus {
    background: var(--accent-highlight);
}

/* ==========================================
   Process Section
   ========================================== */
.process-section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.process-card {
    padding: clamp(24px, 4vw, 40px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-medium);
}

.process-card:hover,
.process-card:focus-within {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.process-number {
    display: block;
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 800;
    color: var(--accent-highlight);
    opacity: 0.3;
    letter-spacing: -3px;
    margin-bottom: clamp(12px, 2vw, 20px);
}

.process-card h4 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    margin-bottom: clamp(10px, 1.5vw, 16px);
}

.process-card p {
    color: var(--text-secondary);
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.7;
}

/* ==========================================
   Network Section
   ========================================== */
.network-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(20px, 3vw, 30px);
}

.network-card {
    padding: clamp(24px, 4vw, 40px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-medium);
}

.network-card:hover,
.network-card:focus-within {
    border-color: var(--accent-highlight);
}

.network-icon {
    width: clamp(48px, 8vw, 64px);
    height: clamp(48px, 8vw, 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border-radius: 12px;
    margin-bottom: clamp(16px, 3vw, 24px);
    color: var(--accent-highlight);
}

.network-icon svg {
    width: clamp(24px, 4vw, 32px);
    height: clamp(24px, 4vw, 32px);
}

.network-card h4 {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

.network-card p {
    color: var(--text-secondary);
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.7;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.network-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.network-platforms span {
    padding: clamp(4px, 0.8vw, 6px) clamp(10px, 1.5vw, 14px);
    background: var(--bg-dark);
    border-radius: 100px;
    font-size: clamp(11px, 1.2vw, 12px);
    color: var(--text-muted);
}

/* ==========================================
   Dual CTA Section
   ========================================== */
.dual-cta-section {
    padding: var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

.dual-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(20px, 3vw, 30px);
}

.cta-card {
    padding: clamp(28px, 5vw, 50px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-medium);
}

.cta-card:hover,
.cta-card:focus-within {
    border-color: var(--border-hover);
}

.cta-label {
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 600;
    color: var(--accent-highlight);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: clamp(12px, 2vw, 20px);
}

.cta-card h3 {
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: clamp(12px, 2vw, 16px);
}

.cta-card > p {
    color: var(--text-secondary);
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.7;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.cta-features {
    list-style: none;
    margin-bottom: clamp(20px, 4vw, 32px);
}

.cta-features li {
    color: var(--text-secondary);
    font-size: clamp(12px, 1.5vw, 14px);
    padding: clamp(6px, 1vw, 8px) 0;
    padding-left: 24px;
    position: relative;
}

.cta-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-highlight);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-input {
    padding: clamp(12px, 2vw, 16px) clamp(14px, 2vw, 20px);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: clamp(14px, 1.6vw, 15px);
    font-family: var(--font-family);
    transition: var(--transition-fast);
    min-height: var(--min-touch-target);
    width: 100%;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-highlight);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    padding: clamp(12px, 2vw, 16px) clamp(18px, 3vw, 24px);
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-size: clamp(14px, 1.6vw, 15px);
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition-fast);
    min-height: var(--min-touch-target);
    width: 100%;
}

.submit-btn:hover,
.submit-btn:focus {
    background: var(--accent-highlight);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn-alt {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.submit-btn-alt:hover,
.submit-btn-alt:focus {
    background: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
}

.form-message {
    display: none;
    padding: clamp(10px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
    border-radius: 8px;
    font-size: clamp(12px, 1.4vw, 14px);
    animation: fadeIn 0.3s ease;
    margin-top: 8px;
}

.form-success {
    background: rgba(200, 255, 0, 0.1);
    border: 1px solid rgba(200, 255, 0, 0.3);
    color: var(--accent-highlight);
}

.form-error {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff6464;
}

.form-message.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.faq-container {
    max-width: min(900px, 100%);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(20px, 3.5vw, 28px) 0;
    background: transparent;
    background-color: transparent;
    border: none;
    color: var(--text-primary);
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 500;
    font-family: var(--font-family);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    min-height: var(--min-touch-target);
    gap: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.faq-question:hover,
.faq-question:focus {
    color: var(--accent-highlight);
}

.faq-icon {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition-medium);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-highlight);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.8;
    padding-bottom: clamp(20px, 3.5vw, 28px);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: clamp(80px, 15vw, 160px) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-content {
    max-width: min(900px, 100%);
    margin: 0 auto;
}

.contact-label {
    font-size: clamp(12px, 1.5vw, 14px);
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.contact-title {
    font-size: clamp(36px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: clamp(-1.5px, -0.03em, -3px);
    margin-bottom: clamp(20px, 4vw, 32px);
}

.contact-link {
    font-size: clamp(18px, 4vw, 48px);
    font-weight: 600;
    color: var(--accent-highlight);
    text-decoration: none;
    transition: var(--transition-fast);
    letter-spacing: clamp(-0.5px, -0.02em, -1px);
    display: inline-block;
    padding: 8px 0;
    word-break: break-word;
}

.contact-link:hover,
.contact-link:focus {
    opacity: 0.7;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: clamp(48px, 8vw, 80px) 0 clamp(24px, 4vw, 40px);
    background: var(--bg-darker);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(32px, 6vw, 80px);
    margin-bottom: clamp(32px, 6vw, 60px);
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: clamp(10px, 2vw, 16px);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: clamp(12px, 1.4vw, 14px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: clamp(24px, 4vw, 40px);
}

.footer-column h4 {
    font-size: clamp(11px, 1.3vw, 13px);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: clamp(12px, 2vw, 20px);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(13px, 1.5vw, 14px);
    transition: var(--transition-fast);
    padding: 4px 0;
    display: inline-block;
}

.footer-column a:hover,
.footer-column a:focus {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: clamp(24px, 4vw, 40px);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: clamp(11px, 1.3vw, 13px);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 24px;
    }
    
    .hero-title {
        font-size: 4.2vw;
    }
}

/* Mobile navigation */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5vw;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition-medium);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        font-size: clamp(20px, 5vw, 24px);
        padding: 12px 24px;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        letter-spacing: -1.5px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    /* Improve touch targets on mobile */
    .nav-link,
    .footer-column a {
        min-height: var(--min-touch-target);
        display: flex;
        align-items: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 5vw;
    }
    
    .service-header:hover,
    .service-header:focus {
        padding-left: 8px;
    }
    
    .cta-card {
        padding: 24px;
    }
    
    .process-card,
    .network-card {
        padding: 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 380px) {
    .hero-title {
        font-size: 5.2vw;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 80px 20px 20px;
        justify-content: center;
    }
    
    .nav-menu .nav-link {
        font-size: 16px;
    }
}

/* ==========================================
   Animations on Scroll
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .marquee-content {
        animation: none !important;
    }
    
    .neural-bg {
        display: none !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    .process-card:hover,
    .network-card:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #444444;
        --text-muted: #888888;
    }
    
    .nav-link:focus,
    .submit-btn:focus,
    .email-input:focus {
        outline-width: 3px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .neural-bg,
    .marquee-container,
    .hero-scroll-indicator {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .highlight,
    .accent-highlight {
        color: black;
    }
}
