/* ICARO Audit Engine — Landing Page MVP */

:root {
    --bg: #07111f;
    --bg-soft: #0d1b2e;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --text: #172235;
    --text-soft: #5c6b80;
    --text-light: #f4f8ff;
    --primary: #4361ee;
    --primary-dark: #2f49c8;
    --accent: #16c79a;
    --warning: #ffb703;
    --danger: #ef476f;
    --border: #dfe7f1;
    --shadow: 0 22px 60px rgba(13, 27, 46, 0.14);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

ul {
    margin: 0;
    padding: 0;
}

.section-container,
.site-header__inner,
.site-footer__inner,
.site-footer__bottom,
.hero__inner {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section-container--narrow {
    max-width: 860px;
}

section {
    padding: 96px 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 48px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading__eyebrow,
.hero__eyebrow,
.demo-content__eyebrow,
.problem-highlight__eyebrow,
.cta-panel__eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.section-heading__description {
    margin: 20px auto 0;
    color: var(--text-soft);
    font-size: 1.08rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 12px 30px rgba(67, 97, 238, 0.25);
}

.button--primary:hover {
    background: var(--primary-dark);
}

.button--secondary,
.button--ghost {
    color: var(--text);
    background: transparent;
    border-color: var(--border);
}

.button--light {
    color: var(--primary-dark);
    background: #fff;
}

.button--large {
    min-height: 54px;
    padding-inline: 26px;
}

/* Header */

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.site-header--scrolled {
    border-color: var(--border);
    box-shadow: 0 8px 30px rgba(13, 27, 46, 0.08);
}

.site-header__inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-weight: 900;
}

.brand__text {
    display: flex;
    flex-direction: column;
}

.brand__name {
    font-size: 0.98rem;
}

.brand__tagline {
    color: var(--text-soft);
    font-size: 0.72rem;
}

.main-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 20px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 650;
}

.main-nav a:hover {
    color: var(--primary);
}

.site-header__actions {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
}

/* Hero */

.hero {
    overflow: hidden;
    padding: 96px 0 110px;
    color: var(--text-light);
    background:
        radial-gradient(circle at 80% 20%, rgba(67, 97, 238, 0.35), transparent 35%),
        radial-gradient(circle at 15% 80%, rgba(22, 199, 154, 0.2), transparent 30%),
        var(--bg);
}

.hero__inner {
    display: grid;
    align-items: center;
    gap: 72px;
    grid-template-columns: 1.05fr 0.95fr;
}

.hero__title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero__description {
    max-width: 710px;
    margin: 24px 0 0;
    color: #becbe0;
    font-size: 1.15rem;
}

.hero__actions {
    display: flex;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 14px;
}

.hero .button--secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.hero__trust-list {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    color: #d8e2f2;
    font-size: 0.9rem;
}

.hero__trust-list span {
    color: var(--accent);
}

.hero__note {
    margin-top: 18px;
    color: #8798b2;
    font-size: 0.82rem;
}

.report-preview,
.demo-report {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.report-preview {
    padding: 24px;
    color: var(--text);
}

.report-preview__header,
.demo-report__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.report-preview__header > div {
    display: flex;
    flex-direction: column;
}

.report-preview__brand,
.demo-report__eyebrow {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.report-preview__status,
.demo-report__badge {
    padding: 8px 10px;
    border-radius: 999px;
    color: #08765c;
    background: #dcf8ef;
    font-size: 0.72rem;
    font-weight: 800;
}

.report-preview__score,
.demo-report__score {
    display: grid;
    margin: 26px 0;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    text-align: center;
}

.report-preview__score div,
.demo-report__score div {
    padding: 18px;
    border-radius: 16px;
    background: var(--surface-soft);
}

.report-preview__score span,
.demo-report__score span,
.report-preview__metric span,
.demo-report__grid span {
    display: block;
    color: var(--text-soft);
    font-size: 0.75rem;
}

.report-preview__score strong,
.demo-report__score strong {
    font-size: 2rem;
}

.report-preview__metrics,
.demo-report__grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.report-preview__metric,
.demo-report__grid > div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.report-preview__insight,
.demo-report__priority {
    display: flex;
    margin-top: 18px;
    padding: 16px;
    gap: 12px;
    border-radius: 14px;
    background: #fff7e1;
}

.report-preview__insight p,
.demo-report__priority p {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.report-preview__insight-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    color: #6a4b00;
    background: var(--warning);
    font-weight: 900;
}

.report-preview__footer {
    display: flex;
    margin-top: 18px;
    justify-content: space-between;
    color: var(--text-soft);
    font-size: 0.75rem;
}

/* Grids and cards */

.problem-grid,
.features-grid,
.audiences-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}

.features-grid,
.audiences-grid {
    grid-template-columns: repeat(3, 1fr);
}

.problem-card,
.feature-card,
.audience-card,
.workflow-step {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 40px rgba(13, 27, 46, 0.05);
}

.problem-card__icon {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--primary);
    background: #eef1ff;
    font-size: 0.68rem;
    font-weight: 900;
}

.problem-card h3,
.feature-card h3,
.audience-card h3,
.workflow-step h3 {
    margin: 0 0 10px;
}

.problem-card p,
.audience-card p,
.workflow-step p,
.feature-card li {
    color: var(--text-soft);
}

.feature-card ul {
    padding-left: 18px;
}

.problem-highlight,
.features-highlight,
.workflow-highlight,
.transparency-panel,
.cta-panel {
    display: grid;
    margin-top: 32px;
    padding: 38px;
    gap: 40px;
    border-radius: var(--radius);
    grid-template-columns: 1fr 1fr;
}

.problem-highlight,
.workflow-highlight {
    background: var(--surface-soft);
}

.features-highlight {
    color: #fff;
    background: var(--bg-soft);
}

.problem-highlight h3,
.features-highlight h3,
.workflow-highlight h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

.problem-highlight p,
.features-highlight p,
.workflow-highlight p {
    color: var(--text-soft);
}

.features-highlight p {
    color: #b7c3d6;
}

.problem-highlight__comparison {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.comparison-card {
    padding: 22px;
    border-radius: 16px;
    background: #fff;
}

.comparison-card__label {
    font-weight: 900;
}

.comparison-card ul,
.feature-checklist,
.workflow-checklist {
    margin-top: 14px;
    list-style: none;
}

.comparison-card li,
.feature-checklist li,
.workflow-checklist li {
    margin: 8px 0;
}

.comparison-card--before {
    border: 1px solid #f4c8d2;
}

.comparison-card--after {
    border: 1px solid #aee8d8;
}

/* Workflow */

.how-it-works-section,
.audiences-section,
.faq-section {
    background: var(--surface-soft);
}

.workflow {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.workflow-step__number {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
}

/* Demo */

.demo-layout {
    display: grid;
    align-items: center;
    gap: 64px;
    grid-template-columns: 1fr 0.9fr;
}

.demo-report {
    padding: 28px;
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.demo-report__top h3 {
    margin: 4px 0 0;
}

.demo-content h3 {
    margin: 0;
    font-size: 2rem;
}

.demo-content__list {
    margin: 24px 0;
    padding-left: 22px;
    color: var(--text-soft);
}

.demo-content__list li {
    margin-bottom: 10px;
}

/* Transparency */

.transparency-section {
    color: #fff;
    background: var(--bg);
}

.transparency-panel {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.06);
}

.transparency-panel__content p {
    color: #b8c5d9;
}

.transparency-panel__status {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.transparency-panel__status h3 {
    margin-top: 0;
}

.transparency-panel__status ul {
    list-style: none;
}

.transparency-panel__status li {
    margin-bottom: 18px;
    color: #c2cde0;
}

.transparency-panel__status strong {
    display: block;
    color: #fff;
}

/* Roadmap */

.roadmap-columns {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

.roadmap-column {
    padding: 34px;
    border-radius: var(--radius);
}

.roadmap-column--current {
    border: 1px solid #bce9dc;
    background: #edfbf7;
}

.roadmap-column--future {
    border: 1px solid #cad4ff;
    background: #f0f3ff;
}

.roadmap-column__label {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.roadmap-column ul {
    margin-top: 20px;
    padding-left: 20px;
}

.roadmap-column li {
    margin-bottom: 10px;
}

/* FAQ */

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-soft);
}

/* CTA */

.cta-panel {
    align-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6438d6);
}

.cta-panel__eyebrow {
    color: #d8e0ff;
}

.cta-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.cta-panel p {
    color: #e1e6ff;
}

.cta-panel__actions {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.cta-panel__actions span {
    color: #d8e0ff;
    font-size: 0.8rem;
}

/* Footer */

.site-footer {
    padding: 68px 0 24px;
    color: #c4cfe0;
    background: #050b14;
}

.site-footer__inner {
    display: grid;
    gap: 60px;
    grid-template-columns: 1.2fr 2fr;
}

.footer-brand__title {
    margin-top: 0;
    color: #fff;
}

.footer-brand__description {
    max-width: 440px;
}

.footer-links {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, 1fr);
}

.footer-column h3 {
    margin-top: 0;
    color: #fff;
    font-size: 0.95rem;
}

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

.footer-column li {
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.footer-column a:hover {
    color: #fff;
}

.site-footer__bottom {
    display: flex;
    margin-top: 52px;
    padding-top: 22px;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 1050px) {
    .site-header__actions .button--ghost,
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
        align-items: center;
        gap: 10px;
        border: 0;
        background: transparent;
        font-weight: 800;
    }

    .menu-toggle__icon {
        display: grid;
        gap: 4px;
    }

    .menu-toggle__icon span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
    }

    .main-nav--open {
        position: absolute;
        display: grid;
        top: 76px;
        right: 20px;
        left: 20px;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .hero__inner,
    .demo-layout {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        max-width: 720px;
    }

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

@media (max-width: 780px) {
    section {
        padding: 72px 0;
    }

    .site-header__actions {
        display: none;
    }

    .brand__tagline {
        display: none;
    }

    .problem-grid,
    .features-grid,
    .audiences-grid,
    .workflow,
    .roadmap-columns,
    .problem-highlight,
    .features-highlight,
    .workflow-highlight,
    .transparency-panel,
    .cta-panel,
    .site-footer__inner,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .problem-highlight__comparison {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 72px;
    }

    .hero__title {
        font-size: 2.65rem;
    }

    .report-preview__footer,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .section-container,
    .site-header__inner,
    .site-footer__inner,
    .site-footer__bottom,
    .hero__inner {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .button {
        width: 100%;
    }

    .report-preview,
    .demo-report,
    .problem-card,
    .feature-card,
    .audience-card,
    .workflow-step,
    .problem-highlight,
    .features-highlight,
    .workflow-highlight,
    .transparency-panel,
    .roadmap-column,
    .cta-panel {
        padding: 22px;
    }
}
