/* AstroIndexer — Star-Atlas Editorial Theme 
   Production theme since 2026-07: replaces the Planner V2 dark-teal theme.
   Palette: deep navy / warm paper / single brass accent. Type: Fraunces display,
   IBM Plex Sans body, IBM Plex Mono for data. Flat surfaces, hairline borders. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --bg0: #0A101C;
    --bg1: #0C1322;
    --bg2: #111A2C;
    --bg3: #1A2436;
    --card: #101828;
    --line: rgba(242, 237, 227, 0.14);

    --txt: #F7F3E8;
    --mut: rgba(247, 243, 232, 0.58);

    --hl: #4EC9C1;          /* highlight: checklists, links, hovers — matches the app UI */

    --teal: #C8A55C;
    --teal2: #A98842;
    --gold: #C8A55C;
    --red: #E24B4A;
    --green: #59d98e;
    --blue: #5aa7ff;

    --accent: #C8A55C;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --primary-color: var(--teal);
    --secondary-color: var(--gold);
    --dark-bg: var(--bg0);
    --dark-secondary: var(--bg1);
    --text-primary: var(--txt);
    --text-secondary: rgba(247, 243, 232, 0.80);
    --text-muted: var(--mut);
    --card-bg: var(--card);
    --card-bg-flat: var(--card);
    --border-color: var(--line);
}

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

body {
    font-family: var(--font-body);
    color: var(--txt);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg0);
}

h1, h2, h3,
.section-title,
.hero-content h2,
.feature-content h3,
.pricing-card h3,
.problem-question,
.nav-brand {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0;
}

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

/* ─── Navigation ──────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 14px 0;
    background: rgba(10, 16, 28, 0.96);
    border-bottom: 1px solid rgba(242,237,227,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(10, 16, 28, 0.96);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--txt);
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.nav-brand .logo {
    width: 36px;
    height: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    /* Scales down as the viewport narrows. German and Spanish menu labels are
       materially longer than English, and a fixed 24px gap overflowed the
       1200px container in both. */
    gap: clamp(12px, 1.5vw, 24px);
    align-items: center;
    flex-wrap: nowrap;
    /* Absorbs the free space so the menu and the switcher stay grouped at the
       right. Without it, space-between strands the menu mid-bar now that the
       switcher is a third flex item. */
    margin-left: auto;
    /* margin-right removed: the language switcher is a real flex item now,
       so it no longer needs a guessed reservation of space. */
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--hl);
}

/* ─── Buttons ─────────────────────────────── */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg0);
}

.btn-primary:hover {
    background: #D6B672;
    border-color: #D6B672;
}

.btn-secondary {
    background: transparent;
    color: var(--txt);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: rgba(242, 237, 227, 0.4);
}

.btn-large {
    padding: 14px 30px;
    font-size: 15px;
}

/* ─── Hero Section ────────────────────────── */
.hero {
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

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

/* Screen-reader only utility — keeps element in a11y tree + SEO index */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-content h2 {
    font-size: 38px;
    font-weight: 600;
    color: var(--txt);
    margin-bottom: 16px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 14px;
}

.hero-image img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--line);
}

/* Hero Platforms Indicator */
.hero-platforms {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: var(--mut);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.hero-platforms svg {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.hero-platforms:hover svg {
    opacity: 0.7;
}

.hero-price-teaser {
    margin-top: 16px;
    font-size: 14px;
    color: var(--mut);
    letter-spacing: 0.3px;
}

/* ─── Landing Splash — immersive full-viewport entry ── */
.landing-splash {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    background: #050810;
}

.landing-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.landing-splash:hover .landing-image {
    filter: brightness(1.04);
}

/* "Enter" chevron at bottom */
.landing-enter {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(242,237,227,0.35);
    animation: bounce-enter 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bounce-enter {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.35; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.7; }
}

/* ─── Chrome visibility (navbar + lang switcher) ── */
.navbar,
.language-switcher {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

body.on-landing .navbar,
body.on-landing .language-switcher {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* ─── Features Section ────────────────────── */
.features {
    padding: 80px 0;
    background: rgba(13, 21, 36, 0.6);
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.section-subtitle {
    font-size: 17px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    background-color: var(--card-bg-flat);
    padding: 32px;
    border-radius: 4px;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
}

.feature-card:hover {
    
    border-color: rgba(200, 165, 92, 0.3);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--teal);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--txt);
}

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

/* ─── Feature Details Section ─────────────── */
.feature-details {
    padding: 80px 0;
}

.feature-detail {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-detail.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--txt);
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-points {
    list-style: none;
    padding: 0;
}

.feature-points li {
    padding: 8px 0;
    color: var(--hl);
    position: relative;
    padding-left: 24px;
    font-size: 14px;
}

.feature-points li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--hl);
    font-weight: bold;
}

.feature-screenshot {
    flex: 1;
    position: relative;
}

.feature-screenshot img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--line);
}

