/* RESET + THEME TOKENS */

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

:root {
    --bg-dark: #04102e;
    --bg-darker: #030d1a;
    --blue-400: #60a5fa;
    --cyan-400: #22d3ee;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --hero-grid-cell-size: 40px;
    --hero-grid-offset-x: 0px;
    --hero-grid-offset-y: 0px;
    --spa-transition-ms: 220ms;
    --spa-enter-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --spa-exit-ease: cubic-bezier(0.4, 0, 1, 1);
    --container-gutter: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    background: var(--bg-dark);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* UTILITIES */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

.grad-text {
    background: linear-gradient(90deg, #60a5fa, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 4px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-400);
    margin-bottom: 12px;
    display: block;
}

.section-label-cyan {
    color: var(--cyan-400);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-sub {
    color: var(--slate-400);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(59, 130, 246, 0.4),
            transparent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-has-icon,
.btn:has(svg) {
    padding-top: 14px;
    padding-bottom: 14px;
}

.btn>svg {
    display: block;
    margin: 0;
    align-self: center;
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    color: #fff;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
    transform: translateY(-1px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1rem;
}

svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* NAVBAR */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s;
    padding: 24px 0;
}

#navbar.scrolled {
    background: rgba(2, 8, 23, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

#navbar.menu-open:not(.scrolled) {
    padding: 24px 0;
}

#navbar.menu-open.scrolled {
    padding: 14px 0;
}

#navbar>.container {
    max-width: 1100px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--slate-400);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

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

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-nav-cta {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.54), rgba(6, 182, 212, 0.5));
    color: #eaf3ff;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.01em;
    line-height: 1;
    margin-left: auto;
    margin-right: 10px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.18);
    opacity: 0.82;
    transform: translateX(0);
    transition: opacity 0.24s ease, transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease, color 0.24s ease;
}

.mobile-nav-cta svg {
    width: 13px;
    height: 13px;
}

#navbar.menu-open .mobile-nav-cta {
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:focus-visible,
.mobile-nav-cta:active {
    opacity: 1;
    color: #fff;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.82), rgba(6, 182, 212, 0.78));
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.26);
}

.hamburger:hover {
    border-color: rgba(96, 165, 250, 0.58);
    background: rgba(15, 23, 42, 0.52);
}

.hamburger-box {
    position: relative;
    width: 20px;
    height: 16px;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 7px;
}

.hamburger-line:nth-child(3) {
    top: 14px;
}

.hamburger.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 0;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.28s ease,
        padding 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        margin-top 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-1 * var(--container-gutter));
    width: calc(100% + (var(--container-gutter) * 2));
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
    max-height: 340px;
    opacity: 1;
    pointer-events: auto;
    padding: 24px 0 16px;
    margin-top: 14px;
}

#navbar.menu-open:not(.scrolled) .mobile-menu.open {
    margin-top: 22px;
}

.mobile-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transform: translateY(-6px);
    transition: color 0.2s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
}

.mobile-menu a:not(.btn) {
    position: relative;
}

.mobile-menu.open a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.open a:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu.open a:nth-child(2) {
    transition-delay: 0.10s;
}

.mobile-menu.open a:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu.open a:nth-child(4) {
    transition-delay: 0.20s;
}

.mobile-menu.open a:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-menu a:hover {
    color: var(--blue-400);
}

.mobile-menu a.btn {
    color: white;
}

.mobile-menu a.nav-active {
    color: #fff;
}

.mobile-menu a.nav-active:not(.btn) {
    display: inline-flex;
    align-items: center;
}

.mobile-menu a.nav-active:not(.btn)::after {
    content: "";
    display: inline-block;
    width: 7px !important;
    height: 7px;
    margin-left: 10px;
    margin-top: 3px;
    flex: 0 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.open a.nav-active:not(.btn)::after {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0s;
}

.mobile-menu-cta {
    width: 100%;
    justify-content: center;
    font-weight: 600 !important;
    margin-top: 11px;
    margin-bottom: 8px;
}

#navbar.menu-open:not(.scrolled) .mobile-menu-cta {
    margin-bottom: 0;
}

/* PAGE BLUR OVERLAY */
.page-blur-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 8, 23, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-blur-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {

    .logo-text {
        font-size: 1.15rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-nav-cta {
        display: inline-flex;
    }

    .hamburger {
        display: flex;
    }
}

/* HERO */

#hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg-dark);
    padding: 100px 0 80px;
    --hero-grid-offset-x: 0px;
    --hero-grid-offset-y: 0px;
    --hero-grid-cell-size: 40px;
    --hero-grid-focus-1-x: 8%;
    --hero-grid-focus-1-y: 8%;
    --hero-grid-focus-2-x: 92%;
    --hero-grid-focus-2-y: 8%;
    --hero-grid-focus-3-x: 8%;
    --hero-grid-focus-3-y: 92%;
    --hero-grid-focus-4-x: 92%;
    --hero-grid-focus-4-y: 92%;
}

.hero-orb1 {
    position: absolute;
    z-index: 0;
    top: 25%;
    left: 25%;
    width: 600px;
    height: 600px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    filter: blur(120px);
    animation: orb-pulse 4s ease-in-out infinite;
}

.hero-orb2 {
    position: absolute;
    z-index: 0;
    bottom: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.15);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: linear-gradient(rgba(96, 165, 250, 0.14) 1px,
            transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.14) 1px, transparent 1px);
    background-size: var(--hero-grid-cell-size, 40px) var(--hero-grid-cell-size, 40px);
    background-position: var(--hero-grid-offset-x, 0px) var(--hero-grid-offset-y, 0px);
}

.hero-grid-base {
    z-index: 0;
    opacity: 0.26;
}

