/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
    --blue-900: #1565C0;
    --blue-600: #1E88E5;
    --blue-400: #42A5F5;
    --blue-50: #E3F2FD;
    --neutral-950: #0D0D0D;
    --neutral-900: #1C1C1E;
    --neutral-500: #5E6778;
    --neutral-50: #F5F6F8;
    --success: #00C48C;
    --warning: #FFB300;
    --error: #E53935;
    --white: #FFFFFF;
    --h1: clamp(48px, 7vw, 88px);
    --h2: clamp(32px, 4.5vw, 54px);
    --h3: clamp(20px, 2.5vw, 28px);
    --body-lg: 18px;
    --body: 15px;
    --label: 11px;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 14px;
    --radius-lg: 24px;
    --max-w: 1200px;
    --transition: 0.22s ease;
}

[data-theme="dark"] {
    --bg: #0C0F14;
    --bg2: #111520;
    --surface: rgba(255, 255, 255, 0.04);
    --surface2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.18);
    --text: #FFFFFF;
    --text-sec: #9BA5B7;
    --text-muted: #4A5568;
    --accent: #1E88E5;
    --accent-bright: #42A5F5;
    --accent-glow: rgba(30, 136, 229, 0.25);
    --accent-tint: rgba(30, 136, 229, 0.08);
    --hatch-color: rgba(255, 255, 255, 0.028);
    --nav-bg: rgba(12, 15, 20, 0.85);
    --card-bg: rgba(17, 21, 32, 0.9);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    --grain-op: 0.04;
}

[data-theme="light"] {
    --bg: #F5F6F8;
    --bg2: #FFFFFF;
    --surface: rgba(0, 0, 0, 0.03);
    --surface2: rgba(0, 0, 0, 0.055);
    --border: rgba(0, 0, 0, 0.08);
    --border-bright: rgba(0, 0, 0, 0.2);
    --text: #0D0D0D;
    --text-sec: #5E6778;
    --text-muted: #9BA5B7;
    --accent: #1565C0;
    --accent-bright: #1E88E5;
    --accent-glow: rgba(21, 101, 192, 0.18);
    --accent-tint: rgba(21, 101, 192, 0.07);
    --hatch-color: rgba(0, 0, 0, 0.025);
    --nav-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    --grain-op: 0.025;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background .35s ease, color .35s ease;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   GRAIN
═══════════════════════════════════════════ */
.grain-svg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 9999;
    pointer-events: none;
    opacity: var(--grain-op);
    mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════
   HATCH BG
═══════════════════════════════════════════ */
.hatch-bg-wrap {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hatch-bg {
    position: absolute;
    inset: -60px;
    background-image: repeating-linear-gradient(-45deg, rgb(0 0 0 / 1%) 0px, var(--hatch-color) 3px, transparent 1px, transparent 6px);
    transition: background-image .35s ease;
    will-change: transform;
}

/* ═══════════════════════════════════════════
   READING PROGRESS
═══════════════════════════════════════════ */
#progress-bar {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    z-index: 600;
    opacity: 0;
    transition: opacity .3s ease;
    transform-origin: left;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
#cdot {
    display: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: background .2s, transform .2s;
}

#cring {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    will-change: transform;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: transparent;
    transition: width .3s, height .3s, background .3s, border-color .3s, color .3s;
}

#cring.big {
    width: 72px;
    height: 72px;
    background: var(--accent-tint);
    color: var(--accent);
}

#cring.small {
    width: 16px;
    height: 16px;
    background: var(--accent);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.aos {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.aos.visible {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: 80ms;
}

.d2 {
    transition-delay: 160ms;
}

.d3 {
    transition-delay: 240ms;
}

.d4 {
    transition-delay: 320ms;
}

.d5 {
    transition-delay: 400ms;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 62px;
    transition: background .35s, border-color .35s;
}

.nav-w {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sec);
}

.nav-links a {
    position: relative;
    transition: color var(--transition);
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .2s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.theme-toggle {
    width: 40px;
    height: 24px;
    border-radius: 100px;
    background: var(--surface2);
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
}

.theme-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .theme-toggle-knob {
    transform: translateX(16px);
}

.theme-toggle-knob svg {
    width: 9px;
    height: 9px;
    fill: white;
    stroke: none;
}

.btn-nav {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px var(--accent-glow);
    transition: opacity .2s, transform .2s;
    white-space: nowrap;
}

.btn-nav:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
}

.mobile-nav a {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sec);
    transition: color .2s, background .2s;
}

.mobile-nav a:hover {
    color: var(--text);
    background: var(--surface);
}

