@font-face {
    font-family: 'Mulish';
    src: url('Mulish.ttf') format('truetype');
}

:root {
    /* Vault at Midnight — deep petrol + trust teal + amber "moment" accent */
    --tw-brand: #0E8A70;      /* deep trust teal  — buttons, checks */
    --tw-primary: #2E86AB;    /* steel blue       — reliability */
    --tw-secondary: #E9A13B;  /* amber            — the moment in time */
    --tw-extra: #6F7BD9;      /* slate violet     — cloud/storage */
    --tw-dark: #0D2B31;       /* petrol ink       — headings, dark cards */
    --tw-text: #3c434a;
    --tw-light: #F1F7F5;      /* mist paper */
    --tw-radius: 12px;

    /* hero-only tokens */
    --bk-night-1: #07272E;
    --bk-night-2: #0B3B43;
    --bk-amber: #E9A13B;
    --bk-amber-glow: rgba(233, 161, 59, .45);
    --bk-teal-soft: rgba(24, 175, 143, .35);
    --bk-card: #0F3640;
    --bk-card-line: rgba(255, 255, 255, .09);
}

* { box-sizing: border-box; }

article {
    position: relative;
    background: #fff;
    color: var(--tw-text);
    font-family: 'Mulish', sans-serif;
    line-height: 1.6;
}

h1, h2, h3 { color: var(--tw-dark); line-height: 1.2; }
h1 { font-size: 3em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.3em; }

img { max-width: 100%; height: auto; }

/* width + min-width matter: the theme makes .section-row a flex container,
   so as a flex item .section-content would otherwise refuse to shrink below
   its min-content width and overflow small viewports. */