.hero-grid-active {
    z-index: 1;
    opacity: 0.9;
    mask-image:
        radial-gradient(320px circle at var(--hero-grid-focus-1-x) var(--hero-grid-focus-1-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-2-x) var(--hero-grid-focus-2-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-3-x) var(--hero-grid-focus-3-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-4-x) var(--hero-grid-focus-4-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%);
    -webkit-mask-image:
        radial-gradient(320px circle at var(--hero-grid-focus-1-x) var(--hero-grid-focus-1-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-2-x) var(--hero-grid-focus-2-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-3-x) var(--hero-grid-focus-3-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-4-x) var(--hero-grid-focus-4-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.hero-grid-sparkles {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.92;
    pointer-events: none;
    overflow: hidden;
    mask-image:
        radial-gradient(320px circle at var(--hero-grid-focus-1-x) var(--hero-grid-focus-1-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-2-x) var(--hero-grid-focus-2-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-3-x) var(--hero-grid-focus-3-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-4-x) var(--hero-grid-focus-4-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%);
    -webkit-mask-image:
        radial-gradient(320px circle at var(--hero-grid-focus-1-x) var(--hero-grid-focus-1-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-2-x) var(--hero-grid-focus-2-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-3-x) var(--hero-grid-focus-3-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%),
        radial-gradient(320px circle at var(--hero-grid-focus-4-x) var(--hero-grid-focus-4-y), #000 0%, rgba(0, 0, 0, 0.98) 42%, transparent 78%);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.hero-grid-active.reveal,
.hero-grid-sparkles.reveal {
    transform: none;
}

.hero-grid-active.reveal.visible {
    opacity: 0.9;
}

.hero-grid-sparkles.reveal.visible {
    opacity: 0.92;
}

.hero-grid-sparkle {
    position: absolute;
    width: var(--hero-grid-cell-size);
    height: var(--hero-grid-cell-size);
    border-radius: 0;
    left: 0;
    top: 0;
    transform: translate3d(var(--sparkle-x, 0px), var(--sparkle-y, 0px), 0);
    background: rgba(255, 255, 255, 0.72);
    opacity: 0.018;
    animation: hero-sparkle-pulse var(--sparkle-cycle-ms, 2200ms) ease-in-out infinite;
    animation-delay: var(--sparkle-delay-ms, 0ms);
    will-change: transform, opacity;
}

@keyframes hero-sparkle-pulse {
    0%,
    72%,
    100% {
        opacity: 0.018;
    }

    34% {
        opacity: var(--sparkle-peak, 0.12);
    }
}

@supports not ((mask-image: radial-gradient(black, transparent))) {
    .hero-grid-active {
        opacity: 0.14;
    }

    .hero-grid-sparkles {
        display: none;
    }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse 80% 50% at 50% -20%,
            rgba(59, 130, 246, 0.15),
            transparent);
}

/* hero two-col layout */
.hero-inner {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        #hero::before {
            content: "";
            position: absolute;
            left: max(10px, calc((100vw - 1200px) / 2 - 40px));
            width: min(780px, calc(52vw));
            top: clamp(68px, 10vh, 120px);
            height: clamp(440px, 74vh, 700px);
            border-radius: 32px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            pointer-events: none;
            z-index: 2;
            -webkit-mask-image:
                linear-gradient(to right, transparent 0%, #fff 18%, #fff 82%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, #fff 22%, #fff 78%, transparent 100%);
            mask-image:
                linear-gradient(to right, transparent 0%, #fff 18%, #fff 82%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, #fff 22%, #fff 78%, transparent 100%);
            -webkit-mask-composite: source-in;
            mask-composite: intersect;
        }

        .hero-content::before,
        .hero-content::after {
            content: none !important;
        }
    }
}

.hero-visual {
    flex-shrink: 0;
    width: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

@media (max-width: 1100px) {
    .hero-visual {
        display: none;
    }
}

/* CODE WINDOW */

.code-window {
    width: 100%;
    height: 489px;
    border-radius: 16px;
    background: rgba(2, 8, 23, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.15),
        0 0 120px rgba(6, 182, 212, 0.08);
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.hero-code-window.reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.965);
    filter: blur(2px);
    transition:
        opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1) 260ms,
        transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) 260ms,
        filter 1.15s cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}

.hero-code-window.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.hero-code-window.cw-typing-pending .cw-body {
    opacity: 0;
}

.hero-code-window.cw-typing-ready .cw-body {
    opacity: 1;
    transition: opacity 220ms ease;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.cw-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.cw-dot-r {
    background: #ef4444;
}

.cw-dot-y {
    background: #f59e0b;
}

.cw-dot-g {
    background: #22c55e;
}

.cw-filename {
    color: var(--slate-500);
    font-size: 0.78rem;
    margin-left: 8px;
    font-family: "Courier New", monospace;
}

.cw-body {
    padding: 20px 24px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.82rem;
    line-height: 1.8;
}

.cw-line {
    display: flex;
    gap: 16px;
}

.cw-ln {
    color: rgba(100, 116, 139, 0.5);
    user-select: none;
    width: 16px;
    text-align: right;
    flex-shrink: 0;
}

.cw-code {
    flex: 1;
}

.tok-kw {
    color: #818cf8;
}

/* keyword-indigo */

.tok-fn {
    color: #60a5fa;
}

/* function-blue */

.tok-str {
    color: #34d399;
}

/* string-green */

.tok-cm {
    color: #475569;
    font-style: italic;
}

/* comment-muted */

.tok-px {
    color: #f472b6;
}

/* prop-pink */

.tok-nb {
    color: #22d3ee;
}

/* number/cyan */

.tok-pl {
    color: #e2e8f0;
}

/* plain */

/* typing cursor on last line */
.cw-cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: #60a5fa;
    vertical-align: middle;
    margin-left: 1px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* floating stat badges */
.cw-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(2, 8, 23, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    will-change: opacity, transform;
}

.cw-badge-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-perf {
    top: -20px;
    right: -10px;
    color: #86efac;
    background: rgba(2, 8, 23, 0.92);
    border-color: rgba(34, 197, 94, 0.35);
    animation: badgeIn 480ms cubic-bezier(0.22, 1, 0.36, 1) 220ms forwards,
        float 5s 0.8s ease-in-out infinite;
}

.badge-perf .cw-badge-icon {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.badge-seo {
    bottom: 80px;
    left: -16px;
    color: #93c5fd;
    background: rgba(2, 8, 23, 0.92);
    border-color: rgba(96, 165, 250, 0.35);
    animation: badgeIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards,
        float 5.5s 1.25s ease-in-out infinite;
}

.badge-seo .cw-badge-icon {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
}

.badge-speed {
    bottom: -20px;
    right: 40px;
    color: #fcd34d;
    background: rgba(2, 8, 23, 0.92);
    border-color: rgba(245, 158, 11, 0.35);
    animation: badgeIn 520ms cubic-bezier(0.22, 1, 0.36, 1) 620ms forwards,
        float 4.8s 0.9s ease-in-out infinite;
}

.badge-speed .cw-badge-icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
}

@keyframes badgeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px 2px rgba(59, 130, 246, 0.8);
    animation: orb-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-h1 {
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-p {
    font-size: 1.1rem;
    color: var(--slate-400);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 40px;
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-subcta {
    margin: 0;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    max-width: 100%;
    padding: 0;
    align-self: flex-start;
}

.hero-subcta-label {
    color: #9eb8dd;
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.2;
}

.hero-subcta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #9be8ff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    text-decoration-color: rgba(125, 211, 252, 0.5);
    text-underline-offset: 3px;
    line-height: 1;
    margin-left: 0;
    transition: color 0.2s, text-decoration-color 0.2s;
    white-space: nowrap;
}

.hero-subcta-link svg {
    flex-shrink: 0;
}

.hero-subcta-link:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.75);
}

.hero-proof {
    margin-top: 4px;
    max-width: 440px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hero-proof span {
    display: inline-flex;
    min-width: 0;
    width: max-content;
    max-width: 100%;
    justify-self: start;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 24px;
    color: #d8e8ff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.004em;
    line-height: 1.2;
}

.hero-proof span:nth-child(3) {
    margin-left: -4px;
}

.hero-proof-icon {
    display: block;
    width: 16px;
    height: 16px;
    color: #22d3ee;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.28));
    flex-shrink: 0;
}

/* SCROLL HINT */

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    opacity: 0;
    animation: scrollHintFadeIn 1s ease 1.6s forwards;
    transition: opacity 0.4s ease;
}

.scroll-hint.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.scroll-hint-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.6);
}

.scroll-hint-line {
    width: 1px;
    height: 44px;
    position: relative;
    background: rgba(100, 116, 139, 0.15);
    overflow: hidden;
    border-radius: 1px;
}

.scroll-hint-line::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(180deg, transparent, #60a5fa);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -12px;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 48px;
        opacity: 0;
    }
}

@keyframes scrollHintFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .scroll-hint {
        bottom: 20px;
    }

    .scroll-hint-line {
        height: 34px;
    }

    @keyframes scrollLine {
        0% {
            top: -12px;
            opacity: 0;
        }

        20% {
            opacity: 1;
        }

        80% {
            opacity: 1;
        }

        100% {
            top: 36px;
            opacity: 0;
        }
    }
}

#hero-feature-carousel {
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 2;
}

#hero-feature-carousel::before {
    content: "";
    position: absolute;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% -45%, rgba(59, 130, 246, 0.28), transparent 58%),
        radial-gradient(circle at 84% 140%, rgba(6, 182, 212, 0.2), transparent 56%),
        linear-gradient(180deg, rgba(4, 16, 46, 0.86) 0%, rgba(4, 16, 46, 0.64) 52%, rgba(4, 16, 46, 0.42) 100%),
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size:
        auto,
        auto,
        auto,
        50px 50px,
        50px 50px;
}

#hero-feature-carousel>* {
    position: relative;
    z-index: 1;
}

.feature-stripe-shell {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(96, 165, 250, 0.25);
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
    background:
        linear-gradient(90deg, rgba(8, 22, 56, 0.6), rgba(12, 36, 86, 0.68) 45%, rgba(8, 22, 56, 0.6));
    box-shadow:
        inset 0 1px 0 rgba(96, 165, 250, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 -8px 32px -8px rgba(59, 130, 246, 0.1);
}

.feature-stripe-shell::before,
.feature-stripe-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.feature-stripe-shell::before {
    left: 0;
    background: linear-gradient(90deg, rgba(4, 16, 46, 1) 0%, rgba(4, 16, 46, 0) 100%);
}

.feature-stripe-shell::after {
    right: 0;
    background: linear-gradient(270deg, rgba(4, 16, 46, 1) 0%, rgba(4, 16, 46, 0) 100%);
}

.feature-stripe-rail {
    display: flex;
    width: max-content;
    animation: feature-stripe-scroll 64s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.feature-stripe-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.feature-stripe-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0 30px;
    color: rgba(219, 234, 254, 0.9);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s;
}

.feature-stripe-item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    background: #22d3ee;
    box-shadow: 0 0 6px rgba(34, 211, 238, 0.6), 0 0 12px rgba(34, 211, 238, 0.3);
}

.feature-stripe-item {
    border-right: 1px solid rgba(96, 165, 250, 0.2);
}

@keyframes feature-stripe-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes orb-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* hero-visual-wrap must match .hero-visual width */
.hero-visual-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
}