.mobile-nav.open {
    display: flex;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 10px 32px var(--accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    letter-spacing: -0.2px;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px var(--accent-glow);
}

.btn-primary .btn-arrow {
    transition: transform .2s ease;
    display: flex;
    align-items: center;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-bright);
    transition: border-color .2s, background .2s, transform .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-ghost:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-white {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: #fff;
    color: #0C0F14;
    border: none;
    transition: opacity .2s, transform .2s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-white:hover {
    opacity: .9;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 40px;
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.surface-section {
    background: var(--surface);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--label);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-h {
    font-size: var(--h2);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.section-h em {
    font-style: italic;
    color: var(--accent-bright);
}

/* Page hero (non-home pages) */
.page-hero {
    padding: 140px 40px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: var(--h1);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.0;
    margin-bottom: 20px;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--accent-bright);
}

.page-hero p {
    font-size: var(--body-lg);
    color: var(--text-sec);
    line-height: 1.75;
}

.page-hero-orb {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 40%, var(--accent-glow) 0%, transparent 68%);
    filter: blur(80px);
    opacity: .18;
}

/* Glass card */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

.glass:hover {
    border-color: var(--border-bright);
    box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════════ */
.cta-outer {
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 780px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--accent), #1565c0);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px var(--accent-glow);
}

.cta-hatch {
    position: absolute;
    inset: -40px;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 8px);
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: var(--h2);
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.05;
}

.cta-box h2 em {
    font-style: italic;
    opacity: .85;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--body-lg);
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto 16px;
    flex-wrap: wrap;
}

.cta-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-w {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 64px 40px 32px;
}

.footer-top {
    display: flex;
    gap: 64px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.fb {
    flex: 1.5;
    min-width: 240px;
}

.fb h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.fb p {
    color: var(--text-sec);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 10px;
}

.soc {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sec);
    transition: color .2s, border-color .2s, background .2s;
}

.soc:hover {
    color: var(--text);
    border-color: var(--border-bright);
}

.soc svg {
    width: 14px;
    height: 14px;
}

.footer-nav {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.f-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
}

.f-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.f-col a {
    font-size: 14px;
    color: var(--text-sec);
    transition: color .2s;
}

.f-col a:hover {
    color: var(--accent-bright);
}

.footer-btm {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-btm-links {
    display: flex;
    gap: 20px;
}

.footer-btm-links a {
    color: var(--text-muted);
    transition: color .2s;
}

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

/* ═══════════════════════════════════════════
   SERVICE CARDS (Services page)
═══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.svc-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.svc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.svc-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-bright);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.svc-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.svc-card h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.svc-card>p {
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 20px;
}

.svc-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.svc-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-sec);
}

.svc-bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.svc-stat {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-bright);
    letter-spacing: -1px;
}

.svc-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.svc-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent-glow);
    filter: blur(60px);
    opacity: .3;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 64px 0;
}

.stat-item {
    background: var(--bg);
    padding: 32px 24px;
    text-align: center;
}

.stat-val {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--accent-bright);
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    padding: 32px;
    border-radius: var(--radius-lg);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-bright);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-sec);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.team-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.team-av {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 16px;
}

.team-name {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--accent-bright);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   CASE STUDIES PAGE
═══════════════════════════════════════════ */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 56px;
}

.case-card {
    padding: 48px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.case-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.case-client {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.case-card h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.case-summary {
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 24px;
}

.case-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-tool {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-sec);
}

.case-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-result-item {
    padding: 20px 24px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.case-metric {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--accent-bright);
}

.case-metric-label {
    font-size: 13px;
    color: var(--text-sec);
    margin-top: 2px;
}

.case-av {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
    margin-top: 56px;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-point {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cp-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cp-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-bright);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.cp-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.cp-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.contact-form-wrap {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-sec);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color .2s, background .2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--surface2);
}

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

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

.form-error {
    color: var(--error);
    font-size: 13px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(229, 57, 53, 0.08);
    border: 1px solid rgba(229, 57, 53, 0.2);
    border-radius: var(--radius);
}

.form-success {
    text-align: center;
    padding: 40px 24px;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--success);
    margin: 0 auto 16px;
}

.form-success h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-sec);
}

/* ═══════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════ */
.legal-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 56px;
}

.legal-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
}

.legal-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    right: auto;
    top: 13vh;
}

.legal-sidebar nav a {
    font-size: 14px;
    color: var(--text-sec);
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: color .2s, background .2s;
}

.legal-sidebar nav a:hover {
    color: var(--text);
    background: var(--surface2);
}