@media (max-width: 768px) {
    .feature-detail,
    .feature-detail.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

/* ─── ML Analytics Section ────────────────── */
.ml-analytics {
    padding: 80px 0;
    background: rgba(10, 16, 28, 0.5);
}

.ml-analytics .section-title {
    margin-bottom: 20px;
}

.ml-analytics .feature-detail {
    margin-bottom: 100px;
}

/* ─── Download Section ────────────────────── */
.download-section {
    padding: 100px 0 80px;
    position: relative;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 50px auto 0;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    text-decoration: none;
    color: var(--txt);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(200, 165, 92, 0.04);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover {
    border-color: rgba(200,165,92,0.35);
    
}

.download-card:hover::after {
    opacity: 1;
}

.download-card:hover .download-os-icon {
    color: var(--hl);
    
}

.download-card:hover .download-arrow {
    opacity: 1;
    transform: translateY(2px);
}

.download-os-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.download-os-icon svg {
    width: 100%;
    height: 100%;
}

.download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}

.download-platform {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.download-detail {
    font-size: 12px;
    color: var(--mut);
    letter-spacing: 0.01em;
}

.download-arrow {
    flex-shrink: 0;
    color: var(--hl);
    opacity: 0.3;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Linux dual-button card */
.download-card--linux {
    cursor: default;
}
.download-card--linux:hover {
    
}
.download-linux-buttons {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}
.download-btn--primary,
.download-btn--primary:visited,
.download-btn--primary:active {
    background: rgba(200,165,92,0.15);
    color: var(--teal);
    border: 1px solid rgba(200,165,92,0.3);
}
.download-btn--primary:hover {
    background: rgba(200,165,92,0.28);
    border-color: rgba(200,165,92,0.5);
    color: var(--teal);
}
.download-btn--secondary,
.download-btn--secondary:visited,
.download-btn--secondary:active {
    background: rgba(242,237,227,0.05);
    color: var(--mut);
    border: 1px solid var(--line);
}
.download-btn--secondary:hover {
    background: rgba(242,237,227,0.1);
    color: var(--txt);
}

.download-note {
    text-align: center;
    margin-top: 28px;
    color: var(--mut);
    font-size: 14px;
}

.trial-license-link {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.trial-license-link:hover {
    opacity: 0.8;
}

/* ─── Pricing Section ─────────────────────── */
.pricing {
    padding: 80px 0;
}

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

.pricing-card {
    background: var(--card);
    background-color: var(--card-bg-flat);
    padding: 36px;
    border-radius: 4px;
    border: 1px solid var(--line);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    
    border-color: rgba(200,165,92,0.3);
}

.pricing-card.featured {
    border-color: rgba(200,165,92,0.35);
    
    background: var(--card);
}

.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(200,165,92,0.16);
    color: var(--teal);
    border: 1px solid rgba(200,165,92,0.4);
    padding: 5px 18px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
}

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

.price {
    margin-bottom: 24px;
}

.price .currency {
    font-size: 42px;
    font-weight: 600;
    color: var(--teal);
}

.price .period {
    display: block;
    color: var(--mut);
    margin-top: 8px;
    font-size: 13px;
}

.features-list {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    font-size: 14px;
}

.features-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--hl);
    font-weight: bold;
}

.btn-coming-soon {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    background: rgba(242,237,227,0.06);
    color: var(--mut);
    border: 1px solid var(--line);
    cursor: default;
    letter-spacing: 0.3px;
}

/* ─── Footer ──────────────────────────────── */
.footer {
    padding: 60px 0 30px;
    background: rgba(13, 21, 36, 0.6);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--txt);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--hl);
}

.social-links {
    display: flex;
    gap: 14px;
    font-size: 22px;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--mut);
    font-size: 13px;
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 16px;
        margin-right: 50px;
    }
}

/* ─── Mobile Menu Toggle ─────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--txt);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Pro Feature Links (no underline/color override) */
.pro-feature-link {
    text-decoration: none;
    color: inherit;
}

