/* ==========================================================================
   Creddo — Global Design System  (v2 redesign)
   Light, editorial, trust-first fintech look.
   Fonts: Manrope (display) + Inter (body)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    /* color — neutral-first palette; blue reserved for small accents */
    --ink: #10192b;
    --ink-2: #2a3446;
    --body: #4c5666;
    --muted: #7b8494;
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --bg-deep: #141922;
    --bg-deep-2: #1b212c;
    --primary: #2563eb;
    --primary-2: #3b76ee;
    --primary-dark: #1d4fc4;
    --primary-soft: #f0f2f5;   /* neutral tile background */
    --grad: linear-gradient(120deg, #2563eb 0%, #3b76ee 100%);
    --grad-deep: linear-gradient(135deg, #14181f 0%, #1d232e 100%);
    --gold: #f2a71b;
    --green: #0eaf7b;
    --red: #dc2626;
    --line: #e7e9ed;
    --line-2: #d8dce3;

    /* shape */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    /* elevation */
    --shadow-sm: 0 1px 2px rgba(10, 28, 56, .05), 0 2px 8px rgba(10, 28, 56, .05);
    --shadow-md: 0 4px 10px rgba(10, 28, 56, .05), 0 14px 34px rgba(10, 28, 56, .09);
    --shadow-lg: 0 8px 20px rgba(10, 28, 56, .07), 0 28px 64px rgba(10, 28, 56, .13);
    --shadow-blue: 0 6px 16px rgba(37, 99, 235, .22);

    /* type */
    --font-head: 'Manrope', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --nav-h: 74px;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Kill the default mobile tap highlight — it's a rectangle that ignores
   border-radius, so tapping rounded buttons/pills/links flashed a square box.
   Elements provide their own :active feedback (e.g. .btn:active scale). */
* { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 104px 0; }

/* selection */
::selection { background: rgba(16, 25, 43, .12); }

/* scrollbar hidden — a top progress bar (scroll-progress.js) indicates position */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar { width: 0; height: 0; display: none; }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 4500;
    pointer-events: none;
}

/* ---------- Text helpers ---------- */
/* formerly a blue gradient — now plain ink for a calmer look */
.text-gradient { color: var(--ink); }

.text-gold { color: var(--gold); }

/* ---------- Section headers ---------- */
.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--body);
}

.section-subtitle.left-aligned { text-align: left; margin: 0 0 8px; }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}

#preloader.loaded { opacity: 0; visibility: hidden; }

.loader { text-align: center; }

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.loader-logo .brand-mark { width: 40px; height: 40px; object-fit: contain; }

.loader-word {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
}

.loader-bar {
    width: 180px;
    height: 4px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 40%;
    border-radius: 4px;
    background: var(--grad);
    animation: loaderSlide 1.1s ease-in-out infinite;
}