.legal-sidebar nav a.active {
    color: var(--text);
    background: var(--accent-tint);
    border-left: 2px solid var(--accent);
    padding-left: 10px;
    font-weight: 700;
}

.legal-content h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 40px 0 16px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════ */
.not-found {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.not-found .code {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: -8px;
    color: var(--accent-bright);
    opacity: .15;
    line-height: 1;
}

.not-found h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
}

.not-found p {
    color: var(--text-sec);
    margin-bottom: 32px;
    font-size: var(--body-lg);
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.faq-left h2 {
    font-size: var(--h2);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.faq-left h2 em {
    font-style: italic;
    color: var(--accent-bright);
}

.faq-left p {
    color: var(--text-sec);
    margin-bottom: 32px;
    line-height: 1.7;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    gap: 16px;
    transition: color .2s;
}

.faq-q:hover {
    color: var(--accent-bright);
}

.faq-chev {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    transition: transform .25s;
}

.faq-item.open .faq-chev {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-body-in {
    padding: 0 0 18px;
    color: var(--text-sec);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   INTEGRATIONS MARQUEE
═══════════════════════════════════════════ */
.mq-track-wrap {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.mq-track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: marquee 28s linear infinite;
}

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

.mq-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-sec);
    white-space: nowrap;
}

.mq-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 1px var(--accent);
}

.process-step h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .btn-nav {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-logo img {
        height: 26px !important;
    }

    .section {
        padding: 72px 24px;
    }

    .page-hero {
        padding: 120px 24px 60px;
    }

    .cta-outer {
        padding: 48px 24px;
    }

    .cta-box {
        padding: 48px 28px;
    }

    .footer-w {
        padding: 48px 24px 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .case-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        display: none;
    }

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

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

    .process-steps::before {
        display: none;
    }

    .stats-band {
        grid-template-columns: 1fr 1fr;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-w {
        padding: 0 20px;
    }
}

@media (max-width:640px) {
    .page-hero h1 {
        letter-spacing: -2px;
    }

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

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

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

    .stats-band {
        grid-template-columns: 1fr 1fr;
    }

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

    .cta-form {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════
   DESIGN TOKENS — DARK & LIGHT
═══════════════════════════════════════════ */
:root {
    --blue-900: #1565C0;
    --blue-600: #1E88E5;
    --blue-400: #42A5F5;
    --blue-50: #E3F2FD;
    --neutral-950: #0D0D0D;
    --neutral-900: #1C1C1E;
    --neutral-500: #5E6778;
    --neutral-50: #F5F6F8;
    --success: #00C48C;
    --warning: #FFB300;
    --error: #E53935;
    --white: #FFFFFF;
    --h1: clamp(56px, 8vw, 92px);
    --h2: clamp(36px, 5vw, 56px);
    --h3: clamp(20px, 2.5vw, 28px);
    --body-lg: 18px;
    --body: 15px;
    --label: 11px;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 14px;
    --radius-lg: 24px;
    --max-w: 1200px;
    --transition: 0.22s ease;
}

[data-theme="dark"] {
    --bg: #0C0F14;
    --bg2: #111520;
    --surface: rgba(255, 255, 255, 0.04);
    --surface2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.18);
    --text: #FFFFFF;
    --text-sec: #9BA5B7;
    --text-muted: #4A5568;
    --accent: #1E88E5;
    --accent-bright: #42A5F5;
    --accent-glow: rgba(30, 136, 229, 0.25);
    --accent-tint: rgba(30, 136, 229, 0.08);
    --hatch-color: rgba(255, 255, 255, 0.028);
    --nav-bg: rgba(12, 15, 20, 0.85);
    --card-bg: rgba(17, 21, 32, 0.9);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    --grain-op: 0.04;
}

[data-theme="light"] {
    --bg: #F5F6F8;
    --bg2: #FFFFFF;
    --surface: rgba(0, 0, 0, 0.03);
    --surface2: rgba(0, 0, 0, 0.055);
    --border: rgba(0, 0, 0, 0.08);
    --border-bright: rgba(0, 0, 0, 0.2);
    --text: #0D0D0D;
    --text-sec: #5E6778;
    --text-muted: #9BA5B7;
    --accent: #1565C0;
    --accent-bright: #1E88E5;
    --accent-glow: rgba(21, 101, 192, 0.18);
    --accent-tint: rgba(21, 101, 192, 0.07);
    --hatch-color: rgba(0, 0, 0, 0.025);
    --nav-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    --grain-op: 0.025;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ═══════════════════════════════════════════
   GRAIN
═══════════════════════════════════════════ */
.grain-svg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 9999;
    pointer-events: none;
    opacity: var(--grain-op);
    mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════
   HATCH BG — GPU-accelerated parallax wrapper
═══════════════════════════════════════════ */
.hatch-bg-wrap {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hatch-bg {
    position: absolute;
    inset: -60px;
    background-image: repeating-linear-gradient(-45deg, rgb(0 0 0 / 1%) 0px, var(--hatch-color) 3px, transparent 1px, transparent 6px);
    transition: background-image 0.35s ease;
    will-change: transform;
}

/* ═══════════════════════════════════════════
   READING PROGRESS BAR
═══════════════════════════════════════════ */
#progress-bar {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    z-index: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform-origin: left;
}

/* ═══════════════════════════════════════════
   SECTION PROGRESS DOTS
═══════════════════════════════════════════ */
#section-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 400;
}

.s-dot-nav {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-bright);
    transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
    cursor: pointer;
}

.s-dot-nav.active {
    width: 10px;
    height: 14px;
    border-radius: 4px;
    background: var(--accent);
}

.s-dot-nav:not(.active) {
    opacity: 0.3;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
#cdot {
    display: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: background 0.2s, transform 0.2s;
}

#cring {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    will-change: transform;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: transparent;
    transition: width .3s, height .3s, background .3s, border-color .3s, color .3s;
}

#cring.big {
    width: 72px;
    height: 72px;
    background: var(--accent-tint);
    color: var(--accent);
    border-color: var(--accent);
}

