@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800;900&family=Caveat:wght@400;600;700&display=swap');

.landing {
    --bg: #f4f6fb;
    --ink: #0b1220;
    --muted: #4b5563;
    --primary: #2563eb;
    --primary-700: #1e40af;
    --accent: #ffb347;
    --accent-700: #f59e0b;
    --surface: #ffffff;
    --card: #0f172a;
    --ring: rgba(15, 23, 42, .10);
    --shadow: 0 18px 50px rgba(2, 6, 23, .12);
    font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

.landing *,
.landing *::before,
.landing *::after {
    box-sizing: border-box;
}

.landing img {
    max-width: 100%;
    height: auto;
    display: block;
}

.landing .section {
    padding: 96px 20px;
    position: relative;
}

.landing .wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.landing .kicker {
    letter-spacing: .24em;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin: 0 0 10px;
}

.landing .title {
    font-size: clamp(30px, 6.2vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 12px;
}

.landing .subtitle {
    color: var(--muted);
    font-size: clamp(15px, 2.4vw, 20px);
    margin: 0 0 24px;
}

.flow-note {
    padding-top: 52px;
    padding-bottom: 20px;
}

.flow-note .wrap {
    position: relative;
}

.flow-title {
    margin: 0;
    text-align: center;
    font-family: "Caveat", "Space Grotesk", "Segoe UI", Arial, sans-serif;
    font-size: clamp(44px, 9vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    position: relative;
    z-index: 3;
}

.flow-black {
    color: #0b1220;
}

.flow-green {
    color: #16a34a;
}

.flow-red {
    color: #dc2626;
}

.flow-subtitle {
    margin: 12px 0 0;
    text-align: center;
    font-family: "Caveat", "Space Grotesk", "Segoe UI", Arial, sans-serif;
    font-size: clamp(24px, 4.8vw, 42px);
    line-height: 1.1;
    color: #374151;
    position: relative;
    z-index: 3;
}

.flow-character-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    margin-bottom: -120px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.flow-character {
    --flow-char-scale: 1.16;
    width: clamp(190px, 21vw, 320px);
    max-width: 100%;
    max-height: none;
    height: auto;
    filter: drop-shadow(0 14px 26px rgba(2, 6, 23, .28));
    transform-origin: 50% 100%;
    transform: translateY(0) scale(var(--flow-char-scale));
    animation: heroCharacterFloat 3.8s ease-in-out infinite;
}

.everything {
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 4;
    background: var(--bg);
}

.everything-title {
    text-align: center;
    font-family: "Caveat", "Space Grotesk", "Segoe UI", Arial, sans-serif;
    font-size: clamp(40px, 9vw, 88px);
    font-weight: 700;
    letter-spacing: .02em;
    margin: 0 0 6px;
}

.everything-tagline {
    text-align: center;
    font-size: clamp(16px, 3vw, 22px);
    color: var(--muted);
    margin: 0;
    font-weight: 600;
}

.plugins-section {
    background:
        radial-gradient(1000px 280px at 10% 0%, rgba(37, 99, 235, .08), transparent 65%),
        radial-gradient(900px 260px at 90% 100%, rgba(255, 179, 71, .10), transparent 70%),
        var(--bg);
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .plugins-grid {
        grid-template-columns: 1fr;
    }
}

.plugin-card {
    background: #fff;
    border: 1px solid var(--ring);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .08);
}

.plugin-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.plugin-icon {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
}

.plugin-head h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.01em;
}

.plugin-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.landing .nav {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 26px;
}

.landing .nav {
    justify-content: center;
}

@media (min-width: 981px) {
    .landing .nav {
        justify-content: flex-start;
    }
}

.landing .nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.landing .nav a:hover {
    color: var(--ink);
}

.landing-hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(1200px 500px at 10% 10%, rgba(37, 99, 235, .18), transparent 60%),
        radial-gradient(900px 400px at 90% 20%, rgba(255, 179, 71, .16), transparent 65%),
        var(--bg);
    overflow: hidden;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(0.5px);
    opacity: .22;
    z-index: 0;
}

