:root {
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --green: #10B981;
    --green-dark: #0D9668;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FA;
    --ink: #111827;
    --ink-soft: #6B7280;
    --line: #E7E9EE;
    --card: #FFFFFF;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 24px 60px rgba(37, 99, 235, 0.14);
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow.green {
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 14px;
}

.section-head p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.6;
}

section {
    padding: 100px 0;
}

.soft {
    background: var(--bg-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background .25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.38);
}

.btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--line);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    color: var(--blue);
}

.btn-ghost {
    color: var(--ink-soft);
    font-weight: 600;
    padding: 10px 16px;
}

.btn-ghost:hover {
    color: var(--ink);
}

.btn-green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.4);
}

/* ---------- NAV ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all .35s ease;
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    transition: all .35s ease;
    border: 1px solid transparent;
}

.nav.scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
    border-color: var(--line);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-soft);
    transition: all .2s ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: rgba(17, 24, 39, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions .btn {
    padding: 11px 20px;
    font-size: 14px;
}

/* ---------- HERO ---------- */
.hero {
    padding: 170px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(16, 185, 129, 0.12), transparent 60%),
        radial-gradient(700px 500px at 10% 20%, rgba(37, 99, 235, 0.10), transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(38px, 5.2vw, 60px);
    margin-bottom: 22px;
}

.hero h1 .accent {
    color: var(--blue);
}

.hero h1 .accent2 {
    color: var(--green);
}

.hero p.sub {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 34px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-mini-links {
    display: flex;
    gap: 22px;
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 600;
}

.hero-mini-links a {
    border-bottom: 1px solid transparent;
}

.hero-mini-links a:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.hero-visual {
    position: relative;
    height: 460px;
}

.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-14px)
    }
}

.stage {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(160deg,
            rgba(37, 99, 235, .08),
            rgba(16, 185, 129, .10));
    border: 1px solid var(--line);
}

.book-stack {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 320px;
}

.book-spine {
    position: absolute;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding-left: 18px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    box-shadow:
        0 14px 24px rgba(0, 0, 0, .18),
        inset 0 2px 0 rgba(255, 255, 255, .15);
}

/* White pages */
.book-spine::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 100%;
    background:
        repeating-linear-gradient(to bottom,
            #ffffff 0px,
            #f4f4f4 2px,
            #ffffff 4px);
    border-radius: 0 8px 8px 0;
}

/* Decorative stripe */
.book-spine::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 7px;
    width: 4px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .35);
}

/* Bottom Book */
.b1 {
    width: 190px;
    bottom: 0;
    left: 10px;
    background: #2563eb;
    transform: rotate(-2deg);
}

/* Book 2 */
.b2 {
    width: 182px;
    bottom: 40px;
    left: 0;
    background: #10b981;
    transform: rotate(3deg);
}

/* Book 3 */
.b3 {
    width: 186px;
    bottom: 80px;
    left: 15px;
    background: #1f2937;
    transform: rotate(-4deg);
}

/* Book 4 */
.b4 {
    width: 175px;
    bottom: 120px;
    left: 6px;
    background: #f59e0b;
    transform: rotate(2deg);
}

/* Book 5 */
.b5 {
    width: 180px;
    bottom: 160px;
    left: 18px;
    background: #dc2626;
    transform: rotate(-3deg);
}

/* Top Book */
.b6 {
    width: 170px;
    bottom: 200px;
    left: 8px;
    background: #7c3aed;
    transform: rotate(4deg);
}

/* Light book text if needed */
.b4 {
    color: #fff;
}

.cap-card {
    top: 6%;
    right: 2%;
    font-size: 26px;
}

.tag-card {
    bottom: 16%;
    left: -2%;
    font-size: 22px;
}

.mark-card {
    top: 38%;
    right: -6%;
    font-size: 20px;
}

.badge-txt {
    font-size: 13px;
    font-weight: 700;
}

.badge-sub {
    font-size: 11px;
    color: var(--ink-soft);
    font-weight: 600;
}

/* ---------- TRUST ---------- */
.trust {
    padding: 60px 0;
}