#cring.small {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-color: var(--accent);
}

#cring.read {
    width: 60px;
    height: 60px;
    background: var(--accent-tint);
    color: var(--accent);
    border-color: var(--accent-bright);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS — Base
═══════════════════════════════════════════ */
.aos {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.aos.visible {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: 80ms;
}

.d2 {
    transition-delay: 160ms;
}

.d3 {
    transition-delay: 240ms;
}

.d4 {
    transition-delay: 320ms;
}

.d5 {
    transition-delay: 400ms;
}

/* Problem cards — rotateX flip entrance */
.prob-flip {
    opacity: 0;
    transform: perspective(800px) rotateX(8deg) translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.prob-flip.visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0);
}

/* Stats band entrance */
.stat-land {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-land.visible {
    opacity: 1;
    transform: none;
}

/* Blog card slide */
.blog-aos-l {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.blog-aos-l.visible {
    opacity: 1;
    transform: none;
}

.blog-aos-r {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.blog-aos-r.visible {
    opacity: 1;
    transform: scale(1);
}

/* Services diagonal wave */
.svc-wave {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.svc-wave.visible {
    opacity: 1;
    transform: none;
}

/* Word-by-word H1 */
.hero h1 .word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.hero h1 .word {
    display: inline-block;
    transform: translateY(40px);
    clip-path: inset(100% 0 0 0);
    transition: transform 0.6s cubic-bezier(.16, 1, .3, 1), clip-path 0.6s cubic-bezier(.16, 1, .3, 1);
    opacity: 0;
}

.hero h1 .word.revealed {
    transform: translateY(0);
    clip-path: inset(0% 0 0 0);
    opacity: 1;
}

/* Testimonial line reveal */
.feat-quote .line-wrap {
    display: block;
    overflow: hidden;
}

.feat-quote .line-inner {
    display: block;
    transform: translateY(100%);
    transition: transform 0.55s ease;
}

.feat-quote.revealed .line-inner {
    transform: none;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */


.nav-logo {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 14px;
    height: 14px;
    fill: white;
}

/* Nav links with underline animation */
.nav-links {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-sec);
}

.nav-links a {
    position: relative;
    transition: color var(--transition);
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* Theme toggle with pulse on click */
.theme-toggle {
    width: 40px;
    height: 24px;
    border-radius: 100px;
    background: var(--surface2);
    border: 1px solid var(--border);
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}

.theme-toggle.flash {
    animation: toggle-flash 0.3s ease;
}

@keyframes toggle-flash {
    0% {
        background: var(--surface2);
    }

    50% {
        background: var(--accent-tint);
    }

    100% {
        background: var(--surface2);
    }
}

.theme-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .theme-toggle-knob {
    transform: translateX(16px);
}

.theme-toggle-knob svg {
    width: 9px;
    height: 9px;
    fill: white;
}

.btn-nav {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px var(--accent-glow);
    transition: opacity 0.2s, transform 0.2s;
}

.btn-nav:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 130px 40px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Glow orb — reinstated with breathing animation */
.hero-orb {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    pointer-events: none;
    will-change: transform;
}

.hero-orb-inner {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, var(--accent-glow) 0%, transparent 68%);
    filter: blur(80px);
    animation: orb-breathe 6s ease-in-out infinite alternate;
    opacity: 0.18;
}

@keyframes orb-breathe {
    0% {
        opacity: 0.12;
    }

    100% {
        opacity: 0.22;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-bright);
    border-radius: 100px;
    padding: 6px 16px 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-sec);
    margin-bottom: 32px;
    background: var(--surface);
    letter-spacing: 0.2px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(0, 196, 140, 0.4);
    animation: pulse 2.2s ease infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 196, 140, 0.45);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(0, 196, 140, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 196, 140, 0);
    }
}

.hero h1 {
    font-size: var(--h1);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -3.5px;
    margin-bottom: 26px;
    will-change: transform;
}

.hero h1 .thin {
    font-weight: 300;
    color: var(--text-sec);
    font-style: italic;
}

.hero h1 .accent-word {
    color: var(--accent-bright);
}

.hero-sub {
    font-size: var(--body-lg);
    color: var(--text-sec);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* btn-primary with separate icon animation */
.btn-primary {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 10px 32px var(--accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    letter-spacing: -0.2px;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px var(--accent-glow);
}

.btn-primary .btn-arrow {
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-bright);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.rating-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 64px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 13px;
    height: 13px;
    fill: var(--warning);
}

/* Hero dashboard with glassmorphism */
.hero-dash {
    max-width: 820px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow), 0 0 0 1px var(--border);
    overflow: hidden;
    position: relative;
    z-index: 2;
    will-change: transform;
    transition: background 0.35s, border-color 0.35s;
}

.dash-topbar {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
}

.tbar-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.tbar-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.dash-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.dash-col {
    padding: 24px;
}

.dash-col+.dash-col {
    border-left: 1px solid var(--border);
}

.dash-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.s-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.s-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-sec);
    flex: 1;
}