.landing-hero::before {
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(37, 99, 235, .8), transparent 60%);
}

.landing-hero::after {
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 179, 71, .7), transparent 60%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    align-items: center;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 18px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 980px) {
    .hero-cta {
        justify-content: center;
    }
}

.landing .btn-3d {
    --btn: var(--accent);
    --btn-dark: var(--accent-700);
    font-size: 16px;
}

.landing-btn,
.pricing-btn,
.pricing-btn-paypal,
.video-showmore {
    all: unset;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    --btn: var(--accent);
    --btn-dark: var(--accent-700);
    --shadow: rgba(0, 0, 0, .22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 40px;
    background: var(--btn);
    color: #111;
    font-weight: 800;
    letter-spacing: .3px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    background-clip: border-box;
    transform: translateY(0);
    box-shadow:
        0 12px 0 var(--btn-dark),
        4px 20px 0 var(--shadow);
    transition: transform .08s ease, box-shadow .08s ease;
}

.landing-btn *,
.pricing-btn *,
.pricing-btn-paypal *,
.video-showmore * {
    border-radius: 0;
    background-clip: border-box;
}

.landing-btn:focus,
.landing-btn:focus-visible,
.pricing-btn:focus,
.pricing-btn:focus-visible,
.pricing-btn-paypal:focus,
.pricing-btn-paypal:focus-visible,
.video-showmore:focus,
.video-showmore:focus-visible {
    outline: none;
}

.landing-btn:active,
.pricing-btn:active,
.pricing-btn-paypal:active,
.video-showmore:active {
    transform: translateY(6px);
    box-shadow:
        0 6px 0 var(--btn-dark),
        6px 6px 0 var(--shadow);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .08);
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 980px) {
    .trust-row {
        justify-content: center;
    }
}

.hero-card {
    background: #0b1220;
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-card .hero-screen {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.hero-card .hero-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card .hero-caption {
    color: #cbd5f5;
    font-size: 13px;
    margin-top: 10px;
}

@keyframes heroCharacterFloat {
    0%,
    100% {
        transform: translateY(0) scale(var(--flow-char-scale));
    }

    50% {
        transform: translateY(-8px) scale(var(--flow-char-scale));
    }
}

@media (max-width: 980px) {
    .flow-character {
        --flow-char-scale: 0.94;
        width: clamp(138px, 32vw, 198px);
    }

    .flow-character-wrap {
        margin-top: 12px;
        margin-bottom: -88px;
    }

    .flow-note {
        padding-bottom: 0;
    }

    .flow-subtitle {
        margin-top: 8px;
    }

    /* Avoid a large empty band after flow-note on mobile */
    .landing-hero {
        min-height: auto;
        display: block;
        padding-top: 24px;
        padding-bottom: 40px;
    }
}

.section-alt {
    background: #0b1220;
    color: #f8fafc;
}

.section-alt .kicker,
.section-alt .subtitle {
    color: #cbd5e1;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 960px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--ring);
    padding: 18px;
    box-shadow: 0 12px 28px rgba(2, 6, 23, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(2, 6, 23, .12);
}

.card h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.card.dark {
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, .18);
}

.card.dark p {
    color: #cbd5e1;
}

.tour-grid figure {
    margin: 0;
}

.mock-laptop {
    background: #0f172a;
    border-radius: 16px;
    padding: 10px 10px 16px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, .2);
}

.mock-topbar {
    height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
}

.mock-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef4444;
}

.mock-topbar span:nth-child(2) {
    background: #f59e0b;
}

.mock-topbar span:nth-child(3) {
    background: #10b981;
}

.mock-screen {
    background: #0b1220;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: zoom-in;
}