@keyframes loaderSlide {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
/* floating glassmorphism pill */
.navbar {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 14px;
    background: transparent;
}

/* smoked glass, same treatment as .btn-outline-light */
.nav-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1160px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1.5px solid rgba(255, 255, 255, .32);
    border-radius: 100px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* darker tint once scrolled so white text stays readable over light sections */
.navbar.scrolled .nav-container {
    background: rgba(14, 18, 25, .62);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

/* Inner pages (no .home) have light backgrounds, so the white-on-glass pill is
   invisible at the top. Give it the dark treatment at all scroll positions.
   Desktop only — on mobile the dark navbar::before pill already handles this,
   and this rule would otherwise re-add a background and reintroduce the
   double-layer pill. */
@media (min-width: 769px) {
    body:not(.home) .nav-container {
        background: rgba(14, 18, 25, .62);
        border-color: rgba(255, 255, 255, .18);
        box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nav-logo .brand-mark { width: 34px; height: 34px; object-fit: contain; }

.logo-text {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-block;
    padding: 9px 14px;
    font-size: .92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    border-radius: 100px;
    transition: color .2s ease, background .2s ease;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .14); }

.nav-link.active { color: #fff; background: rgba(255, 255, 255, .14); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    transition: color .2s ease, opacity .2s ease;
}

.nav-phone i { color: rgba(255, 255, 255, .65); }
.nav-phone:hover { opacity: .8; }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .1);
    align-items: center;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* items that live only inside the mobile dropdown — hidden on desktop */
.nav-menu-divider,
.nav-menu .mobile-only { display: none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 13px 26px;
    border-radius: 100px;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn:active { transform: scale(.97); }

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

.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 10px 22px rgba(37, 99, 235, .28); }

.btn-outline {
    border: 1.5px solid var(--line-2);
    color: var(--ink);
    background: #fff;
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-light {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.btn-light:hover { transform: translateY(-2px); }

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, .38);
    color: #fff;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }

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

.btn-hero-primary:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 10px 22px rgba(37, 99, 235, .28); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-full { width: 100%; }

/* shine sweep inside primary CTAs */
.btn-shine {
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    animation: btnShine 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShine {
    0%, 55% { left: -80%; }
    100% { left: 130%; }
}

/* ==========================================================================
   HERO  (index) — full-screen video with centered content
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 56px) 0 72px;
    background: var(--bg-deep);
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
}

.hero-badge i { color: var(--green); }

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
}

.badge-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(14, 175, 123, .35);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
    font-size: clamp(2.3rem, 4.8vw, 3.7rem);
    margin-bottom: 22px;
    color: #fff;
}

.hero-typed-wrapper {
    display: inline-flex;
    align-items: baseline;
    min-height: 1.25em;
    white-space: nowrap;
}

.typed-text {
    color: #9cb8f8;
}

/* zero-width space keeps a text baseline even when the typed word is fully
   deleted, so the heading height never jumps between cycles */
.typed-text::after { content: "\200B"; }

.typed-cursor {
    color: #9cb8f8;
    font-weight: 300;
    margin-left: 3px;
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-subtitle {
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, .82);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 38px;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-2);
}

.hero .trust-item { color: rgba(255, 255, 255, .88); }

.trust-item i { color: var(--green); }

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--r-lg);
    padding: 20px 30px;
}

.hero-stat { text-align: left; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.45rem; }

.hero-stat-number { font-size: 1.45rem; }

.hero-stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    margin-top: 2px;
    letter-spacing: .02em;
}

.hero-stat-divider { width: 1px; height: 44px; background: rgba(255, 255, 255, .18); }

/* --- full-bleed hero video --- */
.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--bg-deep);
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .78) 100%);
    pointer-events: none;
}

/* legacy decorative hooks (unused in new layout, kept harmless) */
.hero-gradient-top, .hero-gradient-bottom, .hero-vignette, .hero-particles, .particle, .hero-scroll { display: none; }

/* ==========================================================================
   TRUSTED-BY LOGO MARQUEE
   ========================================================================== */
.trusted-by {
    padding: 44px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trusted-label {
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--muted);
    margin-bottom: 26px;
}

.trusted-logos-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.trusted-logos-wrapper:hover .trusted-logos { animation-play-state: paused; }

.bank-logo-item { flex-shrink: 0; }

.bank-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(.6);
    transition: filter .3s ease;
}

.bank-logo-item:hover .bank-logo { filter: none; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--bg-soft); position: relative; }

.services-bg-video { display: none; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* pricing-style product card with attached footer button */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--line-2);
}

.service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 28px 26px;
}

.service-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.service-card h3 { font-size: 1.28rem; line-height: 1.25; }

/* green "Free"-style pill */
.service-badge {
    flex-shrink: 0;
    background: var(--green);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 6px 15px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(14, 175, 123, .3);
}

.service-divider {
    height: 1px;
    background: var(--line);
    margin: 0 0 20px;
}

.service-includes {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 16px;
}

.service-features { margin-bottom: 26px; }

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .9rem;
    color: var(--body);
    line-height: 1.45;
    padding: 7px 0;
}

.service-features li .check-circle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(14, 175, 123, .14);
    color: var(--green);
    font-size: .62rem;
}

.service-highlight {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.service-highlight-value {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--ink);
    letter-spacing: -.02em;
}

.service-highlight-label {
    font-size: .84rem;
    color: var(--muted);
}

/* full-width attached footer button — glossy blue→white sheen for an interactive feel */
.service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 17px 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, 0) 64%),
        linear-gradient(135deg, #6aa6ff 0%, #2f6ff0 48%, #1d4fc4 100%);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .96rem;
    text-shadow: 0 1px 2px rgba(13, 40, 120, .35);
    transition: filter .25s ease, box-shadow .25s ease, gap .25s ease;
}

