*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: rgba(250, 248, 243, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo img {
    height: 65px;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.2s;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 8px rgba(120, 88, 2, 0.5);
}

.btn-outline {
    color: var(--ink);
    background: var(--color-light-white);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--color-light-white) !important;
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
}

.btn-primary:hover {
    background: var(--gold-light);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--hero-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 6% 80px;
    position: relative;
    overflow: hidden;
}

/* Grain overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.35;
    pointer-events: none;
}

/* Radial glow */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.35);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s 0.1s ease both;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    animation: fadeUp 0.9s 0.2s ease both;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.4;
    max-width: 560px;
    margin: 0 auto 2.4rem;
    animation: fadeUp 0.9s 0.3s ease both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.9s 0.4s ease both;
}

.btn-hero-primary {
    background: var(--gold);
    color: var(--ink);
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-hero-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-img {
    margin-top: 4rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: fadeUp 0.9s 0.5s ease both;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.hero-img-placeholder {
    width: 100%;
    height: 420px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px,
            transparent 1px, transparent 60px),
        repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px,
            transparent 1px, transparent 40px);
}

.dashboard-mock {
    width: 88%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.mock-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 0.8rem;
}

.mock-bar.w60 {
    width: 60%;
}

.mock-bar.w80 {
    width: 80%;
}

.mock-bar.w45 {
    width: 45%;
    background: rgba(201, 168, 76, 0.3);
}

.mock-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mock-line {
    height: 7px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
}

.mock-line.l1 {
    width: 30%;
    margin-left: 20%;
}

.mock-line.l2 {
    width: 50%;
    margin-left: 20%;
}

.mock-line.l3 {
    width: 70%;
    margin-left: 20%;
}

.mock-line.l4 {
    width: 40%;
    margin-left: 20%;
    background: rgba(201, 168, 76, 0.2);
}

/* ── SECTION HEADER ── */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-eyebrow {
    font-size: 1.2rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(201, 168, 76, 0.35);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    background: #fffbea;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* ── FEATURES ── */
.features {
    padding: 100px 6%;
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

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

/* ── HOW IT WORKS ── */
.how-it-works {
    padding: 100px 6%;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.how-it-works .section-header h2 {
    color: var(--white);
}

.how-it-works .section-eyebrow {
    color: var(--gold);
}

.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.show768 {
    display: none;
}

@media (max-width: 768px) {
    .steps-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hide768 {
        display: none;
    }

    .show768 {
        display: block;
    }
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}

.step:hover {
    background: rgba(201, 168, 76, 0.06);
    border-color: rgba(201, 168, 76, 0.2);
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.step ul {
    padding-left: 1rem;
}

.step ul li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.steps-image {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.steps-img-placeholder {
    width: 100%;
    background: linear-gradient(160deg, #1c1c2e, #2a2a40);
    display: flex;
    align-items: center;
    justify-content: center;
}

.script-mock {
    width: 80%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
}

.script-line {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
}

.script-line.title {
    width: 40%;
    margin: 0 auto 1.2rem;
    background: rgba(201, 168, 76, 0.35);
}

.script-line.center {
    margin-left: auto;
    margin-right: auto;
}

.script-line.dialogue {
    background: rgba(255, 255, 255, 0.06);
}

.script-line.w30 {
    width: 30%;
}

.script-line.w50 {
    width: 50%;
}

.script-line.w70 {
    width: 70%;
}

.script-line.w90 {
    width: 90%;
}

.script-line.w60 {
    width: 60%;
}

/* ── FOOTER ── */
footer {
    background: #07070f;
    padding: 60px 6% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand .nav-logo {
    color: var(--white);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 340px;
}

.footer-nav h5 {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.28);
}

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    position: relative;
    animation: modalIn 0.3s ease both;
    max-height: 90vh;
    overflow: auto;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
}

.modal h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.modal .sub {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--cream);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.form-check a {
    color: var(--gold);
}

.btn-full {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.95rem;
    border-radius: 8px;
    justify-content: center;
}

.divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.btn-google {
    width: 100%;
    padding: 0.7rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: inherit;
    transition: background 0.2s;
}

.btn-google:hover {
    background: var(--cream);
}

.modal-switch {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1rem;
}

.modal-switch a {
    color: var(--gold);
    cursor: pointer;
    font-weight: 500;
}

/* ── FORM MESSAGES ── */
.form-message {
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    margin-bottom: 1rem;
}

.form-message--error {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #c0392b;
}


/* ══════════════════════════════════════════════
   SHARED
══════════════════════════════════════════════ */
.section-sub {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0.75rem auto 0;
}

/* ── btn-full ── */
.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.8rem;
    font-size: 0.95rem;
    border-radius: 60px;
    letter-spacing: 0.03em;
    font-weight: 600;
    transition: all 0.4s linear;
}

/* Outline variant on light card */
.pricing-card:not(.pricing-card--featured) .btn-outline {
    border: 1.5px solid var(--ink);
    color: var(--ink);
    background: transparent;
}

/* Override on dark card */
.pricing-card--featured .btn-outline {
    border: 1.5px solid var(--gold);
    color: var(--white);
    background: transparent;
}

.pricing-card--featured .btn-outline:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS SECTION
══════════════════════════════════════════════ */
.testimonials {
    padding: 100px 6%;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-eyebrow {
    color: var(--gold);
}

.testimonials .section-sub {
    color: rgba(255, 255, 255, 0.45);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Testimonial card — mirrors .cg-testimonial-wrap ── */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease,
        border-color 0.4s ease,
        transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        box-shadow 0.3s ease;
}

/* Gradient sweep layer */
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(206deg,
            rgba(201, 168, 76, 0) -20%,
            rgba(201, 168, 76, 0.08) 48%,
            rgba(201, 168, 76, 0) 112%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card>* {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    background: rgba(201, 168, 76, 0.05);
    border-color: rgba(201, 168, 76, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* Avatar lift */
.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.3);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-quote {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    flex: 1;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
    color: rgba(255, 255, 255, 0.82);
}

.testimonial-author {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.03em;
    transition: letter-spacing 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
    letter-spacing: 0.07em;
}

.no-border-icon {
    border: none !important;
    background: none !important;
}