/* ===================================
   Z3 Investor Website
   Apple-Minimal + Startup-Energetic
   Matches zooav.ai design system
   =================================== */

/* ===== CSS Variables ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-dark: #5a67d8;
    --primary-light: #a78bfa;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --success: #22c55e;
    --warning: #f59e0b;
    --info: #3b82f6;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 120px;
    --font-system: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    --max-width: 1200px;
    --max-width-text: 720px;
    --max-width-narrow: 540px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-purple: 0 8px 24px rgba(102, 126, 234, 0.3);
}

/* ===== 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-system); font-size: 18px; line-height: var(--line-height-normal); color: var(--gray-900); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: var(--line-height-tight); color: var(--gray-900); }
p { margin-bottom: var(--space-4); color: var(--gray-700); }
a { color: var(--primary-dark); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-light); }

/* ===== Container ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
@media (min-width: 768px) { .container { padding: 0 var(--space-12); } }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid transparent; transition: all 0.3s ease; }
.header.scrolled { border-bottom-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.header-content { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 20px; font-weight: 700; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: none; align-items: center; gap: var(--space-8); }
@media (min-width: 768px) { .nav { display: flex; } }
.nav a { font-size: 16px; color: var(--gray-700); font-weight: 500; }
.nav a:hover { color: var(--gray-900); }
.mobile-menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-700); }
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }
.mobile-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: white; box-shadow: var(--shadow-lg); z-index: 999; flex-direction: column; padding: var(--space-6); gap: var(--space-4); }
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 18px; font-weight: 500; padding: var(--space-3) 0; border-bottom: 1px solid var(--gray-100); }

/* ===== Buttons ===== */
.btn-primary, .btn-primary-small { display: inline-block; background: var(--primary-gradient); color: white; padding: 16px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; text-align: center; transition: all 0.2s ease; border: none; cursor: pointer; }
.btn-primary:hover, .btn-primary-small:hover { transform: translateY(-2px); box-shadow: var(--shadow-purple); color: white; }
.btn-primary-small { padding: 10px 20px; font-size: 14px; }
.btn-secondary { display: inline-block; background: transparent; color: var(--primary-dark); border: 2px solid var(--primary-dark); padding: 14px 30px; border-radius: 8px; font-weight: 600; font-size: 16px; text-align: center; transition: all 0.2s ease; }
.btn-secondary:hover { background: var(--primary-dark); color: white; }
.btn-secondary-white { background: white; color: var(--primary-dark); border: 2px solid white; padding: 14px 30px; border-radius: 8px; font-weight: 600; font-size: 16px; transition: all 0.2s ease; }
.btn-secondary-white:hover { background: transparent; color: white; }

/* ===== Hero Section ===== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--primary-gradient); color: white; padding: var(--space-32) 0 var(--space-24); margin-top: 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%); }
.hero-content { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.hero-headline { font-size: clamp(40px, 6vw, 64px); font-weight: 700; margin-bottom: var(--space-6); line-height: 1.1; color: white; }
.hero-tagline { font-size: clamp(20px, 2.5vw, 24px); font-weight: 400; margin-bottom: var(--space-4); color: rgba(255,255,255,0.95); line-height: 1.4; }
.hero-sub { font-size: 18px; margin-bottom: var(--space-12); color: rgba(255,255,255,0.85); }
.cta-group { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-bottom: var(--space-12); }
.trust-badges { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: center; font-size: 14px; color: rgba(255,255,255,0.9); }
.trust-badges span { display: flex; align-items: center; gap: var(--space-2); }

/* ===== Sections ===== */
.section { padding: var(--space-32) 0; }
@media (max-width: 767px) { .section { padding: var(--space-20) 0; } }
.section--white { background: var(--white); }
.section--gray { background: var(--gray-50); }
.section--purple-tint { background: linear-gradient(180deg, var(--purple-50) 0%, var(--white) 100%); }
.section--purple { background: var(--primary-gradient); color: white; }
.section-heading { font-size: clamp(32px, 5vw, 48px); font-weight: 700; text-align: center; margin-bottom: var(--space-12); line-height: 1.2; }
.section-heading--white { color: white; }
.subsection-heading { font-size: clamp(24px, 3vw, 28px); font-weight: 600; margin-bottom: var(--space-8); margin-top: var(--space-16); }

/* ===== Problem / Narrative ===== */
.problem-narrative { max-width: var(--max-width-text); margin: 0 auto var(--space-16); text-align: center; }
.problem-narrative p { font-size: 20px; line-height: 1.7; margin-bottom: var(--space-6); color: var(--gray-700); }
.highlight-text { font-size: 22px; font-weight: 600; color: var(--gray-900); line-height: 1.4; }