/* ─── Pricing Note ───────────────────────── */
.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note a {
    color: var(--hl);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 16, 28, 0.96);
        padding: 16px 20px;
        border-bottom: 1px solid var(--line);
        gap: 4px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        list-style: none;
    }

    .nav-menu a {
        display: block;
        padding: 10px 0;
    }

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

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 28px;
    }

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

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .section-title {
        font-size: 28px;
    }
}

/* ─── Imaging Insights Section ────────────── */
.insights-section {
    padding: 100px 0 80px;
    position: relative;
}

.insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0 32px;
}

.insight-card {
    background: var(--card-bg);
    background-color: var(--card-bg-flat);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.insight-card:hover {
    border-color: rgba(200, 165, 92, 0.3);
    
}

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

.insight-card.highlight {
    border-color: rgba(200, 165, 92, 0.25);
    background: rgba(200, 165, 92, 0.05);
}

.insight-card.highlight::before {
    opacity: 1;
}

.insight-value {
    font-size: 36px;
    font-weight: 600;
    color: var(--teal);
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.insight-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--txt);
    margin-bottom: 8px;
}

.insight-detail {
    font-size: 13px;
    color: var(--mut);
    line-height: 1.5;
}

.insights-caption {
    text-align: center;
    font-size: 13px;
    color: var(--mut);
    font-style: italic;
    margin-bottom: 40px;
}

.insights-cta {
    text-align: center;
}

.insights-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ─── Feature Card Tier Badges ────────────── */
.feature-card {
    position: relative;
}

.tier-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    line-height: 1.4;
}

.tier-badge.standard {
    background: rgba(200, 165, 92, 0.12);
    color: var(--teal);
    border: 1px solid rgba(200, 165, 92, 0.25);
}

.tier-badge.pro {
    background: rgba(200, 165, 92, 0.12);
    color: var(--gold);
    border: 1px solid rgba(200, 165, 92, 0.25);
}

.feature-card.pro-feature {
    cursor: pointer;
}

.feature-card.pro-feature:hover {
    border-color: rgba(200, 165, 92, 0.3);
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .insight-value {
        font-size: 28px;
    }
}

/* ─── Real Dataset Section ────────────────── */
.real-data-section {
    padding: 80px 0;
    position: relative;
}

.real-data-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.real-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px 0 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.real-data-card {
    background-color: var(--card-bg-flat);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.real-data-card:hover {
    border-color: rgba(200, 165, 92, 0.3);
    
}

.real-data-card.highlight {
    border-color: rgba(200, 165, 92, 0.4);
    background: var(--card);
}

.real-data-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 6px;
}

.real-data-label {
    font-size: 13px;
    color: var(--mut);
    font-weight: 500;
}

.real-data-caption {
    text-align: center;
    font-size: 13px;
    color: var(--mut);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Audience Section ────────────────────── */
.audience-section {
    padding: 80px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.audience-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background-color: var(--card-bg-flat);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.audience-card:hover {
    border-color: rgba(200, 165, 92, 0.3);
    
}

.audience-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--teal);
}

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

/* ─── Ecosystem Section ───────────────────── */
.ecosystem-section {
    padding: 80px 0;
    position: relative;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.ecosystem-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.ecosystem-step {
    background-color: var(--card-bg-flat);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 32px;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s ease;
}

.ecosystem-step:hover {
    
}

.ecosystem-step.highlight {
    border-color: var(--teal);
    background: var(--card);
}

.ecosystem-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mut);
    margin-bottom: 8px;
}

.ecosystem-step.highlight .ecosystem-label {
    color: var(--teal);
}

.ecosystem-tools {
    font-size: 16px;
    font-weight: 600;
    color: var(--txt);
}

.ecosystem-arrow {
    color: var(--mut);
    flex-shrink: 0;
}

/* ─── Why Section ─────────────────────────── */
.why-section {
    padding: 80px 0;
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.why-content {
    max-width: 640px;
    margin: 0 auto;
}

.why-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.why-questions {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.why-questions li {
    font-size: 16px;
    color: var(--txt);
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
}

.why-questions li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--hl);
    font-weight: 700;
    font-size: 18px;
}

.why-builder {
    margin-top: 40px;
    padding: 24px;
    background-color: var(--card-bg-flat);
    border: 1px solid var(--line);
    border-radius: 4px;
    border-left: 3px solid var(--teal);
}

.why-builder-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

