/* =================================================================
   HYBRID KANTAR — LUMINA AI
   Bright premium · Poppins · layered startup landing
   ================================================================= */

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --ink: #101828;
    --muted: #667085;
    --line: #e2e8f0;
    --blue: #2563eb;
    --violet: #7c3aed;
    --cyan: #06b6d4;
    --rose: #f43f5e;
    --amber: #f59e0b;
    --emerald: #10b981;
}

* {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

html,
body {
    background:
        radial-gradient(circle at 12% 8%, rgba(59, 130, 246, 0.12), transparent 28rem),
        radial-gradient(circle at 86% 14%, rgba(124, 58, 237, 0.14), transparent 30rem),
        linear-gradient(180deg, #fbfdff 0%, #f8fafc 45%, #ffffff 100%);
    color: var(--ink);
    font-family: "Poppins", system-ui, sans-serif;
}

body {
    padding-bottom: 44px;
    overflow-x: hidden;
}

::selection {
    background: rgba(37, 99, 235, 0.18);
    color: var(--ink);
}

img {
    max-width: 100%;
}

.page-orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.page-orbs::before,
.page-orbs::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(52px);
    opacity: 0.62;
}

.page-orbs::before {
    width: 34rem;
    height: 34rem;
    left: -12rem;
    top: 5rem;
    background: rgba(6, 182, 212, 0.24);
}

.page-orbs::after {
    width: 38rem;
    height: 38rem;
    right: -14rem;
    top: 12rem;
    background: rgba(124, 58, 237, 0.18);
}

/* ============== NAVIGATION ============== */
.nav-bar {
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#siteNav.scrolled .nav-bar {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 70px rgba(15, 23, 42, 0.12);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 1rem;
    color: white;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.75), transparent 18%),
        linear-gradient(135deg, var(--blue), var(--violet) 58%, var(--cyan));
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.28);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--ink);
    background: rgba(15, 23, 42, 0.05);
}

.mobile-link {
    display: block;
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-link:hover {
    background: #f8fafc;
    color: var(--ink);
}

/* ============== BUTTONS ============== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 999px;
    padding: 0.88rem 1.28rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: #fff;
    border: 1px solid rgba(37, 99, 235, 0.55);
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.45), transparent 20%),
        linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
    color: #1e293b;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.btn-secondary:hover {
    border-color: rgba(37, 99, 235, 0.22);
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.btn-xl {
    padding: 1.08rem 1.55rem;
    font-size: 0.98rem;
}

/* ============== HERO ============== */
.hero-stage {
    min-height: 100vh;
    isolation: isolate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 74%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 74%);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(42px);
    animation: float-orb 10s ease-in-out infinite alternate;
}

.hero-orb-a {
    left: 8%;
    top: 18%;
    width: 22rem;
    height: 22rem;
    background: rgba(59, 130, 246, 0.22);
}

.hero-orb-b {
    right: 12%;
    top: 12%;
    width: 26rem;
    height: 26rem;
    background: rgba(168, 85, 247, 0.2);
    animation-delay: -4s;
}

.hero-orb-c {
    left: 42%;
    bottom: 12%;
    width: 20rem;
    height: 20rem;
    background: rgba(6, 182, 212, 0.18);
    animation-delay: -7s;
}

@keyframes float-orb {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

.hero-title-gradient {
    display: inline-block;
    background: linear-gradient(110deg, #2563eb 0%, #7c3aed 48%, #f43f5e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    padding: 0.55rem 0.85rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.hero-visual-shell {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 3.2rem;
    background: #fff;
    box-shadow:
        0 42px 120px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hero-visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transform: scale(1.03);
}

.hero-visual-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(248, 250, 252, 0.76)),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.24), transparent 32rem),
        radial-gradient(circle at 15% 75%, rgba(124, 58, 237, 0.25), transparent 26rem);
}

.dashboard-mockup {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    width: min(92%, 980px);
    transform: translateX(-50%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.9rem 1.1rem;
}

.dot {
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
}

.metric-dark {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 1rem;
}

.metric-dark span {
    display: block;
    color: rgba(219, 234, 254, 0.75);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.metric-dark strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.2rem;
}

.mock-card {
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.15rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.9rem 1rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    animation: float-card 5s ease-in-out infinite alternate;
}

.float-card-a {
    left: 2.5rem;
    top: 4rem;
}

.float-card-b {
    right: 3rem;
    top: 8rem;
    animation-delay: -2.2s;
}

.float-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 1rem;
    color: white;
}