.section-content { max-width: 1140px; width: 100%; min-width: 0; margin: 0 auto; padding: 0 20px; }
.section-center { text-align: center; }
.section-subtitle { font-size: 1.15em; color: #8c8f94; max-width: 650px; margin-left: auto; margin-right: auto; }
.section-row { padding: 80px 0; position: relative; overflow: hidden; }
.section-light {
    background: linear-gradient(180deg, #EEF6F3 0%, var(--tw-light) 100%);
    border-top: 1px solid #E2EEE9;
    border-bottom: 1px solid #E2EEE9;
}
.section-cols { display: flex; gap: 60px; align-items: center; }
.section-col { flex: 1; }
.section-image { border-radius: var(--tw-radius); box-shadow: 0 20px 60px rgba(13, 43, 49, .12); }
.section-cols-reverse { flex-direction: row-reverse; }

/* ── "A Nightly Backup Is Not Enough" — dark night section ─────────── */

.section-night {
    padding: 95px 0;
    background:
        radial-gradient(900px 520px at 88% 0%, rgba(24, 175, 143, .13) 0%, rgba(24, 175, 143, 0) 60%),
        radial-gradient(760px 480px at 0% 100%, rgba(233, 161, 59, .09) 0%, rgba(233, 161, 59, 0) 60%),
        linear-gradient(160deg, var(--bk-night-1) 0%, var(--bk-night-2) 100%);
}

.night-split { display: flex; align-items: center; gap: 60px; }

.night-copy { flex: 0 0 38%; min-width: 0; }
.night-visual { flex: 1; min-width: 0; user-select: none; }

.night-copy h2 {
    color: #fff;
    font-size: 2.7em;
    line-height: 1.12;
    margin: 0 0 26px;
}

.night-copy h2 em {
    font-style: normal;
    color: var(--bk-amber);
    display: block;
}

.night-lead { color: rgba(255, 255, 255, .92); font-size: 1.15em; }
.night-body { color: rgba(255, 255, 255, .62); }

.night-promises {
    display: flex;
    margin-top: 36px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--tw-radius);
}

.night-promise {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 22px;
}

.night-promise + .night-promise { border-left: 1px solid rgba(255, 255, 255, .09); }

.night-promise-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.night-promise-icon.amber {
    color: var(--bk-amber);
    background: rgba(233, 161, 59, .14);
    box-shadow: inset 0 0 0 1px rgba(233, 161, 59, .35);
}

.night-promise-icon.green {
    color: #2FBE8F;
    background: rgba(47, 190, 143, .13);
    box-shadow: inset 0 0 0 1px rgba(47, 190, 143, .35);
}

.night-promise-label { color: #fff; font-weight: 700; line-height: 1.3; }

/* browser-chrome restore card */

.rst-card {
    background: var(--bk-card);
    border: 1px solid var(--bk-card-line);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    overflow: hidden;
}

.rst-chrome {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bk-card-line);
}

.rst-chrome span { width: 11px; height: 11px; border-radius: 50%; }
.rst-chrome span:nth-child(1) { background: #E4574F; }
.rst-chrome span:nth-child(2) { background: var(--bk-amber); }
.rst-chrome span:nth-child(3) { background: #37B26C; }

.rst-inner { padding: 22px 26px 26px; }

.rst-inner h3 { color: #fff; margin: 0 0 16px; font-size: 1.15em; }

.rst-today { color: rgba(255, 255, 255, .75); font-size: 13px; margin-bottom: 8px; }

/* activity feed — mirrors the plugin's real Restore tab */

.rst-feed { position: relative; }

.rst-feed::before {
    content: '';
    position: absolute;
    left: 73px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, rgba(47, 190, 143, .55) 0%, rgba(47, 190, 143, .45) 55%, rgba(233, 161, 59, .6) 100%);
}

.rst-day {
    margin: 10px 0 8px 94px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
}

.rst-day:first-child { margin-top: 0; }

.rst-item { display: flex; align-items: center; gap: 12px; padding: 7px 0; }

.rst-item time {
    flex: none;
    width: 56px;
    text-align: right;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    font-variant-numeric: tabular-nums;
}

.rst-node {
    flex: none;
    width: 13px; height: 13px;
    border-radius: 50%;
    border: 2px solid #2FBE8F;
    background: var(--bk-card);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--bk-card);
}

.rst-item.is-selected .rst-node {
    border-color: var(--bk-amber);
    background: var(--bk-amber);
    box-shadow: 0 0 0 3px var(--bk-card), 0 0 14px rgba(233, 161, 59, .7);
}

.rst-node-save {
    width: 30px; height: 30px;
    border: 0;
    margin-left: -8px;
    background: var(--bk-amber);
    color: #3A2A08;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 0 0 3px var(--bk-card), 0 6px 16px rgba(233, 161, 59, .35);
}

.rst-burst {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.rst-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .88);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.rst-chip i { font-size: 12px; color: #2FBE8F; }

.rst-bg {
    margin-left: auto;
    font-size: 12px;
    color: rgba(255, 255, 255, .38);
    white-space: nowrap;
}

.rst-item.is-selected .rst-burst {
    background: linear-gradient(90deg, rgba(233, 161, 59, .12), rgba(233, 161, 59, .03));
    border: 1px solid rgba(233, 161, 59, .35);
    border-radius: 12px;
    padding: 8px 12px;
}

.rst-item.is-selected .rst-chip { border-color: rgba(233, 161, 59, .3); }
.rst-item.is-selected .rst-chip i { color: var(--bk-amber); }

.rst-snap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 14.5px;
}

.rst-snap em {
    font-style: normal;
    font-weight: 600;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
}

.rst-feed-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.rst-feed-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .72);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.rst-feed-btn i { font-size: 12px; }

/* amber restore CTA inside the card */

.rst-restore { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding-left: 81px; }

.rst-restore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #F2B24C, #E9A13B);
    color: #3A2A08;
    font-weight: 800;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 10px;
    box-shadow: 0 0 0 4px rgba(233, 161, 59, .18), 0 10px 26px rgba(233, 161, 59, .35);
}

.rst-restore-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.rst-restore-note i { color: var(--bk-amber); font-size: 14px; }