/* ===== Stats Grid ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-12); margin-bottom: var(--space-20); }
.stat { text-align: center; }
.stat-number { font-size: 64px; font-weight: 700; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: var(--space-3); }
.stat-label { font-size: 18px; color: var(--gray-700); font-weight: 500; margin-bottom: var(--space-2); }
.stat-source { font-size: 14px; color: var(--gray-500); }

/* ===== Why Now / Numbered Items ===== */
.why-now { margin-top: var(--space-20); }
.why-now-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-8); margin-top: var(--space-8); }
.why-now-item { background: white; padding: var(--space-8); border-radius: 12px; box-shadow: var(--shadow-sm); }
.why-now-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--primary-gradient); color: white; border-radius: 50%; font-size: 20px; font-weight: 700; margin-bottom: var(--space-4); }
.why-now-item h4 { font-size: 20px; margin-bottom: var(--space-3); }
.why-now-item p { font-size: 16px; line-height: 1.6; }

/* ===== Gap Statement ===== */
.gap-statement { max-width: var(--max-width-text); margin: var(--space-20) auto 0; text-align: center; padding: var(--space-12); background: var(--purple-50); border-radius: 16px; }
.gap-statement p { font-size: 18px; margin-bottom: var(--space-4); }

/* ===== Solution / Features ===== */
.solution-narrative { max-width: var(--max-width-text); margin: 0 auto var(--space-16); text-align: center; }
.solution-narrative p { font-size: 18px; line-height: 1.7; margin-bottom: var(--space-4); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-8); margin-bottom: var(--space-20); }
.feature-card { background: white; padding: var(--space-8); border-radius: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 48px; margin-bottom: var(--space-4); }
.feature-card h3 { font-size: 20px; margin-bottom: var(--space-3); }
.feature-card p { font-size: 16px; line-height: 1.6; color: var(--gray-600); }

/* ===== How It Works / Steps ===== */
.how-it-works-intro { max-width: var(--max-width-text); margin: 0 auto var(--space-20); text-align: center; }
.how-it-works-intro p { font-size: 18px; line-height: 1.7; margin-bottom: var(--space-4); }
.steps-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-12); margin-bottom: var(--space-20); }
.step { text-align: center; position: relative; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--primary-gradient); color: white; border-radius: 50%; font-size: 28px; font-weight: 700; margin-bottom: var(--space-4); }
.step h3 { font-size: 24px; margin-bottom: var(--space-3); }
.step p { font-size: 16px; line-height: 1.6; margin-bottom: var(--space-4); }

/* ===== Use Cases / Journey Cards ===== */
.journeys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-12); margin-top: var(--space-12); }
.journey-card { background: white; padding: var(--space-8); border-radius: 16px; box-shadow: var(--shadow-md); }
.journey-header { margin-bottom: var(--space-6); }
.journey-header h3 { font-size: 22px; margin-bottom: var(--space-2); }
.persona { font-size: 14px; color: var(--gray-600); font-style: italic; }
.journey-story p { font-size: 16px; line-height: 1.7; margin-bottom: var(--space-4); }
.journey-quote { margin-top: var(--space-6); padding: var(--space-6); background: var(--purple-50); border-left: 4px solid var(--primary-dark); border-radius: 8px; font-size: 16px; font-style: italic; color: var(--gray-800); }

/* ===== Performance / Benchmarks ===== */
.benchmarks-table { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); margin: var(--space-8) auto; max-width: var(--max-width-text); }
.bench-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-4); padding: var(--space-4) var(--space-6); background: white; border-bottom: 1px solid var(--gray-200); font-size: 15px; }
.bench-row:last-child { border-bottom: none; }
.bench-header { background: var(--gray-100); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; }
.bench-highlight { font-weight: 700; color: var(--primary-dark); }

/* ===== Roadmap / Timeline ===== */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-8); margin-bottom: var(--space-20); }
.timeline-phase { background: white; padding: var(--space-8); border-radius: 16px; box-shadow: var(--shadow-sm); position: relative; border-left: 4px solid var(--gray-300); }
.timeline-now { border-left-color: var(--success); }
.timeline-next { border-left-color: var(--warning); }
.timeline-later { border-left-color: var(--primary-light); }
.timeline-badge { display: inline-block; padding: var(--space-2) var(--space-4); background: var(--gray-100); border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-4); }
.timeline-now .timeline-badge { background: var(--success); color: white; }
.timeline-next .timeline-badge { background: var(--warning); color: white; }
.timeline-later .timeline-badge { background: var(--primary-light); color: white; }
.timeline-phase h3 { font-size: 24px; margin-bottom: var(--space-3); }
.timeline-status { font-size: 14px; color: var(--gray-600); margin-bottom: var(--space-6); }
.timeline-features { list-style: none; margin-bottom: var(--space-6); }
.timeline-features li { padding: var(--space-2) 0; padding-left: var(--space-6); position: relative; font-size: 15px; }
.timeline-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.timeline-target { font-size: 14px; font-style: italic; color: var(--gray-600); margin-top: var(--space-3); }

