/*
    Additions for cinematic, luxury, and responsive design for investor.html
*/

body {
    background: #181A1B;
    color: #E6E1DC;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero,
.hero-video-bg,
.hero-overlay {
    width: 100vw;
    min-height: 100vh;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7) blur(2px);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem 2rem;
    background: rgba(24, 26, 27, 0.55);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

.hero-headline {
    font-family: 'Inter', sans-serif;
    font-size: 5vw;
    font-weight: 900;
    color: #FF4F4F;
    letter-spacing: -2px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 24px #000;
}

.hero-sub {
    font-size: 2vw;
    font-weight: 400;
    color: #E6E1DC;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-shadow: 0 1px 8px #000;
}

.cta-btn {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 3.5rem;
    border-radius: 2.5rem;
    background: linear-gradient(90deg, #FF4F4F, #FFD700);
    color: #181A1B;
    border: none;
    box-shadow: 0 4px 24px #FF4F4F44;
    cursor: pointer;
    margin-bottom: 1.2rem;
    position: relative;
    transition: transform 0.18s cubic-bezier(.4, 2, .6, 1), box-shadow 0.18s;
}

.cta-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px #FF4F4F88;
}

.voice-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #FFD700;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.voice-hint .mic {
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    vertical-align: middle;
}

.section {
    padding: 5rem 2rem 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    color: #FFD700;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #FF4F4F;
    margin-bottom: 1.5rem;
}

.section-content {
    font-size: 1.25rem;
    color: #E6E1DC;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.testimonial {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 16px #0002;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial .waveform {
    width: 60px;
    height: 24px;
    background: url('waveform.svg') center/contain no-repeat;
    flex-shrink: 0;
}

.testimonial .testimonial-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #FFD700;
    font-style: italic;
}

.cta-form {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 16px #0002;
    max-width: 500px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cta-form label {
    font-size: 1.1rem;
    color: #FFD700;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.7rem;
    border: none;
    background: #232324;
    color: #E6E1DC;
    margin-bottom: 0.7rem;
    font-family: 'Inter', sans-serif;
}

.footer {
    background: #232324;
    color: #E6E1DC;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
    font-size: 1rem;
    opacity: 0.85;
    border-top: 1px solid #333;
}

@media (max-width: 700px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 2.5rem 1rem;
    }
}

/* ===========================================
   AhanaAI Shared Stylesheet — product pages
   =========================================== */

:root {
    --bg: #09090F;
    --surface: #111119;
    --card: rgba(255, 255, 255, 0.04);
    --card-hov: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --accent: #00D4FF;
    --gold: #F5A623;
    --coral: #FF6B6B;
    --green: #00E5A0;
    --purple: #7B61FF;
    --text: #F0F0F8;
    --muted: #8888A8;
    --dimmed: #55556A;
    --accent-local: var(--accent);
    /* overridden per-page via inline style */
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Nav ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2.5rem;
    background: rgba(9, 9, 15, 0.85);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--accent-local, var(--accent));
    color: #000 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: opacity 0.2s !important;
}

.nav-cta:hover {
    opacity: 0.85;
}

/* ── Product Hero ── */
.product-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 6rem;
    text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.08), transparent 70%);
}

.product-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.back-link {
    margin-bottom: 2rem;
}

.back-link a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.back-link a:hover {
    color: var(--text);
}

.product-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent-local, var(--accent));
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.product-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.product-hero h1 em {
    font-style: normal;
    color: var(--accent-local, var(--accent));
}

.product-subhead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.pill {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.pill-blue {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.25);
    color: #00D4FF;
}

.pill-green {
    background: rgba(0, 229, 160, 0.1);
    border-color: rgba(0, 229, 160, 0.25);
    color: #00E5A0;
}

.pill-gold {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.25);
    color: #F5A623;
}

.pill-coral {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.25);
    color: #FF6B6B;
}

/* Glow orb */
.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 500px at 50% 10%, color-mix(in srgb, var(--glow) 12%, transparent), transparent 70%);
    pointer-events: none;
}

/* ── Sections ── */
.features-section {
    padding: 6rem 0;
}

.comparison-section {
    padding: 5rem 0;
    background: var(--surface);
}

.cta-section {
    padding: 6rem 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.65;
    margin-bottom: 3.5rem;
}

/* ── Features Grid ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    transition: background 0.25s, border-color 0.25s;
}

.feature-card:hover {
    background: var(--card-hov);
    border-color: rgba(255, 255, 255, 0.14);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Table ── */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2.5rem;
    font-size: 0.92rem;
}

.compare-table th {
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
}

.compare-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: top;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.highlight-row td {
    background: rgba(0, 212, 255, 0.04);
    color: var(--text);
}

.highlight-row td:first-child {
    color: var(--accent);
}

.table-note {
    font-size: 0.8rem;
    color: var(--dimmed);
    margin-top: 1rem;
}

/* ── Use Case Grid ── */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.use-case {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.use-case h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.use-case p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ── CTA Block ── */
.cta-inner {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-inner p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-local, var(--accent));
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 2.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 0 24px color-mix(in srgb, var(--accent-local, var(--accent)) 40%, transparent);
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    text-decoration: none;
}

/* ── Footer ── */
.product-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    background: var(--surface);
}

.footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--dimmed);
}

.footer-bottom-bar a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-bar a:hover {
    color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    nav {
        padding: 1rem 1.25rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .product-hero {
        padding: 5rem 1.25rem 4rem;
    }

    .features-section,
    .cta-section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

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

    .compare-table th,
    .compare-table td {
        padding: 0.7rem 0.5rem;
        font-size: 0.82rem;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
}