@media (max-width: 768px) {

    #hero {
        min-height: auto;
        padding: 108px 0 56px;
        align-items: flex-start;
    }

    .hero-inner {
        align-items: flex-start;
        gap: 28px;
    }

    .hero-h1 {
        font-size: clamp(2.5rem, 7vw, 4.5rem);
    }

    .hero-p, .section-sub {
        font-size: 1rem;
    }

    .hero-subcta-label {
        font-size: 0.76rem;
    }

    .hero-subcta-link {
        font-size: 0.72rem;
        gap: 4px;
    }

    .hero-proof {
        margin-top: 0;
        margin-bottom: 40px;
        column-gap: 0px;
    }

    .hero-proof span {
        font-size: 0.56rem;
    }

    .hero-proof-icon {
        width: 12px;
        height: 12px;
    }

    .hero-orb1 {
        top: -5%;
        left: -15%;
        width: 500px;
        height: 500px;
        filter: none;
        animation: none;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
        opacity: 1;
    }

    .hero-orb2 {
        bottom: -5%;
        right: -15%;
        width: 380px;
        height: 380px;
        filter: none;
        animation: none;
        background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
        opacity: 0.8;
    }

    .hero-grid-base {
        opacity: 0.18;
    }

    .hero-grid-active {
        display: none;
    }

    .hero-grid-sparkles {
        display: none;
    }

    .feature-stripe-shell::before,
    .feature-stripe-shell::after {
        width: 80px;
    }

    .feature-stripe-rail {
        animation-duration: 24s;
    }

    .feature-stripe-item {
        height: 50px;
        padding: 0 22px;
        font-size: 0.82rem;
        letter-spacing: 0.03em;
    }

    #hero-feature-carousel::before {
        inset: -94px 0 -10px;
        background:
            linear-gradient(180deg, rgba(4, 16, 46, 0.62) 0%, rgba(4, 16, 46, 0.44) 58%, rgba(4, 16, 46, 0.3) 100%);
        background-size: auto;
    }
}

@media (max-width: 390px) {
    .hero-h1 {
        font-size: clamp(2.3rem, 7vw, 4.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-stripe-rail {
        animation: none;
    }

    .hero-grid {
        background-position: 0 0;
    }

    .hero-grid-sparkle {
        animation: none;
        opacity: 0.06;
    }
}

/* CARDS */

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.icon-box-red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.icon-box-blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.icon-box-trust {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.28);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.card-desc {
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-answer a,
.card-desc a {
    color: var(--blue-400);
    transition: color 0.3s ease;
}

.faq-answer a:hover,
.card-desc a:hover {
    color: var(--cyan-400);
}

/* PROBLEM */

#problem {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.problem-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.08);
    transform: translateY(-2px);
}

.problem-card:hover .icon-box-red {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

/* SOLUTION */

#solution {
    padding: 112px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.solution-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.07) 0%,
            transparent 100%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.solution-card:hover {
    border-color: rgba(96, 165, 250, 0.4);
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.14) 0%,
            transparent 100%);
    box-shadow:
        0 0 42px rgba(59, 130, 246, 0.22),
        0 0 84px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.solution-card:hover .icon-box-blue {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.problem-card .card-head-inline,
.solution-card .card-head-inline {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.problem-card .card-head-inline .icon-box,
.solution-card .card-head-inline .icon-box {
    margin-bottom: 0;
}

.problem-card .card-head-inline .card-title,
.solution-card .card-head-inline .card-title {
    margin-bottom: 0;
}

/* TRUST & STANDARDS */

#trustsstandards {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

#trustsstandards::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 24%, rgba(59, 130, 246, 0.12), transparent 45%),
        radial-gradient(circle at 84% 78%, rgba(6, 182, 212, 0.1), transparent 45%);
    pointer-events: none;
}

.standards-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.07) 0%, rgba(6, 182, 212, 0.05) 55%, rgba(59, 130, 246, 0.04) 100%);
    pointer-events: none;
}

.standards-glow::before {
    content: "";
    position: absolute;
    top: -128px;
    left: 50%;
    width: 620px;
    height: 340px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 38% 44%, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0) 44%),
        radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 74%);
    filter: blur(30px);
    pointer-events: none;
    animation: fit-glow-float 10s ease-in-out infinite;
}

#trustsstandards .section-label {
    color: var(--blue-400);
}

#trustsstandards .section-sub {
    color: #b8c6dd;
}

.standards-layout {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
}

.standards-layout::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(96, 165, 250, 0), rgba(96, 165, 250, 0.35), rgba(96, 165, 250, 0));
}

.standards-column {
    display: flex;
    flex-direction: column;
}

.standards-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.standards-column .standards-item:last-child {
    border-bottom: none;
}

.standards-item:hover .icon-box-trust {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.2);
}

.standards-title {
    font-size: 1.03rem;
    font-weight: 700;
    color: #e6efff;
    margin-bottom: 7px;
}

.standards-desc {
    color: #a6b8d3;
    font-size: 0.91rem;
    line-height: 1.62;
}

@media (max-width: 960px) {
    .standards-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .standards-layout::before {
        display: none;
    }

    .standards-column:first-child .standards-item:last-child {
        border-bottom: 1px solid rgba(148, 163, 184, 0.16);
        margin-bottom: 0;
    }
}

/* GROWTH EXPECTATIONS */

#growth-expectations {
    padding: 112px 0;
    background:
        linear-gradient(180deg, var(--bg-dark) 0%, #08214f 46%, #081f49 100%);
    position: relative;
    overflow: hidden;
}

#growth-expectations::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(44% 40% at 50% 20%, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 74%),
        radial-gradient(38% 34% at 22% 34%, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0) 72%),
        radial-gradient(36% 32% at 78% 66%, rgba(6, 182, 212, 0.05) 0%, rgba(6, 182, 212, 0) 72%);
    pointer-events: none;
}

#growth-expectations::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 8, 23, 0.24) 0%, rgba(2, 8, 23, 0) 16%, rgba(2, 8, 23, 0) 80%, rgba(2, 8, 23, 0.26) 100%);
    pointer-events: none;
}

#growth-expectations .section-sub {
    max-width: 760px;
}

.growth-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.traffic-graph-card {
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.02) 0%, rgba(15, 23, 42, 0.75) 100%);
    padding: 26px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.traffic-graph-card.reveal {
    opacity: 1;
}

.traffic-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.traffic-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.traffic-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
    border: 1px solid rgba(125, 211, 252, 0.38);
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.26), rgba(56, 189, 248, 0.14));
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.28);
    flex-shrink: 0;
    transform: translateY(1px);
}

.traffic-card-icon svg {
    width: 21px;
    height: 21px;
}

.traffic-card-head h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #e6efff;
    margin: 0;
}

.traffic-card-head>span {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan-400);
    font-weight: 700;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

.traffic-graph-wrap {
    position: relative;
    padding-left: 56px;
    padding-bottom: 16px;
    margin-bottom: -5px;
    right: 5px;
}

.traffic-y-labels {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 18px;
    width: 50px;
    pointer-events: none;
}

.traffic-y-labels span {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: var(--slate-500);
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
}

.traffic-y-labels .y-high {
    top: 24.24%;
}

.traffic-y-labels .y-upper {
    top: 43.33%;
}

.traffic-y-labels .y-mid {
    top: 62.73%;
}

.traffic-y-labels .y-base {
    top: 82.12%;
}

.traffic-graph {
    width: 100%;
    height: auto;
    display: block;
}

.traffic-graph line {
    stroke: rgba(148, 163, 184, 0.18);
    stroke-width: 1;
}

.traffic-graph .traffic-axis-y {
    stroke: rgba(148, 163, 184, 0.26);
    stroke-width: 1.2;
}