/* bottom feature strip */

.night-strip {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 70px;
    padding-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.night-strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .8);
    font-size: 14.5px;
    line-height: 1.35;
}

.night-strip-item i { font-size: 26px; color: rgba(255, 255, 255, .5); }
.night-strip-item span { max-width: 160px; }

@media (max-width: 1080px) {
    .night-split { flex-direction: column; align-items: stretch; }
    .night-copy { flex: auto; }
}

@media (max-width: 720px) {
    /* the restore-card mock doesn't survive phone widths — hide it */
    .night-visual { display: none; }

    /* the two promise cells stack instead of squeezing side by side */
    .night-promises { flex-direction: column; }
    .night-promise + .night-promise {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .09);
    }

    .rst-item time { display: none; }
    .rst-node { display: none; }
    .rst-feed::before { display: none; }
    .rst-day { margin-left: 0; }
    .rst-bg { display: none; }
    .rst-restore { padding-left: 0; flex-wrap: wrap; }
    .rst-feed-actions { flex-wrap: wrap; }
    .night-strip { justify-content: flex-start; }
}

/* amber "moment" tick under section headings — carries the timeline motif */
.section-cols h2 {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.section-cols h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--bk-amber), rgba(233, 161, 59, .25));
}

h2.section-center {
    position: relative;
    padding-bottom: 20px;
}

h2.section-center::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 46px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(233, 161, 59, .25), var(--bk-amber), rgba(233, 161, 59, .25));
}

.section-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.section-feature-list li {
    position: relative;
    padding: 5px 0 5px 28px;
    font-size: 15px;
}

.section-feature-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--tw-brand);
}

/* ── Hero — Vault at Midnight ─────────────────────────────────────── */

.section-hero {
    background:
        radial-gradient(90% 70% at 85% 10%, rgba(46, 134, 171, .18), transparent 60%),
        radial-gradient(70% 60% at 10% 90%, rgba(14, 138, 112, .16), transparent 60%),
        linear-gradient(165deg, var(--bk-night-1) 0%, var(--bk-night-2) 100%);
    color: #fff;
    padding: 30px 0 110px;
    position: relative;
    overflow: hidden;
}

/* faint vertical "time gridlines" */
.hero-gridlines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, .035) 0 1px,
        transparent 1px 120px
    );
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    pointer-events: none;
}

.hero-blur {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: .22;
    pointer-events: none;
}

.hero-blur-1 { background: var(--tw-primary); top: -10%; left: -140px; }
.hero-blur-2 { background: var(--bk-amber); bottom: -220px; right: -120px; opacity: .13; }

/* split layout */
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    text-align: left;
}

.hero-copy { position: relative; }

.hero-logo {
    width: 240px;
    margin-bottom: 28px;
    display: block;
    animation: bk-rise .8s cubic-bezier(.16,1,.3,1) both;
}

.hero-tagline {
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 700;
    color: var(--bk-amber);
    margin: 0 0 14px;
    animation: bk-rise .8s cubic-bezier(.16,1,.3,1) .08s both;
}

.hero-content h1 {
    color: #fff;
    margin: 0 0 20px;
    font-size: 3.2em;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.05;
    animation: bk-rise .9s cubic-bezier(.16,1,.3,1) .16s both;
}

.hero-accent {
    font-style: normal;
    color: var(--bk-amber);
    position: relative;
    white-space: nowrap;
}

.hero-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 10px;
    background: var(--bk-amber-glow);
    filter: blur(10px);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1em;
    color: rgba(255,255,255,.72);
    max-width: 520px;
    margin: 0 0 32px;
    animation: bk-rise .9s cubic-bezier(.16,1,.3,1) .24s both;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    animation: bk-rise .9s cubic-bezier(.16,1,.3,1) .32s both;
}

