/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 80% 60% at 75% 20%, rgba(34, 230, 242, 0.20) 0%, transparent 62%),
        radial-gradient(ellipse 75% 70% at 55% 70%, rgba(7, 87, 216, 0.45) 0%, transparent 70%),
        linear-gradient(155deg, #000d35 0%, #00194f 48%, #003a9c 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 60%, rgba(34, 230, 242, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 20% 30%, rgba(49, 86, 107, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

/* Grid lines atmosphere */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Phone mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    animation: float 5s ease-in-out infinite;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #000d35;
    border-radius: 42px;
    border: 2.5px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255,255,255,0.04),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ============================================================
   WORKFLOW STRIP
   ============================================================ */
.workflow-strip {
    padding: 80px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.workflow-strip-header {
    text-align: center;
    margin-bottom: 56px;
}

.workflow-strip-heading {
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    color: var(--ink);
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    width: 200px;
    flex-shrink: 0;
    transition: opacity 0.18s ease;
}

.workflow-step:hover {
    opacity: 0.75;
}

.workflow-step-icon-wrap {
    display: none;
}

.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-cyan);
    color: var(--brand-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 16px rgba(34, 230, 242, 0.35);
}

.workflow-step:hover .step-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(34, 230, 242, 0.5);
}

.step-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.3;
    text-align: center;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--line);
    margin-top: 25px;
    min-width: 24px;
    max-width: 80px;
}

/* ============================================================
   PRODUCT SECTIONS - shared
   ============================================================ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 44px);
    line-height: 1.1;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
}

.section-body {
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.55;
    color: var(--ink-soft);
}

/* ============================================================
   CAMERA FIRST SECTION
   ============================================================ */
.capture-section {
    padding: 120px 0;
    background: var(--page);
    overflow: hidden;
}

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

.capture-text {
    max-width: 480px;
}

.capture-text .section-title {
    margin-bottom: 20px;
}

.capture-visual {
    display: flex;
    justify-content: center;
}

/* Large phone showing camera capture */
.capture-phone {
    position: relative;
    width: 280px;
}

.capture-phone-frame {
    width: 280px;
    height: 560px;
    background: #00194f;
    border-radius: 42px;
    border: 2.5px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.28),
        0 12px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
}

/* ============================================================
   AI UPDATE SECTION
   ============================================================ */
.ai-section {
    padding: 120px 0;
    background: var(--surface);
}

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

.ai-text {
    max-width: 480px;
}


/* ============================================================
   REPORT EXPORT SECTION
   ============================================================ */
.export-section {
    padding: 120px 0;
    background: var(--page);
}

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

.export-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.pdf-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.export-phone-frame {
    width: 280px;
    height: 560px;
    border-radius: 42px;
    border: 2.5px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.22),
        0 12px 32px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ============================================================
   SAMPLE REPORT SECTION
   ============================================================ */
.sample-section {
    padding: 100px 0;
    background: var(--blueprint-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
    padding: 120px 0;
    background: var(--surface);
    text-align: center;
}

.pricing-section .section-title {
    margin-bottom: 16px;
}

.pricing-section .section-body {
    max-width: 480px;
    margin: 0 auto 60px;
}

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface);
    border: 2px solid var(--brand-cyan);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 20px 56px rgba(34, 230, 242, 0.12);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cyan-dark));
}

.pricing-plan-badge {
    display: inline-block;
    background: var(--brand-cyan-soft);
    color: var(--brand-cyan-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.pricing-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-price-dollar {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 8px;
}

.pricing-price-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}

.pricing-price-per {
    font-size: 0.9rem;
    color: var(--ink-muted);
    align-self: flex-end;
    margin-bottom: 6px;
}

.pricing-features {
    list-style: none;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.pricing-features li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: var(--brand-cyan-soft);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300194f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.pricing-trial-note {
    font-size: 0.82rem;
    color: var(--ink-muted);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding: 100px 0;
    background: var(--page);
}

.faq-section .section-title {
    margin-bottom: 48px;
    text-align: center;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--surface-muted);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--ink-muted);
    transition: transform 0.25s var(--ease-gentle);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--brand-cyan);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s var(--ease-gentle);
}

