/* ==========================================================================
   Central SaaS Landing Page — Clean Bright EdTech (Sky Blue + Emerald)
   Enhanced with soft ambient backdrops, pastel badges, spotlight cards,
   smooth marquee, contrast tech band & fluid micro-interactions (RTL & LTR)
   ========================================================================== */

:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;

    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;

    /* Soft Pastel Accents (RazinSoft-inspired gentle multi-tone badges) */
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-600: #d97706;
    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-600: #4f46e5;
    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-600: #e11d48;
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-600: #0d9488;

    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;

    --surface-white: #ffffff;
    --surface-soft: #f6fbff;
    --surface-warm: #fafcff;
    --surface-muted: #f1f5f9;
    --border-light: #e2e8f0;

    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.045);
    --shadow-md: 0 16px 40px rgba(2, 132, 199, 0.09);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.11);
}

html {
    scroll-behavior: smooth;
}

body.central-landing {
    font-family: "Tajawal", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    color: var(--ink-900);
    background-color: var(--surface-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html[lang="en"] body.central-landing {
    font-family: "Plus Jakarta Sans", "Tajawal", system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gradient-edtech {
    background: linear-gradient(120deg, var(--sky-600) 0%, var(--sky-500) 45%, var(--emerald-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-py {
    padding-block: 5.75rem;
    position: relative;
}

.section-eyebrow {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    color: var(--sky-700);
    border: 1px solid rgba(186, 230, 253, 0.92);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.24), 0 2px 8px -4px rgba(2, 132, 199, 0.36);
    animation: eyebrow-glow-sky 4.5s ease-in-out 0.8s infinite;
    isolation: isolate;
}

.section-eyebrow::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%);
    background-size: 260% 100%;
    background-position: 130% 0;
    animation: eyebrow-shine 4.5s ease-in-out 0.8s infinite;
    z-index: 1;
}

.section-eyebrow > * {
    position: relative;
    z-index: 2;
}

.section-eyebrow > i {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: var(--sky-600);
    transform-origin: center;
    animation: eyebrow-icon-ltr 4.5s ease-in-out 0.8s infinite;
}

html[dir="rtl"] .section-eyebrow > i {
    animation-name: eyebrow-icon-rtl;
}

.section-eyebrow.emerald {
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    color: var(--emerald-700);
    border-color: rgba(167, 243, 208, 0.95);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.24), 0 2px 8px -4px rgba(5, 150, 105, 0.36);
    animation: eyebrow-glow-emerald 4.5s ease-in-out 0.8s infinite;
}

.section-eyebrow.emerald > i {
    color: var(--emerald-600);
}

.section-eyebrow.dark-pill {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.28), 0 2px 10px -4px rgba(56, 189, 248, 0.45);
    animation: eyebrow-glow-dark 4.5s ease-in-out 0.8s infinite;
}

.section-eyebrow.dark-pill::before {
    background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%);
    background-size: 260% 100%;
    background-position: 130% 0;
}

.section-eyebrow.dark-pill > i {
    color: #38bdf8;
}

@keyframes eyebrow-glow-sky {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.24), 0 2px 8px -4px rgba(2, 132, 199, 0.36);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(2, 132, 199, 0), 0 8px 18px -10px rgba(2, 132, 199, 0.56);
    }
}

@keyframes eyebrow-glow-emerald {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.24), 0 2px 8px -4px rgba(5, 150, 105, 0.36);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(5, 150, 105, 0), 0 8px 18px -10px rgba(5, 150, 105, 0.56);
    }
}

@keyframes eyebrow-glow-dark {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.28), 0 2px 10px -4px rgba(56, 189, 248, 0.42);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(56, 189, 248, 0), 0 8px 20px -10px rgba(56, 189, 248, 0.65);
    }
}

@keyframes eyebrow-shine {
    0% {
        background-position: 130% 0;
    }
    45%, 100% {
        background-position: -40% 0;
    }
}

@keyframes eyebrow-icon-ltr {
    0%, 30%, 100% {
        transform: none;
    }
    12% {
        transform: translateY(-2.5px) rotate(-8deg);
    }
}

@keyframes eyebrow-icon-rtl {
    0%, 30%, 100% {
        transform: none;
    }
    12% {
        transform: translateY(-2.5px) rotate(8deg);
    }
}

.section-title {
    font-size: clamp(1.85rem, 3.3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.24;
    color: var(--ink-900);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--ink-600);
    max-width: 670px;
}

/* Soft ambient glow blobs */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(78px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.42;
}

.ambient-orb.sky {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.55) 0%, rgba(14, 165, 233, 0) 70%);
}