.traffic-area {
    fill: url(#trafficAreaFill);
}

.traffic-curve {
    fill: none;
    stroke: #38bdf8;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.traffic-graph circle {
    fill: #60a5fa;
    stroke: #0f172a;
    stroke-width: 2;
}

.traffic-graph-card.reveal .traffic-curve {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.traffic-graph-card.reveal .traffic-area {
    transform-box: fill-box;
    transform-origin: left center;
}

.traffic-graph-card.reveal .traffic-graph circle {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0);
    transition: transform 0.35s ease;
}

.traffic-graph-card.reveal .traffic-graph circle:nth-of-type(1) {
    transition-delay: 0.34s;
}

.traffic-graph-card.reveal .traffic-graph circle:nth-of-type(2) {
    transition-delay: 0.46s;
}

.traffic-graph-card.reveal .traffic-graph circle:nth-of-type(3) {
    transition-delay: 0.58s;
}

.traffic-graph-card.reveal .traffic-graph circle:nth-of-type(4) {
    transition-delay: 0.7s;
}

.traffic-graph-card.reveal.visible .traffic-curve {
    stroke-dashoffset: 0;
}

.traffic-graph-card.reveal.visible .traffic-area {
    transform: scaleX(1);
}

.traffic-graph-card.reveal.visible .traffic-graph circle {
    transform: scale(1);
}

.traffic-x-labels {
    position: absolute;
    left: 56px;
    right: 0;
    bottom: 0;
    height: 24px;
    pointer-events: none;
}

.traffic-x-labels span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.traffic-x-labels .x-launch {
    left: 6.25%;
}

.traffic-x-labels .x-m1 {
    left: 34.375%;
}

.traffic-x-labels .x-m3 {
    left: 62.5%;
}

.traffic-x-labels .x-m6 {
    left: 90.625%;
}

.traffic-divider {
    width: 100%;
    height: 1px;
    margin: 23.5px 0;
    background: rgba(148, 163, 184, 0.16)
}

.traffic-footnote {
    color: var(--slate-500);
    font-size: 0.8rem;
    line-height: 1.55;
}

.traffic-snapshot {
    margin: 0;
    padding: 0;
}

.traffic-snapshot-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.traffic-snapshot-head h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #dbeafe;
}

.traffic-snapshot-head span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
    font-weight: 700;
}

.snapshot-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 98px;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.snapshot-label {
    font-size: 0.82rem;
    color: #b6cae7;
}

.snapshot-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.2);
    overflow: hidden;
}

.snapshot-bar span {
    display: block;
    width: var(--fill);
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

.traffic-graph-card.reveal .snapshot-bar span {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.traffic-graph-card.reveal .traffic-snapshot .snapshot-row:nth-child(2) .snapshot-bar span {
    transition-delay: 0.44s;
}

.traffic-graph-card.reveal .traffic-snapshot .snapshot-row:nth-child(3) .snapshot-bar span {
    transition-delay: 0.56s;
}

.traffic-graph-card.reveal .traffic-snapshot .snapshot-row:nth-child(4) .snapshot-bar span {
    transition-delay: 0.68s;
}

.traffic-graph-card.reveal.visible .snapshot-bar span {
    transform: scaleX(1);
}

.snapshot-value {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--cyan-400);
    text-transform: uppercase;
    text-align: right;
    white-space: nowrap;
}

.growth-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.growth-step {
    position: relative;
    padding: 14px 16px 14px 20px;
    border-left: 2px solid rgba(96, 165, 250, 0.35);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 12px 12px 0;
}

.growth-step::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.growth-step-time {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan-400);
    margin-bottom: 7px;
}

.growth-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #e6efff;
    margin-bottom: 6px;
}

.growth-step p {
    color: #a6b8d3;
    font-size: 0.9rem;
    line-height: 1.58;
}

@media (max-width: 1024px) {
    .growth-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .traffic-graph-card {
        padding: 20px;
    }

    .traffic-card-head {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas:
            "icon meta"
            "icon title";
        column-gap: 12px;
        row-gap: 4px;
        align-items: center;
    }

    .traffic-card-title {
        display: contents;
    }

    .traffic-card-icon {
        grid-area: icon;
        align-self: center;
        transform: none;
    }

    .traffic-card-head h3 {
        grid-area: title;
        font-size: 1rem;
    }

    .traffic-card-head>span {
        grid-area: meta;
        margin-left: 0;
        white-space: nowrap;
        text-align: left;
    }

    .traffic-graph-wrap {
        padding-left: 40px;
        padding-bottom: 20px;
        position: relative;
        right: 5px;
    }

    .traffic-y-labels {
        width: 36px;
        bottom: 24px;
    }

    .traffic-y-labels span {
        font-size: 0.66rem;
    }

    .traffic-x-labels {
        left: 44px;
        height: 22px;
    }

    .traffic-x-labels span {
        font-size: 0.68rem;
    }

    .snapshot-row {
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 6px;
        row-gap: 6px;
        padding: 8px 0;
    }

    .snapshot-row .snapshot-label,
    .snapshot-row .snapshot-value {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .snapshot-row .snapshot-label {
        color: #b6cae7;
        grid-column: 1;
        grid-row: 1;
    }

    .snapshot-row .snapshot-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .snapshot-value {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        text-align: left;
        white-space: normal;
        font-size: 0.68rem!important;
    }
}

.no-hidden {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-top: 64px;
}

/* HOW IT WORKS */

#how {
    padding: 112px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.step {
    text-align: center;
    position: relative;
}

.step-icon-wrap {
    width: 96px;
    height: 96px;
    position: relative;
    margin: 0 auto 24px;
}

.step-icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.2);
    filter: blur(16px);
    transition: all 0.3s;
}

.step:hover .step-icon-glow {
    background: rgba(59, 130, 246, 0.3);
}

.step-icon-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.15) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.step:hover .step-icon-box {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.step-num {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 48px;
        left: calc(50% + 52px);
        width: calc(100% - 104px);
        height: 1px;
        background: linear-gradient(90deg,
                rgba(59, 130, 246, 0.4),
                rgba(59, 130, 246, 0.1));
    }
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* PRICING */

#pricing {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

@media (min-width: 640px) and (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    .pricing-grid>.pricing-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 100%;
        max-width: calc((100% - 24px) / 2);
        justify-self: center;
    }
}

@media (max-width: 639px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.pricing-card.popular {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 100%);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2);
}

.pricing-card.popular:hover {
    box-shadow: 0 0 70px rgba(59, 130, 246, 0.3);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 100px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    white-space: nowrap;
}

.popular-top-line {
    position: absolute;
    top: 0;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1;
}

.plan-price.grad {
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-price.grad .plan-period {
    -webkit-text-fill-color: var(--slate-500);
}

.plan-period {
    font-size: 1rem;
    color: var(--slate-500);
    font-weight: 400;
    position: relative;
    top: -14px;
}

.plan-desc {
    color: var(--slate-400);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.check-green {
    color: #4ade80;
}

.check-cyan {
    color: #22d3ee;
}

.plan-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 0;
}

.plan-btn>svg {
    display: block;
    margin: 0;
    align-self: center;
    transform: translateY(0);
}

.plan-btn-default {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-btn-default:hover {
    background: rgba(255, 255, 255, 0.12);
}

.plan-btn-popular {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.plan-btn-popular:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.pricing-note {
    text-align: center;
    color: var(--slate-500);
    margin-top: 48px;
    font-size: 0.9rem;
}

.section-bg-glow {
    position: absolute;
    background: radial-gradient(ellipse 50% 40% at 50% 60%,
            rgba(59, 130, 246, 0.07),
            transparent);
    inset: 0;
    pointer-events: none;
}

/* ABOUT */

#about {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    #about,
    .about-teaser-section {
        overflow: hidden;
    }

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

.about-img-wrap {
    position: relative;
}

.about-glow-bg {
    position: absolute;
    inset: -16px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2),
            rgba(6, 182, 212, 0.2));
    border-radius: 24px;
    filter: blur(32px);
}

.about-img-box {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.2),
            rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

.about-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-founder {
    color: var(--slate-400);
    font-size: 0.85rem;
    margin-top: 12px;
    text-align: center;
}

.corner-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border-left: 2px solid rgba(59, 130, 246, 0.3);
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px 0 0 0;
    pointer-events: none;
}

.corner-br {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 64px;
    height: 64px;
    border-right: 2px solid rgba(59, 130, 246, 0.3);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 0 0 20px 0;
    pointer-events: none;
}

.about-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.about-text {
    color: var(--slate-400);
    line-height: 1.75;
    margin-bottom: 12px;
}

.about-pills {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.88rem;
}

/* PORTFOLIO */

#portfolio {
    padding: 112px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 640px) and (max-width: 1023px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }

    .portfolio-grid>.portfolio-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 100%;
        max-width: calc((100% - 24px) / 2);
        justify-self: center;
    }
}

.portfolio-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.portfolio-preview {
    aspect-ratio: 1270 / 820;
    position: relative;
    background: linear-gradient(135deg, #0f172a, #020817);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
            rgba(59, 130, 246, 0.2),
            transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.portfolio-preview-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: inherit;
}

.browser-frame {
    position: absolute;
    inset: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.bdot-r {
    background: rgba(239, 68, 68, 0.6);
}

.bdot-y {
    background: rgba(234, 179, 8, 0.6);
}

.bdot-g {
    background: rgba(34, 197, 94, 0.6);
}

.url-bar {
    flex: 1;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    margin-left: 8px;
}

.browser-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 36px);
}