.faq-answer-inner {
    padding: 4px 24px 20px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta-section {
    padding: 120px 0;
    background: var(--ink);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(34, 230, 242, 0.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 70% 10%, rgba(49, 86, 107, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.final-cta-section .section-title {
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.final-cta-section .section-body {
    color: rgba(255,255,255,0.6);
    max-width: 460px;
    margin: 0 auto 40px;
    position: relative;
}

.final-cta-section .btn {
    position: relative;
}

.store-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.store-badge {
    display: inline-block;
    height: 52px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.store-badge:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.store-badge img {
    height: 100%;
    width: auto;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #000d35;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-brand span {
    font-family: var(--font-display);
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: rgba(255,255,255,0.7);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 220px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .workflow-steps {
        flex-wrap: wrap;
        gap: 32px 0;
    }

    .step-connector {
        display: none;
    }

    .workflow-step {
        width: 140px;
    }

    .capture-section .container,
    .ai-section .container,
    .export-section .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .capture-text,
    .ai-text {
        max-width: 100%;
    }

    /* AI section: show text before phone on mobile (matches capture section order) */
    .ai-phone-mockup {
        order: 1;
    }

    /* Export section: center phone on mobile */
    .export-visual {
        justify-content: center;
    }

    /* Normalize phone frame sizes at tablet */
    .capture-phone,
    .capture-phone-frame,
    .export-phone-frame,
    .ai-phone-frame {
        width: 260px;
        height: 520px;
    }

    /* Ensure all phone visuals are centered */
    .capture-visual,
    .ai-phone-mockup,
    .export-visual {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero { padding: 90px 0 64px; }

    .phone-mockup { width: 200px; }
    .phone-frame { width: 200px; height: 400px; }

    .workflow-strip { padding: 60px 0; }

    .capture-section,
    .ai-section,
    .export-section,
    .pricing-section { padding: 80px 0; }

    .capture-phone,
    .capture-phone-frame,
    .export-phone-frame,
    .ai-phone-frame {
        width: 230px;
        height: 460px;
    }

    .faq-section { padding: 72px 0; }

    .final-cta-section { padding: 80px 0; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

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

/* ============================================================
   REAL SCREENSHOT IMAGES INSIDE PHONE FRAMES
   ============================================================ */

/* Shared: fills any phone frame from the top */
.phone-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: inherit;
}

/* AI section: phone left, text right, mirrors capture section */
.ai-phone-mockup {
    display: flex;
    justify-content: center;
}

.ai-phone-frame {
    width: 280px;
    height: 560px;
    border-radius: 42px;
    border: 2.5px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-shadow:
        0 48px 96px rgba(0, 0, 0, 0.22),
        0 12px 32px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.06);
    flex-shrink: 0;
}

/* Sample section: two phones side by side */
.browser-mockup {
    display: block;
    max-width: 680px;
    margin: 40px auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.16),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 0;
}

.browser-mockup:hover {
    transform: translateY(-4px);
    box-shadow:
        0 44px 80px rgba(0, 0, 0, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.06);
}

.browser-mockup img {
    width: 100%;
    display: block;
}

/* Responsive: collapse AI 3-col to 1-col, stack sample phones */
@media (max-width: 900px) {
    .ai-section .container {
        grid-template-columns: 1fr;
    }
    .browser-mockup {
        border-radius: 10px;
    }
}

@media (max-width: 640px) {
    .capture-phone-frame,
    .export-phone-frame,
    .ai-phone-frame {
        width: 230px;
        height: 460px;
    }
    .browser-mockup { border-radius: 10px; }
}
