/* =========================
   RESET & BASE
   ========================= */

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

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-soft: #fafafa;
    --surface-elevated: rgba(255,255,255,0.96);

    --text: #050505;
    --muted: #6b6b6b;
    --muted-soft: #909090;

    --border-subtle: #e3e3e8;
    --border-divider: rgba(0,0,0,0.06);

    --accent: #000000;
    --accent-soft: #111111;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-tiny: 0 1px 6px rgba(0, 0, 0, 0.04);

    --nav-height: 60px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #ececff 0, #f5f5f7 38%, #fdfdfd 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

/* Custom scrollbars (desktop only) */
@media (min-width: 900px) {
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.16);
        border-radius: 999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.24);
    }
}

/* =========================
   LAYOUT
   ========================= */

.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section + .section {
    border-top: 1px solid var(--border-divider);
}

.section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 15px;
    color: var(--muted);
    margin-top: 4px;
}

.narrow {
    max-width: 880px;
}

.section-divider {
    border-top: 1px solid var(--border-divider);
    max-width: 1040px;
    margin: 0 auto;
}

/* Utility */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* =========================
   NAVBAR
   ========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(245, 245, 247, 0.92);
    border-bottom: 1px solid rgba(227, 227, 232, 0.8);
    transition: box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.navbar.scrolled {
    background: rgba(245, 245, 247, 0.96);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 227, 232, 0.9);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    padding-bottom: 2px;
    transition: color 0.15s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: #000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    text-decoration: none;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.nav-cta:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: #111;
    transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
    top: 8px;
}

.nav-toggle span:nth-child(2) {
    top: 18px;
}

.nav-toggle.open span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    top: 13px;
    transform: rotate(-45deg);
}

/* =========================
   HERO
   ========================= */

.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top left, rgba(0,0,0,0.06) 0, transparent 45%),
        radial-gradient(circle at bottom right, rgba(0,0,0,0.04) 0, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #000;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    max-width: 720px;
    margin: 0 auto 18px auto;
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 32px auto;
}

.hero-cta-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        background 0.12s ease,
        color 0.12s ease,
        border-color 0.12s ease;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn.primary:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.hero-cta {
    font-size: 15px;
    padding: 15px 32px;
    margin: 0;
}

.hero-chip {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 11px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.94);
    color: var(--muted-soft);
    cursor: default;
}

/* =========================
   WHY SECTION
   ========================= */

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.panel {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 22px 20px 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.subheading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

.panel ul {
    list-style: disc;
    padding-left: 18px;
}

.panel li {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px;
}

/* =========================
   WHAT I SET UP (GRID)
   ========================= */

.grid {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

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

.card {
    position: relative;
    background: radial-gradient(circle at top left, #ffffff, #fafafa);
    border-radius: var(--radius-lg);
    padding: 22px 20px 24px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
    overflow: hidden;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.12), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(0,0,0,0.06);
}

.card:hover::before {
    opacity: 0.06;
}

.card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    padding: 3px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.96);
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* =========================
   STEPS
   ========================= */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.step {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
    position: relative;
}

.step::after {
    content: "";
    position: absolute;
    inset-inline: 18px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #000, transparent);
    opacity: 0.08;
}

.step-badge {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 10px;
    background: #fff;
}

.step h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

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

/* =========================
   TESTIMONIAL SLIDER
   ========================= */

.slider-shell {
    margin-top: 28px;
}

.slider-window {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    background: #000;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    max-width: 100%;
    padding: 18px 18px 20px 18px;
    background: #fff;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 10px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-note {
    font-size: 13px;
    color: var(--muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.slider-arrow {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.slider-arrow:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    background: var(--surface-soft);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    border: none;
    background: #c7c7c7;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.12s ease;
}

.dot.active {
    background: #000;
    transform: scale(1.05);
}

/* =========================
   FINAL CTA
   ========================= */

   .final-cta .hero-cta {
    display: inline-flex;
    margin-top: 25px;      /* increase spacing above button */
    margin-bottom: 0;      /* optional */
}


.final-cta {
    padding: 50px;
    text-align: center;
}

.section-cta {
    margin-top: 42px;
    text-align: center;
}

/* =========================
   FOOTER
   ========================= */

.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.96);
    padding: 26px 0 34px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 880px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    font-size: 13px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy-main {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.footer-copy {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
}

/* =========================
   LEGAL PAGES
   ========================= */

.legal {
    max-width: 880px;
    margin: 96px auto;
    padding: 40px 28px 64px 28px;
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.legal h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.legal-intro {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
}

.legal h2 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal p,
.legal li {
    font-size: 14px;
    color: var(--muted);
}

.legal ul {
    padding-left: 18px;
    margin-bottom: 6px;
}

.legal a {
    color: inherit;
    text-decoration: underline;
}

.legal .btn {
    margin-top: 30px;
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
}

.reveal.visible[data-animate="fade-up"] {
    animation: fadeUp 0.55s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .hero {
        padding-top: 104px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-inner {
        align-items: center;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(var(--nav-height) + 6px);
        padding: 10px 24px 14px 24px;
        background: rgba(245, 245, 247, 0.98);
        border-bottom: 1px solid rgba(227, 227, 232, 0.9);
        flex-direction: column;
        gap: 10px;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .navbar.menu-open .nav-links {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding-top: 96px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .footer-inner {
        padding: 0 8px;
    }

    .legal {
        margin: 80px auto;
        padding-inline: 20px;
    }
}