.trust-head {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 30px;
}

.trust-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    opacity: .55;
}

.trust-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    color: #9CA3AF;
}

.trust-line {
    text-align: center;
    margin-top: 30px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

/* ---------- PROBLEM ---------- */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.compare-card {
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--line);
}

.compare-card.old {
    background: #FBFBFC;
}

.compare-card.new {
    background: linear-gradient(160deg, #fff, #F0FBF6);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-md);
}

.compare-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 0;
    font-size: 15.5px;
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.compare-list li:first-child {
    border-top: none;
}

.ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.ico.x {
    background: #FEE2E2;
    color: #DC2626;
}

.ico.ok {
    background: #D1FAE5;
    color: #059669;
}

/* ---------- HOW IT WORKS ---------- */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.tl-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 6px;
}

.tl-num {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: #fff;
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--blue);
    transition: all .3s ease;
}

.tl-step:hover .tl-num {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.tl-step h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.tl-step p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* ---------- BENTO ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    gap: 20px;
}

.bento-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.bento-card.big {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.wide {
    grid-column: span 2;
}

.bi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(37, 99, 235, 0.1);
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    margin-top: 14px;
}

.bento-card p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 6px;
    line-height: 1.5;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.filter-pills span {
    font-size: 11.5px;
    font-weight: 700;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--ink-soft);
}

/* ---------- MARKETPLACE CARDS ---------- */
.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.book-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.book-cover {
    height: 170px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    background: linear-gradient(135deg, var(--blue), #1e3a8a);
}

.book-card:nth-child(2) .book-cover {
    background: linear-gradient(135deg, var(--green), #065f46);
}

.book-card:nth-child(3) .book-cover {
    background: linear-gradient(135deg, #7C3AED, #4C1D95);
}

.book-card:nth-child(4) .book-cover {
    background: linear-gradient(135deg, #F59E0B, #92400E);
}

.fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 26px 26px 0;
    border-color: transparent rgba(255, 255, 255, 0.35) transparent transparent;
}

.condition-badge {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
}

.save-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform .2s ease;
}

.save-btn:hover {
    transform: scale(1.15);
}

.book-info {
    padding: 16px;
}

.book-title {
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 4px;
}

.book-meta {
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.price-now {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    color: var(--green);
}

.price-old {
    font-size: 13px;
    color: #B0B5BE;
    text-decoration: line-through;
}

.rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.book-card .btn {
    width: 100%;
    padding: 11px;
    font-size: 13.5px;
}

/* ---------- CALCULATOR ---------- */
.calc-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.06), rgba(16, 185, 129, 0.08));
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    text-align: center;
}

.calc-output {
    margin: 26px 0;
}

.calc-savings {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 64px);
    color: var(--green);
    line-height: 1;
}

.calc-sub {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-top: 8px;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 460px;
    margin: 34px auto 0;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 99px;
    background: var(--line);
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue);
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    cursor: pointer;
}

.slider-label {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

/* ---------- WHY LOVE ---------- */
.love-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.love-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.love-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.love-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: rgba(16, 185, 129, 0.1);
}

.love-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.love-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.test-track-wrap {
    overflow: hidden;
}