.mock-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-caption {
    font-size: 14px;
    color: var(--muted);
    margin-top: 10px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

@media (max-width: 800px) {
    .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.metric {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.metric .big {
    font-size: 22px;
    font-weight: 900;
}

.metric .sub {
    font-size: 12px;
    color: #cbd5e1;
}

/* Pricing cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    text-align: left;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 30px rgba(2, 6, 23, .08), 0 1px 0 rgba(2, 6, 23, .06);
}

.pricing-card.is-popular {
    outline: 2px solid var(--primary);
    box-shadow: 0 18px 40px rgba(37, 99, 235, .18);
}

.pricing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    color: #fff;
    background: var(--primary);
    padding: 6px 10px;
    border-radius: 999px;
}

.pricing-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 4px 0 8px;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 8px 0 14px;
}

.pricing-currency {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.pricing-price {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.pricing-period {
    color: var(--muted);
    font-size: 14px;
}

.pricing-original-inline {
    margin-left: 12px;
    align-self: center;
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    display: none;
    white-space: nowrap;
    line-height: 1.1;
}

.pricing-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
}

.pricing-li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--ink);
    font-size: 14px;
}

.pricing-tick {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, .12);
    color: #059669;
    border: 1px solid rgba(5, 150, 105, .35);
    font-weight: 900;
    line-height: 1;
}

.pricing-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -4px 0 14px;
    font-size: 13px;
    color: var(--muted);
}

.pricing-original-price {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #9ca3af;
    font-weight: 700;
}

.pricing-original-note {
    font-weight: 700;
    color: #16a34a;
}

.pricing-savings {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(22, 163, 74, .12);
    border: 1px solid rgba(22, 163, 74, .35);
    color: #16a34a;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    margin: -4px 0 14px;
    width: fit-content;
}

.pricing-btn {
    --h: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--h);
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), #1d4ed8);
    border: none;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
    transition: transform .12s ease, box-shadow .12s ease;
}

.pricing-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(37, 99, 235, .24);
}

.pricing-btn-paypal {
    --h: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--h);
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    color: #111827;
    background: #FFC439;
    border: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transition: transform .12s ease, box-shadow .12s ease;
}

.pricing-btn-paypal svg {
    height: 18px;
    margin-right: 8px;
}

.faq-grid {
    display: grid;
    gap: 12px;
}

.faq-grid details {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--ring);
    padding: 14px 16px;
}

.faq-grid summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-grid summary::-webkit-details-marker {
    display: none;
}

.faq-grid p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.video-section .video-toggle-row {
    display: inline-flex;
    border: 1px solid var(--ink);
    border-radius: 999px;
    overflow: hidden;
    margin: 10px 0 16px;
}

.video-section .video-toggle-btn {
    appearance: none;
    border: 0;
    background: #fff;
    color: var(--ink);
    padding: 10px 18px;
    font-weight: 800;
    cursor: pointer;
    outline: none;
    white-space: nowrap;
}

.video-section .video-toggle-btn:not(:last-child) {
    border-right: 1px solid var(--ink);
}

.video-section .video-toggle-btn.is-active {
    background: var(--ink);
    color: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.video-card {
    position: relative;
    background: #0f172a;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, .2);
    text-align: left;
}

.video-screen {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0b1220;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    display: grid;
    place-items: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.video-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.video-play-btn svg {
    width: 28px;
    height: 28px;
    fill: #0b0f1a;
    margin-left: 2px;
}

.video-caption {
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: #e5e7eb;
}

.video-updated {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.video-nav-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 22px;
    flex-wrap: wrap;
}


.video-hidden {
    display: none !important;
}

.video-showmore svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.final-cta {
    text-align: center;
    background: linear-gradient(135deg, #0b1220, #111827);
    color: #f8fafc;
    border-radius: 24px;
    padding: 38px 20px;
    box-shadow: var(--shadow);
}

.final-cta .subtitle {
    color: #cbd5e1;
}

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

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

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

    .landing-btn,
    .card {
        transition: none;
    }

    .flow-character {
        animation: none;
    }
}

/* Overlay for enlarged screenshots */
.landing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: zoom-out;
}

.landing-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