/* ─── Trust Signals Section ───────────────── */
.trust-section {
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.trust-icon {
    font-size: 24px;
    flex-shrink: 0;
    color: var(--teal);
}

.trust-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Workflow Section ────────────────────── */
.workflow-section {
    padding: 80px 0;
    position: relative;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
    flex-wrap: wrap;
}

.workflow-step {
    text-align: center;
    padding: 16px;
    max-width: 160px;
}

.workflow-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg0);
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.workflow-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.workflow-connector {
    width: 40px;
    height: 2px;
    background: var(--line);
    flex-shrink: 0;
}

/* ─── Responsive: Credibility Sections ────── */
@media (max-width: 768px) {
    .real-data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .audience-grid {
        grid-template-columns: 1fr;
    }
    .ecosystem-flow {
        flex-direction: column;
    }
    .ecosystem-arrow {
        transform: rotate(90deg);
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-steps {
        flex-direction: column;
        gap: 8px;
    }
    .workflow-connector {
        width: 2px;
        height: 24px;
        background: var(--line);
    }
}

@media (max-width: 480px) {
    .real-data-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Problem Section ─────────────────────── */
.problem-section {
    padding: 60px 0 40px;
    text-align: center;
}

.problem-content {
    max-width: 600px;
    margin: 0 auto;
}

.problem-lead {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.problem-question {
    font-size: 24px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.4;
}

/* ─── Equipment Performance Section ───────── */
.equipment-perf-section {
    padding: 80px 0;
    position: relative;
}

.equipment-perf-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: var(--line);
}

.equipment-perf-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0 40px;
}

.equipment-perf-item {
    background: transparent;
    border: none;
    padding: 0;
}

.equipment-perf-item:hover {
    border: none;
}

.equipment-perf-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 8px;
}

.equipment-perf-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 700px;
}

.equipment-perf-img {
    width: 100%;
    border-radius: 3px;
    border: 1px solid var(--line);
}

.equipment-perf-callout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: transparent;
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    padding: 8px 28px;
    max-width: 700px;
    margin: 48px auto 0;
}

.equipment-perf-callout-icon {
    font-size: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.equipment-perf-callout-text strong {
    font-size: 16px;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

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

@media (max-width: 768px) {
    .equipment-perf-showcase {
        grid-template-columns: 1fr;
    }
    .equipment-perf-callout {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- Material Symbols (self-hosted subset; replaces emoji in feature/trust/audience grids) ---
   Subset fetched once from Google's css2 API and served from /fonts - NO runtime request to
   Google (GDPR-safe). Font-size is intentionally NOT set here so .feature-icon / .trust-icon /
   .audience-icon keep controlling glyph size. */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/material-symbols-subset.woff2') format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Pro-tier feature icons use the gold accent to match the Pro badge. */
.pro-feature .feature-icon {
    color: var(--gold);
}

/* ─── 1.0 RC1 additions ───────────────────────────────────────────────
   New-feature styling introduced with the 1.0 Release Candidate 1 refresh:
   the "New" feature-card badge, the hero release pill, the highlighted
   "New in 1.0 RC1" showcase section, the portrait phone screenshot, and the
   App Store / Google Play status badges. Kept together so the RC1 refresh is
   easy to find and adjust. */

/* Inline-SVG feature-card icons (new cards use SVGs, not Material Symbols,
   so they never depend on the self-hosted glyph subset). */
.feature-icon svg { width: 34px; height: 34px; display: block; }

/* "New" tier badge — a filled teal→blue chip that reads brighter than the
   Standard/Pro outline badges. */
.tier-badge.new {
    background: var(--accent);
    color: #0A101C;
    border: 1px solid rgba(200, 165, 92, 0.5);
}

/* Hero release pill — links to the RC1 announcement page. */
.release-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 8px;
    margin: 0 0 22px;
    border-radius: 2px;
    border: 1px solid rgba(200, 165, 92, 0.35);
    background: rgba(200, 165, 92, 0.08);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 550;
    text-decoration: none;
    transition: all 0.25s ease;
}
.release-pill:hover {
    background: rgba(200, 165, 92, 0.16);
    border-color: rgba(200, 165, 92, 0.55);
   
}
.release-pill .rp-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 2px;
    background: var(--accent);
    color: #0A101C;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.release-pill .rp-text { padding-right: 4px; }
.release-pill .rp-arrow { color: var(--teal); font-weight: 700; }

/* "New in 1.0 RC1" group inside the "See AstroIndexer in Action" showcase —
   leads the showcase, separated from the rest by a divider. */
.rc1-group {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.rc1-group > .feature-detail:last-child { margin-bottom: 48px; }
.rc1-eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    margin: 0 0 48px;
}

/* Portrait phone screenshot (mobile companion). */
.feature-screenshot.phone { display: flex; justify-content: center; }
.feature-screenshot.phone img {
    width: auto;
    max-width: 290px;
    border-radius: 30px;
}

/* App Store / Google Play status badges. */
.app-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; padding: 0; list-style: none; }
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border-radius: 2px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--line);
    background: rgba(242, 237, 227, 0.03);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}