.test-track {
    display: flex;
    gap: 22px;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.test-card {
    min-width: calc(33.333% - 15px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.test-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-family: var(--font-display);
}

.test-name {
    font-weight: 700;
    font-size: 14.5px;
}

.test-college {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.stars {
    color: #F59E0B;
    font-size: 13px;
    margin-bottom: 10px;
}

.test-quote {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink);
}

.test-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.test-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    transition: all .3s ease;
}

.test-dot.active {
    background: var(--blue);
    width: 22px;
    border-radius: 6px;
}

/* ---------- STATS ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 38px);
    color: var(--blue);
}

.stat-num.green {
    color: var(--green);
}

.stat-label {
    font-size: 13.5px;
    color: var(--ink-soft);
    font-weight: 600;
    margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}

.faq-plus {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    transition: transform .3s ease;
}

.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    background: var(--ink);
    border-radius: 2px;
}

.faq-plus::before {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq-plus::after {
    width: 2px;
    height: 14px;
    left: 11px;
    top: 5px;
    transition: opacity .2s ease;
}

.faq-item.open .faq-plus {
    transform: rotate(180deg);
}

.faq-item.open .faq-plus::after {
    opacity: 0;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-a p {
    padding: 0 4px 22px;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 600px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue), #1E293B 60%, var(--green));
    padding: 90px 40px;
    text-align: center;
    color: #fff;
}

.final-cta h2 {
    font-size: clamp(30px, 4.6vw, 48px);
    color: #fff;
    margin-bottom: 16px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-bottom: 34px;
}

.final-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(6px);
}

.final-decor {
    position: absolute;
    inset: 0;
    opacity: .15;
    background:
        repeating-linear-gradient(115deg, transparent 0 60px, #fff 60px 61px);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 70px 0 36px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.footer-col li {
    margin-bottom: 10px;
    font-size: 14.5px;
}

.footer-col a:hover {
    color: var(--blue);
}

.footer-brand p {
    font-size: 14px;
    color: var(--ink-soft);
    margin-top: 12px;
    max-width: 260px;
    line-height: 1.6;
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.newsletter input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    font-family: inherit;
    font-size: 13.5px;
}

.newsletter input:focus {
    outline: none;
    border-color: var(--blue);
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-row span,
.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.social-row a:hover {
    background: var(--blue);
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---------- MOBILE STICKY NAV & FAB ---------- */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(17, 24, 39, 0.06);
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ink-soft);
    padding: 8px 10px;
    min-height: 48px;
    justify-content: center;
    border-radius: 12px;
}

.mobile-nav a.active {
    color: var(--blue);
    background: rgba(37, 99, 235, 0.08);
}

.mobile-nav .m-ico {
    font-size: 18px;
}

.fab-sell {
    display: none;
    position: fixed;
    bottom: 88px;
    right: 18px;
    z-index: 999;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4);
    align-items: center;
    gap: 8px;
}

/* ================= TABLET ================= */
@media (max-width:1024px) {
    .wrap {
        padding: 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-visual{
        position:relative;
        order: -1;
        min-height:360px;
        overflow:visible;
    }
    .hero p.sub {
        max-width: 100%;
    }

    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.big {
        grid-column: span 2;
        grid-row: span 1;
    }

    .book-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .love-grid {
        grid-template-columns: 1fr;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 36px;
    }

    .timeline::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }

    .test-card {
        min-width: calc(50% - 11px);
    }

    .nav-links {
        display: none;
    }
}

/* ================= MOBILE ================= */
@media (max-width:680px) {
    section {
        padding: 64px 0;
    }

    .wrap {
        padding: 0 20px;
    }

    body {
        padding-bottom: 78px;
    }

    .nav {
        padding: 14px 0;
    }

    .nav-inner {
        padding: 10px 14px;
    }

    .nav-actions .btn-secondary {
        display: none;
    }

    .nav-actions .btn-primary {
        padding: 9px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 120px 0 50px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-visual {
        height: 260px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p.sub {
        font-size: 15.5px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-mini-links {
        justify-content: center;
    }

    .trust-row {
        justify-content: center;
        gap: 22px;
    }

    .trust-logo {
        font-size: 15px;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .section-head p {
        font-size: 15px;
    }

    .compare-card {
        padding: 26px;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
    }

    .bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-card.big,
    .bento-card.wide {
        grid-column: span 1;
    }

    .book-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
    }

    .book-grid::-webkit-scrollbar {
        display: none;
    }

    .book-card {
        min-width: 74%;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .love-grid {
        grid-template-columns: 1fr;
    }

    .calc-card {
        padding: 30px 22px;
    }

    .slider-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .test-track {
        gap: 16px;
    }

    .test-card {
        min-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .final-cta {
        padding: 56px 24px;
        border-radius: 26px;
    }

    .final-ctas {
        flex-direction: column;
    }

    .final-ctas .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .mobile-nav {
        display: block;
    }

    .fab-sell {
        display: flex;
    }
}