/* ============================================
   CogniDev Website — Light Theme
   White + Purple (#9333ea) | Inter + JetBrains Mono
   ============================================ */

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

:root {
    --purple: #9333ea;
    --purple-light: #a855f7;
    --purple-dark: #7e22ce;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --green: #10b981;
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-dark: #059669;
    --amber: #f59e0b;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-dark: #d97706;
    --blue: #3b82f6;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-dark: #2563eb;
    --red: #ef4444;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-dark: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.06), 0 4px 6px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04);
    --transition: 150ms ease;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; font-size: 16px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-purple { color: var(--purple); }

/* ── Header ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200); transition: box-shadow var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 120px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gray-900); }
.logo-img { width: 100px; height: 100px; border-radius: 16px; object-fit: cover; }
.logo-text { display: none; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: 14px; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--gray-900); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gray-700); border-radius: 1px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 600; font-size: 14px; text-decoration: none; border-radius: var(--radius); border: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-primary { background: var(--white); color: var(--purple); border: 1px solid var(--purple-200); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 3px rgba(147,51,234,0.08); }
.btn-primary:hover { background: var(--purple-50); border-color: var(--purple-300); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 2px 6px rgba(147,51,234,0.12); }
.btn-outline { background: var(--white); color: var(--gray-600); border: 1px solid var(--gray-200); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.04); }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-300); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 2px 4px rgba(0,0,0,0.06); }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.03em; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-badge { display: inline-block; padding: 5px 14px; background: var(--purple-100); color: var(--purple); font-size: 12px; font-weight: 700; border-radius: 100px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero { padding: 128px 0 80px; background: var(--white); }
.hero .container { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.hero-badge { display: inline-block; padding: 6px 14px; background: var(--purple-100); color: var(--purple); font-size: 13px; font-weight: 600; border-radius: 100px; margin-bottom: 24px; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.08; letter-spacing: -0.04em; color: var(--gray-900); margin-bottom: 20px; }
.hero-desc { font-size: 17px; color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-size: 28px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.03em; }
.hero-stat-label { font-size: 12px; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }

/* Spotlight Carousel */
.spotlight { display: flex; flex-direction: column; gap: 0; }

.spot-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 14px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    cursor: pointer;
    transition: all 250ms ease;
    overflow: hidden;
}
.spot-card:first-child { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.spot-card:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.spot-card + .spot-card { border-top: none; }

/* Progress bar on left edge */
.spot-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0%;
    background: var(--purple);
    transition: none;
}
.spot-card.active .spot-bar {
    animation: spotProgress 5s linear forwards;
}
@keyframes spotProgress {
    from { height: 0%; }
    to { height: 100%; }
}

/* Head row */
.spot-head { display: flex; align-items: center; gap: 10px; }
.spot-num { font-size: 11px; font-weight: 700; color: var(--gray-300); }
.spot-title { font-size: 14px; font-weight: 700; color: var(--gray-900); flex: 1; }
.spot-arrow { color: var(--gray-300); transition: all 200ms ease; flex-shrink: 0; }
.spot-card.active .spot-arrow { color: var(--purple); transform: translateX(2px); }
.spot-card.active .spot-num { color: var(--purple); }

/* Expandable body */
.spot-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 350ms ease, opacity 250ms ease, margin 250ms ease;
    margin-top: 0;
}
.spot-card.active .spot-body {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

/* Active state */
.spot-card.active {
    background: var(--gray-50);
    border-color: var(--purple-200);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 2px 8px rgba(147,51,234,0.06);
}
.spot-card:not(.active):hover {
    background: var(--gray-50);
}

/* --- Mini content for each card --- */

/* Card 1: Three Modes */
.spot-mini-rows { display: flex; flex-direction: column; gap: 6px; }
.spot-mini-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.spot-label { padding: 2px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; flex-shrink: 0; min-width: 72px; text-align: center; }
.spot-purple { background: var(--purple-100); color: var(--purple); }
.spot-green { background: var(--green-50); color: var(--green-dark); }
.spot-amber { background: var(--amber-50); color: var(--amber-dark); }
.spot-detail { color: var(--gray-500); font-size: 11px; font-weight: 500; }

/* Card 2: Architecture chips */
.spot-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.spot-chip { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 500; background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }
.spot-chip.chip-hi { background: var(--purple-50); color: var(--purple); border-color: var(--purple-200); font-weight: 700; }

/* Card 3: Platform features */
.spot-features { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.spot-features span { font-size: 12px; color: var(--gray-600); padding: 2px 0; }
.spot-features span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-300); margin-right: 8px; vertical-align: middle; }

/* Card 4: Pipeline steps */
.spot-pipeline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.spot-step { padding: 4px 12px; background: var(--purple-50); border: 1px solid var(--purple-200); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--purple); }
.spot-step-arrow { color: var(--gray-300); font-size: 14px; }

