
/* ========================================
   1. CSS Variables
======================================== */

:root {
    --bg: #fbfaf5;
    --surface: #fffefb;
    --surface-soft: #f1f2e8;

    --ink: #24382a;
    --muted: #657164;

    --green: #315b3d;
    --green-dark: #24472f;

    --gold: #d9a64e;
    --blue: #496c79;

    --line: #e2e5d9;
    --white: #ffffff;

    --shadow: 0 18px 50px rgba(38, 55, 37, 0.09);

    --radius: 16px;
    --container-width: 1120px;
}


/* ========================================
   2. Reset & Base
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);

    font-family:
        system-ui,
        -apple-system,
        "Noto Sans Bengali",
        "Hind Siliguri",
        sans-serif;

    line-height: 1.65;
}

body,
button,
input,
textarea {
    font-family:
        system-ui,
        -apple-system,
        "Noto Sans Bengali",
        "Hind Siliguri",
        sans-serif;
}

button,
input,
textarea {
    font-size: inherit;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.35;
}

.container {
    width: min(
        var(--container-width),
        calc(100% - 40px)
    );

    margin-inline: auto;
}

section[id] {
    scroll-margin-top: 20px;
}


/* ========================================
   3. Buttons
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 21px;

    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;

    text-align: center;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
}

.btn-secondary:hover {
    background: var(--surface-soft);
}


/* ========================================
   4. Header
======================================== */

.topbar {
    padding: 17px 0;

    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 17px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    background: var(--green);
    color: var(--white);

    border-radius: 13px;

    font-size: 21px;
}

.nav-note {
    color: var(--muted);
    font-size: 13px;
}


/* ========================================
   5. Section Common Styles
======================================== */