.cta-btn-amber {
    background: linear-gradient(180deg, #F5B458, var(--bk-amber));
    color: #2b1a05;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .4),
        0 10px 28px var(--bk-amber-glow);
}

.cta-btn-amber:hover {
    color: #2b1a05;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .45),
        0 16px 38px var(--bk-amber-glow);
}

.hero-ghost-link {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.25);
    padding-bottom: 2px;
    transition: color .2s, border-color .2s;
}

.hero-ghost-link:hover {
    color: #fff;
    border-bottom-color: var(--bk-amber);
}

.hero-trust-row {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    animation: bk-rise .9s cubic-bezier(.16,1,.3,1) .4s both;
}

.hero-trust-row i { color: var(--tw-brand); margin-right: 6px; }

/* ── Time-machine visual ── */
.hero-visual {
    display: flex;
    align-items: center;
    gap: 26px;
    justify-content: center;
    animation: bk-rise 1.1s cubic-bezier(.16,1,.3,1) .3s both;
    user-select: none;
}

/* timeline rail */
.tm-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    padding: 8px 0;
}

.tm-rail-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.16) 20%, rgba(255,255,255,.16) 80%, transparent);
}

.tm-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    z-index: 1;
}

.tm-dot.is-active {
    width: 16px;
    height: 16px;
    background: var(--bk-amber);
    box-shadow: 0 0 0 5px rgba(233, 161, 59, .18), 0 0 18px var(--bk-amber-glow);
    animation: bk-pulse 2.4s ease-in-out infinite;
}

.tm-dot-label {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bk-amber);
    white-space: nowrap;
}

/* receding snapshot stack — the macOS Time Machine motif */
.tm-stack {
    position: relative;
    width: min(400px, 100%);
    height: 380px;
}

.tm-card {
    position: absolute;
    left: 0;
    right: 0;
    background: var(--bk-card);
    border: 1px solid var(--bk-card-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .38);
}

.tm-card-3 {
    top: 0;
    transform: scale(.84) translateY(0);
    opacity: .38;
    filter: saturate(.6);
    height: 120px;
}

.tm-card-2 {
    top: 44px;
    transform: scale(.92);
    opacity: .62;
    filter: saturate(.8);
    height: 130px;
}

.tm-card-1 {
    top: 96px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    opacity: 1;
    border-color: rgba(233, 161, 59, .35);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(233, 161, 59, .12),
        0 0 44px rgba(233, 161, 59, .1);
    animation: bk-float 7s ease-in-out infinite;
}

/* browser chrome bar */
.tm-card-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--bk-card-line);
    background: rgba(255, 255, 255, .03);
}

.tm-card-chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.tm-card-1 .tm-card-chrome span:nth-child(1) { background: #E9695E; }
.tm-card-1 .tm-card-chrome span:nth-child(2) { background: #E9A13B; }
.tm-card-1 .tm-card-chrome span:nth-child(3) { background: #35C08E; }

.tm-card-url {
    margin-left: 10px;
    font-size: 11px;
    color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.06);
    border-radius: 99px;
    padding: 3px 12px;
    letter-spacing: .02em;
}

.tm-card-stamp {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
}

/* skeleton site content */
.tm-card-body {
    flex: 1;
    padding: 18px 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tm-skel {
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.16), rgba(255,255,255,.1));
    background-size: 200% 100%;
    animation: bk-shimmer 2.8s linear infinite;
}

.tm-skel-title { height: 16px; width: 55%; }
.tm-skel-line { height: 9px; width: 90%; }
.tm-skel-line.short { width: 65%; }

.tm-skel-blocks {
    display: flex;
    gap: 10px;
    margin: 6px 0;
}

.tm-skel-block {
    flex: 1;
    height: 54px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(46,134,171,.28), rgba(14,138,112,.22));
    border: 1px solid rgba(255,255,255,.07);
}

/* restore badge */
.tm-card-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 14px 14px;
    padding: 9px 14px;
    border-radius: 9px;
    background: rgba(233, 161, 59, .14);
    border: 1px solid rgba(233, 161, 59, .35);
    color: #F5C87E;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}