/* ROI accent line inside each card */
.spot-roi {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-200);
}
.spot-roi-stat {
    font-size: 18px;
    font-weight: 800;
    color: var(--purple);
    letter-spacing: -0.03em;
}
.spot-roi-text {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
}


/* ══════════════════════════════════════════════
   THREE MODES
   ══════════════════════════════════════════════ */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }

.mode-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--transition); }
.mode-card:hover { box-shadow: var(--shadow-lg); }
.mode-migrate { border-top: 3px solid var(--purple); }
.mode-modernize { border-top: 3px solid var(--green); }
.mode-new { border-top: 3px solid var(--amber); }

.mode-header { padding: 28px 28px 0; }
.mode-number { font-size: 12px; font-weight: 700; color: var(--gray-300); }
.mode-header h3 { font-size: 22px; font-weight: 800; color: var(--gray-900); margin: 4px 0 6px; }
.mode-tagline { font-size: 14px; color: var(--gray-500); font-weight: 500; font-style: italic; }

.mode-body { padding: 20px 28px 28px; }
.mode-body > p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }

/* Mode examples (migration & modernization) */
.mode-examples { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.mode-example { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 12px; background: var(--gray-50); border-radius: 6px; }
.ex-from { color: var(--gray-500); flex: 1; font-size: 12px; font-weight: 500; }
.ex-arrow { color: var(--purple); font-weight: 700; flex-shrink: 0; }
.ex-arrow.ex-green { color: var(--green); }
.ex-to { color: var(--gray-900); font-weight: 600; flex: 1; text-align: right; font-size: 12px; }

/* Mode generates (new project) */
.mode-generates { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.gen-item { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.gen-icon { width: 22px; height: 22px; background: var(--amber); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* Mode source tags */
.mode-sources { display: flex; flex-wrap: wrap; gap: 4px; }
.mode-sources span { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 500; background: var(--purple-50); color: var(--purple-dark); border: 1px solid var(--purple-200); }
.mode-sources-green span { background: var(--green-50); color: var(--green-dark); border-color: var(--green-100); }
.mode-sources-amber span { background: var(--amber-50); color: var(--amber-dark); border-color: var(--amber-100); }

/* Targets Bar */
.targets-bar { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 28px; }
.targets-label { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.targets-count { font-weight: 400; color: var(--gray-400); margin-left: 8px; }
.targets-grid { display: flex; flex-direction: column; gap: 16px; }
.target-group { }
.tg-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); margin-bottom: 8px; display: block; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; border: 1px solid; transition: all var(--transition); }
.tag-target { background: var(--purple-50); border-color: var(--purple-200); color: var(--purple-dark); }
.tag-target:hover { background: var(--purple-100); border-color: var(--purple-300); }

/* ══════════════════════════════════════════════
   ARCHITECTURE
   ══════════════════════════════════════════════ */
.arch-diagram { max-width: 900px; margin: 0 auto 48px; }
.arch-tier { padding: 20px 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: all var(--transition); }
.arch-tier:hover { border-color: var(--purple-200); box-shadow: var(--shadow-md); }
.tier-highlight { border-color: var(--purple-200); background: var(--purple-50); }
.tier-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 10px; }
.tier-highlight .tier-label { color: var(--purple); }
.tier-layers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.layer-chip { padding: 5px 12px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--gray-700); }
.chip-active { background: var(--purple); border-color: var(--purple); color: var(--white); }
.tier-examples { font-size: 11px; color: var(--gray-400); font-weight: 500; }
.arch-connector { width: 2px; height: 12px; background: var(--gray-200); margin: 0 auto; }

/* Patterns */
.patterns-section { max-width: 900px; margin: 0 auto; text-align: center; }
.patterns-title { font-size: 20px; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.patterns-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.pattern-pill { padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 500; background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-600); transition: all var(--transition); }
.pattern-pill:hover { border-color: var(--purple-200); color: var(--purple); }
.pill-active { background: var(--purple); border-color: var(--purple); color: var(--white); }
.pill-active:hover { background: var(--purple-dark); color: var(--white); }
.pattern-mobile { border-color: var(--green); color: var(--green-dark); background: var(--green-50); }
.pattern-mobile:hover { background: var(--green-100); }
.patterns-legend { display: flex; gap: 24px; justify-content: center; font-size: 13px; color: var(--gray-500); }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot-server { background: var(--purple); }
.dot-mobile { background: var(--green); }

/* ══════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { padding: 32px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: all var(--transition); }
.feature-card:hover { border-color: var(--purple-200); box-shadow: var(--shadow-md); }
.feature-number { font-size: 32px; font-weight: 800; color: var(--purple-200); margin-bottom: 12px; line-height: 1; letter-spacing: -0.02em; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 12px; }
.feature-detail { font-size: 12px; font-weight: 600; color: var(--purple); padding: 8px 14px; background: var(--purple-50); border-radius: 6px; display: inline-block; }

/* ══════════════════════════════════════════════
   PIPELINE
   ══════════════════════════════════════════════ */
.pipeline-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pipeline-4 .pipeline-stage { padding: 32px 28px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); transition: all 200ms ease; box-shadow: 0 1px 3px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9); }
.pipeline-4 .pipeline-stage:hover { border-color: var(--purple-200); box-shadow: 0 8px 24px rgba(147,51,234,0.08), 0 2px 6px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.9); transform: translateY(-2px); }
.stage-number { width: 40px; height: 40px; background: var(--purple-50); color: var(--purple); border: 1px solid var(--purple-200); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin-bottom: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(147,51,234,0.08); }
.stage-content h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.stage-content p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ══════════════════════════════════════════════
   AI JUNK RESCUE
   ══════════════════════════════════════════════ */