.service-cta i { font-size: .82rem; transition: transform .25s ease; }
.service-card:hover .service-cta {
    filter: brightness(1.07) saturate(1.05);
    box-shadow: inset 0 0 0 100px rgba(255, 255, 255, .04);
}
.service-card:hover .service-cta i { transform: translateX(5px); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: #fff; position: relative; }

.about-video-bg { display: none; }
.about-spacer { display: none; }

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.about-media { position: relative; }

.about-photo-card {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    background: var(--bg-deep);
    aspect-ratio: 4 / 4.4;
}

.about-photo-card video { width: 100%; height: 100%; object-fit: cover; }

.about-experience-badge {
    position: absolute;
    bottom: -22px;
    right: -14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: 16px 22px;
}

.exp-number { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.exp-text { font-size: .8rem; line-height: 1.3; opacity: .92; }

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { text-align: left; }

.about-description { margin: 18px 0 30px; font-size: 1.02rem; }

.about-features { display: grid; gap: 20px; margin-bottom: 34px; }

.about-feature { display: flex; gap: 16px; align-items: flex-start; }

.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--ink-2);
    font-size: 1rem;
}

.about-feature h4 { font-size: 1.02rem; margin-bottom: 3px; }
.about-feature p { font-size: .9rem; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-us { background: var(--bg-soft); }

.why-us-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.why-us-content .section-title { text-align: left; }
.why-us-content .section-tag { margin-bottom: 16px; }
.why-us-content .section-subtitle { margin: 14px 0 30px; }

.why-us-items { display: grid; gap: 14px; }

.why-us-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.why-us-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }

.why-us-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: .95rem;
}

.why-us-item h4 { font-size: 1rem; margin-bottom: 2px; }
.why-us-item p { font-size: .88rem; }

.why-us-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 42px 36px;
    text-align: center;
}

.satisfaction-ring { position: relative; width: 190px; margin: 0 auto 30px; }

.satisfaction-ring svg { width: 100%; transform: rotate(-90deg); }

.ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-number { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--ink); }
.ring-label { font-size: .76rem; color: var(--muted); max-width: 110px; }

.mini-stats { display: grid; gap: 12px; text-align: left; }

.mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 13px 16px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-2);
}

.mini-stat i { color: var(--ink-2); }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works { background: #fff; }

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 18px;
    align-items: stretch;
}

.step-card {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px 24px 28px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .82rem;
    padding: 5px 14px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 58px;
    height: 58px;
    margin: 8px auto 18px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 1.25rem;
}

.step-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step-card p { font-size: .88rem; }

.step-connector {
    align-self: center;
    color: var(--line-2);
    font-size: 1rem;
}

/* ==========================================================================
   COUNTERS BAND
   ========================================================================== */
.counter-section {
    background: var(--grad-deep);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .35;
}

.counter-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.counter-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .72);
    font-size: 1.15rem;
}

.counter-number, .counter-suffix {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.counter-label {
    margin-top: 6px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .66);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--bg-soft); }

.testimonial-slider {
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform .55s cubic-bezier(.22, .8, .3, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 44px;
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 14px;
    right: 30px;
    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--primary-soft);
}

.testimonial-rating { color: var(--gold); font-size: .9rem; margin-bottom: 18px; display: flex; gap: 4px; }

.testimonial-text {
    font-size: 1.04rem;
    color: var(--ink-2);
    margin-bottom: 26px;
    position: relative;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-soft);
}

.testimonial-author h4 { font-size: .98rem; }
.testimonial-author span { font-size: .8rem; color: var(--muted); }

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-size: .9rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.testimonial-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

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

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: var(--line-2);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
    border: none;
    padding: 0;
}

.testimonial-dot.active { width: 26px; background: var(--ink); }

/* --- review videos strip --- */
.review-videos-section { margin-top: 72px; }

.review-videos-title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.review-videos-title i { color: var(--ink-2); margin-right: 8px; }

.review-videos-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.review-videos-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: marquee 70s linear infinite;
}

.review-videos-track:hover { animation-play-state: paused; }

.review-video-card {
    position: relative;
    width: 200px;
    aspect-ratio: 9 / 16;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.review-video-card video { width: 100%; height: 100%; object-fit: cover; }

.review-video-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(7, 20, 49, .3);
    color: #fff;
    font-size: 2rem;
    transition: opacity .25s ease;
}