.tm-card-badge i { color: var(--bk-amber); }

.tm-card-badge em {
    font-style: normal;
    margin-left: auto;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--bk-amber);
}

/* feature chips */
.hero-box-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 99px;
    padding: 10px 20px 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: .85em;
    transition: background .2s, border-color .2s, transform .2s;
}

.hero-box:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-1px);
}

.hero-box-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.hero-box-icon.brand { background: rgba(14,138,112,.28); color: #35C08E; }
.hero-box-icon.primary { background: rgba(46,134,171,.28); color: #6FBEDF; }
.hero-box-icon.secondary { background: rgba(233,161,59,.22); color: var(--bk-amber); }
.hero-box-icon.extra { background: rgba(111,123,217,.25); color: #9BA5E8; }

/* stat bar */
.hero-stat-box-wrapper {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 76px;
    padding-top: 56px;
    padding-bottom: 20px;
}

.hero-stat-box {
    text-align: center;
    padding: 0 44px;
}

.hero-stat-box + .hero-stat-box {
    border-left: 1px solid rgba(255,255,255,.1);
}

.hero-stat-box strong {
    display: block;
    font-size: 2em;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

.hero-stat-box span {
    font-size: .82em;
    color: rgba(255,255,255,.48);
    display: block;
    max-width: 230px;
}

/* hero animations */
@keyframes bk-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes bk-pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(233,161,59,.18), 0 0 18px var(--bk-amber-glow); }
    50%      { box-shadow: 0 0 0 9px rgba(233,161,59,.08), 0 0 26px var(--bk-amber-glow); }
}

@keyframes bk-shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo, .hero-tagline, .hero-content h1, .hero-subtitle,
    .hero-cta-row, .hero-trust-row, .hero-visual,
    .tm-card-1, .tm-dot.is-active, .tm-skel {
        animation: none !important;
    }
}

/* ── Sticky Nav ────────────────────────────────────────────────────── */

/* The nav only exists once you scroll past the hero: hidden entirely when
   not sticky (so it reserves no layout space — no white band between the
   dark hero and the dark section below), fixed to the viewport when it is. */
.section-nav {
    margin: 0;
    padding: 0;
}

.section-nav:not(.is-sticky) { display: none; }

.section-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

/* ── Features grid ─────────────────────────────────────────────────── */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    position: relative;
    background: linear-gradient(170deg, #113640 0%, var(--tw-dark) 70%);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    padding: 28px;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.feature-card:hover {
    box-shadow: 0 18px 44px rgba(13, 43, 49, .35), 0 0 0 1px rgba(233, 161, 59, .18);
    border-color: rgba(233, 161, 59, .3);
    transform: translateY(-3px);
}

.feature-card h3 { color: #fff; }

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-icon.brand { background: rgba(14,138,112,.28); color: #35C08E; }
.feature-icon.primary { background: rgba(46,134,171,.28); color: #6FBEDF; }
.feature-icon.secondary { background: rgba(233,161,59,.2); color: var(--bk-amber); }
.feature-icon.extra { background: rgba(111,123,217,.25); color: #9BA5E8; }

.feature-card h3 { margin: 0 0 12px; }

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.feature-card li {
    padding: 3px 0;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}

.feature-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: #35C08E;
    margin-right: 8px;
}

.feature-image {
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    margin-top: 8px;
}

/* ── CTA section ───────────────────────────────────────────────────── */

.section-cta {
    background:
        radial-gradient(80% 70% at 80% 20%, rgba(46, 134, 171, .16), transparent 60%),
        radial-gradient(60% 60% at 15% 85%, rgba(14, 138, 112, .14), transparent 60%),
        linear-gradient(165deg, var(--bk-night-1) 0%, var(--bk-night-2) 100%);
    color: #fff;
    text-align: center;
}

.section-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, .03) 0 1px,
        transparent 1px 120px
    );
    mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
    pointer-events: none;
}

.section-cta .section-content { position: relative; z-index: 1; }

.section-cta h2 { color: #fff; }
.section-cta h2.section-center::after { display: none; }
.section-cta p { color: rgba(255,255,255,.6); font-size: 1.1em; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #F5B458, var(--bk-amber));
    color: #2b1a05;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    border: none;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .4),
        0 10px 28px var(--bk-amber-glow);
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .45),
        0 16px 38px var(--bk-amber-glow);
    color: #2b1a05;
}

.cta-btn-large { padding: 18px 40px; font-size: 17px; }

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.6);
    font-size: 14px;
}