@keyframes float-card {
    from { transform: translateY(0); }
    to { transform: translateY(-14px); }
}

/* ============== SECTIONS ============== */
.section-soft {
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.08), transparent 30rem),
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.08), transparent 28rem),
        linear-gradient(180deg, #f8fafc, #ffffff);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.55rem 0.85rem;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.section-title {
    color: var(--ink);
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.stat-card,
.feature-tile,
.blog-card,
.testimonial-card,
.testimonial-hero,
.flow-card,
.doc-section {
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.stat-card {
    border-radius: 2rem;
    padding: 1.5rem;
}

.feature-tile {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    padding: 1.6rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-tile::before {
    content: "";
    position: absolute;
    inset: auto -20% -35% auto;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    filter: blur(20px);
}

.feature-tile:hover,
.module-pill:hover,
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.13);
}

.feature-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 1.1rem;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.22);
}

.feature-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-tile h3 {
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.feature-tile p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ============== AI COMPOSITION ============== */
.ai-composition {
    position: relative;
    min-height: 520px;
}

.ai-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 2.2rem;
    opacity: 0.86;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.ai-panel {
    position: absolute;
    right: -1rem;
    bottom: 2rem;
    display: grid;
    width: min(90%, 520px);
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    background: rgba(15, 23, 42, 0.78);
    padding: 1rem;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}

.ai-row {
    display: flex;
    gap: 0.85rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.95rem;
}

.ai-row span {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.9rem;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.ai-row strong {
    display: block;
    color: white;
    font-size: 0.92rem;
}

.ai-row p {
    margin-top: 0.25rem;
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.78rem;
    line-height: 1.5;
}

.ai-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.65rem 0.9rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
}

/* ============== MODULES ============== */
.module-pill {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.84);
    padding: 1rem;
    text-decoration: none;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.07);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.module-number {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border-radius: 1.2rem;
    color: #2563eb;
    background: #eff6ff;
    font-size: 0.82rem;
    font-weight: 900;
}

.module-pill strong {
    display: block;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 800;
}

.module-pill small {
    display: -webkit-box;
    margin-top: 0.2rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.module-pill i {
    color: #94a3b8;
}

/* ============== SECTORS ============== */
.sector-canvas {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    min-height: 620px;
    box-shadow: 0 36px 100px rgba(15, 23, 42, 0.16);
}

.sector-canvas > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.18)),
        radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.25), transparent 26rem);
}

.sector-list {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 520px;
    gap: 0.9rem;
    padding: 2rem;
}

.sector-item {
    display: flex;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem;
    color: white;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.sector-item i {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.18);
}

.sector-item strong {
    display: block;
    font-size: 0.98rem;
}

.sector-item p {
    margin-top: 0.28rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ============== FLOW / MERMAID ============== */
.flow-card {
    overflow: auto;
    border-radius: 2rem;
    padding: 1.4rem;
}

.flow-label {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ============== TESTIMONIALS / BLOG ============== */
.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.6rem 0.9rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.category-chip:hover,
.category-chip.active {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.24);
    background: #eff6ff;
    color: #2563eb;
}

.category-chip span {
    color: #94a3b8;
}

.blog-hero-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 3rem;
    box-shadow: 0 42px 120px rgba(15, 23, 42, 0.16);
}

.blog-hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.64)),
        radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.38), transparent 20rem),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.32), transparent 22rem);
}

.blog-hero-content {
    position: absolute;
    inset: auto 1.5rem 1.5rem 1.5rem;
}

.featured-post {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 3rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.1);
    text-decoration: none;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.featured-post:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 42px 110px rgba(37, 99, 235, 0.16);
}

@media (min-width: 1024px) {
    .featured-post {
        grid-template-columns: 0.95fr 1.25fr;
        min-height: 430px;
    }
}

.featured-post-visual {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #eff6ff;
}

.featured-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.8), transparent 18rem),
        radial-gradient(circle at 78% 38%, rgba(124, 58, 237, 0.72), transparent 18rem),
        radial-gradient(circle at 52% 82%, rgba(6, 182, 212, 0.58), transparent 16rem),
        linear-gradient(135deg, #eff6ff, #ffffff);
}

.featured-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
}

