/* ===================================================================
   LinaAdvisor Landing — "Lina Transcript" style
   ===================================================================
   Restyle of the previous dark landing (slate #0f172a canvas with a
   cyan→violet gradient) into the Transcript design language: white
   canvas, near-black ink as the primary, and the LINA orange as a
   scarce accent. Every class name and DOM hook is unchanged — this is
   a skin, not a rewrite.

   Unlike the old file, colours live in custom properties so future
   changes propagate instead of being hunted down in 90 places. */

:root {
    /* Ink — headings, primary buttons, big numbers. */
    --ink: hsl(222, 44%, 11%);
    --ink-strong: hsl(222, 47%, 7%);

    /* LINA orange. Deliberately scarce: badges, tags, the hero accent
       line and link hovers. Never a large fill. */
    --accent: hsl(38, 92%, 55%);
    --accent-strong: hsl(32, 95%, 48%);
    --accent-soft: hsl(38, 92%, 96%);
    --accent-border: hsl(38, 92%, 82%);

    --bg: hsl(0, 0%, 100%);
    --bg-alt: hsl(210, 20%, 98.5%);
    --bg-sunken: hsl(210, 16%, 96.5%);

    --border: hsl(214, 20%, 91%);
    --border-strong: hsl(214, 16%, 84%);

    --text: hsl(222, 44%, 11%);
    --text-soft: hsl(217, 13%, 40%);
    --text-muted: hsl(217, 12%, 58%);

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 2px 8px rgba(16, 24, 40, 0.07), 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.1), 0 2px 6px rgba(16, 24, 40, 0.05);

    --radius: 0.875rem;
    --radius-lg: 1.25rem;
    --pill: 999px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* The emphasised half of every two-tone heading. Was a cyan→violet
   gradient, then briefly orange — but it appears in each section header, so
   orange stopped being scarce. Ink at 800 against a muted lead-in gives the
   same rhythm as the app's "greeting / question" hero. */
.gradient-text {
    color: var(--ink);
    font-weight: 800;
    -webkit-text-fill-color: currentColor;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.25rem;
}

/* The designed light-mode wordmark (transparent PNG, 17 KB) — replaces both
   the old 212 KB logo-dark.png and the inline SVG that stood in for it. */
.nav-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-link-alt {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link-alt:hover {
    color: var(--ink);
    background: var(--bg-sunken);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    padding: 0.6rem 1.4rem;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: var(--pill);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--ink-strong);
    border-color: var(--ink-strong);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* A whisper of warmth at the top instead of the old dark slate wash. */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 50% 0%, hsla(38, 92%, 55%, 0.07), transparent 70%),
        var(--bg);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--pill);
    color: var(--accent-strong);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-soft);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons — pill geometry, flat ink, no lift-and-glow. */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.9rem;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: var(--pill);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--ink-strong);
    border-color: var(--ink-strong);
    box-shadow: var(--shadow-lg);
}

.btn-primary.btn-large {
    padding: 1.05rem 2.2rem;
    font-size: 1rem;
}

.btn-secondary {
    padding: 0.9rem 1.9rem;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--border-strong);
    border-radius: var(--pill);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--bg-sunken);
    border-color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* Solid ink reads stronger than gradient text at this size on white. */
.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    -webkit-text-fill-color: currentColor;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--pill);
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-card.feature-main {
    grid-column: span 2;
    padding: 2.5rem;
    background: var(--ink);
    border-color: var(--ink);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    color: var(--accent-strong);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

/* Sits on the inked hero card, so it inverts. */
.feature-icon-large {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.feature-icon-large svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card.feature-main h3 {
    font-size: 1.5rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.feature-card.feature-main p {
    color: rgba(255, 255, 255, 0.72);
}

.feature-card p strong {
    color: var(--ink);
    font-weight: 700;
}

.feature-card.feature-main p strong {
    color: var(--accent);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature-tags span {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--pill);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.feature-tag-more {
    padding: 0.375rem 0.75rem;
    background: var(--accent) !important;
    border: 1px solid var(--accent) !important;
    border-radius: var(--pill);
    font-size: 0.75rem;
    color: var(--ink) !important;
    font-weight: 700;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: var(--ink);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.step-connector {
    width: 80px;
    height: 56px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 1.5rem;
}

.step-connector svg {
    width: 100%;
    height: 20px;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.pricing-trial {
    text-align: center;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 3rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-lg);
    max-width: 900px;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ink);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: var(--pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.trial-badge svg {
    width: 16px;
    height: 16px;
}

.pricing-trial h3 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--ink);
    -webkit-text-fill-color: currentColor;
}

.pricing-trial p {
    color: var(--text-soft);
    font-size: 1rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: all 0.25s ease;
}

.pricing-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* The recommended plan is marked with an ink outline rather than a
   tinted fill, so both cards stay equally readable. */
.pricing-popular {
    background: var(--bg);
    border-color: var(--ink);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    padding: 0.4rem 1.25rem;
    border-radius: var(--pill);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.pricing-desc {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    -webkit-text-fill-color: currentColor;
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-strong);
    margin-top: 0.125rem;
}

.pricing-extra {
    opacity: 0.75;
    font-size: 0.875rem !important;
}

.pricing-extra svg {
    color: var(--text-muted) !important;
}

.btn-pricing {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--pill);
    justify-content: center;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--bg);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 2rem;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--ink);
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-soft);
    font-size: 0.85rem;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card.feature-main {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 7rem 1.5rem 3rem;
    }

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

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

    .hero-actions button {
        width: 100%;
        justify-content: center;
    }

    .stats-container {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

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

    .feature-card.feature-main {
        grid-column: span 1;
    }

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

    .step {
        max-width: 100%;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card {
        padding: 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }

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

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .features,
    .how-it-works,
    .cta {
        padding: 4rem 0;
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
    }
}