.cta-feature img { width: 24px; height: 24px; }

/* ── Comparison ────────────────────────────────────────────────────── */

.comparison-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.comparison-cell {
    flex: 1;
    min-width: 300px;
    background: #f3f3f7;
    border-radius: 25px;
    padding: 40px;
}

.comparison-cell:first-child {
    background: var(--tw-dark);
    color: #fff;
}

.comparison-logo { max-width: 120px; margin-bottom: 12px; }
.comparison-subtitle { display: block; font-size: 1.1em; font-weight: 700; margin: 30px 0 12px; color: inherit; }
.comparison-cell:first-child .comparison-subtitle { color: rgba(255,255,255,.5); }

.comparison-elements div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
}

.comparison-check { color: #4fe480; font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.comparison-x { color: #d63638; font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.comparison-negative div { color: #8c8f94; }

.comparison-summary {
    margin-top: 24px;
    padding: 20px;
    background: #fcf0f1;
    border-radius: 12px;
    font-size: 14px;
    color: #d63638;
}

.comparison-summary strong { font-size: 1.4em; }

/* ── YouTube embed ─────────────────────────────────────────────────── */

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    margin-top: 30px;
    border-radius: var(--tw-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.1);
}

.youtube-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ── Reviews ───────────────────────────────────────────────────────── */

.reviews-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.review-box {
    flex: 1;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: var(--tw-radius);
    padding: 30px;
}

.review-quote { color: var(--tw-brand); font-size: 24px; margin-bottom: 12px; }
.review-box p { font-size: 15px; line-height: 1.7; margin: 0 0 20px; }

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author strong { display: block; font-size: 14px; }
.review-author span { font-size: 12px; color: #8c8f94; }

/* ── Pricing ───────────────────────────────────────────────────────── */

#pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    background: radial-gradient(circle at 50% 50%,
        rgba(14,138,112,.16) 0%,
        rgba(46,134,171,.1) 35%,
        rgba(233,161,59,.06) 60%,
        rgba(255,255,255,0) 85%
    );
}

#pricing h2 { margin: 15px 0; font-size: 2em; text-align: center; }
#pricing > p { margin: 0; font-size: 1.15em; max-width: 600px; text-align: center; color: #8c8f94; }

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* the two plans share a height; the Pack is taller and centered,
       overhanging them a little at both the top and the bottom */
    align-items: center;
    margin: 40px auto;
    gap: 22px;
    max-width: 100%;
}

.pricing-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 300px;
    max-width: calc(100% - 20px);
    padding: 18px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ececec;
}

/* stepped sizes: Single < Multi < Pack */
.pricing-col.pricing-col-sm { width: 272px; min-height: 535px; justify-content: space-between; }
.pricing-col.pricing-col-md { width: 285px; min-height: 535px; justify-content: space-between; padding: 20px 18px; }