.review-video-card.playing .review-video-overlay { opacity: 0; }

.review-video-card.playing { border-color: var(--ink-2); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-section { padding: 40px 0 104px; background: var(--bg-soft); }

.cta-card {
    position: relative;
    background: var(--grad-deep);
    border-radius: var(--r-xl);
    padding: 72px 56px;
    text-align: center;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(30rem 16rem at 85% 0%, rgba(255, 255, 255, .07), transparent 60%),
        radial-gradient(24rem 14rem at 10% 100%, rgba(255, 255, 255, .05), transparent 60%);
    pointer-events: none;
}

.cta-content { position: relative; max-width: 620px; margin: 0 auto; }

.cta-card h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }

.cta-card p { color: rgba(255, 255, 255, .74); margin-bottom: 34px; }

.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: #fff; }

.faq-grid { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item.active { border-color: var(--line-2); box-shadow: var(--shadow-sm); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    padding: 20px 24px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.faq-question i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--ink-2);
    font-size: .78rem;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: var(--ink);
    color: #fff;
}

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

.faq-item.active .faq-answer { max-height: 320px; }

.faq-answer p { padding: 0 24px 22px; font-size: .93rem; }

/* ==========================================================================
   CONTACT / LEAD FORM
   ========================================================================== */
.contact { background: var(--bg-soft); }

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: flex-start;
}

.contact-info .section-title { text-align: left; }
.contact-info > p { margin: 14px 0 32px; }

.contact-details { display: grid; gap: 20px; margin-bottom: 34px; }

.contact-detail { display: flex; gap: 16px; align-items: flex-start; }

.contact-detail-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 1rem;
}

.contact-detail h4 { font-size: .98rem; margin-bottom: 2px; }
.contact-detail p { font-size: .9rem; }

.contact-social { display: flex; gap: 10px; }

.contact-social a, .footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: .92rem;
    transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.contact-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); }

/* --- form card --- */
.contact-form-wrapper { position: relative; }

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 38px;
}

.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-form > p { font-size: .9rem; margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-three { grid-template-columns: 1fr 1fr 1fr; }

.form-name-group { margin-bottom: 0; }

.form-name-heading {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 8px;
}

/* floating-label group (shared with all form pages) */
.form-group { position: relative; margin-bottom: 18px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 16px;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    outline: none;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
    appearance: none;
    -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.form-group > label {
    position: absolute;
    left: 14px;
    top: 15px;
    font-size: .92rem;
    color: var(--muted);
    pointer-events: none;
    padding: 0 4px;
    background: transparent;
    transition: all .18s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group input[type="date"] ~ label {
    top: -9px;
    left: 12px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--primary);
    background: #fff;
    border-radius: 4px;
}

/* select chevron */
.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237e8ca6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.field-hint {
    display: block;
    font-size: .74rem;
    color: var(--muted);
    margin-top: 5px;
}

/* consent checkbox */
.form-consent { margin: 6px 0 20px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .84rem;
    color: var(--body);
    cursor: pointer;
}

.checkbox-label a { color: var(--primary); font-weight: 600; }
.checkbox-label a:hover { text-decoration: underline; }

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.checkmark { display: none; }

.form-note {
    margin-top: 16px;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
}

.form-note i { color: var(--green); margin-right: 5px; }

/* ineligible message card */
.ineligible-message {
    background: #fff;
    border: 1px solid #fbd5d5;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 44px 38px;
    text-align: center;
}

.ineligible-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fdecec;
    color: var(--red);
    font-size: 1.5rem;
}

.ineligible-message h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ineligible-message p { font-size: .94rem; }

.ineligible-note { margin-top: 14px; font-size: .84rem !important; color: var(--muted); }
.ineligible-note a { color: var(--primary); font-weight: 600; }

/* success modal injected by script.js */
.form-success {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 20, 49, .55);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.form-success.show { opacity: 1; visibility: visible; }

.form-success-content {
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 46px 42px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    transform: translateY(14px);
    transition: transform .3s ease;
}

.form-success.show .form-success-content { transform: translateY(0); }

.form-success-icon {
    font-size: 3.2rem;
    color: var(--green);
    margin-bottom: 16px;
}

.form-success-content h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success-content p { font-size: .94rem; margin-bottom: 26px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-deep);
    color: rgba(255, 255, 255, .68);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }

.footer-logo .brand-mark { width: 32px; height: 32px; object-fit: contain; }

.footer-word {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-transform: lowercase;
}

.footer-brand p { font-size: .9rem; margin-bottom: 22px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
}

.footer-social a:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateY(-3px); }

.footer h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 20px;
    letter-spacing: .02em;
}

.footer-links li { margin-bottom: 11px; }

.footer-links a {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    transition: color .2s ease, padding-left .2s ease;
}

.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .9rem;
    margin-bottom: 13px;
}

.footer-contact i { color: rgba(255, 255, 255, .45); margin-top: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
}

.footer-bottom-links { display: flex; gap: 22px; }

.footer-bottom-links a { color: rgba(255, 255, 255, .55); transition: color .2s ease; }
.footer-bottom-links a:hover { color: #fff; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 26px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    color: var(--ink);
    font-size: .9rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease, color .2s ease;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .section { padding: 84px 0; }

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

    .about-grid, .why-us-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-media { max-width: 520px; }

    .steps-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .step-connector { display: none; }

    .counter-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }

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

@media (max-width: 768px) {
    /* bar keeps only the logo + hamburger; phone & CTA move into the dropdown */
    .nav-actions { display: none; }
    .nav-toggle { display: flex; }

    /* The pill's glass lives on navbar::before (a sibling layer), NOT on the pill
       itself. If the pill had backdrop-filter it would become a "backdrop root" and
       the nested dropdown could no longer blur the page. This way both blur. */
    .nav-container {
        gap: 12px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        /* the pill's border + shadow live on navbar::before on mobile; clear the
           desktop ones here or they stack into a visible double-layer pill */
        border: none;
        box-shadow: none;
    }
    .navbar.scrolled .nav-container { background: transparent; box-shadow: none; }

    .navbar::before {
        content: "";
        position: absolute;
        top: 0;
        /* inset by the navbar's 14px side padding so this glass pill lines up
           exactly with .nav-container — otherwise it sits wider on both sides
           and reads as a second, outer pill stacked behind the content */
        left: 14px;
        right: 14px;
        height: 60px;
        border-radius: 100px;
        background: rgba(20, 30, 58, .42);
        backdrop-filter: blur(18px) saturate(1.5);
        -webkit-backdrop-filter: blur(18px) saturate(1.5);
        border: 1.5px solid rgba(255, 255, 255, .18);
        box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
        z-index: -1;
        pointer-events: none;
    }

    .nav-menu {
        position: fixed;
        top: 86px;
        left: 14px;
        right: 14px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        padding: 16px;
        background: rgba(18, 26, 50, .55);
        backdrop-filter: blur(22px) saturate(1.6);
        -webkit-backdrop-filter: blur(22px) saturate(1.6);
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 24px;
        box-shadow: 0 22px 54px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    }

    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }

    .nav-menu .nav-link { font-size: 1.05rem; padding: 12px 22px; text-align: center; }

    /* reveal the dropdown-only phone + CTA */
    .nav-menu .mobile-only { display: block; }

    .nav-menu-divider {
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, .14);
        margin: 8px 8px 4px;
    }

    .nav-menu-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px;
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
    }

    .nav-menu-phone i { color: rgba(255, 255, 255, .7); }

    .nav-menu-cta { width: 100%; margin-top: 4px; }

    .hero { padding-top: calc(var(--nav-h) + 48px); }

    .hero-stats {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 20px;
    }

    .hero-stat-number, .hero-stat { font-size: 1.15rem; }

    .cta-card { padding: 56px 26px; }

    .testimonial-card { padding: 30px 24px; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* keep First / Middle / Last on one row even on mobile */
    .form-row-three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .form-row-three .form-group input { padding-left: 12px; padding-right: 12px; }
    .form-row-three .form-group > label { left: 11px; font-size: .82rem; }

    .contact-form { padding: 30px 22px; }

    .review-video-card { width: 160px; }
}

@media (max-width: 560px) {
    .services-grid, .steps-grid { grid-template-columns: 1fr; }

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

    .counter-number, .counter-suffix { font-size: 1.9rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .footer-bottom { justify-content: center; text-align: center; }

    .btn-lg { padding: 14px 26px; }

    .section-title { font-size: 1.7rem; }
}