/* ===== Differentiation / Moats ===== */
.moats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-8); margin-bottom: var(--space-20); }
.moat-card { background: white; padding: var(--space-8); border-radius: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s ease; }
.moat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.moat-number { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--primary-gradient); color: white; border-radius: 50%; font-size: 24px; font-weight: 700; margin-bottom: var(--space-4); }
.moat-card h3 { font-size: 22px; margin-bottom: var(--space-4); }
.moat-claim { font-size: 16px; font-weight: 600; color: var(--gray-900); margin-bottom: var(--space-4); line-height: 1.5; }
.moat-details p { font-size: 15px; line-height: 1.6; margin-bottom: var(--space-3); }
.moat-proof { font-size: 14px; color: var(--primary-dark); font-style: italic; margin-top: var(--space-3); }

/* ===== Team Section ===== */
.founder-section { max-width: var(--max-width-text); margin: 0 auto var(--space-20); }
.founder-card { display: flex; gap: var(--space-8); align-items: flex-start; margin-bottom: var(--space-12); }
@media (max-width: 767px) { .founder-card { flex-direction: column; align-items: center; text-align: center; } }
.founder-photo-placeholder { width: 120px; height: 120px; border-radius: 50%; background: var(--primary-gradient); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.founder-initials { font-size: 48px; font-weight: 700; color: white; }
.founder-info { flex: 1; }
.founder-info h3 { font-size: 28px; margin-bottom: var(--space-2); }
.founder-title { font-size: 18px; color: var(--primary-dark); font-weight: 600; margin-bottom: var(--space-4); }
.founder-bio { font-size: 16px; line-height: 1.7; }
.founder-quote { background: var(--purple-50); padding: var(--space-8); border-radius: 16px; border-left: 4px solid var(--primary-dark); }
.founder-quote p { font-size: 18px; line-height: 1.7; font-style: italic; color: var(--gray-800); margin-bottom: var(--space-4); }
.founder-quote cite { font-size: 16px; font-weight: 600; color: var(--gray-900); font-style: normal; }
.team-strengths { max-width: var(--max-width-text); margin: 0 auto; }
.strengths-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); margin-top: var(--space-8); }
.strength-item { background: white; padding: var(--space-6); border-radius: 12px; box-shadow: var(--shadow-sm); }
.strength-item strong { display: block; font-size: 16px; margin-bottom: var(--space-2); color: var(--gray-900); }
.strength-item p { font-size: 14px; color: var(--gray-600); margin: 0; }

/* ===== Contact Section ===== */
.contact-content { max-width: var(--max-width-narrow); margin: 0 auto; text-align: center; }
.contact-description { font-size: 20px; line-height: 1.7; color: rgba(255,255,255,0.95); margin-bottom: var(--space-12); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-bottom: var(--space-12); }
.current-status { display: flex; flex-direction: column; gap: var(--space-3); font-size: 16px; color: rgba(255,255,255,0.9); }
.status-item { padding: var(--space-3); }

/* ===== Footer ===== */
.footer { background: var(--gray-900); color: var(--gray-400); padding: var(--space-12) 0; text-align: center; }
.footer-text { font-size: 16px; margin-bottom: var(--space-2); }
.footer-copyright { font-size: 14px; color: var(--gray-600); margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .stats-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-flow { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .journeys-grid { grid-template-columns: 1fr; }
    .moats-grid { grid-template-columns: 1fr; }
    .bench-row { grid-template-columns: 1fr; gap: var(--space-2); }
}

/* ===== Animations ===== */
@media (prefers-reduced-motion: no-preference) {
    .feature-card, .journey-card, .moat-card, .why-now-item { animation: fadeInUp 0.6s ease-out; }
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== Accessibility ===== */
:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 2px; }

/* ===== Print ===== */
@media print {
    .header, .mobile-nav, .cta-group, .cta-buttons { display: none; }
    .hero { min-height: auto; padding: var(--space-12) 0; }
}

/* ===== Market Stats ===== */
.market-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-8); margin: var(--space-8) 0 var(--space-6); }
.market-stat-card { background: white; padding: var(--space-8); border-radius: 16px; box-shadow: var(--shadow-sm); transition: all 0.3s ease; text-align: center; }
.market-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.market-stat-number { font-size: 56px; font-weight: 700; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: var(--space-3); }
.market-stat-label { font-size: 18px; color: var(--gray-700); font-weight: 600; margin-bottom: var(--space-3); }
.market-summary { max-width: var(--max-width-text); margin: var(--space-8) auto 0; font-size: 18px; font-weight: 500; color: var(--gray-700); }

/* ===== Comparison Table ===== */
.comparison-table { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); margin: var(--space-8) auto; max-width: var(--max-width); }
.comp-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: var(--space-4); padding: var(--space-4) var(--space-6); background: white; border-bottom: 1px solid var(--gray-200); font-size: 15px; }
.comp-row:last-child { border-bottom: none; }
.comp-header { background: var(--gray-100); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.4px; }