.proj-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-icon-orange {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.proj-icon-slate {
    background: linear-gradient(135deg, #64748b, #374151);
}

.proj-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.demo-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.75rem;
    backdrop-filter: blur(8px);
}

.hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 23, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
    text-decoration: none;
}

.portfolio-card:hover .hover-overlay {
    opacity: 1;
}

@media (hover: none),
(pointer: coarse) {
    .portfolio-card:hover .hover-overlay {
        opacity: 0;
    }

    .portfolio-card.overlay-open .hover-overlay {
        opacity: 1;
    }
}

.hover-overlay a {
    text-decoration: none;
}

.hover-overlay a:hover {
    text-decoration: none;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.portfolio-info {
    padding: 24px;
}

.proj-cat {
    color: var(--blue-400);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.proj-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.proj-desc {
    color: var(--slate-400);
    font-size: 0.88rem;
    line-height: 1.6;
}

.portfolio-note {
    text-align: center;
    color: var(--slate-600);
    font-size: 0.85rem;
    margin-top: 48px;
}

/* FIT CHECK */

#fit-check {
    padding: 104px 0;
    background:
        radial-gradient(92% 82% at 50% -12%, rgba(56, 189, 248, 0.14) 0%, rgba(56, 189, 248, 0) 58%),
        radial-gradient(115% 105% at 2% 12%, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 50%),
        radial-gradient(120% 105% at 98% 9%, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 54%),
        linear-gradient(180deg, var(--bg-darker) 0%, #051431 46%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

#fit-check::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.1;
    pointer-events: none;
}

#fit-check::after {
    content: "";
    position: absolute;
    inset: -32% -16%;
    background:
        radial-gradient(42% 52% at 22% 28%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 72%),
        radial-gradient(46% 58% at 78% 18%, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 76%);
    filter: blur(58px);
    opacity: 0.2;
    pointer-events: none;
    animation: fit-aurora 16s ease-in-out infinite alternate;
}

.fit-check-glow {
    position: absolute;
    top: -128px;
    left: 50%;
    width: 620px;
    height: 340px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 74%);
    filter: blur(30px);
    pointer-events: none;
    animation: fit-glow-float 10s ease-in-out infinite;
}

.fit-chip-shell {
    position: relative;
    max-width: 900px;
    margin: -6px auto 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 197, 255, 0.24);
    background:
        radial-gradient(70% 220% at 50% 50%, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0.09) 32%, rgba(56, 189, 248, 0) 72%),
        linear-gradient(90deg, rgba(15, 36, 80, 0.66), rgba(9, 27, 67, 0.68));
    box-shadow:
        0 8px 28px rgba(2, 8, 23, 0.34),
        0 0 26px rgba(14, 165, 233, 0.14);
    overflow: hidden;
    isolation: isolate;
}

.fit-chip-shell::before,
.fit-chip-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.fit-chip-shell::before {
    left: 0;
    background: linear-gradient(to right, rgba(9, 27, 67, 0.95), rgba(9, 27, 67, 0));
}

.fit-chip-shell::after {
    right: 0;
    background: linear-gradient(to left, rgba(9, 27, 67, 0.95), rgba(9, 27, 67, 0));
}

.fit-chip-rail {
    display: flex;
    width: max-content;
    animation: fit-chip-scroll 32s linear infinite;
}

.fit-chip-shell:hover .fit-chip-rail {
    animation-play-state: paused;
}

.fit-chip-track {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    background: rgba(6, 17, 44, 0.42);
    padding-left: 0;
    height: 64px;
}

.fit-chip {
    --chip-accent: var(--cyan-400);
    --chip-border: rgba(34, 211, 238, 0.28);
    --chip-bg: linear-gradient(160deg, rgba(15, 23, 42, 0.72), rgba(11, 27, 55, 0.72));
    --chip-hover-border: rgba(34, 211, 238, 0.54);
    --chip-hover-glow: rgba(34, 211, 238, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--chip-border);
    background: var(--chip-bg);
    color: #d7eaff;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.fit-chip svg {
    width: 13px;
    height: 13px;
    color: var(--chip-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(2, 8, 23, 0.42));
}

.fit-chip:hover {
    transform: translateY(-1px);
    border-color: var(--chip-hover-border);
    color: #ffffff;
    background: linear-gradient(160deg, rgba(30, 64, 175, 0.48), rgba(14, 116, 144, 0.42));
    box-shadow: 0 4px 14px var(--chip-hover-glow);
}

.fit-chip-hvac {
    --chip-accent: #7dd3fc;
    --chip-border: rgba(125, 211, 252, 0.3);
    --chip-hover-border: rgba(125, 211, 252, 0.56);
    --chip-hover-glow: rgba(125, 211, 252, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(7, 35, 56, 0.76), rgba(10, 37, 62, 0.74));
}

.fit-chip-roofing {
    --chip-accent: #93c5fd;
    --chip-border: rgba(147, 197, 253, 0.32);
    --chip-hover-border: rgba(147, 197, 253, 0.58);
    --chip-hover-glow: rgba(147, 197, 253, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(12, 33, 67, 0.76), rgba(13, 30, 57, 0.74));
}

.fit-chip-plumbing {
    --chip-accent: var(--cyan-400);
    --chip-border: rgba(34, 211, 238, 0.3);
    --chip-hover-border: rgba(34, 211, 238, 0.56);
    --chip-hover-glow: rgba(34, 211, 238, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(6, 42, 60, 0.76), rgba(8, 34, 50, 0.74));
}

.fit-chip-electric {
    --chip-accent: var(--blue-400);
    --chip-border: rgba(96, 165, 250, 0.3);
    --chip-hover-border: rgba(96, 165, 250, 0.56);
    --chip-hover-glow: rgba(96, 165, 250, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(15, 33, 70, 0.76), rgba(10, 28, 55, 0.74));
}

.fit-chip-landscaping {
    --chip-accent: #67e8f9;
    --chip-border: rgba(103, 232, 249, 0.3);
    --chip-hover-border: rgba(103, 232, 249, 0.56);
    --chip-hover-glow: rgba(103, 232, 249, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(6, 43, 55, 0.76), rgba(8, 37, 49, 0.74));
}

.fit-chip-pressure {
    --chip-accent: #38bdf8;
    --chip-border: rgba(56, 189, 248, 0.3);
    --chip-hover-border: rgba(56, 189, 248, 0.56);
    --chip-hover-glow: rgba(56, 189, 248, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(8, 39, 68, 0.76), rgba(10, 33, 57, 0.74));
}

.fit-chip-auto {
    --chip-accent: #67e8f9;
    --chip-border: rgba(34, 211, 238, 0.36);
    --chip-hover-border: rgba(34, 211, 238, 0.62);
    --chip-hover-glow: rgba(34, 211, 238, 0.24);
    --chip-bg: linear-gradient(160deg, rgba(8, 39, 57, 0.75), rgba(9, 32, 49, 0.75));
}

.fit-chip-contracting {
    --chip-accent: #bfdbfe;
    --chip-border: rgba(191, 219, 254, 0.3);
    --chip-hover-border: rgba(191, 219, 254, 0.56);
    --chip-hover-glow: rgba(191, 219, 254, 0.2);
    --chip-bg: linear-gradient(160deg, rgba(20, 34, 58, 0.76), rgba(14, 27, 47, 0.74));
}

.fit-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fit-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 18px;
    border: 1px solid rgba(148, 197, 255, 0.24);
    background: linear-gradient(162deg, rgba(12, 24, 53, 0.72) 0%, rgba(2, 8, 29, 0.84) 100%);
    box-shadow: 0 16px 44px rgba(2, 8, 23, 0.34);
    padding: 24px;
    transition: none;
}

.fit-card>* {
    position: relative;
    z-index: 2;
}

.fit-card:hover {
    transform: none;
    border-color: rgba(148, 197, 255, 0.24);
}

.fit-card-good {
    box-shadow: 0 16px 44px rgba(6, 182, 212, 0.11);
}

.fit-card-good:hover {
    box-shadow: 0 16px 44px rgba(6, 182, 212, 0.11);
}

.fit-card-bad {
    box-shadow: 0 16px 44px rgba(59, 130, 246, 0.11);
}

.fit-card-bad:hover {
    box-shadow: 0 16px 44px rgba(59, 130, 246, 0.11);
}