.section {
    padding: 72px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-head {
    max-width: 650px;
    margin: 0 auto 35px;

    text-align: center;
}

.kicker {
    color: var(--green);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-head h2 {
    margin: 10px 0 12px;
    font-size: clamp(27px, 3.3vw, 39px);
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
}


/* ========================================
   6. Hero Section
======================================== */

.hero {
    padding: 65px 0 55px;

    background:
        radial-gradient(
            ellipse at 80% 25%,
            #e8eddc 0,
            transparent 43%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 50px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 13px;

    background: var(--surface-soft);
    color: var(--green);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 750;
}

.eyebrow::before {
    content: "✦";
}

.hero h1 {
    max-width: 620px;
    margin: 0 0 20px;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.22;
    letter-spacing: -1px;
    text-align: center;
}

.hero h1 em {
    color: var(--green);
    font-style: normal;
}

.hero-copy {
    max-width: 540px;

    margin-bottom: 24px;

    color: var(--muted);
    font-size: 17px;
}

.checkline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;

    margin-bottom: 25px;

    color: var(--muted);
    font-size: 13px;
}

.checkline span::before {
    content: "✓";

    margin-right: 7px;

    color: var(--green);
    font-weight: 900;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.price-note {
    margin-top: 13px;

    color: var(--muted);
    font-size: 12px;
}


/* ========================================
   7. Hero Book Illustration
======================================== */

.hero-art {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 405px;
}

.glow {
    position: absolute;

    width: 320px;
    height: 320px;

    background: #e6ead8;
    border-radius: 50%;
}

.book-stack {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 360px;

    perspective: 1000px;
}

.book {
    position: absolute;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 174px;
    height: 252px;

    padding: 17px 13px;

    overflow: hidden;

    border-left: 9px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px 11px 11px 4px;

    color: var(--white);
    text-align: center;

    box-shadow: 10px 16px 25px rgba(0, 0, 0, 0.2);
}

.book-one {
    z-index: 1;

    background: #52784d;

    transform: translate(-94px, 10px) rotate(-11deg);
}

.book-two {
    z-index: 3;

    background: #c58a45;

    transform: translate(0, -10px) rotate(1deg);
}

.book-three {
    z-index: 2;

    background: var(--blue);

    transform: translate(94px, 13px) rotate(11deg);
}

.cover-kicker {
    font-size: 9px;
    letter-spacing: 1px;
}

.book strong {
    font-size: 21px;
    line-height: 1.4;
}

.cover-icon {
    font-size: 40px;
    line-height: 1.1;
}

.book small {
    font-size: 9px;
}

.art-caption {
    position: absolute;
    bottom: 3px;
    left: 50%;

    padding: 9px 16px;

    white-space: nowrap;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;

    box-shadow: var(--shadow);

    font-size: 12px;
    font-weight: 750;

    transform: translateX(-50%);
}


/* ========================================
   8. Books Section
======================================== */

.book-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.book-card {
    padding: 22px;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;

    box-shadow: 0 6px 24px rgba(30, 45, 30, 0.035);
}

.mini-cover {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 190px;
    margin-bottom: 20px;
    padding: 20px;

    overflow: hidden;

    color: var(--white);
    text-align: center;

    border-radius: 12px;
}

.mini-cover div {
    position: relative;
    z-index: 1;
}

.mini-cover .emoji {
    display: block;

    margin-bottom: 12px;

    font-size: 36px;
}

.mini-cover strong {
    display: block;
    font-size: 21px;
    line-height: 1.4;
}

.mini-cover small {
    display: block;

    margin-top: 12px;

    font-size: 10px;
}

.cover-green {
    background: #52784d;
}

.cover-gold {
    background: #bd8748;
}

.cover-blue {
    background: var(--blue);
}

.card-number {
    margin-bottom: 6px;

    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.book-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
}

.book-card p {
    margin-bottom: 0;

    color: var(--muted);
    font-size: 14px;
}


/* ========================================
   9. Benefits Section
======================================== */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit {
    padding: 23px;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.benefit-icon {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;
    margin-bottom: 14px;

    background: var(--surface-soft);
    border-radius: 13px;

    font-size: 22px;
}

.benefit h3 {
    margin-bottom: 7px;
    font-size: 17px;
}

.benefit p {
    margin-bottom: 0;

    color: var(--muted);
    font-size: 14px;
}


/* ========================================
   10. Offer & Price Panel
======================================== */

.offer {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 36px;

    padding: clamp(25px, 5vw, 50px);

    overflow: hidden;

    background: var(--green-dark);
    color: var(--white);

    border-radius: 24px;
}

.offer .kicker {
    color: #d7e9c9;
}

.offer h2 {
    font-size: clamp(28px, 3.5vw, 42px);
}

.offer p {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.78);
}

.offer-list {
    margin: 22px 0 0;
    padding: 0;

    list-style: none;
}

.offer-list li {
    margin: 8px 0;

    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.offer-list li::before {
    content: "✓";
    margin-right: 10px;
    color: #d9e8bd;
}

.price-panel {
    padding: 26px;

    background: var(--white);
    color: var(--ink);

    border-radius: 18px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);
}

.price-panel .old {
    color: #8a9489;
    font-size: 15px;
    text-decoration: line-through;
}

.price-panel .price {
    margin: 5px 0;

    font-size: 43px;
    font-weight: 850;
    line-height: 1.25;
}

.price-panel .save {
    display: inline-block;

    padding: 5px 11px;

    background: #edf3e7;
    color: var(--green);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}

.price-panel .btn {
    width: 100%;
    margin-top: 20px;
}

.price-panel .fine {
    margin-top: 12px;

    color: #7d887b;
    font-size: 11px;
}


/* ========================================
   11. FAQ Section
======================================== */

.faq-list {
    display: grid;
    gap: 12px;

    max-width: 780px;
    margin-inline: auto;
}

.faq-item {
    overflow: hidden;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    padding: 18px 20px;

    background: transparent;
    color: var(--ink);

    border: 0;

    text-align: left;
    font-weight: 750;
}

.faq-item button span:last-child {
    color: var(--green);
    font-size: 21px;
}

.faq-answer {
    display: none;

    padding: 0 20px 18px;

    color: var(--muted);
    font-size: 14px;
}

.faq-item.open .faq-answer {
    display: block;
}


/* ========================================
   12. Order Form
======================================== */

.order-section {
    padding: 72px 0 95px;
}

.order-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: start;
    gap: 45px;
}

.order-intro p {
    color: var(--muted);
}

.order-points {
    padding: 0;
    list-style: none;
}

.order-points li {
    margin: 12px 0;
    font-size: 14px;
}

.order-points li::before {
    content: "✓";

    margin-right: 10px;

    color: var(--green);
    font-weight: 900;
}

.order-form {
    padding: 27px;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;

    box-shadow: var(--shadow);
}

.order-form h3 {
    margin-bottom: 4px;
    font-size: 22px;
}

.form-sub {
    margin-bottom: 22px;

    color: var(--muted);
    font-size: 13px;
}

.field {
    margin-bottom: 15px;
}

.field label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 750;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 13px;

    background: var(--bg);
    color: var(--ink);

    border: 1px solid var(--line);
    border-radius: 10px;

    outline: none;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--green);

    box-shadow: 0 0 0 3px rgba(49, 91, 61, 0.12);
}