.pricing-col h3 {
    display: flex;
    justify-content: center;
    padding: 10px;
    align-items: center;
    width: 100%;
    font-size: 1.15em;
    text-transform: uppercase;
    background: linear-gradient(170deg, #113640, var(--tw-dark));
    color: #fff;
    border-radius: 8px;
    letter-spacing: 4px;
}

.pricing-img { display: flex; align-items: center; height: 40px; }

.pricing-table-price { text-align:center; font-size: 2em; font-weight: 400; margin: 2px 0 8px; }
.pricing-table-price sup { font-size: .5em; }
.pricing-one-time-payment {
   font-size: 0.45em;
  text-transform: uppercase;
}

.pricing-table-features {
    display: flex;
    flex-direction: column;
    gap: .65em;
    font-size: .95em;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-table-features li {
    position: relative;
    padding-inline-start: 2em;
}

.pricing-table-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tw-brand);
}

.pricing-col a {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 11px 10px;
    margin: 10px 0 4px;
    background: var(--tw-brand);
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background .2s, transform .15s, box-shadow .2s;
}

.pricing-col a:hover {
    background: #0FA184;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 138, 112, .3);
    color: #fff;
}

.pricing-col.pricing-col-highlight {
    position: relative;
    background: #1c252c;
    color: #fff;
    width: 300px;
    padding: 22px 22px 16px;
    border: 2px solid var(--bk-amber);
    box-shadow: 0 20px 50px rgba(13, 43, 49, .25), 0 0 40px rgba(233, 161, 59, .12);
}

/* "Best Value" corner ribbon — plugin amber, near-black text */
.pricing-ribbon {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 130px;
    height: 130px;
    overflow: hidden;
    border-radius: 0 10px 0 0;
    pointer-events: none;
}

.pricing-ribbon span {
    position: absolute;
    top: 30px;
    right: -48px;
    display: block;
    width: 190px;
    padding: 6px 0;
    background: linear-gradient(180deg, #F2B24C, var(--bk-amber));
    color: #1A1205;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.pricing-col.pricing-col-highlight a {
    background: linear-gradient(180deg, #F5B458, var(--bk-amber));
    color: #2b1a05;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .4),
        0 10px 28px var(--bk-amber-glow);
}

.pricing-col.pricing-col-highlight a:hover {
    background: linear-gradient(180deg, #F8C171, #EFAC4C);
    color: #2b1a05;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .45),
        0 14px 34px var(--bk-amber-glow);
}

.pricing-col.pricing-col-highlight h3 {
    background-color: transparent;
    text-transform: none;
    margin-top: -10px;
    letter-spacing: 1px;
}

.pricing-col.pricing-col-highlight > img { width: 80px; }

.pricing-table-plugin-list {
    list-style: none;
    display: flex;
    gap: 16px 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 20px auto 0;
}

.pricing-table-plugin-list li {
    position: relative;
    background: #171b27;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #383fa1;
    border-radius: 8px;
}

.pricing-table-plugin-list li:not(:last-child)::after {
    content: '+';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    line-height: 1;
}

.pricing-table-plugin-list li img { width: 36px; height: 36px; object-fit: contain; }

.pricing-table-plugin-list li { padding: 6px; }

.money-back {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 50px auto 0;
    max-width: 560px;
    padding: 20px 28px;
    background: #fff;
    border: 1px solid #DCEDE6;
    border-radius: var(--tw-radius);
    box-shadow: 0 8px 24px rgba(13, 43, 49, .06);
}

.money-back > i { flex: none; font-size: 34px; color: var(--tw-brand); }

.money-back-text strong {
    display: block;
    font-size: 17px;
    color: var(--tw-dark);
    margin-bottom: 2px;
}

.money-back-text p {
    margin: 0;
    font-size: 14px;
    color: #8c8f94;
}

@media (max-width: 768px) {
    .money-back {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 22px 20px;
    }
}

/* ── FAQ ───────────────────────────────────────────────────────────── */

.faq-wrapper {
    display: flex;
    gap: 0 30px;
    margin-top: 40px;
}

.faq-col { flex: 1; }

.faq-item {
    border-bottom: 1px solid #E2EEE9;
    margin-bottom: 0;
}

.faq-item input[type="checkbox"] { display: none; }

.faq-item label {
    display: block;
    padding: 16px 0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    color: var(--tw-dark);
    position: relative;
    padding-right: 30px;
    transition: color .15s;
}

.faq-item label:hover {
    color: var(--tw-brand);
}

.faq-item label::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 16px;
    font-size: 20px;
    color: var(--bk-amber);
    transition: transform .2s;
}

.faq-item input:checked + label::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-item input:checked ~ .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 0 16px;
    font-size: 14px;
    color: var(--tw-text);
    line-height: 1.7;
    margin: 0;
}

/* ── Final CTA ─────────────────────────────────────────────────────── */

.section-final-cta { padding: 100px 0; }
.section-final-cta h2 { font-size: 2.5em; }

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .hero-split {
        gap: 40px;
    }

    .hero-content h1 { font-size: 2.6em; }

    .tm-stack {
        width: min(340px, 100%);
        height: 340px;
    }
}