.s-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.tag-live {
    background: rgba(0, 196, 140, 0.12);
    color: var(--success);
}

.tag-queue {
    background: rgba(255, 179, 0, 0.12);
    color: var(--warning);
}

.tag-run {
    background: rgba(66, 165, 245, 0.12);
    color: var(--accent-bright);
}

.wf-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.wf-node {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.wf-node.blue {
    background: var(--accent-tint);
    color: var(--accent-bright);
}

.wf-node.hot {
    background: var(--accent);
    color: #fff;
}

.wf-arr {
    color: var(--text-muted);
    flex-shrink: 0;
}

.wf-arr svg {
    width: 14px;
    height: 14px;
}

.big-stat {
    margin-bottom: 16px;
}

.big-stat-val {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    color: var(--text);
}

.big-stat-unit {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-bright);
}

.big-stat-label {
    font-size: 12px;
    color: var(--text-sec);
    margin-top: 4px;
}

.big-stat-up {
    font-size: 12px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-weight: 700;
}

.big-stat-up svg {
    width: 12px;
    height: 12px;
}

.mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ms {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}

.ms-val {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

.ms-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 600;
}

.ms-sub {
    font-size: 10px;
    color: var(--success);
    font-weight: 700;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════
   MARQUEE — dual-direction with edge fade
═══════════════════════════════════════════ */
.marquee-wrap {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: background 0.35s, border-color 0.35s;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-row {
    height: 56px;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-track.reverse {
    animation: marquee-rev 28s linear infinite;
}

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

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

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

    to {
        transform: translateX(0);
    }
}

.mq-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    border-right: 1px solid var(--border);
    letter-spacing: 0.3px;
    transition: transform 0.15s ease;
}

.mq-item:hover {
    transform: scale(1.1);
}

.mq-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SHARED SECTION
═══════════════════════════════════════════ */
.section {
    padding: 120px 40px;
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.surface-section {
    background: var(--bg2);
    transition: background 0.35s;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--label);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-bright);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-h {
    font-size: var(--h2);
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.0;
    margin-bottom: 18px;
}

.section-h em {
    font-style: italic;
    font-weight: 300;
    color: var(--text-sec);
}

.section-sub {
    font-size: var(--body-lg);
    color: var(--text-sec);
    max-width: 480px;
    line-height: 1.75;
}

/* glass cards with internal gradient */
.glass {
    background: var(--card-bg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%), var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: background 0.35s, border-color 0.22s;
}

.glass:hover {
    border-color: var(--border-bright);
}

[data-theme="light"] .glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
}