.fit-card-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.fit-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.fit-card:hover .fit-icon-badge {
    transform: none;
}

.fit-card-good:hover .fit-icon-badge {
    border-color: rgba(74, 222, 128, 0.5);
    box-shadow:
        0 0 0 1px rgba(74, 222, 128, 0.22),
        0 0 18px rgba(74, 222, 128, 0.28);
}

.fit-card-bad:hover .fit-icon-badge {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.22),
        0 0 18px rgba(239, 68, 68, 0.28);
}

.fit-icon-good {
    border: 1px solid rgba(74, 222, 128, 0.34);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
    color: #4ade80;
}

.fit-icon-bad {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.fit-kicker {
    margin: 0 0 3px;
    color: var(--cyan-400);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.fit-card h3 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.fit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 11px;
}

.fit-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #d0e0f8;
    font-size: 0.91rem;
    line-height: 1.48;
    transition: transform 0.24s ease, color 0.24s ease;
}

.fit-list li svg {
    margin-top: 2px;
    flex-shrink: 0;
}

.fit-card:hover .fit-list li {
    transform: none;
    color: #d0e0f8;
}

.fit-card-good .fit-list li svg {
    color: #4ade80;
}

.fit-card-bad .fit-list li svg {
    color: #f87171;
}

.fit-note {
    margin: 24px 0 0;
    text-align: center;
    color: var(--slate-400);
    font-size: 0.9rem;
}

@keyframes fit-chip-scroll {
    from {
        transform: translateX(0);
    }

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

@keyframes fit-aurora {
    from {
        transform: translate3d(-2%, -2%, 0) scale(1);
    }

    to {
        transform: translate3d(2%, 2%, 0) scale(1.06);
    }
}

@keyframes fit-glow-float {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.92;
    }

    50% {
        transform: translateX(-48%) translateY(8px);
        opacity: 0.72;
    }
}

@media (max-width: 900px) {
    .fit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #fit-check {
        padding: 84px 0;
    }

    #fit-check::after {
        opacity: 0.14;
    }

    .fit-chip-shell {
        background:
            radial-gradient(72% 220% at 50% 50%, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.07) 30%, rgba(56, 189, 248, 0) 72%),
            linear-gradient(90deg, rgba(15, 36, 80, 0.66), rgba(9, 27, 67, 0.68));
    }

    .fit-chip-track {
        gap: 8px;
        padding: 8px;
        padding-left: 0;
    }

    .fit-chip {
        padding: 6px 11px;
        font-size: 0.72rem;
    }

    .fit-kicker {
        font-size: 0.66rem;
        letter-spacing: 0.13em;
    }

    .fit-card h3 {
        font-size: 1.01rem;
    }

    .fit-list li {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fit-chip-rail {
        animation: none;
    }

    #fit-check::after,
    .fit-check-glow,
    .standards-glow::before {
        animation: none;
    }

    .fit-card,
    .fit-card::before,
    .fit-card::after,
    .fit-icon-badge,
    .fit-list li,
    .fit-chip {
        transition: none;
    }
}

/* FAQ */

#faq {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.faq-box {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.open {
    background: rgba(59, 130, 246, 0.05);
}

.faq-btn {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 32px;
}

.faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.faq-chevron {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--slate-400);
}

.faq-item.open .faq-chevron {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(59, 130, 246, 0.2);
    transform: rotate(180deg);
    color: var(--blue-400);
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 24px;
    color: var(--slate-400);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* FINAL CTA */

#cta {
    padding: 128px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-orb1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(59, 130, 246, 0.03) 1px,
            transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.cta-h2 {
    font-size: clamp(1.9rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-p {
    font-size: 1.1rem;
    color: var(--slate-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-sub {
    color: var(--slate-600);
    font-size: 0.85rem;
    margin-top: 24px;
}

/* FOOTER */

footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

footer>.container {
    max-width: 1100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 32px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-desc {
    color: var(--slate-500);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #cbd5e1;
}

.footer-link-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.5);
    transition: background 0.2s;
    flex-shrink: 0;
}

.footer-links a:hover .footer-link-dot {
    background: var(--blue-400);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate-500);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 12px;
}

.contact-item:hover {
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    color: var(--slate-600);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--slate-400);
}

.mb-16 {
    margin-bottom: 64px;
}

/* SCROLL REVEAL */

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
    transform: translateY(28px);
}

.reveal-left {
    transform: translateX(-36px);
}

.reveal-right {
    transform: translateX(36px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* stagger delay utilities - apply to individual elements */
.d1 {
    transition-delay: 0.05s !important;
}

.d2 {
    transition-delay: 0.12s !important;
}

.d3 {
    transition-delay: 0.19s !important;
}

.d4 {
    transition-delay: 0.26s !important;
}

.d5 {
    transition-delay: 0.33s !important;
}

.d6 {
    transition-delay: 0.4s !important;
}

.d7 {
    transition-delay: 0.47s !important;
}

.d8 {
    transition-delay: 0.54s !important;
}

.d9 {
    transition-delay: 0.61s !important;
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .traffic-graph-card.reveal .traffic-curve {
        stroke-dashoffset: 0;
        transition: none;
    }

    .traffic-graph-card.reveal .traffic-area {
        transform: none;
        transition: none;
    }

    .traffic-graph-card.reveal .traffic-graph circle,
    .traffic-graph-card.reveal .snapshot-bar span {
        transform: none;
        transition: none;
    }
}

/* MOBILE PERFORMANCE OPTIMIZER */

/* Reduce GPU-heavy effects on small screens */
@media (max-width: 768px) {

    /* 1. Hide blur-heavy orbs-these are the real GPU cost */
    /* Grids and gradient-only elements are intentionally kept */
    .cta-orb1,
    .cta-orb2,
    .about-glow-bg,
    .about-teaser-orb,
    .about-teaser-avatar-glow,
    .service-icon-glow,
    .preview-glow,
    .step-icon-glow {
        display: none !important;
    }

    /* 2. Tone down grids-visible but at reduced opacity */
    /* These are pure CSS background-image patterns, zero GPU cost */
    .hero-grid-base {
        opacity: 0.18;
    }

    .hero-grid-active {
        opacity: 0.5;
    }

    .cta-grid {
        opacity: 0.5;
    }

    /* 3. Tone down gradient-only glows (no filter:blur) */
    /* section-bg-glow and hero-vignette use radial-gradient only - cheap */
    .section-bg-glow {
        opacity: 0.6;
    }

    .hero-vignette {
        opacity: 0.9;
    }

    /* 4. Strip filter:blur only from elements that actually use it */
    /* Targeting blur-filter orbs specifically - NOT gradient-only elements */
    .cta-orb1,
    .cta-orb2,
    .about-teaser-orb,
    .step-icon-glow,
    .about-glow-bg {
        filter: none !important;
    }

    /* 5. Kill animations on heavy hero visual elements */
    .code-window,
    .badge-perf,
    .badge-seo,
    .badge-speed,
    .cw-badge {
        animation: none !important;
        transition: none !important;
    }

    .hero-orb1,
    .hero-orb2,
    .hero-grid,
    .hero-vignette {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        will-change: auto !important;
    }

    .hero-grid,
    .hero-vignette {
        contain: strict;
    }

    /* 6. Surgical backdrop-filter removals */
    /* Only decorative elements - nothing the user interacts with */
    .hero-visual,
    .code-window,
    .cw-titlebar,
    .cw-body,
    .corner-tl,
    .corner-br,
    .about-img-box,
    .about-teaser-avatar-box,
    .service-icon-box,
    .value-card,
    .maint-card,
    .infra-item,
    .about-stat,
    .stack-item,
    .timeline-num,
    .about-pill,
    .pricing-card,
    .portfolio-card:not(#portfolio .portfolio-card),
    .solution-card,
    .problem-card,
    .step-icon-box,
    .hero-badge,
    .cta-badge,
    .section-label,
    .faq-btn,
    .faq-item {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 7. Keep backdrop-filter on interactive / functional elements */
    .booking-overlay {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .booking-modal {
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    .page-blur-overlay {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    #navbar.scrolled {
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    #navbar:has(.mobile-menu.open) {
        background: rgba(2, 8, 23, 0.82);
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    }

    /* Portfolio cards keep their glass-it's visible UI chrome */
    #portfolio .preview-glow {
        display: block !important;
    }

    #portfolio .demo-badge,
    #portfolio .browser-frame,
    #portfolio .portfolio-card {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    #portfolio .hover-overlay {
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }

    /* 8. Reduce heavy box shadows */
    .pricing-card,
    .portfolio-card,
    .solution-card,
    .problem-card {
        box-shadow: none !important;
    }
}

/* BOOKING MODAL */
.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Use dvh so iOS Safari's toolbar is accounted for */
    height: 100dvh;
    z-index: 500;
    background: rgba(2, 8, 23, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Let the overlay scroll, not the modal */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: env(safe-area-inset-top, 16px) 16px env(safe-area-inset-bottom, 16px);
    padding-top: max(env(safe-area-inset-top, 0px), 16px);
    padding-bottom: max(env(safe-area-inset-bottom, 0px), 16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.booking-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.booking-modal {
    background: #0d1829;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 520px;
    /* No max-height-let the overlay scroll instead */
    position: relative;
    flex-shrink: 0;
    margin: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(59, 130, 246, 0.08);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-overlay.open .booking-modal {
    transform: translateY(0) scale(1);
}

.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--slate-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.booking-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.booking-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3));
    border: 1px solid rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--blue-400);
}

.booking-modal h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.booking-modal-sub {
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.55;
}

.booking-selected-plan-row {
    margin: -10px 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    background: rgba(96, 165, 250, 0.05);
    overflow: hidden;
}

.booking-selected-plan-label {
    margin: 0;
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bfdbfe;
    background: rgba(96, 165, 250, 0.12);
    flex-shrink: 0;
}

.booking-selected-plan {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100%;
    padding: 10px 12px;
    border-left: 1px solid rgba(96, 165, 250, 0.2);
    background: transparent;
    color: var(--slate-300);
    font-size: 0.8rem;
    font-weight: 600;
}

.booking-selected-plan-row[hidden],
.booking-selected-plan[hidden] {
    display: none !important;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.booking-field label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.booking-field input,
.booking-field select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 13px 16px;
    color: #fff;
    font-size: 16px;
    /* Must be >= 16px to prevent iOS auto-zoom on focus */
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
}

.booking-field input:focus,
.booking-field select:focus {
    border-color: var(--blue-400);
    background: rgba(96, 165, 250, 0.06);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
}

.booking-field input::placeholder {
    color: var(--slate-500);
}

.booking-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.booking-field select option {
    background: #0d1829;
    color: #fff;
}

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

.booking-submit {
    margin-top: 6px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.35);
    transition: all 0.3s;
}

.booking-submit:hover {
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.booking-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: var(--slate-600);
    margin-top: 4px;
}

/* Success state */
.booking-success {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.booking-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(96, 165, 250, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--cyan-400);
}

.booking-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.booking-success p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .booking-modal {
        padding: 28px 20px;
        border-radius: 16px;
    }

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

/* CUSTOM CALENDAR PICKER */
.cal-trigger-wrap {
    position: relative;
}

.cal-trigger {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 13px 44px 13px 16px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-trigger.placeholder {
    color: var(--slate-500);
}

.cal-trigger:focus,
.cal-trigger.open {
    border-color: var(--blue-400);
    background: rgba(96, 165, 250, 0.06);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12);
    outline: none;
}

.cal-trigger-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
    line-height: 1;
}

.cal-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 600;
    background: #0d1829;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 14px;
    padding: 16px;
    width: 300px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cal-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* header row: prev / month+year / next */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cal-nav {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--slate-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    font-size: 0;
    flex-shrink: 0;
}

.cal-nav:hover {
    background: rgba(96, 165, 250, 0.12);
    border-color: var(--blue-400);
    color: var(--blue-400);
}

.cal-month-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

/* day-of-week headers */
.cal-dow-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
}

.cal-dow {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
    padding: 4px 0;
}

/* day grid */
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 0.82rem;
    cursor: pointer;
    color: var(--slate-500);
    transition: background 0.15s, color 0.15s;
    border: 1px solid transparent;
}