@media (max-width: 960px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .section-cols { flex-direction: column; gap: 30px; }
    .comparison-wrapper { flex-direction: column; }
    .reviews-wrapper { flex-direction: column; }
    .pricing-col-highlight { width: auto; }

    h1 { font-size: 2.2em; }

    /* hero stacks: copy above, visual below */
    .section-hero { padding: 64px 0 56px; }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-bottom: 48px;
        text-align: center;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
        width: 210px;
    }

    .hero-content h1 { font-size: 2.4em; }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-row,
    .hero-trust-row {
        justify-content: center;
    }

    .hero-visual {
        gap: 18px;
        max-width: 480px;
        margin: 0 auto;
    }

    .tm-stack {
        width: min(380px, calc(100% - 50px));
        height: 330px;
    }

    .tm-card-3 { height: 100px; }
    .tm-card-2 { height: 112px; top: 38px; }
    .tm-card-1 { top: 82px; }

    .hero-stat-box {
        padding: 0 28px;
    }
}

@media (max-width: 768px) {
    /* phone rhythm: sections don't need desktop-scale breathing room */
    .section-row { padding: 48px 0; }
    .section-night { padding: 56px 0; }
    #pricing { padding: 48px 20px; }
    .money-back { margin-top: 24px; }

    .features-grid { grid-template-columns: 1fr; }
    .faq-wrapper { flex-direction: column; }
    .section-nav-inner { gap: 12px; font-size: 12px; overflow-x: auto; }
    .cta-features { display: none; }

    .section-hero { padding: 48px 0 44px; }

    .hero-content h1 { font-size: 1.9em; }

    .hero-accent { white-space: normal; }

    .hero-subtitle { font-size: 1em; }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .hero-cta-row .cta-btn { justify-content: center; }
    .hero-ghost-link { text-align: center; align-self: center; }

    .hero-trust-row {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    /* the time-machine card stack doesn't read at phone width — hide it
       entirely instead of leaving a tall dead area under the CTA */
    .hero-visual { display: none; }

    /* chips wrap into centered rows — a cut-off scroll strip reads as broken */
    .hero-box-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 36px;
    }

    .hero-box { font-size: .8em; }

    /* CTA buttons: one line, always */
    .cta-btn { white-space: nowrap; padding: 14px 20px; }
    .cta-btn-large { padding: 16px 24px; font-size: 15px; }

    /* pricing cards: tighter padding, plugin icons 3 per row */
    .pricing-col { padding: 16px; gap: 18px; }
    .pricing-col.pricing-col-md { padding: 16px; }
    .pricing-col.pricing-col-highlight { padding: 14px 18px 10px; }

    .pricing-table-plugin-list { gap: 14px 20px; }
    .pricing-table-plugin-list li:not(:last-child)::after { right: -17px; }

    /* stats: vertical, no dividers */
    .hero-stat-box-wrapper {
        flex-direction: column;
        gap: 22px;
        align-items: center;
    }

    .hero-stat-box + .hero-stat-box { border-left: none; }

    .hero-stat-box span { max-width: 280px; }
}
