/* ============================================
   IMMERA HEALTH - Digital Health Startup
   AI-Powered Care for Skilled Nursing Facilities
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Palette - Deep Navy/Ocean */
    --color-primary: #1e3a5f;
    --color-primary-light: #2d5a87;
    --color-primary-dark: #0f1d2f;
    --color-primary-muted: rgba(30, 58, 95, 0.1);
    
    /* Accent - Electric Cyan */
    --color-accent: #66d9e8;
    --color-accent-light: #99e9f2;
    --color-accent-dark: #3bc9db;
    --color-accent-muted: rgba(102, 217, 232, 0.15);
    
    /* Secondary - Warm Amber for CTAs */
    --color-cta: #f59f00;
    --color-cta-light: #fcc419;
    --color-cta-dark: #e67700;
    
    /* Neutrals - Cool slate */
    --color-bg: #f8fafc;
    --color-bg-cool: #f1f5f9;
    --color-bg-dark: #0f172a;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    
    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 40px rgba(102, 217, 232, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

h1 em {
    font-style: italic;
    color: var(--color-primary);
}

h2 {
    font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}

h2 em {
    font-style: italic;
    color: var(--color-accent-dark);
}

h3 {
    font-size: 1.375rem;
    font-weight: 500;
}

h4 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-muted);
}

.btn-full {
    width: 100%;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-dark);
    background: var(--color-accent-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-top: var(--space-md);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-md) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-mark {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 70% 20%, rgba(102, 217, 232, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(30, 58, 95, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-cool) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: 
        radial-gradient(circle at 1px 1px, var(--color-border) 1px, transparent 0);
    background-size: 48px 48px;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 320px;
    color: var(--color-primary);
}

.hero-waves svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* Hero Markers */
.hero-markers {
    display: flex;
    gap: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.marker {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.marker-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-muted);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.marker-icon svg {
    width: 20px;
    height: 20px;
}

.marker-text {
    display: flex;
    flex-direction: column;
}

.marker-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.marker-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-device {
    position: relative;
    width: 280px;
    height: 380px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: float 6s ease-in-out infinite;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 16px;
    overflow: hidden;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.screen-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.screen-status {
    font-size: 0.6875rem;
    color: var(--color-success);
    font-weight: 500;
}

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

.memory-prompt {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.memory-photo {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, rgba(102, 217, 232, 0.3) 0%, rgba(59, 201, 219, 0.2) 100%);
    border-radius: 8px;
    margin-bottom: 12px;
}

.memory-prompt p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.5;
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 60px;
    padding: 0 20px;
}

.wave-bar {
    width: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    height: var(--height);
    animation: waveMove 1.5s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes waveMove {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.visual-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.visual-card span {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-muted);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}

.card-icon svg {
    width: 18px;
    height: 18px;
}

.card-acoustic {
    top: 15%;
    right: 0;
    animation-delay: -2s;
}

.card-ehr {
    bottom: 20%;
    left: 0;
    animation-delay: -4s;
}

.visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    top: 10%;
    right: 20%;
    opacity: 0.2;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    bottom: 20%;
    left: 10%;
    opacity: 0.15;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-cool);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.problem-card {
    background: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:nth-child(2) { transition-delay: 0.1s; }
.problem-card:nth-child(3) { transition-delay: 0.2s; }

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--color-text-light);
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-stat {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

.problem-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.problem-card p strong {
    color: var(--color-text);
}

.problem-summary {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: var(--color-primary-muted);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.problem-summary p {
    font-size: 1.125rem;
    color: var(--color-primary);
}

.problem-summary em {
    font-style: italic;
    font-weight: 500;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution {
    padding: var(--space-4xl) 0;
}

.solution-intro {
    text-align: center;
    max-width: 600px;
    margin: -2rem auto var(--space-3xl);
}

.solution-intro p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.solution-card {
    background: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:nth-child(2) { transition-delay: 0.1s; }
.solution-card:nth-child(3) { transition-delay: 0.2s; }

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.solution-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.solution-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-muted), rgba(102, 217, 232, 0.25));
    color: var(--color-primary);
    border-radius: var(--radius-lg);
}

.solution-icon svg {
    width: 24px;
    height: 24px;
}

.solution-for {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-dark);
}

.solution-card h3 {
    margin-bottom: var(--space-md);
}

.solution-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.solution-card p strong {
    color: var(--color-text);
}

.solution-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.solution-features li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding-left: var(--space-lg);
    position: relative;
}

.solution-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ============================================
   WHY DIFFERENT SECTION
   ============================================ */
.why-different {
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
    color: white;
}

.why-different .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-accent);
}

.why-different h2 {
    color: white;
}

.why-different h2 em {
    color: var(--color-accent);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.why-point {
    display: flex;
    gap: var(--space-lg);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.why-point.visible {
    opacity: 1;
    transform: translateX(0);
}

.why-point:nth-child(2) { transition-delay: 0.1s; }
.why-point:nth-child(3) { transition-delay: 0.2s; }

.why-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.why-point h4 {
    color: white;
    margin-bottom: var(--space-xs);
}

.why-point p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.why-point p strong {
    color: white;
}

/* Value Diagram */
.why-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-diagram {
    position: relative;
    width: 320px;
    height: 320px;
}

.diagram-ring {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
}

.ring-outer {
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
}

.ring-outer span {
    position: absolute;
    top: 15px;
}

.ring-middle {
    inset: 50px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
}

.ring-middle span {
    position: absolute;
    top: 12px;
}

.ring-inner {
    inset: 100px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* ============================================
   STATUS SECTION
   ============================================ */
.status {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-cool);
}

.status-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

.timeline-item.completed .timeline-marker svg {
    width: 20px;
    height: 20px;
}

.timeline-item.current .timeline-marker {
    border-color: var(--color-accent);
    background: var(--color-accent-muted);
}

.marker-pulse {
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.marker-empty {
    width: 12px;
    height: 12px;
    background: var(--color-border);
    border-radius: 50%;
}

.timeline-content {
    flex: 1;
    padding-top: var(--space-xs);
}

.timeline-phase {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.timeline-item.current .timeline-phase {
    color: var(--color-accent-dark);
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-content {
    padding-right: var(--space-xl);
}

.contact-content h2 {
    margin-bottom: var(--space-md);
}

.contact-content > p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.partner-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--color-text);
}

.benefit svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-text);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form {
    background: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--color-bg-cool);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px var(--color-primary-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-disclaimer {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: var(--space-md);
}

/* Form States */
.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: var(--space-2xl);
    animation: fadeInUp 0.4s ease;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
}

.form-success p {
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-dark);
    padding: var(--space-4xl) 0 var(--space-xl);
    color: white;
}

.footer .logo-mark {
    color: var(--color-accent);
}

.footer .logo-text {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-top: var(--space-lg);
    max-width: 400px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: white;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-stage {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-markers {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-visual {
        display: none;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .why-visual {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        padding-right: 0;
        text-align: center;
    }
    
    .partner-benefits {
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: white;
        flex-direction: column;
        padding: 100px var(--space-xl) var(--space-xl);
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .hero-markers {
        flex-direction: column;
        align-items: center;
    }
    
    .marker {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .partner-benefits {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .status-timeline::before {
        left: 19px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .value-diagram {
        width: 260px;
        height: 260px;
    }
    
    .ring-middle {
        inset: 40px;
    }
    
    .ring-inner {
        inset: 80px;
    }
}
