/* ================================================
   HomeFault - Main Stylesheet
   ================================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1520;
    --bg-tertiary: #151d2e;
    --bg-card: #1a2332;
    --accent-cyan: #00d4ff;
    --accent-cyan-dim: rgba(0, 212, 255, 0.15);
    --accent-blue: #3b82f6;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-red: #ef4444;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);
    --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #0f1a2e 50%, #0a1628 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #3b82f6 100%);
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.15);
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   Navigation
   ================================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
/*    background: var(--gradient-accent);*/
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 22px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}
.nav-links-cta {
    display: none;
}

.nav-cta {
    background: var(--gradient-accent);
    color: var(--bg-primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-cyan);
}

/* Hero Visual / Claim Card */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.claim-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-glow);
}

.claim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.claim-id {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}

.claim-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
}

.claim-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
}

.claim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.claim-field {
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 14px;
}

.claim-field.full {
    grid-column: 1 / -1;
}

.field-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.field-value {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
}

.field-value.highlight-cyan {
    color: var(--accent-cyan);
}

.field-value.highlight-emerald {
    color: var(--accent-emerald);
}

.field-value.highlight-amber {
    color: var(--accent-amber);
}

.cost-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cost-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
}

.cost-bar-fill {
    height: 100%;
    width: 65%;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.fraud-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fraud-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

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

/* ================================================
   Stats Bar
   ================================================ */
.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ================================================
   Problem Section
   ================================================ */
.problem-section {
    padding: 100px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

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

.problem-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}

.problem-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.problem-subtext {
    color: var(--accent-cyan) !important;
    font-weight: 500;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.problem-item:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: var(--bg-tertiary);
}

.problem-icon {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-red);
}

.problem-item span {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    padding-top: 8px;
}

/* ================================================
   Section Styles (Shared)
   ================================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}

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

/* ================================================
   Value Proposition Section
   ================================================ */
.value-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-cyan-dim);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ================================================
   How It Works Section
   ================================================ */
.how-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.how-step {
    text-align: left;
}

.step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: #5bb5ff;      /* your light blue */
    stroke-width: 1.8;
    fill: none;           /* kills any black fills */
}

.how-step h3 {
    margin-bottom: 10px;
}

.how-step p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-content {
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 120px;
    font-weight: 800;
    color: var(--bg-tertiary);
    line-height: 1;
    z-index: 0;
    user-select: none;
}

.step-text {
    position: relative;
    z-index: 1;
}

.step-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.step-visual {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.step-visual-content {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
}

/* Deployment Options */
.deployment-options {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.deployment-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.deployment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dep-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Real World Fit Callout */
.realworld-callout {
    margin-top: 80px;
    padding: 32px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 12px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.callout-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-cyan-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callout-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

.callout-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.callout-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.callout-content em {
    color: var(--accent-cyan);
    font-style: normal;
    font-weight: 500;
}

/* ================================================
   Output Schema Section
   ================================================ */
.output-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

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

.output-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}

.output-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.output-list {
    list-style: none;
}

.output-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.output-list li:last-child {
    border-bottom: none;
}

.output-list svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.code-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27ca40; }

.code-content {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-content .key { color: var(--accent-cyan); }
.code-content .string { color: var(--accent-emerald); }
.code-content .number { color: var(--accent-amber); }
.code-content .boolean { color: var(--accent-red); }

/* ================================================
   Use Cases Section
   ================================================ */
.usecases-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.usecase-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}

.usecase-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-cyan-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.usecase-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-cyan);
}

.usecase-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.usecase-list {
    list-style: none;
}

.usecase-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    padding: 8px 0;
}

.usecase-list svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 4px;
}

/* ================================================
   Security Section
   ================================================ */
.security-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.security-card {
    text-align: center;
    padding: 40px 24px;
}

.security-icon {
    width: 72px;
    height: 72px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.security-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-cyan);
}

.security-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* ================================================
   CTA / Pilot Form Section
   ================================================ */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cta-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-step-num {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--bg-primary);
}

.cta-step span {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ================================================
   Pilot Form Styles
   ================================================ */
.pilot-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.pilot-form-container h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.pilot-form-container .form-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--accent-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 15px;
    transition: all 0.2s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-group select {
    cursor: pointer;
    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%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

.form-privacy {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.form-privacy svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.form-submit {
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.form-success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-emerald);
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Form Error State */
.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-error p {
    color: var(--accent-red);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================================================
   Footer
   ================================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* ================================================
   Scroll Animations
   ================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Responsive Styles
   ================================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-step,
    .how-step:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .how-section::before {
        display: none;
    }

    .output-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-item::after {
        display: none;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .realworld-callout {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .value-grid,
    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-steps {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
    }

    .claim-grid {
        grid-template-columns: 1fr;
    }

    .pilot-form-container {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .nav-cta {
        padding: 8px 14px;
        font-size: 12px;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 24px;
        position: absolute;
        top: 80px; /* right under nav */
        right: 0;
        left: 0;
        padding: 24px;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .mobile-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
@media (max-width: 480px) {
    /* Hide header CTA */
    .nav-cta {
        display: none;
    }

    /* Show mobile CTA inside menu */
    .nav-links-cta {
        margin-top: 8px;
        display:block;
    }

    .nav-links-cta-btn {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        border-radius: 8px;
        background: var(--gradient-accent);
        color: var(--bg-primary) !important;
        font-weight: 600;
        text-decoration: none;
        font-size: 14px;
    }

}

/* ================================================
   Investor Product - Specific Styles
   ================================================ */

/* Upload box specific styles */
.upload-box {
    background: var(--bg-secondary);
    border: 2px dashed var(--accent-cyan);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin: 40px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-box:hover {
    border-color: var(--accent-emerald);
    background: rgba(79, 209, 197, 0.05);
}

.upload-box.dragover {
    border-color: var(--accent-emerald);
    background: rgba(79, 209, 197, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--accent-cyan);
}

.upload-text h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.upload-text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.upload-subtext {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 20px;
}

.preview-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.preview-badge {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.preview-items {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.preview-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.preview-item-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.preview-item-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.preview-item-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.unlock-box {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.1), rgba(0, 229, 255, 0.1));
    border: 1px solid var(--accent-cyan);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.unlock-box h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.feature-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.price-tag {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-emerald);
    margin: 20px 0;
}

.hero-compact {
    padding: 120px 0 60px;
}

.hero-compact h1 {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-compact .hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-emerald);
    color: var(--bg-primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-inline:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
}

/* FAQ Accordion Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-cyan);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(79, 209, 197, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    padding-right: 20px;
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px 28px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

/* Pricing Badge (for featured tier) */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-emerald);
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}