.ambient-orb.emerald {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.48) 0%, rgba(16, 185, 129, 0) 70%);
}

.ambient-orb.amber {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, rgba(251, 191, 36, 0) 70%);
}

/* ==========================================================================
   Buttons with Glossy Sheen
   ========================================================================== */
.btn-edtech-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, var(--sky-600) 0%, #0294b5 50%, var(--emerald-600) 100%);
    background-size: 180% 100%;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.88rem 1.95rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.35s ease;
    text-decoration: none;
}

.btn-edtech-primary::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
    transition: inset-inline-start 0.65s ease;
}

.btn-edtech-primary:hover {
    color: #fff;
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(5, 150, 105, 0.3);
}

.btn-edtech-primary:hover::after {
    inset-inline-start: 140%;
}

.btn-edtech-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-900);
    border: 1.5px solid var(--border-light);
    border-radius: 999px;
    padding: 0.86rem 1.8rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-xs);
    transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
}

.btn-edtech-secondary:hover {
    color: var(--sky-700);
    border-color: var(--sky-300);
    background: var(--sky-50);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Fixed Shrinking Glass Navbar (Smooth Shrink-on-Scroll)
   ========================================================================== */
.central-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(248, 252, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.45);
    padding-block: 1.65rem;
    box-shadow: 0 0 0 rgba(15, 23, 42, 0);
    transition:
        padding-block 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.central-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(226, 232, 240, 0.92);
    padding-block: 0.55rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.brand-mark img {
    display: block;
    max-height: 46px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.central-navbar.scrolled .brand-mark img {
    max-height: 34px;
}

.central-navbar .nav-link {
    color: var(--ink-700);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        font-size 0.35s ease;
}

.central-navbar.scrolled .nav-link {
    padding: 0.4rem 0.85rem;
    font-size: 0.94rem;
}

.central-navbar .nav-link:hover {
    color: var(--sky-700);
    background: var(--sky-50);
}

.central-navbar .btn-edtech-primary,
.central-navbar .btn-edtech-secondary {
    transition:
        padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        font-size 0.35s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        background-position 0.4s ease,
        border-color 0.25s ease;
}

.central-navbar.scrolled .btn-edtech-primary {
    padding-block: 0.45rem !important;
    padding-inline: 1.15rem !important;
    font-size: 0.87rem !important;
}

.central-navbar.scrolled .btn-edtech-secondary {
    padding-block: 0.42rem !important;
    padding-inline: 0.9rem !important;
    font-size: 0.87rem !important;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.98rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: var(--surface-white);
    color: var(--ink-700);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.central-navbar.scrolled .lang-pill {
    padding: 0.36rem 0.82rem;
    font-size: 0.84rem;
}

.lang-pill:hover {
    border-color: var(--sky-300);
    color: var(--sky-700);
    background: var(--sky-50);
}

section[id] {
    scroll-margin-top: 76px;
}

/* ==========================================================================
   Hero Section — Soft Layered Mesh + Architectural Grid + Floating Orbs
   ========================================================================== */
.hero-section {
    position: relative;
    padding-block: 9.25rem 5.5rem;
    background:
        radial-gradient(55% 55% at 12% 10%, rgba(14, 165, 233, 0.14) 0%, transparent 68%),
        radial-gradient(48% 52% at 88% 18%, rgba(16, 185, 129, 0.14) 0%, transparent 68%),
        radial-gradient(40% 40% at 50% 95%, rgba(251, 191, 36, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
    overflow: hidden;
}

/* Fine architectural grid fading softly out */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(2, 132, 199, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 132, 199, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 28%, rgba(0, 0, 0, 0.85) 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 28%, rgba(0, 0, 0, 0.85) 0%, transparent 78%);
    pointer-events: none;
}

.hero-orb-1 {
    width: 380px;
    height: 380px;
    top: -120px;
    inset-inline-start: -90px;
    animation: orbDrift 14s ease-in-out infinite;
}

.hero-orb-2 {
    width: 340px;
    height: 340px;
    bottom: -100px;
    inset-inline-end: -70px;
    animation: orbDrift 16s ease-in-out infinite reverse;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(22px, -18px) scale(1.06); }
}

.hero-heading {
    font-size: clamp(2.15rem, 4.3vw, 3.5rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: var(--ink-900);
}

.hero-underline-accent {
    position: relative;
    display: inline-block;
}

.hero-underline-accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 10px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.22), rgba(16, 185, 129, 0.25));
    border-radius: 999px;
    z-index: -1;
}

/* Smooth Vertical Blur-Slide Rotating Headline Phrase (CLS-Free Grid Stack) */
.hero-rotator {
    display: grid;
    margin-top: 0.22em;
    position: relative;
    overflow: hidden;
    padding-block: 0.08em 0.14em;
    font-size: 0.78em;
    line-height: 1.32;
    font-weight: 800;
    color: var(--ink-800);
}

.hero-rotator-item {
    grid-area: 1 / 1;
    display: block;
    max-width: 100%;
    opacity: 0;
    transform: translateY(52%) scale(0.985);
    filter: blur(6px);
    pointer-events: none;
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
}

.hero-rotator-item.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    pointer-events: auto;
}