.cal-day:hover:not(.cal-day-empty):not(.cal-day-past) {
    background: rgba(96, 165, 250, 0.12);
    color: #fff;
    border-color: rgba(96, 165, 250, 0.2);
}

.cal-day-empty {
    cursor: default;
    pointer-events: none;
}

.cal-day-past {
    color: var(--slate-600);
    cursor: not-allowed;
    opacity: 0.4;
}

.cal-day-today {
    border-color: rgba(96, 165, 250, 0.4);
    color: var(--blue-400);
    font-weight: 600;
}

.cal-day-selected {
    background: linear-gradient(135deg, #2563eb, #06b6d4) !important;
    color: #fff !important;
    font-weight: 700;
    border-color: transparent !important;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

@media (max-width: 600px) {
    .cal-popup {
        width: 100%;
        left: 0;
        right: 0;
    }
}

/* Time field loading state */
#time-field-wrap.loading select {
    opacity: 0.5;
    cursor: wait;
}

#time-field-wrap.loading label::after {
    content: ' â³';
}

/* Calendar availability states */

/* Loading shimmer while month data is fetching */
.cal-day-loading {
    background: rgba(255, 255, 255, 0.04);
    color: transparent !important;
    cursor: default;
    animation: cal-shimmer 1.4s ease infinite;
}

@keyframes cal-shimmer {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* Weekend */
.cal-day-weekend {
    color: var(--slate-600);
    cursor: not-allowed;
    opacity: 0.35;
    pointer-events: none;
}

/* Fully booked */
.cal-day-full {
    color: var(--slate-600) !important;
    cursor: not-allowed;
    opacity: 0.4;
    text-decoration: line-through;
}

/* Availability dot under the day number */
.cal-day {
    flex-direction: column;
    gap: 2px;
}

.cal-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    /* Green when plenty of slots, amber when few */
    background: color-mix(in srgb,
            #22c55e calc(var(--slots) / 11 * 100%),
            #f59e0b);
    /* Fallback for browsers without color-mix */
    background: #22c55e;
    opacity: 0.75;
}

/* Fewer than 4 slots -> amber dot */
.cal-day:has(.cal-dot[style*="--slots: 1"]) .cal-dot,
.cal-day:has(.cal-dot[style*="--slots: 2"]) .cal-dot,
.cal-day:has(.cal-dot[style*="--slots: 3"]) .cal-dot {
    background: #f59e0b;
}

.cal-day-selected .cal-dot {
    opacity: 0;
}

/* ACTIVE NAV LINK */
.nav-active {
    color: #fff !important;
}

.nav-active::after {
    width: 100% !important;
}

/* PAGE HERO (services / about) */
.page-hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    padding: 140px 0 80px;
}

.page-hero .hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(59, 130, 246, 0.04) 1px,
            transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: var(--hero-grid-cell-size, 40px) var(--hero-grid-cell-size, 40px);
    background-position: var(--hero-grid-offset-x, 0px) var(--hero-grid-offset-y, 0px);
}

.page-hero-content {
    max-width: 800px;
}

.page-hero-h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 20px 0 20px;
    margin-top: 0;
    color: #fff;
}

.page-hero-sub {
    font-size: 1.15rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 560px;
}

/* ABOUT TEASER (homepage) */
.about-teaser-section {
    padding: 112px 0;
    background: var(--bg-darker);
    position: relative;
}

.about-teaser-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.about-teaser-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 56px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .about-teaser-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .about-teaser-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .about-stat {
        flex: 1;
        min-width: 100px;
        padding: 16px 12px;
    }

    .about-teaser-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .about-teaser-section {
        padding: 72px 0;
    }

    .about-teaser-avatar-box {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .about-teaser-avatar-box svg {
        width: 40px;
        height: 40px;
    }

    .about-teaser-title {
        font-size: 1.8rem;
    }

    .about-stat {
        padding: 14px 10px;
        min-width: 90px;
    }

    .about-stat-num {
        font-size: 1.6rem;
    }
}

.about-teaser-avatar {
    position: relative;
    flex-shrink: 0;
}

.about-teaser-avatar-glow {
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 20px;
    filter: blur(24px);
}

.about-teaser-avatar-box {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-teaser-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.about-teaser-text {
    color: var(--slate-400);
    line-height: 1.75;
    font-size: 1rem;
    max-width: 420px;
    margin-bottom: 24px;
}

.about-teaser-stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex-shrink: 0;
    position: relative;
}

.about-stat {
    text-align: center;
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    min-width: 120px;
}

.about-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-num span {
    font-size: 1.1rem;
    -webkit-text-fill-color: transparent;
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--slate-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 6px;
}

/* SERVICE SECTIONS */
.service-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.service-section-alt {
    background: var(--bg-darker);
}