/* ═══════════════════════════════════════════
   PROBLEM
═══════════════════════════════════════════ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.prob-card {
    padding: 30px;
}

.prob-card:hover {
    border-color: var(--accent);
}

.prob-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-tint);
    border: 1px solid rgba(30, 136, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.22s ease;
}

.prob-card:hover .prob-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
}

.prob-icon-wrap svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-bright);
    fill: none;
}

.prob-card h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.prob-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.75;
}

/* chart */
.chart-card {
    padding: 32px;
    margin-top: 20px;
}

.chart-hd {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.c-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.c-lbl {
    font-size: 12px;
    color: var(--text-sec);
    font-weight: 600;
    min-width: 90px;
}

.c-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.c-track {
    height: 7px;
    background: var(--surface2);
    border-radius: 4px;
    overflow: hidden;
}

.c-fill {
    height: 100%;
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s cubic-bezier(.4, 0, .2, 1);
}

.c-fill.manual {
    background: var(--error);
    opacity: 0.6;
}

.c-fill.auto {
    background: var(--success);
}

.c-val {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    min-width: 72px;
    text-align: right;
}

/* Counter states inside c-val */
.c-val .from-val {
    display: inline;
}

.c-val .to-val {
    display: inline;
}

.chart-legend {
    display: flex;
    gap: 18px;
    margin-top: 12px;
}

.leg {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-sec);
    font-weight: 600;
}

.leg-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════ */
.stack-wrap {
    position: relative;
}

.s-card {
    position: sticky;
    top: 100px;
    margin-bottom: 0;
    padding: 48px;
    will-change: transform;
    transition: none;
}

/* Shadow depth by z-level */
.s-card:nth-child(1) {
    z-index: 1;
    top: 100px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.s-card:nth-child(2) {
    z-index: 2;
    top: 110px;
    background: var(--bg2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.s-card:nth-child(3) {
    z-index: 3;
    top: 120px;
    background: var(--bg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
    z-index: 3;
    background: var(--bg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.s-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.step-big {
    font-size: 110px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    letter-spacing: -6px;
    margin-bottom: -14px;
}

.s-card h3 {
    font-size: var(--h3);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.s-card p {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.8;
}

.s-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats band */
.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 56px;
}

.stat-box {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    color: var(--accent-bright);
}

.stat-label {
    font-size: 13px;
    color: var(--text-sec);
    margin-top: 6px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.svc {
    padding: 28px;
    transition: transform 0.22s, border-color 0.22s;
}

.svc:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.svc-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-tint);
    border: 1px solid rgba(30, 136, 229, 0.15);
    transition: transform 0.22s ease;
}

.svc:hover .svc-icon {
    transform: scale(1.1) rotate(-4deg);
}

.svc-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-bright);
    fill: none;
}

.svc h3 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}

.svc p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.7;
    margin-bottom: 14px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--surface2);
    color: var(--text-sec);
    letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════
   INTEGRATIONS
═══════════════════════════════════════════ */
.int-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
}

.int-sticky {
    position: sticky;
    top: 80px;
}

.int-dash {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    margin-top: 24px;
    transition: background 0.35s;
    will-change: transform;
}

.int-dash-hd {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.int-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 7px;
    margin-bottom: 3px;
    transition: background 0.15s;
}

.int-row:hover {
    background: var(--surface);
}

.int-d {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.int-lbl {
    font-size: 13px;
    color: var(--text-sec);
    flex: 1;
    font-weight: 500;
}

.int-b {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--surface2);
    color: var(--text-muted);
    font-weight: 600;
}

.int-total-num {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1;
    color: var(--text);
    margin-top: 18px;
}

.int-total-sub {
    font-size: 12px;
    color: var(--success);
    font-weight: 700;
    margin-top: 4px;
}

/* Integration stacked — slightly different bg per card */
.int-stacked .int-s-card {
    position: sticky;
    margin-bottom: 16px;
    padding: 26px;
}

.int-s-card:nth-child(1) {
    top: 80px;
    z-index: 1;
}

.int-s-card:nth-child(2) {
    top: 96px;
    z-index: 2;
    background: color-mix(in srgb, var(--card-bg) 95%, var(--accent) 5%);
}

.int-s-card:nth-child(3) {
    top: 112px;
    z-index: 3;
    background: color-mix(in srgb, var(--card-bg) 90%, var(--accent) 10%);
}

.int-card-hd {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.int-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.int-logo-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sec);
    text-align: center;
    transition: border-color 0.2s;
}