.field textarea {
    min-height: 82px;
    resize: vertical;
}

.form-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin: 18px 0;
    padding: 13px 15px;

    background: var(--surface-soft);
    border-radius: 10px;

    font-size: 14px;
}

.form-total strong {
    font-size: 20px;
}

.order-form > .btn {
    width: 100%;
}

.form-message {
    display: none;

    margin-top: 13px;
    padding: 12px;

    background: var(--surface-soft);
    color: var(--green);

    border-radius: 10px;

    font-size: 13px;
}

.form-message.show {
    display: block;
}

.demo-note {
    margin: 13px 0 0;

    color: var(--muted);
    font-size: 11px;

    text-align: center;
}


/* ========================================
   13. Footer
======================================== */

.footer {
    padding: 25px 0 35px;

    color: var(--muted);
    font-size: 12px;

    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}


/* ========================================
   14. Mobile Fixed CTA
======================================== */

.mobile-cta {
    display: none;
}


/* ========================================
   15. Responsive: Tablet & Mobile
======================================== */

@media (max-width: 800px) {

    .container {
        width: min(100% - 32px, 600px);
    }

    .nav-note {
        display: none;
    }

    .hero {
        padding: 42px 0 38px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .hero-copy {
        font-size: 15px;
    }

    .hero-art {
        min-height: 330px;
    }

    .book-stack {
        height: 300px;
    }

    .book {
        width: 143px;
        height: 218px;
    }

    .book-one {
        transform: translate(-75px, 8px) rotate(-11deg);
    }

    .book-two {
        transform: translate(0, -10px) rotate(1deg);
    }

    .book-three {
        transform: translate(75px, 12px) rotate(11deg);
    }

    .book strong {
        font-size: 18px;
    }

    .glow {
        width: 250px;
        height: 250px;
    }

    .section {
        padding: 53px 0;
    }

    .book-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .book-card {
        display: grid;
        grid-template-columns: 112px 1fr;
        align-items: center;
        gap: 0 17px;

        padding: 15px;
    }

    .mini-cover {
        height: 145px;
        margin: 0;

        grid-row: span 3;
    }

    .mini-cover .emoji {
        margin-bottom: 8px;
        font-size: 27px;
    }

    .mini-cover strong {
        font-size: 16px;
    }

    .mini-cover small {
        font-size: 8px;
    }

    .book-card h3 {
        align-self: end;
        font-size: 17px;
    }

    .book-card p {
        align-self: start;
        font-size: 13px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 0 14px;

        padding: 17px;
    }

    .benefit-icon {
        grid-row: span 2;
        margin: 0;
    }

    .benefit h3 {
        align-self: end;
    }

    .benefit p {
        align-self: start;
    }

    .offer {
        grid-template-columns: 1fr;
        gap: 24px;

        padding: 25px;
    }

    .price-panel {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .order-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .order-form {
        padding: 20px;
    }

    .footer {
        padding-bottom: 100px;
    }

    .mobile-cta {
        position: fixed;
        z-index: 20;

        right: 0;
        bottom: 0;
        left: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;

        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));

        background: var(--surface);
        border-top: 1px solid var(--line);

        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.06);
    }

    .mobile-price {
        font-size: 18px;
        font-weight: 850;
    }

    .mobile-cta .btn {
        padding: 11px 17px;
        font-size: 14px;
    }
}


/* ========================================
   16. Responsive: Small Mobile
======================================== */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 24px);
    }

    .brand {
        font-size: 15px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .nav .btn {
        padding: 9px 11px;
        font-size: 12px;
    }

    .actions .btn {
        width: 100%;
    }

    .book-card {
        grid-template-columns: 95px 1fr;
        gap: 0 12px;
    }

    .mini-cover {
        height: 130px;
        padding: 10px;
    }

    .mini-cover strong {
        font-size: 14px;
    }

    .book-card h3 {
        font-size: 15px;
    }
}