.hero-rotator-item.is-exiting {
    opacity: 0;
    transform: translateY(-52%) scale(0.985);
    filter: blur(6px);
    pointer-events: none;
}

.hero-rotator-item::after {
    content: "";
    display: inline-block;
    width: 3px;
    height: 0.9em;
    vertical-align: -0.14em;
    margin-inline-start: 0.32rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--sky-500), var(--emerald-500));
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
    animation: heroCursorBlink 1.15s ease-in-out infinite;
}

@keyframes heroCursorBlink {
    0%, 45%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    55%, 85% {
        opacity: 0.18;
        transform: scaleY(0.82);
    }
}

.hero-lead {
    font-size: 1.14rem;
    line-height: 1.85;
    color: var(--ink-600);
    max-width: 575px;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.45rem;
    padding: 0;
    margin: 1.85rem 0 0;
    list-style: none;
    color: var(--ink-600);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-trust-list i {
    color: var(--emerald-600);
    font-size: 1rem;
}

/* Live UI Hero Mockup */
.hero-mockup-stage {
    position: relative;
    padding: 1rem 0.5rem;
    z-index: 2;
}

.browser-mockup {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(203, 213, 225, 0.75);
    box-shadow:
        0 30px 70px rgba(2, 132, 199, 0.12),
        0 6px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.browser-mockup:hover {
    transform: translateY(-4px);
    box-shadow:
        0 36px 80px rgba(2, 132, 199, 0.16),
        0 8px 24px rgba(15, 23, 42, 0.06);
}

.browser-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    background: linear-gradient(180deg, #fafcff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-light);
}

.browser-dots {
    display: inline-flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #34d399; }

.browser-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    color: var(--ink-600);
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.browser-url i {
    color: var(--emerald-600);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mockup-body {
    padding: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mini-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mini-kpi {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini-kpi:hover {
    border-color: var(--sky-300);
    transform: translateY(-2px);
}

.mini-kpi-label {
    font-size: 0.75rem;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mini-kpi-val {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.1;
}

.mini-kpi-delta {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--emerald-600);
    margin-top: 0.25rem;
}

.mini-chart-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
}

.mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 92px;
    padding-top: 0.75rem;
}

.mini-bar {
    flex: 1;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--sky-200), var(--sky-100));
    transition: transform 0.25s ease, background 0.25s ease;
}

.mini-bar:hover {
    transform: scaleY(1.06);
    transform-origin: bottom;
}

.mini-bar.active {
    background: linear-gradient(180deg, var(--sky-500), var(--emerald-500));
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.22);
}

.floating-pill-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    padding: 0.75rem 1.05rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.11);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    z-index: 5;
    animation: gentleFloat 5.5s ease-in-out infinite;
}

.floating-pill-card.top-card {
    top: -14px;
    inset-inline-end: -10px;
}

.floating-pill-card.bottom-card {
    bottom: -16px;
    inset-inline-start: -10px;
    animation-delay: 2.4s;
}

.pill-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.pill-icon-circle.sky { background: var(--sky-100); color: var(--sky-700); }
.pill-icon-circle.emerald { background: var(--emerald-100); color: var(--emerald-700); }

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* ==========================================================================
   Trust Metrics + Infinite Smooth Marquee Strip
   ========================================================================== */
.trust-strip {
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding-block: 2.5rem 2.25rem;
}

.metric-box {
    text-align: center;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-box:hover {
    transform: translateY(-3px);
    border-color: var(--sky-200);
}

.metric-value {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sky-700), var(--emerald-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}

.metric-label {
    font-size: 0.88rem;
    color: var(--ink-600);
    font-weight: 600;
    margin-top: 0.3rem;
}

/* Smooth Infinite Marquee */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding-block: 0.75rem 0.25rem;
    margin-top: 1.75rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--ink-700);
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.payment-chip:hover {
    border-color: var(--sky-300);
    transform: translateY(-2px);
}