.featured-badge {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.72rem 1rem;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.featured-post-body {
    padding: 2rem;
}

@media (min-width: 1024px) {
    .featured-post-body {
        padding: 3rem;
    }
}

.featured-post-body h2 {
    margin-top: 1rem;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 4.3rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.featured-post-body p {
    margin-top: 1.2rem;
    max-width: 46rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.85;
}

.testimonial-hero {
    border-radius: 2.5rem;
    padding: 2.2rem;
}

.testimonial-hero p {
    margin-top: -1.2rem;
    color: var(--ink);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.16;
}

.testimonial-card {
    border-radius: 2rem;
    padding: 1.35rem;
}

.testimonial-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.75;
}

.avatar-init {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    font-size: 0.82rem;
    font-weight: 800;
}

.avatar-init.small {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.72rem;
}

.blog-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    border-radius: 2rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-card span {
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.blog-card h3 {
    margin-top: 1rem;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.blog-card p {
    display: -webkit-box;
    margin-top: 0.75rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card small {
    margin-top: auto;
    padding-top: 1.25rem;
    color: #94a3b8;
    font-weight: 700;
}

.blog-article {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 2.4rem;
    background: rgba(255, 255, 255, 0.86);
    padding: clamp(1.5rem, 4vw, 3rem);
    color: #475569;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.blog-article-full {
    width: 100%;
}

.blog-article-full img,
.blog-article-full table,
.blog-article-full pre {
    width: 100%;
}

.blog-article h2 {
    margin-top: 2.4rem;
    color: var(--ink);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.12;
}

.blog-article h3 {
    margin-top: 2rem;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.blog-article p,
.blog-article li {
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.9;
}

.blog-article a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.blog-article code {
    border: 1px solid #dbeafe;
    border-radius: 0.45rem;
    background: #eff6ff;
    padding: 0.16rem 0.4rem;
    color: #1d4ed8;
    font-size: 0.88em;
    font-weight: 700;
}

.blog-article blockquote {
    margin: 2rem 0;
    border-left: 4px solid #2563eb;
    border-radius: 1rem;
    background: #eff6ff;
    padding: 1.1rem 1.3rem;
    color: #1e3a8a;
    font-weight: 700;
}

/* ============== FOOTER ============== */
.footer-heading {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-list {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.58rem;
}

.footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
    border-radius: 0.9rem;
    padding: 0.55rem 0.65rem;
    color: #cbd5e1;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-list a:hover {
    transform: translateX(2px);
    background: rgba(37, 99, 235, 0.12);
    color: #bfdbfe;
}

.footer-list i {
    width: 1rem;
    flex: 0 0 auto;
    color: #60a5fa;
    font-size: 0.78rem;
    text-align: center;
}

.footer-trust-grid {
    position: relative;
}

.footer-trust-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 41, 59, 0.35) 18%,
        rgba(96, 165, 250, 0.58) 50%,
        rgba(30, 41, 59, 0.35) 82%,
        transparent 100%
    );
}

/* ============== DEMO FORM ============== */
.demo-panel {
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
    background:
        radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.28), transparent 24rem),
        radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.32), transparent 26rem),
        linear-gradient(135deg, #0f172a, #172554 52%, #312e81);
    padding: 2rem;
    box-shadow: 0 42px 120px rgba(15, 23, 42, 0.22);
}

@media (min-width: 1024px) {
    .demo-panel {
        padding: 3rem;
    }
}