.int-logo-tile:hover {
    border-color: var(--accent);
}

.int-logo-tile .ico {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
}

.logo-grid-full {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 56px;
}

.ltile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-sec);
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.ltile:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.ltile .ico {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
}

/* ═══════════════════════════════════════════
   PRICING
═══════════════════════════════════════════ */
.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface);
    border-radius: 100px;
    padding: 4px;
    width: fit-content;
    margin: 0 auto 48px;
    border: 1px solid var(--border);
}

.t-opt {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.2s;
}

.t-opt.on {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.p-card {
    padding: 38px;
}

.p-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 48px var(--accent-glow);
}

.p-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.p-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.6px;
}

.popular {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 11px;
    border-radius: 100px;
    background: var(--accent-tint);
    color: var(--accent-bright);
    border: 1px solid rgba(30, 136, 229, 0.25);
}

/* Price animation container */
.price-anim {
    overflow: hidden;
    height: 1.1em;
    position: relative;
}

.price-anim-inner {
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1), opacity 0.35s;
}

.p-price {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -3px;
    margin: 14px 0 4px;
    line-height: 1;
}

.p-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
}

.p-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 30px;
}

.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-sec);
}

.chk {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.chk svg {
    width: 18px;
    height: 18px;
}

.btn-p {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    letter-spacing: -0.2px;
}

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

.btn-p.filled {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-p.filled:hover {
    box-shadow: 0 16px 40px var(--accent-glow);
}

.btn-p.outlined {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-bright);
}

.btn-p.outlined:hover {
    border-color: var(--accent);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.featured-t {
    padding: 44px;
    margin-top: 56px;
}

.quote-icon {
    margin-bottom: 20px;
}

.quote-icon svg {
    width: 36px;
    height: 28px;
}

.feat-quote {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.4px;
    margin-bottom: 30px;
    color: var(--text);
}

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

.av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
    color: #fff;
}

.av-name {
    font-size: 14px;
    font-weight: 800;
}

.av-role {
    font-size: 12px;
    color: var(--text-muted);
}

.t-stars {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.t-stars svg {
    width: 14px;
    height: 14px;
    fill: var(--warning);
}

.tgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.t-card {
    padding: 26px;
    transition: transform 0.22s;
}

.t-card:hover {
    transform: translateY(-3px);
}

.t-card p {
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.75;
    margin: 12px 0 18px;
}

.t-card .av-name {
    font-size: 13px;
}

.t-card .av-role {
    font-size: 11px;
}

/* ═══════════════════════════════════════════
   BLOG
═══════════════════════════════════════════ */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
}

.blog-card {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 36px;
    transition: transform 0.22s, border-color 0.22s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.blog-l {
    flex: 1;
}

.blog-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-bright);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.65;
}

.blog-meta {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.blog-r {
    width: 130px;
    height: 100px;
    border-radius: 12px;
    flex-shrink: 0;
    background: var(--accent-tint);
    border: 1px solid rgba(30, 136, 229, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.22s ease;
}

.blog-card:hover .blog-r {
    transform: scale(1.04);
}

.blog-r svg {
    width: 44px;
    height: 44px;
    stroke: var(--accent-bright);
    fill: none;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-bright);
    margin-top: 28px;
    letter-spacing: -0.2px;
    transition: gap 0.2s;
}

.view-all:hover {
    gap: 14px;
}

.view-all svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
}

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.faq-left h2 {
    font-size: var(--h2);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
    line-height: 1.05;
}

.faq-left h2 em {
    font-style: italic;
    font-weight: 300;
    color: var(--text-sec);
}

.faq-left p {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.8;
    margin-bottom: 28px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    user-select: none;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}

.faq-q:hover {
    color: var(--accent-bright);
}

.faq-item.open .faq-q {
    color: var(--accent-bright);
}

.faq-chev {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.32s ease;
    stroke: currentColor;
    fill: none;
}

.faq-item.open .faq-chev {
    transform: rotate(180deg);
}

.faq-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.36s ease;
}

.faq-body-in {
    padding-bottom: 18px;
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.85;
}

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-outer {
    padding: 60px 40px 120px;
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: var(--accent);
    border-radius: 24px;
    padding: 80px 80px;
    text-align: center;
}

.cta-hatch {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 18px);
}

/* Two-offset glows with slow drift animation */
.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 400px 300px at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 300px 200px at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    animation: cta-glow-drift 10s ease-in-out infinite alternate;
}