.payment-chip i {
    color: var(--emerald-600);
}

/* ==========================================================================
   Soft Pastel Icon Boxes (RazinSoft-inspired Multi-Tone Accents)
   ========================================================================== */
.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-icon-box.sky { background: var(--sky-50); color: var(--sky-600); border: 1px solid var(--sky-100); }
.feature-icon-box.emerald { background: var(--emerald-50); color: var(--emerald-600); border: 1px solid var(--emerald-100); }
.feature-icon-box.amber { background: var(--amber-50); color: var(--amber-600); border: 1px solid var(--amber-100); }
.feature-icon-box.indigo { background: var(--indigo-50); color: var(--indigo-600); border: 1px solid var(--indigo-100); }
.feature-icon-box.rose { background: var(--rose-50); color: var(--rose-600); border: 1px solid var(--rose-100); }
.feature-icon-box.teal { background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100); }

/* ==========================================================================
   Interactive Spotlight & Top-Accent Hover Cards (Audience + Bento)
   ========================================================================== */
.audience-section {
    background:
        radial-gradient(50% 45% at 90% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 70%),
        radial-gradient(50% 45% at 10% 90%, rgba(14, 165, 233, 0.08) 0%, transparent 70%),
        var(--surface-soft);
}

.spotlight-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(320px circle at var(--mx) var(--my), rgba(14, 165, 233, 0.09), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.spotlight-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky-500), var(--emerald-500));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

.spotlight-card:hover::after {
    transform: scaleX(1);
}

.audience-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.1rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--sky-200);
}

.audience-card:hover .feature-icon-box,
.bento-card:hover .feature-icon-box {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.12);
}

/* Bento Grid Features */
.features-section {
    background:
        radial-gradient(45% 45% at 85% 20%, rgba(14, 165, 233, 0.06) 0%, transparent 70%),
        #ffffff;
}

.bento-card {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.95rem;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sky-200);
}

.bento-card.featured-sky {
    background: linear-gradient(145deg, #f0f9ff 0%, #ffffff 68%);
    border-color: var(--sky-200);
}

.bento-card.featured-emerald {
    background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 68%);
    border-color: var(--emerald-200);
}

.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--sky-100);
    color: var(--sky-700);
}

.bento-tag.emerald {
    background: var(--emerald-100);
    color: var(--emerald-700);
}

/* ==========================================================================
   High-Contrast Dark Architecture Band (Visual Rhythm & Authority)
   ========================================================================== */
.architecture-band {
    background:
        radial-gradient(50% 60% at 15% 20%, rgba(14, 165, 233, 0.22) 0%, transparent 65%),
        radial-gradient(45% 60% at 85% 80%, rgba(16, 185, 129, 0.20) 0%, transparent 65%),
        linear-gradient(180deg, #0f172a 0%, #111c34 100%);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.architecture-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.arch-pillar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.arch-pillar-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.45);
}

.arch-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(16, 185, 129, 0.22));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Interactive Product Tour (4 Tabs Live UI Preview)
   ========================================================================== */
.tour-section {
    background:
        radial-gradient(50% 45% at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
}

.tour-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
}

.tour-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    border: 1.5px solid var(--border-light);
    background: #fff;
    color: var(--ink-700);
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: all 0.22s ease;
}

.tour-tab-btn:hover {
    border-color: var(--sky-300);
    color: var(--sky-700);
    background: var(--sky-50);
}

.tour-tab-btn.active {
    background: linear-gradient(135deg, var(--sky-600), var(--emerald-600));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.24);
}

.tour-panel {
    display: none;
    animation: fadeSlideIn 0.38s ease;
}

.tour-panel.active {
    display: block;
}

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

.tour-showcase-box {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-md);
}

.cert-preview-frame {
    border: 6px double var(--sky-600);
    border-radius: 18px;
    padding: 1.85rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.08), transparent 55%),
        radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.08), transparent 55%),
        #ffffff;
    text-align: center;
    position: relative;
}

.cert-seal {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-500), var(--sky-600));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 10px 22px rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   How It Works (3 Steps with Visual Connector)
   ========================================================================== */
.steps-wrapper {
    position: relative;
}

@media (min-width: 768px) {
    .steps-wrapper::before {
        content: "";
        position: absolute;
        top: 52px;
        inset-inline: 16%;
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            var(--sky-300) 0,
            var(--sky-300) 8px,
            transparent 8px,
            transparent 16px
        );
        z-index: 0;
    }
}

.step-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sky-200);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sky-600), var(--emerald-500));
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.24);
    transition: transform 0.25s ease;
}