.demo-contact {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.72rem 1rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.input-label {
    display: block;
    margin-bottom: 0.48rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
}

.input-arc {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.95rem 1rem;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-arc:focus {
    border-color: rgba(37, 99, 235, 0.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* ============== DOCS ============== */
.docs-sidebar {
    align-self: start;
}

@media (min-width: 1024px) {
    .docs-sidebar {
        position: sticky;
        top: 7.5rem;
        max-height: calc(100vh - 9rem);
        overflow: hidden;
    }
}

.docs-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    color: #94a3b8;
    transform: translateY(-50%);
}

.docs-search input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    color: var(--ink);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.docs-search input:focus {
    border-color: rgba(37, 99, 235, 0.5);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.docs-nav {
    display: grid;
    gap: 0.45rem;
    max-height: 24rem;
    overflow-y: auto;
    padding-right: 0.35rem;
    overscroll-behavior: contain;
}

.docs-nav::-webkit-scrollbar {
    width: 6px;
}

.docs-nav::-webkit-scrollbar-track {
    background: transparent;
}

.docs-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

@media (min-width: 1024px) {
    .docs-nav {
        max-height: calc(100vh - 25rem);
    }
}

.docs-nav a {
    display: flex;
    gap: 0.6rem;
    border-radius: 1rem;
    padding: 0.75rem 0.85rem;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.docs-nav a:hover,
.docs-nav a.active {
    background: #eff6ff;
    color: #2563eb;
}

.docs-nav span {
    color: #94a3b8;
}

.doc-section {
    border-radius: 2rem;
    padding: 1.5rem;
    scroll-margin-top: 8.5rem;
}

.doc-section + .doc-section {
    margin-top: 1rem;
}

.doc-section h2 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.doc-section h2 span {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 0.9rem;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.doc-section h3 {
    margin-top: 1.6rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 800;
}

.doc-section p,
.doc-section li {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.doc-section ul {
    padding-left: 1.1rem;
}

.doc-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.doc-table th {
    background: #f8fafc;
    color: #64748b;
    padding: 0.8rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.doc-table td {
    border-top: 1px solid #e2e8f0;
    padding: 0.8rem;
    color: #475569;
}

/* ============== TICKER ============== */
.ticker-wrap {
    overflow: hidden;
    border-block: 1px solid rgba(226, 232, 240, 0.85);
    background: #fff;
}

.ticker-fixed {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 -16px 42px rgba(15, 23, 42, 0.08);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
}

.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 2.6rem;
    padding: 0.65rem 0;
    animation: ticker 68s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker-item .bullet {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* ============== REVEAL ============== */
.reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal.delay-1 { transition-delay: 90ms; }
.reveal.delay-2 { transition-delay: 180ms; }
.reveal.delay-3 { transition-delay: 270ms; }

.hidden-by-filter {
    display: none !important;
}

.line-clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 1023px) {
    .hero-visual-shell {
        min-height: 720px;
        border-radius: 2rem;
    }

    .dashboard-mockup {
        bottom: 2rem;
    }

    .float-card {
        display: none;
    }

    .ai-panel {
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .sector-canvas {
        min-height: 720px;
    }
}

@media (max-width: 640px) {
    .nav-bar {
        border-radius: 1.6rem;
    }

    .hero-stage {
        min-height: 0;
    }

    .hero-visual-shell {
        min-height: 770px;
    }

    .dashboard-mockup {
        width: calc(100% - 1.5rem);
        border-radius: 1.4rem;
    }

    .metric-dark {
        padding: 0.75rem;
    }

    .metric-dark strong {
        font-size: 0.95rem;
    }

    .section-title {
        letter-spacing: -0.052em;
    }

    .demo-panel {
        border-radius: 2rem;
        padding: 1rem;
    }
}

/* ============== COOKIE CONSENT ============== */
.cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 4rem;
    left: 1rem;
    z-index: 80;
}

.cookie-card {
    display: grid;
    max-width: 1120px;
    margin-inline: auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1rem;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.18);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
}

@media (min-width: 900px) {
    .cookie-card {
        grid-template-columns: auto 1fr auto;
        padding: 1.1rem 1.2rem;
    }
}

.cookie-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.cookie-title {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.cookie-content p {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.btn-cookie {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    font-size: 0.78rem;
    font-weight: 900;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-cookie:hover {
    transform: translateY(-1px);
}

.btn-cookie.primary {
    border: 1px solid rgba(37, 99, 235, 0.55);
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.btn-cookie.outline {
    border: 1px solid #dbeafe;
    color: #2563eb;
    background: #eff6ff;
}

.btn-cookie.ghost {
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.cookie-modal.hidden,
.cookie-consent.hidden {
    display: none;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cookie-modal-panel {
    position: relative;
    width: min(100%, 720px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.96);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 40px 110px rgba(15, 23, 42, 0.28);
}

.cookie-close {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    color: #64748b;
    background: #f8fafc;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-close:hover {
    color: var(--ink);
    background: #eef2ff;
}

.cookie-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 1.35rem;
    background: #fff;
    padding: 1rem;
}

.cookie-option strong {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 900;
}

.cookie-option p {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.65;
}

.cookie-required {
    border-radius: 999px;
    background: #ecfdf5;
    padding: 0.55rem 0.75rem;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.cookie-toggle {
    width: 3rem;
    height: 1.6rem;
    cursor: pointer;
    border-radius: 999px;
    border-color: #cbd5e1;
    color: #2563eb;
}
