:root {
    --bg: #08111f;
    --bg-soft: #0e1728;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f3f7ff;
    --text-soft: #bac6df;
    --text-muted: #92a0bb;
    --accent: #7ae2b7;
    --accent-strong: #41cf97;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(122, 226, 183, 0.14), transparent 30%),
        linear-gradient(180deg, #07101d 0%, #0c1424 100%);
}

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

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.section {
    padding: 42px 0;
}

.section-tight {
    padding-top: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.button-small {
    padding: 10px 16px;
    font-size: 0.95rem;
}

.button-primary {
    color: #04130d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 12px 28px rgba(65, 207, 151, 0.28);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    padding-top: 72px;
    padding-bottom: 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 40px;
    align-items: center;
}

.eyebrow,
.tag,
.panel-label,
.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.eyebrow {
    margin-bottom: 18px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.hero h1,
.pricing-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero h1 span,
.pricing-hero h1 span {
    display: block;
    color: var(--text-soft);
}

.pricing-hero {
    padding-top: 72px;
    padding-bottom: 34px;
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 0.78fr;
    gap: 40px;
    align-items: center;
}

.pricing-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(122, 226, 183, 0.16), transparent 36%),
        var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.pricing-label,
.price-term,
.pricing-footnote {
    color: var(--text-muted);
}

.pricing-label {
    margin: 0 0 8px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.pricing-card h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 9px 12px;
    border-radius: 999px;
    color: #04130d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    font-size: 0.88rem;
    font-weight: 700;
}

.price-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.price-option {
    padding: 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.price-option-featured {
    border-color: rgba(122, 226, 183, 0.38);
    background: rgba(122, 226, 183, 0.08);
}

.price-term,
.price-note {
    display: block;
}

.price-term {
    margin-bottom: 10px;
    font-weight: 700;
}

.price-amount {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.price-note {
    color: var(--text-soft);
}

.pricing-features {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    position: relative;
    padding-left: 28px;
    color: var(--text-soft);
    line-height: 1.5;
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(122, 226, 183, 0.12);
}

.pricing-button {
    width: 100%;
}

.pricing-footnote {
    margin: 14px 0 0;
    font-size: 0.92rem;
    text-align: center;
    line-height: 1.5;
}

.hero-lead {
    max-width: 680px;
    margin: 0 0 26px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-soft);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.tag {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.94rem;
}

.hero-visual,
.panel,
.feature-card,
.step-card,
.use-case-card,
.preview-shell,
.cta-panel {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-visual {
    border-radius: var(--radius-lg);
    padding: 18px;
    min-height: 470px;
}

.app-mockup {
    height: 100%;
    min-height: 430px;
    border-radius: 24px;

    background-image: url("./img/preview_square.jpeg");
    background-size: cover;
    background-position: center;
    aspect-ratio: 1 / 1;
}

.split-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.panel {
    padding: 26px;
    border-radius: var(--radius-md);
}

.panel-label,
.section-kicker {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.panel h2,
.section-heading h2,
.cta-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.panel p,
.section-intro,
.feature-card p,
.step-card p,
.use-case-card p,
.cta-panel p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

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

.feature-card,
.step-card,
.use-case-card {
    border-radius: var(--radius-md);
    padding: 22px;
}

.feature-card h3,
.step-card h3,
.use-case-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.icon-box,
.step-number {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    background: rgba(122, 226, 183, 0.12);
    border: 1px solid rgba(122, 226, 183, 0.16);
}

.preview-shell {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.preview-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.preview-layout {
    background-image: url("./img/preview.png");
    background-size: cover;
    background-position: center;
    aspect-ratio: 16 / 9;
}

.final-cta {
    padding-bottom: 84px;
}

.cta-panel {
    border-radius: 30px;
    padding: 38px 24px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(122, 226, 183, 0.12), transparent 40%),
        rgba(255, 255, 255, 0.05);
}

.cta-panel p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 0 42px;
    background: rgba(0, 0, 0, 0.08);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-copy {
    margin: 0;
    color: var(--text-muted);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-grid,
    .pricing-hero-grid,
    .split-panels,
    .card-grid-3,
    .preview-layout,
    .mockup-body {
        grid-template-columns: 1fr;
    }

    .mock-cards,
    .preview-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .main-nav {
        display: none;
    }

    .header-inner,
    .header-actions,
    .hero-actions,
    .cta-actions,
    .footer-inner,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding-top: 48px;
    }

    .pricing-hero {
        padding-top: 48px;
    }

    .pricing-card-header,
    .price-options {
        grid-template-columns: 1fr;
    }

    .pricing-card-header {
        flex-direction: column;
    }

    .hero-visual {
        min-height: auto;
    }

    .app-mockup {
        min-height: 420px;
    }
}
