/* ==========================================================================
   Zmew — landing page (index.html)
   Requires base.css.
   ========================================================================== */

/* ── SECTIONS ───────────────────────────────────────────────────────────── */
.section {
    padding: 100px var(--gutter);
}

.section--alt {
    background: var(--bg2);
}

h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.05;
    max-width: 820px;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--fg2);
    max-width: 520px;
    margin-bottom: 56px;
}

.text-accent {
    color: var(--brand);
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    padding: 140px var(--gutter) 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--brand-rgb), .1);
    border: 1px solid rgba(var(--brand-rgb), .2);
    color: var(--brand);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge .icon {
    width: 16px;
    height: 16px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--fg2);
    max-width: 580px;
    margin-bottom: 40px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 72px;
}

.hero-visual {
    position: relative;
    width: min(860px, 90vw);
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.hero-screenshot {
    width: 400px;
    max-width: 90vw;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .28));
}

/* Floating feature cards around the hero screenshot */
.float-card {
    position: absolute;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    line-height: 1.4;
    animation: float 4s ease-in-out infinite;
}

.float-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--brand);
}

.float-card .icon {
    width: 24px;
    height: 24px;
}

.float-card strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
}

.float-card span {
    font-size: .82rem;
    color: var(--fg2);
}

.float-card--tl { left: -130px; top: 60px; }
.float-card--tr { right: -130px; top: 40px; animation-delay: .8s; }
.float-card--bl { left: -120px; bottom: 80px; animation-delay: 1.6s; }
.float-card--br { right: -135px; bottom: 60px; animation-delay: 2.4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── ICON TINTS ─────────────────────────────────────────────────────────── */
.tint-amber { background: var(--tint-amber); }
.tint-green { background: var(--tint-green); }
.tint-violet { background: var(--tint-violet); }
.tint-mint { background: var(--tint-mint); }
.tint-orange { background: var(--tint-orange); }
.tint-red { background: var(--tint-red); }
.tint-indigo { background: var(--tint-indigo); }

/* ── FEATURES GRID ──────────────────────────────────────────────────────── */
.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--brand);
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-card p {
    font-size: .9rem;
    color: var(--fg2);
    line-height: 1.7;
}

/* ── SPOTLIGHTS ─────────────────────────────────────────────────────────── */
.spotlight {
    display: flex;
    align-items: center;
    gap: 80px;
}

.spotlight--reverse {
    flex-direction: row-reverse;
}

.spotlight-content {
    flex: 1;
}

.spotlight-content p {
    color: var(--fg2);
    line-height: 1.8;
    margin-bottom: 28px;
}

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

/* Two overlapping screenshots */
.screen-pair {
    display: flex;
    align-items: flex-start;
    width: 580px;
    max-width: 100%;
}

.screen-pair img {
    flex-shrink: 0;
    position: relative;
}

.screen-pair img:first-child {
    width: 52%;
    margin-top: 48px;
    margin-right: -28px;
    z-index: 1;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .16));
}

.screen-pair img:last-child {
    width: 56%;
    z-index: 2;
    filter: drop-shadow(0 24px 56px rgba(0, 0, 0, .24));
}

.screen-single {
    width: 380px;
    max-width: 100%;
    filter: drop-shadow(0 32px 64px rgba(0, 0, 0, .24));
}

/* Check-mark lists (spotlights + pricing) */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
}

.check-list li::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-list--star li::before {
    content: '★';
    font-size: .6rem;
}

/* ── TEMPLATES ──────────────────────────────────────────────────────────── */
.pill-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.pill-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 9px 18px;
    font-size: .88rem;
    font-weight: 600;
}

.pill-list .icon {
    width: 19px;
    height: 19px;
    color: var(--brand);
}

/* ── PRICING ────────────────────────────────────────────────────────────── */
.pricing-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.pricing-header .section-lead {
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto 40px;
}

.pricing-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
}

.pricing-card--pro {
    background: linear-gradient(180deg, rgba(var(--brand-rgb), .06), rgba(var(--brand-rgb), .03)), var(--surface);
    border-color: rgba(var(--brand-rgb), .22);
    box-shadow: var(--card-shadow);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

.pricing-card .tier-lead {
    font-size: .92rem;
    color: var(--fg2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.pricing-card .check-list {
    gap: 12px;
}

.pricing-card .check-list li {
    font-size: .9rem;
    color: var(--fg2);
    line-height: 1.5;
    gap: 12px;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.pricing-option {
    text-align: center;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 20px;
}

.pricing-option strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-option span {
    font-size: .88rem;
    color: var(--fg2);
}

.pricing-fineprint {
    max-width: 720px;
    margin: 28px auto 0;
    text-align: center;
    font-size: .78rem;
    color: var(--fg2);
    line-height: 1.7;
}

/* ── CTA ────────────────────────────────────────────────────────────────── */
.cta {
    text-align: center;
    padding: 120px var(--gutter);
}

.cta h2 {
    max-width: 600px;
    margin: 0 auto 16px;
}

.cta .section-lead {
    margin: 0 auto 40px;
}

.cta .actions {
    margin-bottom: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .spotlight,
    .spotlight--reverse {
        flex-direction: column;
        gap: 40px;
    }

    .spotlight-visual {
        order: -1;
    }

    .float-card {
        display: none;
    }

    .screen-pair {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 110px var(--gutter) 60px;
    }

    .section {
        padding: 70px var(--gutter);
    }

    .hero-screenshot {
        width: 240px;
    }
}