.step-card:hover .step-number {
    transform: scale(1.08);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    background:
        radial-gradient(50% 45% at 50% 10%, rgba(14, 165, 233, 0.08) 0%, transparent 65%),
        var(--surface-soft);
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    padding: 0.38rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.billing-btn {
    border: none;
    background: transparent;
    color: var(--ink-600);
    font-weight: 700;
    padding: 0.58rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.billing-btn.active {
    background: linear-gradient(135deg, var(--sky-600), var(--emerald-600));
    color: #fff;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.25);
}

.save-badge {
    background: var(--emerald-100);
    color: var(--emerald-700);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.16rem 0.58rem;
    border-radius: 999px;
}

.billing-btn.active .save-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.pricing-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.3rem 1.9rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-xs);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pricing-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: var(--sky-300);
}

.pricing-card.popular {
    border: 2px solid var(--sky-500);
    box-shadow: 0 22px 54px rgba(2, 132, 199, 0.16);
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 34%);
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    inset-inline-end: 24px;
    background: linear-gradient(135deg, var(--sky-600), var(--emerald-600));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.32rem 1rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.28);
}

.plan-price {
    font-size: 2.65rem;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.1;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.82rem;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.62rem;
    font-size: 0.96rem;
    color: var(--ink-700);
    line-height: 1.55;
}

.plan-features-list i {
    color: var(--emerald-600);
    font-size: 1.05rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sky-200);
}

.quote-watermark {
    position: absolute;
    top: 16px;
    inset-inline-end: 20px;
    font-size: 2.5rem;
    color: var(--sky-100);
    line-height: 1;
    pointer-events: none;
}

.avatar-initials {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-100), var(--emerald-100));
    color: var(--sky-700);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   Accessible Native FAQ (<details>/<summary>)
   ========================================================================== */
.faq-section {
    background:
        radial-gradient(45% 45% at 15% 25%, rgba(16, 185, 129, 0.06) 0%, transparent 70%),
        var(--surface-soft);
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.faq-item[open] {
    border-color: var(--sky-300);
    box-shadow: 0 10px 26px rgba(2, 132, 199, 0.08);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 1.4rem;
    font-weight: 700;
    font-size: 1.04rem;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--sky-50);
    color: var(--sky-700);
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-item[open] .faq-num {
    background: linear-gradient(135deg, var(--sky-600), var(--emerald-600));
    color: #fff;
}

.faq-chevron {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sky-50);
    color: var(--sky-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    background: var(--sky-600);
    color: #fff;
}

.faq-answer {
    padding: 0 1.4rem 1.35rem;
    padding-inline-start: 3.9rem;
    color: var(--ink-600);
    line-height: 1.85;
    font-size: 0.96rem;
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.final-cta-banner {
    background:
        radial-gradient(60% 80% at 15% 10%, rgba(56, 189, 248, 0.35) 0%, transparent 60%),
        radial-gradient(50% 80% at 88% 90%, rgba(16, 185, 129, 0.4) 0%, transparent 60%),
        linear-gradient(135deg, var(--sky-700) 0%, var(--sky-600) 48%, var(--emerald-600) 100%);
    border-radius: var(--radius-xl);
    padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 66px rgba(2, 132, 199, 0.26);
}

.final-cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--sky-700);
    border-radius: 999px;
    padding: 0.92rem 2.1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.btn-cta-white:hover {
    color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.btn-cta-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    padding: 0.92rem 1.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.22s ease;
}

.btn-cta-outline-white:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
    transform: translateY(-2px);
}

.central-footer {
    background: #0b1220;
    color: #cbd5e1;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
}

.central-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.central-footer a:hover {
    color: #38bdf8;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.15rem;
}

/* Staggered Scroll Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-up.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-up.reveal-delay-3 { transition-delay: 0.24s; }

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .floating-pill-card,
    .ambient-orb,
    .marquee-track,
    .pulse-dot,
    .section-eyebrow,
    .section-eyebrow::before,
    .section-eyebrow > i,
    .hero-rotator-item::after {
        animation: none;
    }
    .hero-rotator-item {
        transition: none;
        filter: none;
    }
}

@media (max-width: 991.98px) {
    .central-navbar {
        padding-block: 1.05rem;
    }
    .central-navbar.scrolled {
        padding-block: 0.5rem;
    }
    .hero-section {
        padding-block: 7.25rem 4rem;
    }
    .section-py {
        padding-block: 3.85rem;
    }
    .floating-pill-card {
        display: none;
    }
    .mini-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-answer {
        padding-inline-start: 1.4rem;
    }
}