@keyframes cta-glow-drift {
    0% {
        background: radial-gradient(ellipse 400px 300px at 28% 18%, rgba(255, 255, 255, 0.15) 0%, transparent 70%), radial-gradient(ellipse 300px 200px at 70% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    }

    100% {
        background: radial-gradient(ellipse 400px 300px at 32% 22%, rgba(255, 255, 255, 0.15) 0%, transparent 70%), radial-gradient(ellipse 300px 200px at 72% 82%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    }
}

.cta-box h2 {
    font-size: var(--h2);
    font-weight: 900;
    letter-spacing: -2.5px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.0;
    position: relative;
    z-index: 1;
}

.cta-box h2 em {
    font-style: italic;
    font-weight: 300;
    opacity: 0.75;
}

.cta-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 440px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
}

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
}

.cta-input {
    flex: 1;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.cta-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: var(--radius);
    background: #fff;
    color: var(--accent);
    border: none;
    transition: transform 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.btn-white:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.cta-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    background: var(--neutral-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 72px 40px 36px;
    transition: background 0.35s;
}

[data-theme="light"] footer {
    background: var(--neutral-950);
}

.footer-w {
    max-width: var(--max-w);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    margin-bottom: 56px;
}

.fb h3 {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb p {
    font-size: 13px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 8px;
}

.soc {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: border-color 0.2s, color 0.2s;
}

.soc:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.soc svg {
    width: 15px;
    height: 15px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.f-col h4 {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    margin-bottom: 14px;
}

.f-col a {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 9px;
    transition: color 0.2s;
}

.f-col a:hover {
    color: #fff;
}

.footer-btm {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #333;
}

.footer-btm a {
    color: #333;
    transition: color 0.2s;
}

.footer-btm a:hover {
    color: #fff;
}

.footer-btm-links {
    display: flex;
    gap: 20px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {

    .problem-grid,
    .services-grid,
    .tgrid,
    .pricing-grid,
    .s-card-inner,
    .int-layout,
    .faq-layout,
    .footer-top,
    .dash-body {
        grid-template-columns: 1fr;
    }

    .dash-col+.dash-col {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    nav {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero,
    .section,
    .cta-outer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cta-box {
        padding: 48px 28px;
    }

    .stats-band {
        grid-template-columns: 1fr 1fr;
    }

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

    .logo-grid-full {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-r {
        width: 100%;
        height: 80px;
    }

    .cta-form {
        flex-direction: column;
    }

    *,
    *::before,
    *::after {
        cursor: auto !important;
    }

    #cdot,
    #cring {
        display: none;
    }

    #section-dots {
        display: none;
    }

    .marquee-row.reverse-row {
        display: none;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .big-stat-val {
        font-size: 38px !important;
    }

    .ms-val {
        font-size: 18px !important;
    }

    .wf-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}
/* ══════════════════════════════════════
   ROI CALCULATOR
═══════════════════════════════════════ */
.roi-calc {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 20px;
}

.roi-sliders { margin-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }

.roi-field {}

.roi-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}

.roi-label-row label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.roi-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-bright);
  white-space: nowrap;
  min-width: 52px;
  text-align: right;
}

.roi-range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  outline: none;
  background: var(--border);
  cursor: pointer;
  transition: opacity .15s;
}
.roi-range:hover { opacity: .9; }
.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: var(--accent-bright);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-bright);
}
.roi-range::-moz-range-thumb {
  width: 20px; height: 20px;
  background: var(--accent-bright);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.roi-result-card {
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .2s;
}
.roi-result-card:hover { transform: translateY(-3px); }

.roi-result-loss { border-color: rgba(239,68,68,.25); }
.roi-result-cost { border-color: rgba(251,146,60,.25); }
.roi-result-save { border-color: rgba(0,196,140,.3); background: rgba(0,196,140,.05); }

.roi-result-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.roi-result-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--text);
}

.roi-result-loss .roi-result-value { color: #ef4444; }
.roi-result-cost .roi-result-value { color: #fb923c; }
.roi-result-save .roi-result-value { color: var(--success); }

.roi-result-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 700px) {
  .roi-calc { padding: 28px 20px; }
  .roi-results { grid-template-columns: 1fr; }
  .roi-result-value { font-size: 28px; }
}

/* ══════════════════════════════════════
   THEME-AWARE LOGOS
═══════════════════════════════════════ */
[data-theme="light"] .logo-dark-img  { display: none !important; }
[data-theme="light"] .logo-light-img { display: inline-block !important; }
[data-theme="dark"]  .logo-light-img { display: none !important; }
[data-theme="dark"]  .logo-dark-img  { display: inline-block !important; }