.service-layout {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 56px;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.service-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}

.service-icon-wrap {
    position: relative;
    width: 96px;
    height: 96px;
}

.service-icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    filter: blur(20px);
}

.service-icon-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, transparent 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
    flex-shrink: 0;
}

/* Variant: num badge pinned to top-right of icon wrap (like step-num) */
.service-num-corner {
    position: absolute;
    top: -12px;
    right: -12px;
    flex-shrink: unset;
}

.service-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: 8px 0 20px;
    line-height: 1.2;
}

.service-desc {
    color: var(--slate-400);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 680px;
}

.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0 32px;
}

@media (max-width: 600px) {
    .service-features-grid {
        grid-template-columns: 1fr;
    }
}

.service-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.service-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.service-feature strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.service-feature p {
    color: var(--slate-400);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.service-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 32px;
}

.service-check {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.service-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .service-cta {
        justify-content: center;
    }

    .service-cta-note {
        text-align: center;
    }

    .service-cta.mobile-pad-top {
        padding-top: 20px;
    }
}

.service-cta-note {
    color: var(--slate-500);
    font-size: 0.85rem;
}

/* Booking flow diagram */
.booking-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0 32px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.booking-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 90px;
}

.booking-flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-flow-label {
    color: var(--slate-400);
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.4;
}

.booking-flow-arrow {
    color: var(--slate-600);
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .booking-flow {
        flex-direction: column;
    }

    .booking-flow-arrow {
        transform: rotate(90deg);
    }
}

/* Email compare */
.service-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 32px;
}

@media (max-width: 500px) {
    .service-compare {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.compare-col {
    padding: 20px;
    border-radius: 14px;
}

.compare-bad {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.compare-good {
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 12px;
}

.compare-example {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 8px;
    word-break: break-all;
}

.compare-desc {
    color: var(--slate-500);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

/* Maintenance cards */
.maintenance-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0 32px;
}

#infrastructure .maintenance-cards.cards-carousel {
    margin: 28px 0 32px;
}

#infrastructure .service-body {
    min-width: 0;
}

#infrastructure .service-desc,
#infrastructure .service-cta-note,
#infrastructure .maint-card h4,
#infrastructure .maint-card p {
    overflow-wrap: anywhere;
}

#infrastructure .maint-card {
    border-color: rgba(251, 191, 36, 0.12);
    background: rgba(251, 191, 36, 0.04);
}

#infrastructure .maint-card:hover {
    border-color: rgba(251, 191, 36, 0.25);
    background: rgba(251, 191, 36, 0.08);
}

#maintenance .maint-card {
    border-color: rgba(248, 113, 113, 0.12);
    background: rgba(248, 113, 113, 0.04);
}

#maintenance .maint-card:hover {
    border-color: rgba(248, 113, 113, 0.25);
    background: rgba(248, 113, 113, 0.08);
}

#maintenance .service-body {
    min-width: 0;
}

#maintenance .service-desc,
#maintenance .service-cta-note {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    #infrastructure .maintenance-cards.cards-carousel {
        overflow-x: hidden;
        overflow-y: visible;
    }

    #maintenance .maintenance-cards.cards-carousel {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .maintenance-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .maintenance-cards {
        grid-template-columns: 1fr;
    }
}

.maint-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(167, 139, 250, 0.12);
    background: rgba(167, 139, 250, 0.04);
    transition: border-color 0.2s, background 0.2s;
}

.maint-card:hover {
    border-color: rgba(167, 139, 250, 0.25);
    background: rgba(167, 139, 250, 0.08);
}

.maint-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.maint-card-icon {
    margin-bottom: 12px;
}

.maint-card-head .maint-card-icon {
    margin-bottom: 0;
}

.maint-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 0;
}

.maint-card-head h4 {
    margin-bottom: 0;
}

.maint-card p {
    color: var(--slate-500);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
}

/* ABOUT PAGE-STORY */
.about-story-section {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-story-img {
    position: relative;
}

.about-story-copy {
    padding-top: 8px;
}

.about-tech-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 100px;
    background: rgba(2, 8, 23, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ABOUT PAGE & VALUES */
.about-values-section {
    padding: 112px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.value-card {
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 0.2s;
}

.value-card:hover .value-icon {
    background: rgba(255, 255, 255, 0.08);
}

.value-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.value-card-head .value-icon {
    margin-bottom: 0;
}

.value-card-head .value-title {
    margin-bottom: 0;
}

.value-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.value-desc {
    color: var(--slate-400);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ABOUT PAGE-STACK */
.about-stack-section {
    padding: 112px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s;
    font-size: 0.82rem;
    color: var(--slate-400);
    font-weight: 500;
    text-align: center;
}

.stack-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: #fff;
}

.stack-icon {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.stack-item:hover .stack-icon {
    opacity: 1;
}

/* ABOUT PAGE-PROCESS TIMELINE */
.about-process-section {
    padding: 112px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 28px;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.1));
    margin-top: 8px;
    min-height: 40px;
}

.timeline-content {
    padding-bottom: 48px;
}

.timeline-item:last-child .timeline-content {
    padding-bottom: 0;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.timeline-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-400);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.04em;
}

.timeline-content p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* FAQ / SOLUTION LINK (faq-answer a already handled) */
.faq-answer a,
.card-desc a {
    color: var(--blue-400);
    transition: color 0.3s ease;
}

.faq-answer a:hover,
.card-desc a:hover {
    color: var(--cyan-400);
}

/* SPA PAGE TRANSITIONS */

#page-content {
    /* Shared transition for SPA exit + entry class toggles */
    transition:
        opacity var(--spa-transition-ms) var(--spa-enter-ease),
        transform var(--spa-transition-ms) var(--spa-enter-ease);
}

/* Fade + slide down on exit */
#page-content.spa-leaving {
    transition-timing-function: var(--spa-exit-ease), var(--spa-exit-ease);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* Hidden entry state; removed on next frame to animate in */
#page-content.spa-entering {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

/* LEGAL PAGES (privacy / terms) */

.legal-section {
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.legal-content {
    max-width: 740px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 48px;
}

.legal-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.legal-block p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-block a {
    color: #60a5fa;
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
    transition: border-color 0.2s, color 0.2s;
}

.legal-block a:hover {
    color: #93c5fd;
    border-bottom-color: rgba(147, 197, 253, 0.6);
}

/* CARD CAROUSELS (mobile only) */

/* Desktop: slide wrappers are transparent-cards participate directly in the grid */
.card-slide {
    display: contents;
}

.carousel-dots {
    display: none;
}

@media (max-width: 768px) {
    .about-teaser-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
    }

    .about-stat {
        min-width: 0;
        padding: 14px 10px;
        border-radius: 14px;
    }

    .about-stat-num {
        font-size: 1.35rem;
    }

    .about-stat-num span {
        font-size: 0.78rem;
    }

    .about-stat-label {
        font-size: 0.62rem;
        letter-spacing: 0.04em;
        margin-top: 4px;
    }

    .carousel-shell {
        position: relative;
    }

    .cards-carousel {
        display: flex;
        flex-direction: row;
        gap: 0;
        max-width: 100%;
        padding-inline: 0;
        overflow-x: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        touch-action: pan-y pinch-zoom;
    }

    .cards-carousel::-webkit-scrollbar {
        display: none;
    }

    .card-slide {
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-width: 100%;
        width: 100%;
        padding-inline: 4px;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
    }

    .cards-carousel .problem-card,
    .cards-carousel .solution-card,
    .cards-carousel .maint-card,
    .cards-carousel .value-card,
    .cards-carousel .problem-card a,
    .cards-carousel .solution-card a {
        pointer-events: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        position: absolute;
        left: 50%;
        top: calc(100% + 16px);
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.18s ease, visibility 0.18s ease;
    }

    .carousel-dots.reveal {
        transform: translateX(-50%) translateY(10px);
    }

    .carousel-dots.reveal.visible {
        transform: translateX(-50%) translateY(0);
    }

    .carousel-dots.is-visible.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        padding: 0;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .carousel-dot.active {
        background: rgba(255, 255, 255, 0.75);
        transform: scale(1.4);
    }
}

/* GLOBALS FOR DARK SECTIONS (PC ONLY) */
@media (min-width: 769px) {

    #problem::after,
    #pricing::after,
    #about::after,
    #faq::after,
    footer::after,
    .service-section::after,
    .about-story-section::after,
    .about-stack-section::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.08), transparent 45%),
            radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.05), transparent 45%);
        pointer-events: none;
        z-index: 0;
    }
}