.app-badge .led { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.app-badge.live { border-color: rgba(89, 217, 142, 0.4); color: var(--green); }
.app-badge.live .led { background: var(--green); }
.app-badge.live:hover { background: rgba(89, 217, 142, 0.1); }
.app-badge.soon { border-color: rgba(90, 167, 255, 0.4); color: var(--blue); }
.app-badge.soon .led { background: var(--blue); }


/* ─── Star-atlas additions ────────────────── */
.rc1-eyebrow, .ecosystem-label, .tier-badge {
    font-family: var(--font-mono);
    font-weight: 500;
}

.insight-value, .real-data-value, .price .currency, .workflow-number, .download-detail {
    font-family: var(--font-mono);
}

.insight-value { font-weight: 500; font-size: 30px; letter-spacing: 0; }
.price .currency { font-weight: 500; }
.workflow-number { font-weight: 500; }

.insight-card, .real-data-card {
    background: transparent;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    text-align: left;
    padding: 20px 6px 26px;
}
.insight-card:hover { transform: none; border-color: var(--line); }
.insight-card::before { display: none; }
.insight-card.highlight {
    background: transparent;
    border: none;
    border-top: 1px solid var(--accent);
}
.insight-label {
    font-size: 12px;
    font-family: var(--font-mono);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mut);
    order: -1;
}
.insight-card { display: flex; flex-direction: column; }
.insight-value { margin: 6px 0 8px; }
.insights-caption { font-style: normal; }

.release-pill {
    border: none;
    background: transparent;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mut);
}
.release-pill:hover { background: transparent; color: var(--txt); }
.release-pill .rp-badge {
    background: var(--accent);
    color: var(--bg0);
    border-radius: 2px;
    font-family: var(--font-mono);
}
.release-pill .rp-arrow { color: var(--accent); }

.language-switcher .flag { display: none; }

.section-title { line-height: 1.2; }
.hero-content h2 { line-height: 1.15; }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

#contactModal > div {
    background: var(--bg1) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
}
#contactModal h2 { font-family: var(--font-display) !important; color: var(--txt) !important; }
#contactModal input, #contactModal textarea {
    background: rgba(242, 237, 227, 0.05) !important;
    border-radius: 2px !important;
    color: var(--txt) !important;
}
#contactSubmitButton {
    background: var(--accent) !important;
    color: var(--bg0) !important;
    border-radius: 2px !important;
    font-weight: 500 !important;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* fixes after visual review */
.nav-menu a.btn-primary,
.nav-menu a.btn-primary:hover {
    color: var(--bg0);
}
.release-pill .rp-badge { white-space: nowrap; }
.audience-card { flex-wrap: wrap; }
.audience-card p { min-width: 0; flex-basis: 100%; }
html { overflow-x: hidden; }

/* ─── App store badges — official Apple / Google artwork ── */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}
.store-badges a { display: inline-block; line-height: 0; border-radius: 8px; }
.store-badges img { height: 52px; width: auto; display: block; }

.feature-screenshot.phone img {
    border-radius: 32px;
    border: 1px solid var(--line);
}

/* ─── Motion layer (used with js/staratlas.js) ── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.reveal-left { transform: translateX(-28px); }
.reveal.reveal-right { transform: translateX(28px); }
.reveal.in { opacity: 1; transform: none; }

.hero-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .hero-stars { display: none; }
}

/* ─── Screenshot depth + hover life ─────────── */
.feature-screenshot img,
.hero-image img,
.equipment-perf-img {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.feature-screenshot img:hover,
.hero-image img:hover,
.equipment-perf-img:hover {
    transform: scale(1.018);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .feature-screenshot img:hover,
    .hero-image img:hover,
    .equipment-perf-img:hover { transform: none; }
}

/* Static body-level language switcher is superseded by the navbar copy that
   languages.js injects — hide the leftover so it can't render top-left. */
body > .language-switcher { display: none; }