.rescue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rescue-tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 768px) { .rescue-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   DEPLOYMENT & PRIVACY
   ══════════════════════════════════════════════ */
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deploy-card { padding: 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); transition: all var(--transition); }
.deploy-card:hover { border-color: var(--purple-200); box-shadow: var(--shadow-md); }
.deploy-card-highlight { border-color: var(--purple-200); background: var(--purple-50); }
.deploy-card-highlight:hover { background: var(--purple-50); }
.deploy-icon { width: 36px; height: 36px; background: var(--purple-50); border: 1px solid var(--purple-200); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--purple); margin-bottom: 14px; }
.deploy-icon svg { width: 18px; height: 18px; }
.deploy-card-highlight .deploy-icon { background: var(--white); }
.deploy-card h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.deploy-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }
.deploy-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.deploy-list li { font-size: 12px; color: var(--gray-600); padding-left: 16px; position: relative; line-height: 1.5; }
.deploy-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-300); }

/* ══════════════════════════════════════════════
   NUMBERS
   ══════════════════════════════════════════════ */
.number-strip { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 32px; flex-wrap: wrap; }
.number-item { text-align: center; flex: 1; min-width: 130px; padding: 8px 12px; }
.number-value { font-size: 36px; font-weight: 800; color: var(--purple); letter-spacing: -0.03em; }
.number-label { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-top: 4px; }
.number-sub { font-size: 11px; color: var(--gray-400); margin-top: 2px; }
.number-divider { width: 1px; height: 48px; background: var(--gray-200); flex-shrink: 0; }

/* ══════════════════════════════════════════════
   CONTACT & FOOTER
   ══════════════════════════════════════════════ */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 36px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.03em; margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--gray-600); }
.contact-detail svg { color: var(--purple); flex-shrink: 0; }
.contact-detail a { color: var(--purple); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 24px; letter-spacing: -0.02em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 10px 14px; font-size: 14px; font-family: var(--sans); border: 1px solid var(--gray-200); border-radius: var(--radius-md); background: var(--gray-50); color: var(--gray-900); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-full { width: 100%; justify-content: center; }
.form-note { font-size: 12px; color: var(--gray-400); text-align: center; margin-top: 12px; }
.form-success { display: none; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 24px; color: #059669; }
.form-success svg { color: #059669; }
.form-success strong { font-size: 18px; color: var(--gray-900); }
.form-success span { font-size: 14px; color: var(--gray-500); }
.form-error { display: none; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 16px; margin-top: 12px; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); }
.form-error strong { font-size: 14px; color: #991b1b; }
.form-error span { font-size: 13px; color: #b91c1c; }

.footer { border-top: 1px solid var(--gray-200); padding: 48px 0 32px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand p { font-size: 14px; color: var(--gray-400); margin-top: 12px; }
.footer-address { font-size: 13px !important; margin-top: 4px !important; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; font-size: 14px; color: var(--gray-500); font-weight: 500; transition: color var(--transition); }
.footer-links a:hover { color: var(--gray-900); }
.footer-bottom { border-top: 1px solid var(--gray-100); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--gray-400); }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 520px; width: 100%; }
    .modes-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pipeline-4 { grid-template-columns: repeat(2, 1fr); } /* already 2x2, no change needed */
    .deploy-grid { grid-template-columns: 1fr 1fr; }
    .number-strip { flex-wrap: wrap; gap: 16px; }
    .number-divider { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 120px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); flex-direction: column; padding: 16px 24px; gap: 16px; box-shadow: var(--shadow-lg); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 36px; }
    .hero-desc { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .section { padding: 64px 0; }
    .section-header h2 { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .pipeline-4 { grid-template-columns: 1fr; }
    .deploy-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
    .patterns-grid { gap: 6px; }
    .pattern-pill { font-size: 11px; padding: 5px 10px; }
    .tier-layers { gap: 4px; }
    .layer-chip { font-size: 11px; padding: 4px 10px; }
    .targets-grid { gap: 12px; }
}
