/* ========================================
   CSS VARIABLES — DESIGN SYSTEM
======================================== */
:root {
    --bg-void: #050810;
    --bg-primary: #0A0E17;
    --bg-elevated: #0F1320;
    --bg-card: #131829;
    --bg-card-hover: #191F35;
    --bg-glass: rgba(15, 19, 32, 0.7);

    --accent: #00D4FF;
    --accent-rgb: 0, 212, 255;
    --accent-dim: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.25);
    --accent-subtle: rgba(0, 212, 255, 0.06);
    --accent-secondary: #7B61FF;
    --accent-secondary-dim: rgba(123, 97, 255, 0.15);
    --accent-warm: #FF6B6B;
    --accent-success: #00E676;

    --text-white: #F4F5F7;
    --text-primary: #E0E2EA;
    --text-secondary: #8B8FA7;
    --text-muted: #4D5168;
    --text-accent: #00D4FF;

    --border: rgba(255, 255, 255, 0.05);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border-accent: rgba(0, 212, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.1);

    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --section-pad: clamp(80px, 10vw, 140px);

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s;
    --t-normal: 0.35s;
    --t-slow: 0.6s;
}

/* ========================================
   LIGHT THEME OVERRIDES
======================================== */
[data-theme="light"] {
    --bg-void: #ECF0F7;
    --bg-primary: #FFFFFF;
    --bg-elevated: #F2F5FB;
    --bg-card: #FFFFFF;
    --bg-card-hover: #EAF0F9;
    --bg-glass: rgba(242, 245, 251, 0.94);

    --accent: #3B82D9;
    --accent-rgb: 59, 130, 217;
    --accent-dim: rgba(59, 130, 217, 0.14);
    --accent-glow: rgba(59, 130, 217, 0.22);
    --accent-subtle: rgba(59, 130, 217, 0.07);
    --accent-secondary: #2563A8;
    --accent-secondary-dim: rgba(37, 99, 168, 0.14);
    --accent-warm: #C83C3C;
    --accent-success: #0D9650;

    --text-white: #0B0F16;
    --text-primary: #141B2A;
    --text-secondary: #2D3654;
    --text-muted: #566180;
    --text-accent: #2E6EC8;

    --border: rgba(59, 130, 217, 0.12);
    --border-subtle: rgba(59, 130, 217, 0.06);
    --border-accent: rgba(59, 130, 217, 0.28);
    --border-strong: rgba(0, 0, 0, 0.12);
}

/* Light theme — component overrides */

/* --- Navigation --- */
[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(74, 143, 226, 0.25);
    box-shadow: 0 8px 32px rgba(74, 143, 226, 0.15);
}

[data-theme="light"] .nav.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 24px rgba(74, 143, 226, 0.1), 0 8px 32px rgba(74, 143, 226, 0.15);
    border-color: rgba(74, 143, 226, 0.25);
}

[data-theme="light"] .nav-pill {
    background: rgba(74, 143, 226, 0.08);
    border-color: rgba(74, 143, 226, 0.15);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(74, 143, 226, 0.06);
}

[data-theme="light"] .nav-mobile-overlay {
    background: rgba(248, 250, 253, 0.98);
}

[data-theme="light"] .mobile-close-btn {
    background: rgba(74, 143, 226, 0.06);
    border-color: rgba(74, 143, 226, 0.15);
}

/* --- Hero --- */
[data-theme="light"] .hero-social-proof {
    background: rgba(74, 143, 226, 0.04);
    border-color: rgba(74, 143, 226, 0.12);
}

[data-theme="light"] .hero::before {
    background: conic-gradient(from 0deg, transparent 0%, rgba(74, 143, 226, 0.05) 25%, transparent 50%, rgba(45, 111, 191, 0.04) 75%, transparent 100%);
}

[data-theme="light"] .hero-metric-val .suffix {
    color: #2D6FBF;
}

/* --- Terminal & Dashboard (console look) --- */
[data-theme="light"] .terminal,
[data-theme="light"] .ai-dashboard {
    background: #FAFBFE;
    border-color: rgba(74, 143, 226, 0.15);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 20px 60px rgba(74, 143, 226, 0.08), 0 0 0 1px rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .terminal:hover,
[data-theme="light"] .ai-dashboard:hover {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 70px rgba(74, 143, 226, 0.12), 0 0 0 1px rgba(74, 143, 226, 0.12);
}

[data-theme="light"] .terminal-bar,
[data-theme="light"] .ai-dash-bar {
    background: linear-gradient(180deg, #F0F3F9, #E8ECF4);
    border-bottom-color: rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .ai-dash-metric {
    background: #F5F7FB;
    border-color: rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .ai-dash-metric-bar {
    background: rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .ai-dash-neural {
    background: linear-gradient(135deg, rgba(74, 143, 226, 0.03), rgba(45, 111, 191, 0.02));
    border-color: rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .ai-dash-agent {
    background: #F8F9FC;
    border-color: rgba(74, 143, 226, 0.08);
}

/* --- Service, Feature, Blog cards & Stats --- */
[data-theme="light"] .svc-card,
[data-theme="light"] .feat-card,
[data-theme="light"] .blog-card {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(74, 143, 226, 0.04);
}

[data-theme="light"] .about-stat {
    background: #FAFBFE;
    border-color: rgba(74, 143, 226, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(74, 143, 226, 0.04);
}

[data-theme="light"] .faq-item {
    background: #FAFBFE;
    border-color: rgba(74, 143, 226, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .svc-card:hover,
[data-theme="light"] .feat-card:hover,
[data-theme="light"] .blog-card:hover {
    border-color: rgba(74, 143, 226, 0.25);
    box-shadow: 0 8px 32px rgba(74, 143, 226, 0.1), 0 0 0 1px rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .about-stat:hover {
    border-color: rgba(74, 143, 226, 0.2);
    box-shadow: 0 8px 28px rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .svc-card::after {
    opacity: 0.4;
}

[data-theme="light"] .svc-card:hover::after {
    opacity: 0.8;
}

/* --- Testimonials --- */
[data-theme="light"] .testi-card {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(74, 143, 226, 0.04);
}

[data-theme="light"] .testi-card::before {
    color: rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .testi-card:hover {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.2);
    box-shadow: 0 12px 36px rgba(74, 143, 226, 0.1), 0 0 0 1px rgba(74, 143, 226, 0.06);
}

/* --- FAQ --- */
[data-theme="light"] .faq-item:hover {
    border-color: rgba(74, 143, 226, 0.15);
}

[data-theme="light"] .faq-item.active {
    background: linear-gradient(135deg, rgba(74, 143, 226, 0.04), rgba(45, 111, 191, 0.02));
    border-color: rgba(74, 143, 226, 0.2);
    box-shadow: 0 4px 16px rgba(74, 143, 226, 0.06);
}

[data-theme="light"] .faq-item.active .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
}

[data-theme="light"] .faq-item.active .faq-icon svg {
    stroke: #fff;
}

/* --- CTA --- */
[data-theme="light"] .cta-box {
    background: linear-gradient(135deg, #F0F4FB, #E8EDF7);
    border: 1px solid rgba(74, 143, 226, 0.12);
}

[data-theme="light"] .cta-box::after {
    background: radial-gradient(circle at 30% 50%, rgba(74, 143, 226, 0.08), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(45, 111, 191, 0.06), transparent 50%);
}

/* --- Trusted by / Logo carousel --- */
[data-theme="light"] .trusted-bar {
    background: linear-gradient(180deg, #F0F3FA 0%, #F6F8FC 40%, #F6F8FC 60%, #F0F3FA 100%);
    border-top-color: rgba(74, 143, 226, 0.1);
    border-bottom-color: rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .trusted-bar::before {
    background: linear-gradient(90deg, #F3F5FB 0%, transparent 100%);
}

[data-theme="light"] .trusted-bar::after {
    background: linear-gradient(270deg, #F3F5FB 0%, transparent 100%);
}

[data-theme="light"] .trusted-label {
    color: #4A5578;
    font-weight: 600;
}

[data-theme="light"] .marquee-item {
    border: none;
    background: transparent;
}

[data-theme="light"] .marquee-item:hover {
    background: transparent;
    box-shadow: none;
}

[data-theme="light"] .marquee-item img {
    mix-blend-mode: multiply;
    opacity: 0.8;
}

[data-theme="light"] .marquee-item:hover img {
    mix-blend-mode: multiply;
    opacity: 1;
}

/* --- Introduction section bg logo --- */
[data-theme="light"] .intro-bg-logo .logo-light {
    opacity: 0.07;
    filter: brightness(0.4) saturate(0.6);
}

/* --- About section --- */
[data-theme="light"] .about-float-badge {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(74, 143, 226, 0.15);
    box-shadow: 0 8px 32px rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .about-image-glow {
    background: radial-gradient(circle, rgba(74, 143, 226, 0.08), transparent 70%);
}

/* --- Section backgrounds & radials --- */
[data-theme="light"] .bg-radial-top {
    background: radial-gradient(circle, rgba(74, 143, 226, 0.04) 0%, transparent 70%);
}

[data-theme="light"] .bg-radial-bottom {
    background: radial-gradient(circle, rgba(45, 111, 191, 0.03) 0%, transparent 70%);
}

[data-theme="light"] .noise-overlay {
    opacity: 0.008;
}

[data-theme="light"] #neuralCanvas {
    opacity: 0.25;
}

/* --- Alternating section tints --- */
[data-theme="light"] .services {
    background: linear-gradient(180deg, #F5F7FC 0%, #FFFFFF 100%);
}

[data-theme="light"] .features {
    background: #FFFFFF;
}

[data-theme="light"] .about {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FC 100%);
}

[data-theme="light"] .testimonials {
    background: linear-gradient(180deg, #F2F5FB 0%, #FAFBFE 100%);
}

[data-theme="light"] .blog-preview {
    background: #FFFFFF;
}

[data-theme="light"] .process {
    background: linear-gradient(180deg, #F5F7FC 0%, #FFFFFF 100%);
}

[data-theme="light"] .faq {
    background: #FAFBFE;
}

/* --- Introduction & section borders --- */
[data-theme="light"] .introduction {
    background: linear-gradient(180deg, #EFF2F9 0%, #F8F9FC 50%, #EFF2F9 100%);
    border-top-color: rgba(74, 143, 226, 0.1);
    border-bottom-color: rgba(74, 143, 226, 0.1);
}

/* --- Step/Process cards --- */
[data-theme="light"] .step-ring::after {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.12);
}

[data-theme="light"] .step-ring::before {
    box-shadow: 0 0 24px rgba(74, 143, 226, 0.1);
}

/* --- Buttons --- */
[data-theme="light"] .btn-glow {
    color: #fff;
    box-shadow: 0 0 0 1px rgba(74, 143, 226, 0.3), 0 4px 20px rgba(74, 143, 226, 0.18);
}

[data-theme="light"] .btn-glow:hover {
    box-shadow: 0 0 0 1px rgba(74, 143, 226, 0.5), 0 8px 32px rgba(74, 143, 226, 0.25);
}

[data-theme="light"] .btn-ghost {
    border-color: rgba(74, 143, 226, 0.2);
    background: rgba(74, 143, 226, 0.03);
}

[data-theme="light"] .btn-ghost:hover {
    border-color: var(--accent);
    background: rgba(74, 143, 226, 0.06);
}

/* --- Section headings accent --- */
[data-theme="light"] .section-tag {
    border-color: rgba(74, 143, 226, 0.2);
    background: rgba(74, 143, 226, 0.06);
}

[data-theme="light"] .section-heading {
    color: #0F1824;
}

/* --- Blog cards --- */
[data-theme="light"] .blog-card-img {
    filter: brightness(0.98) saturate(1.05);
}

[data-theme="light"] .blog-card-category {
    background: rgba(74, 143, 226, 0.06);
    border-color: rgba(74, 143, 226, 0.15);
}

/* --- Intro highlights pills --- */
[data-theme="light"] .intro-highlight {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.12);
    box-shadow: 0 2px 8px rgba(74, 143, 226, 0.04);
}

[data-theme="light"] .intro-highlight:hover {
    border-color: rgba(74, 143, 226, 0.3);
    box-shadow: 0 6px 20px rgba(74, 143, 226, 0.1);
}

/* --- Footer --- */
[data-theme="light"] .footer {
    background: linear-gradient(180deg, #F0F3FA, #E4E8F2);
    border-top: 1px solid rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .footer-social a img {
    filter: brightness(0) invert(0.35);
}

[data-theme="light"] .footer-social a:hover img {
    filter: brightness(0) invert(0.15);
}

[data-theme="light"] .footer-addresses {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.15);
}

[data-theme="light"] .footer-address h5 {
    color: #0F1824;
}

/* Logo swap for light/dark theme */
.logo-light {
    display: none;
}

[data-theme="light"] .logo-dark {
    display: none;
}

[data-theme="light"] .logo-light {
    display: block;
}

[data-theme="light"] .recognition-box {
    background: #FFFFFF;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .recognition-title {
    color: #111520;
}

[data-theme="light"] .recognition-grid {
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .rec-card {
    border-right-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .rec-desc {
    color: #4D5168;
}

[data-theme="light"] .news-logo-img {
    filter: brightness(0); /* Make it black for light theme */
    opacity: 0.7;
}

[data-theme="light"] .rec-card {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ws-logo {
    color: #111520;
}

[data-theme="light"] .brics-logo {
    color: #111520;
}

[data-theme="light"] .rec-desc {
    color: #475569;
}

@media (max-width: 900px) {
    [data-theme="light"] .rec-card {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        border-right: none;
    }
}

/* ========================================
   THEME TOGGLE
======================================== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    transition: all var(--t-fast) var(--ease);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

.theme-toggle .icon-moon {
    display: block;
}

.theme-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

::selection {
    background: var(--accent-dim);
    color: var(--accent);
}

/* ========================================
   LAYOUT
======================================== */
.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ========================================
   ANIMATED BACKGROUND
======================================== */
#neuralCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.page-content {
    position: relative;
    z-index: 1;
}

.bg-radial-top {
    position: fixed;
    top: -30%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.bg-radial-bottom {
    position: fixed;
    bottom: -40%;
    right: -15%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ========================================
   SECTION HEADER COMPONENTS
======================================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-bottom: 20px;
}

.section-tag .tag-pulse {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow), 0 0 16px rgba(0, 212, 255, 0.15);
    animation: tag-blink 2s ease-in-out infinite;
}

@keyframes tag-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.75;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--r-full);
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-glow {
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--accent), #0099CC);
    color: #000;
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 4px 20px rgba(0, 212, 255, 0.15);
    animation: btn-subtle-pulse 3s ease-in-out infinite;
}

@keyframes btn-subtle-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.3), 0 4px 20px rgba(0, 212, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.4), 0 4px 30px rgba(0, 212, 255, 0.22);
    }
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.5), 0 8px 40px rgba(0, 212, 255, 0.25), 0 0 80px rgba(0, 212, 255, 0.08);
}

.btn-glow:hover::after {
    transform: translateX(100%);
}

.btn-glow svg {
    transition: transform var(--t-fast) var(--ease);
}

.btn-glow:hover svg {
    transform: translateX(3px);
}

.btn-ghost {
    padding: 15px 36px;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.82rem;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========================================
   NAVBAR
======================================== */
.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1220px;
    z-index: 200;
    padding: 12px 0;
    border-radius: var(--r-full);
    background: rgba(10, 14, 23, 0.75);
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all var(--t-normal) var(--ease);
}

.nav.is-scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 23, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    transition: transform var(--t-fast) var(--ease);
}

.nav-brand:hover {
    transform: scale(1.03);
}

.nav-brand-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin: 0;
}

/* Pill-shaped nav menu */
.nav-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-full);
    backdrop-filter: blur(12px);
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--t-fast) var(--ease);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--r-full);
}

.nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
}

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

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 200;
}

.nav-hamburger i {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--t-fast) var(--ease);
}

.nav-hamburger.open i:nth-child(1) {
    transform: rotate(45deg) translate(3px, 5px);
}

.nav-hamburger.open i:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open i:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -5px);
}

/* Mobile overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 16, 0.96);
    backdrop-filter: blur(30px);
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

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

.nav-mobile-overlay a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--t-fast);
}

.nav-mobile-overlay a:hover {
    color: var(--text-accent);
}

/* Mobile close button */
.mobile-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-strong);
    display: grid;
    place-items: center;
    color: var(--text-white);
    transition: all var(--t-fast) var(--ease);
    z-index: 10;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

/* ========================================
   HERO
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 212, 255, 0.03) 25%, transparent 50%, rgba(123, 97, 255, 0.03) 75%, transparent 100%);
    border-radius: 50%;
    animation: hero-rotate 40s linear infinite;
}

@keyframes hero-rotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Social proof */
.hero-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 20px 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    margin-bottom: 32px;
    animation: fadeUp 0.7s var(--ease) both;
    backdrop-filter: blur(8px);
}

.hero-avatars {
    display: flex;
    align-items: center;
}

.hero-avatar-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    display: grid;
    place-items: center;
    margin-left: -8px;
    position: relative;
}

.hero-avatar-ring:first-child {
    margin-left: 0;
}

.hero-avatar-ring:nth-child(2) {
    border-color: rgba(123, 97, 255, 0.3);
}

.hero-avatar-ring:nth-child(3) {
    border-color: rgba(0, 230, 118, 0.3);
}

.hero-avatar-count {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-subtle);
    border: 2px solid var(--border-accent);
    display: grid;
    place-items: center;
    margin-left: -8px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-proof-divider {
    width: 1px;
    height: 28px;
    background: var(--border-strong);
}

.hero-proof-info {
    display: flex;
    flex-direction: column;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero-stars svg {
    flex-shrink: 0;
}

.hero-stars span {
    color: var(--text-white);
    font-size: 0.82rem;
    margin-left: 6px;
    font-weight: 700;
    font-family: var(--font-display);
}

.hero-proof-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    margin-bottom: 32px;
    animation: fadeUp 0.7s var(--ease) both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: tag-blink 1.5s infinite;
}

.hero-badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hero-badge-text strong {
    color: var(--text-accent);
    font-weight: 600;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 24px;
    animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero h1 .text-glow {
    background: linear-gradient(135deg, var(--accent) 0%, #66E0FF 30%, var(--accent-secondary) 60%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 4s ease infinite;
}

@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeUp 0.7s var(--ease) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.7s var(--ease) 0.3s both;
}

.hero-metrics {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.7s var(--ease) 0.4s both;
}

.hero-metric {
    transition: transform var(--t-fast) var(--ease);
}

.hero-metric:hover {
    transform: translateY(-2px);
}

.hero-metric-val {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: baseline;
}

.hero-metric-val .suffix {
    font-size: 1rem;
    color: var(--accent);
    margin-left: 2px;
}

.hero-metric-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Terminal */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s var(--ease) 0.4s both;
}

.terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 100px rgba(0, 212, 255, 0.04);
    transition: box-shadow var(--t-slow) var(--ease);
}

.terminal:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 120px rgba(0, 212, 255, 0.07);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) {
    background: #FF5F57;
}

.terminal-dot:nth-child(2) {
    background: #FEBC2E;
}

.terminal-dot:nth-child(3) {
    background: #28C840;
}

.terminal-title {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    min-height: 280px;
}

.terminal-line {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    opacity: 0;
    animation: termReveal 0.4s var(--ease) forwards;
}

.terminal-line:nth-child(1) {
    animation-delay: 0.8s;
}

.terminal-line:nth-child(2) {
    animation-delay: 1.1s;
}

.terminal-line:nth-child(3) {
    animation-delay: 1.4s;
}

.terminal-line:nth-child(4) {
    animation-delay: 1.7s;
}

.terminal-line:nth-child(5) {
    animation-delay: 2.0s;
}

.terminal-line:nth-child(6) {
    animation-delay: 2.3s;
}

.terminal-line:nth-child(7) {
    animation-delay: 2.6s;
}

.terminal-line:nth-child(8) {
    animation-delay: 2.9s;
}

.terminal-prompt {
    color: var(--accent);
}

.terminal-cmd {
    color: var(--text-primary);
}

.terminal-comment {
    color: var(--text-muted);
}

.terminal-string {
    color: var(--accent-success);
}

.terminal-keyword {
    color: var(--accent-secondary);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent);
    margin-left: 4px;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes termReveal {
    to {
        opacity: 1;
    }
}

.terminal-float-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    animation: floatBadge 5s ease-in-out infinite;
}

.terminal-float-badge.top-right {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.terminal-float-badge.bottom-left {
    bottom: -16px;
    left: -20px;
    animation-delay: -2.5s;
}

.float-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    font-size: 1rem;
}

.float-badge-info .fb-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-white);
}

.float-badge-info .fb-desc {
    font-size: 0.68rem;
    color: var(--text-muted);
}

@keyframes floatBadge {

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

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

/* ========================================
   TRUSTED BY / LOGO CAROUSEL
======================================== */
.trusted-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.015) 0%, transparent 40%, transparent 60%, rgba(0, 212, 255, 0.015) 100%);
}

.trusted-bar::before,
.trusted-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 180px;
    z-index: 2;
    pointer-events: none;
}

.trusted-bar::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 100%);
}

.trusted-bar::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary) 0%, transparent 100%);
}

.trusted-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.marquee-wrap {
    position: relative;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 40px;
    align-items: center;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
    will-change: transform;
}

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

.marquee-item {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 230px;
    height: 140px;
    padding: 12px 10px;
    border-radius: 12px;
    transition: all var(--t-normal) var(--ease);
}

.marquee-item:hover {
    background: transparent;
    box-shadow: none;
}

.marquee-item img {
    max-height: 90px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all var(--t-normal) var(--ease);
    transform: scale(var(--base-scale, 1));
}

.marquee-item:hover img {
    opacity: 1;
    transform: scale(calc(var(--base-scale, 1) * 1.08));
}

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

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

/* ========================================
   SERVICES
======================================== */
.services {
    padding: var(--section-pad) 0;
}

.services-top {
    margin-bottom: 64px;
}

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

.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 44px;
    position: relative;
    overflow: hidden;
    transition: all var(--t-normal) var(--ease);
    cursor: default;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--t-normal);
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity var(--t-slow);
    pointer-events: none;
}

.svc-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 212, 255, 0.04);
}

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

.svc-card:hover::after {
    opacity: 1;
}

.svc-card:nth-child(2)::before {
    background: linear-gradient(90deg, transparent 0%, var(--accent-secondary) 50%, transparent 100%);
}

.svc-card:nth-child(3)::before {
    background: linear-gradient(90deg, transparent 0%, var(--accent-warm) 50%, transparent 100%);
}

.svc-card:nth-child(4)::before {
    background: linear-gradient(90deg, transparent 0%, var(--accent-success) 50%, transparent 100%);
}

.svc-card:nth-child(2)::after {
    background: radial-gradient(circle, rgba(123, 97, 255, 0.04), transparent 70%);
}

.svc-card:nth-child(3)::after {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.04), transparent 70%);
}

.svc-card:nth-child(4)::after {
    background: radial-gradient(circle, rgba(0, 230, 118, 0.04), transparent 70%);
}

.svc-card .svc-num {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.06) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.svc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    font-size: 1.5rem;
    position: relative;
}

.svc-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-dim), transparent);
    z-index: -1;
}

.svc-icon svg {
    color: var(--accent);
}

.svc-card:nth-child(1) .svc-icon {
    background: rgba(0, 212, 255, 0.08);
}

.svc-card:nth-child(2) .svc-icon {
    background: rgba(123, 97, 255, 0.08);
}

.svc-card:nth-child(2) .svc-icon svg {
    color: var(--accent-secondary);
}

.svc-card:nth-child(3) .svc-icon {
    background: rgba(255, 107, 107, 0.08);
}

.svc-card:nth-child(3) .svc-icon svg {
    color: var(--accent-warm);
}

.svc-card:nth-child(4) .svc-icon {
    background: rgba(0, 230, 118, 0.08);
}

.svc-card:nth-child(4) .svc-icon svg {
    color: var(--accent-success);
}

.svc-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.svc-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

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

.svc-tag {
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-accent);
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
}

/* ========================================
   INTRODUCTION
======================================== */
.introduction {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.intro-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 0;
}

.intro-bg-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.03;
    filter: brightness(0) invert(1);
}

.introduction .container {
    position: relative;
    z-index: 1;
}

.intro-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: fit-content;
}

.intro-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text strong {
    color: var(--text-white);
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    padding-bottom: 2px;
}

.intro-highlights {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.intro-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--t-normal) var(--ease);
}

.intro-highlight:hover {
    border-color: var(--border-accent);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08);
    transform: translateY(-2px);
}

.intro-highlight svg {
    flex-shrink: 0;
}

/* ========================================
   FEATURES
======================================== */
.features {
    padding: var(--section-pad) 0;
}

.features-top {
    text-align: center;
    margin-bottom: 64px;
}

.features-top .section-desc {
    margin-left: auto;
    margin-right: auto;
}

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

.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
}

.feat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.03));
    opacity: 0;
    transition: opacity var(--t-normal);
}

.feat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 0 30px rgba(0, 212, 255, 0.03);
}

.feat-card:hover::after {
    opacity: 1;
}

.feat-card:nth-child(2):hover {
    border-color: rgba(123, 97, 255, 0.25);
}

.feat-card:nth-child(2)::after {
    background: linear-gradient(180deg, transparent, rgba(123, 97, 255, 0.03));
}

.feat-card:nth-child(3):hover {
    border-color: rgba(255, 107, 107, 0.25);
}

.feat-card:nth-child(3)::after {
    background: linear-gradient(180deg, transparent, rgba(255, 107, 107, 0.03));
}

.feat-card:nth-child(4):hover {
    border-color: rgba(0, 230, 118, 0.25);
}

.feat-card:nth-child(4)::after {
    background: linear-gradient(180deg, transparent, rgba(0, 230, 118, 0.03));
}

.feat-card:nth-child(5):hover {
    border-color: rgba(250, 204, 21, 0.25);
}

.feat-card:nth-child(5)::after {
    background: linear-gradient(180deg, transparent, rgba(250, 204, 21, 0.03));
}

.feat-card:nth-child(6):hover {
    border-color: rgba(0, 212, 255, 0.25);
}

.feat-card:nth-child(2) .feat-icon {
    background: rgba(123, 97, 255, 0.08);
    border-color: rgba(123, 97, 255, 0.2);
}

.feat-card:nth-child(3) .feat-icon {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.2);
}

.feat-card:nth-child(4) .feat-icon {
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.2);
}

.feat-card:nth-child(5) .feat-icon {
    background: rgba(250, 204, 21, 0.08);
    border-color: rgba(250, 204, 21, 0.2);
}

.feat-card:nth-child(6) .feat-icon {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
}

.feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    color: var(--accent);
}

.feat-icon svg {
    color: inherit;
}

.feat-card:nth-child(2) .feat-icon svg {
    color: #7B61FF;
}

.feat-card:nth-child(3) .feat-icon svg {
    color: #FF6B6B;
}

.feat-card:nth-child(4) .feat-icon svg {
    color: #00E676;
}

.feat-card:nth-child(5) .feat-icon svg {
    color: #FACC15;
}

.feat-card:nth-child(6) .feat-icon svg {
    color: var(--accent);
}

.feat-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.feat-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========================================
   ABOUT
======================================== */
.about {
    padding: var(--section-pad) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about-image-glow {
    position: absolute;
    inset: -20%;
    z-index: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* AI Dashboard Visual */
.ai-dashboard {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 100px rgba(0, 212, 255, 0.04);
    position: relative;
    z-index: 1;
    transition: box-shadow var(--t-slow) var(--ease);
}

.ai-dashboard:hover {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 120px rgba(0, 212, 255, 0.07);
}

.ai-dash-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.ai-dash-dots {
    display: flex;
    gap: 6px;
}

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

.ai-dash-dots span:nth-child(1) {
    background: #FF5F57;
}

.ai-dash-dots span:nth-child(2) {
    background: #FEBC2E;
}

.ai-dash-dots span:nth-child(3) {
    background: #28C840;
}

.ai-dash-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ai-dash-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-success);
    font-weight: 500;
}

.ai-dash-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-success);
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
    animation: tag-blink 1.5s infinite;
}

.ai-dash-body {
    padding: 20px;
}

/* Dashboard metrics row */
.ai-dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.ai-dash-metric {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 14px;
}

.ai-dash-metric-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.ai-dash-metric-value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.ai-dash-metric-value.accent {
    color: var(--accent);
}

.ai-dash-metric-value.purple {
    color: var(--accent-secondary);
}

.ai-dash-metric-value.green {
    color: var(--accent-success);
}

.ai-dash-metric-bar {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
}

.ai-dash-metric-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.5s var(--ease);
}

/* Neural network visualization */
.ai-dash-neural {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.ai-dash-neural-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-dash-neural-label::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-success);
    box-shadow: 0 0 6px rgba(0, 230, 118, 0.4);
}

.ai-neural-svg {
    width: 100%;
    height: auto;
}

.ai-node {
    animation: node-pulse 3s ease-in-out infinite;
}

.ai-node-lg {
    animation-delay: 0.5s;
}

.ai-node-out {
    animation-delay: 1s;
}

@keyframes node-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Agent status rows */
.ai-dash-agents {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-dash-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.ai-dash-agent-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ai-dash-agent-dot.green {
    background: var(--accent-success);
    box-shadow: 0 0 6px rgba(0, 230, 118, 0.3);
}

.ai-dash-agent-dot.blue {
    background: var(--accent);
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
    animation: tag-blink 2s infinite;
}

.ai-dash-agent-name {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.ai-dash-agent-status {
    color: var(--text-muted);
    font-size: 0.65rem;
}

/* Floating tech badges */
.about-float-badge {
    position: absolute;
    z-index: 3;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    animation: floatBadge 5s ease-in-out infinite;
}

.about-badge-top {
    top: 16px;
    right: -16px;
    animation-delay: 0s;
}

.about-badge-bottom {
    bottom: 16px;
    left: -16px;
    animation-delay: -2.5s;
}

.about-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.about-badge-text {
    display: flex;
    flex-direction: column;
}

.about-badge-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: var(--font-display);
}

.about-badge-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Feature bullets */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.about-content .section-desc {
    margin-bottom: 24px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.about-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
    text-align: center;
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
    opacity: 0;
    transition: opacity var(--t-normal);
}

.about-stat:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-stat:hover::before {
    opacity: 1;
}

.stat-icon {
    margin: 0 auto 8px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    display: grid;
    place-items: center;
}

.about-stat:nth-child(2) .stat-icon {
    background: rgba(123, 97, 255, 0.06);
    border-color: rgba(123, 97, 255, 0.15);
}

.about-stat:nth-child(3) .stat-icon {
    background: rgba(0, 230, 118, 0.06);
    border-color: rgba(0, 230, 118, 0.15);
}

.about-stat:nth-child(4) .stat-icon {
    background: rgba(255, 107, 107, 0.06);
    border-color: rgba(255, 107, 107, 0.15);
}

.about-stat .stat-v {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}

.about-stat:nth-child(2) .stat-v {
    color: var(--accent-secondary);
}

.about-stat:nth-child(3) .stat-v {
    color: var(--accent-success);
}

.about-stat:nth-child(4) .stat-v {
    color: var(--accent-warm);
}

.about-stat .stat-l {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
    padding: var(--section-pad) 0;
}

.testimonials-top {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-top .section-desc {
    margin: 0 auto;
}

.testimonials-marquee-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    height: 700px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.testi-marquee-column {
    display: flex;
    flex-direction: column;
}

.testi-marquee-track,
.testi-marquee-track-reverse {
    display: flex;
    flex-direction: column;
}

.testi-marquee-track {
    animation: marquee-up 45s linear infinite;
}

.testi-marquee-track-reverse {
    animation: marquee-down 50s linear infinite;
}

.testi-marquee-column:hover .testi-marquee-track,
.testi-marquee-column:hover .testi-marquee-track-reverse {
    animation-play-state: paused;
}

@keyframes marquee-up {
    0% {
        transform: translateY(0);
    }

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

@keyframes marquee-down {
    0% {
        transform: translateY(-50%);
    }

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

.testi-card {
    background: rgba(19, 24, 41, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 24px;
    transition: all var(--t-normal) var(--ease);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    position: relative;
    margin-bottom: 24px;
}



.testi-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(0, 212, 255, 0.04);
    background: rgba(19, 24, 41, 0.8);
}

.testi-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 16px;
}

.testi-stars svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 3px rgba(250, 204, 21, 0.3));
}

.testi-card blockquote {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testi-avatar-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    transition: border-color var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease);
}

.testi-avatar-icon span {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--accent);
}

.testi-card:hover .testi-avatar-icon {
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.1);
}

.testi-card:nth-child(2) .testi-avatar-icon,
.testi-card:nth-child(5) .testi-avatar-icon {
    background: rgba(123, 97, 255, 0.04);
    border-color: rgba(123, 97, 255, 0.3);
}

.testi-card:nth-child(2) .testi-avatar-icon span,
.testi-card:nth-child(5) .testi-avatar-icon span {
    color: var(--accent-secondary);
}

.testi-card:nth-child(3) .testi-avatar-icon,
.testi-card:nth-child(6) .testi-avatar-icon {
    background: rgba(0, 230, 118, 0.04);
    border-color: rgba(0, 230, 118, 0.3);
}

.testi-card:nth-child(3) .testi-avatar-icon span,
.testi-card:nth-child(6) .testi-avatar-icon span {
    color: var(--accent-success);
}

.testi-name {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.testi-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ========================================
   RECOGNITION
======================================== */
.recognition {
    padding: 100px 0;
    text-align: center;
}

.recognition-heading {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.recognition-box {
    background: #111520;
    border-radius: var(--r-xl);
    padding: 48px;
    text-align: left;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recognition-box-header {
    margin-bottom: 40px;
}

.recognition-subtitle {
    font-size: 0.85rem;
    color: #7B859D;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.recognition-title {
    font-size: 2rem;
    font-family: var(--font-display);
    color: #FFFFFF;
    font-weight: 700;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #1A1F2E;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.rec-card {
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.rec-card:last-child {
    border-right: none;
}

.rec-logo {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

/* Clutch Badge */
.clutch-badge {
    background: #0D6EFD;
    color: white;
    border-radius: 6px;
    padding: 10px 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.clutch-top {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.clutch-mid {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;
}

.clutch-mid strong {
    font-size: 1.4rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

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

.clutch-bottom {
    font-size: 0.65rem;
    opacity: 0.9;
    align-self: flex-end;
}

/* Web Summit */
.ws-logo {
    display: flex;
    align-items: center;
    color: white;
    font-family: var(--font-display);
    line-height: 1;
}

.ws-text {
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    text-align: right;
    margin-right: -4px;
    z-index: 1;
}

.ws-text strong {
    font-size: 2.1rem;
    font-weight: 800;
}

.ws-mountain {
    margin-top: 4px;
}

/* BRICS */
.brics-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-align: left;
}

.brics-text {
    font-size: 0.65rem;
    line-height: 1.4;
}

.brics-text strong {
    font-size: 0.75rem;
}

/* The News International */
.news-logo-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.news-logo-img {
    max-width: 140px;
    height: auto;
    filter: brightness(0) invert(1); /* Ensure it's white for dark theme if needed */
    opacity: 0.9;
}

/* Desc */
.rec-desc {
    font-size: 0.9rem;
    color: #A0ABCC;
    line-height: 1.5;
    margin: 0;
}

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

    .rec-card:nth-child(2) {
        border-right: none;
    }

    .rec-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

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

    .rec-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rec-card:last-child {
        border-bottom: none;
    }

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

/* ========================================
   BLOG PREVIEW
======================================== */
.blog-preview {
    padding: var(--section-pad) 0;
}

.blog-preview-top {
    text-align: center;
    margin-bottom: 64px;
}

.blog-preview-top .section-desc {
    margin: 0 auto;
}

.blog-grid-wrapper {
    position: relative;
    width: 100%;
}

.blog-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 20px 0 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.blog-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

@media (min-width: 1200px) {
    .blog-card {
        flex: 0 0 calc(25% - 24px); /* 4 cards per view */
        scroll-snap-align: start;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .blog-card {
        flex: 0 0 calc(50% - 16px); /* 2 cards per view */
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .blog-card {
        flex: 0 0 85%; /* Mostly one card plus peek */
        scroll-snap-align: center;
    }
    
    .blog-grid {
        gap: 20px;
    }
}

/* Blog Header & Navigation */
.blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centered with heading */
    gap: 40px;
    margin-top: 10px;
}

.blog-header-text {
    flex: 1;
}

.blog-nav {
    display: flex;
    gap: 8px;
    pointer-events: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    padding: 0;
    touch-action: manipulation;
}

.blog-nav-btn svg {
    width: 20px;
    height: 20px;
}

.blog-nav-btn:hover {
    background: var(--accent);
    color: #FFFFFF !important;
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.blog-prev:hover svg {
    transform: translateX(-3px);
}
.blog-next:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .blog-preview-top {
        position: relative;
    }

    .blog-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .blog-nav {
        position: absolute;
        top: 0;
        right: 0;
        flex-shrink: 0;
    }

    .blog-nav-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all var(--t-normal) var(--ease);
}

.blog-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.03);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 28px;
}

.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-accent);
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    margin-bottom: 14px;
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.blog-card-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--t-fast);
}

.blog-card-link:hover {
    gap: 12px;
    color: var(--text-white);
}

.blog-card-link svg {
    transition: transform var(--t-fast);
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   PROCESS
======================================== */
.process {
    padding: var(--section-pad) 0;
}

.process-top {
    text-align: center;
    margin-bottom: 72px;
}

.process-top .section-desc {
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent-warm));
    opacity: 0.2;
}

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

.step-ring {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    margin: 0 auto 32px;
    position: relative;
    display: grid;
    place-items: center;
    z-index: 1;
}

.step-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--border-accent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
    animation: step-pulse 3s ease-in-out infinite;
}

.step-card:nth-child(2) .step-ring::before {
    border-color: rgba(123, 97, 255, 0.2);
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.08);
}

.step-card:nth-child(3) .step-ring::before {
    border-color: rgba(0, 230, 118, 0.2);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.08);
}

.step-card:nth-child(2) .step-num {
    color: var(--accent-secondary);
}

.step-card:nth-child(3) .step-num {
    color: var(--accent-success);
}

.step-ring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

@keyframes step-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.5;
    }
}

.step-ring .step-num {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ========================================
   FAQ
======================================== */
.faq {
    padding: var(--section-pad) 0;
}

.faq-top {
    text-align: center;
    margin-bottom: 56px;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: all var(--t-normal) var(--ease);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item.active {
    border-color: var(--border-accent);
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.06);
    background: rgba(19, 24, 41, 0.8);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    color: var(--text-primary);
    transition: color var(--t-fast);
}

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

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all var(--t-normal);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
    transition: transform var(--t-normal);
}

.faq-item.active .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
}

.faq-item.active .faq-icon svg {
    stroke: #000;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-a {
    max-height: 200px;
}

.faq-a p {
    padding: 0 28px 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: var(--section-pad) 0;
}

.cta-box {
    position: relative;
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary), var(--accent-warm), var(--accent));
    background-size: 300% 300%;
    animation: gradient-border 6s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
}

@keyframes gradient-border {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.08), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(123, 97, 255, 0.06), transparent 50%);
    z-index: 0;
    animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
    0% {
        transform: translate(-5%, -5%) scale(1);
    }

    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 18px;
}

.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-full);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-accent);
    margin-bottom: 28px;
}

.cta-box p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
}

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

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.cta-email-link {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

.cta-email-link:hover {
    color: var(--text-primary);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

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

.footer-brand-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    margin: -8px 0;
}

.footer-brand-logo .fb-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-white);
}

.footer-brand>p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 300px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    transition: all var(--t-fast) var(--ease);
}

.footer-social a:hover {
    border-color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

.footer-social a img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(0.6);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--t-fast);
}

.footer-col a:hover {
    color: var(--text-accent);
}

.footer-addresses {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 32px;
    margin-bottom: 32px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.footer-address h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-address h5 img {
    border-radius: 2px;
    object-fit: contain;
}

.footer-address p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    transition: color var(--t-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* ========================================
   CONTACT FORM PAGE
======================================== */
.contact-page {
    min-height: 100vh;
    padding: 160px 0 100px;
}

.contact-header {
    margin-bottom: 48px;
}

.contact-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent) 50%, var(--text-white) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 5s ease infinite;
}

.contact-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.75;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--t-fast);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    cursor: pointer;
    color: var(--text-muted);
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-select.has-value {
    color: var(--text-primary);
}

.form-group-select {
    position: relative;
}

.form-group-select::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--text-muted);
    pointer-events: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08), 0 0 20px rgba(0, 212, 255, 0.04);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--accent-warm);
}

.form-error {
    font-size: 0.75rem;
    color: var(--accent-warm);
    margin-top: 6px;
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-privacy {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    grid-column: 1 / -1;
    margin-top: 4px;
}

.form-privacy a {
    color: var(--accent-warm);
    text-decoration: underline;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.btn-submit {
    padding: 15px 40px;
    font-size: 0.9rem;
}

.btn-submit .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

.btn-submit.loading .btn-text {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 16px 28px;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--accent-success);
    color: #000;
}

.toast.error {
    background: var(--accent-warm);
    color: #fff;
}

/* ========================================
   SCROLL REVEAL
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        max-width: 600px;
    }

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

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

    .about-visual-wrap {
        max-width: 520px;
        margin: 0 auto;
    }

    .about-float-badge {
        display: none;
    }

    .testimonials-marquee-container {
        grid-template-columns: repeat(2, 1fr);
        height: 600px;
    }

    .testi-marquee-column:nth-child(3) {
        display: none;
    }

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

    .footer-addresses {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        top: 16px;
        width: calc(100% - 32px);
        padding: 8px 0;
    }

    .nav-brand-img {
        height: 32px;
    }

    .nav-pill {
        display: none;
    }

    .nav-actions .btn-ghost,
    .nav-actions .btn-glow {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 110px 0 70px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 40px;
    }

    .hero-metric-val {
        font-size: 1.6rem;
    }

    .trusted-bar {
        padding: 32px 0;
    }

    .marquee-track {
        gap: 40px;
    }

    .marquee-item {
        width: 140px;
        height: 70px;
        padding: 8px 12px;
    }

    .marquee-item img {
        max-height: 48px;
        max-width: 120px;
    }

    .section-heading {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .intro-text {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    }

    .intro-highlights {
        gap: 12px;
    }

    .intro-highlight {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

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

    .svc-card {
        padding: 32px;
    }

    .ai-dash-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ai-dash-metric-value {
        font-size: 1.1rem;
    }

    .about-features {
        gap: 10px;
    }

    .about-feature {
        font-size: 0.82rem;
    }

    .testimonials-marquee-container {
        grid-template-columns: 1fr;
    }

    .testi-marquee-column:nth-child(2) {
        display: none;
    }

    .testi-card {
        padding: 28px;
    }

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

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

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

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

    .cta-box h2 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-trust {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

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

    .form-actions {
        justify-content: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-sub {
        font-size: 0.92rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-metrics {
        gap: 16px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .hero-metric-val {
        font-size: 1.4rem;
    }

    .hero-social-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 14px;
    }

    .hero-proof-divider {
        display: none;
    }

    .section-heading {
        font-size: 1.35rem;
    }

    .section-heading br {
        display: none;
    }

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

    .about-stat {
        padding: 18px;
    }

    .testi-card {
        padding: 24px;
    }

    .testi-card blockquote {
        font-size: 0.88rem;
    }

    .svc-card {
        padding: 28px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .cta-box {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .faq-q {
        padding: 18px;
        font-size: 0.88rem;
    }

    .faq-a p {
        padding: 0 18px 18px;
    }

    .intro-highlights {
        flex-direction: column;
        align-items: center;
    }

    .intro-bg-logo {
        width: 300px;
        height: 300px;
    }

    .nav-brand-img {
        height: 32px;
    }

    #neuralCanvas {
        display: none;
    }

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

    .about-feature {
        justify-content: center;
    }
}

/* ========================================
   PERFORMANCE & ACCESSIBILITY
======================================== */
.services,
.features,
.testimonials,
.blog-preview,
.process,
.faq,
.cta,
.case-studies {
    contain: content;
}

/* ========================================
   CASE STUDIES
======================================== */
.case-studies {
    padding: var(--section-pad) 0;
    position: relative;
}

/* Header row */
.case-studies-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Filter pills */
.cs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: flex-end;
    padding-bottom: 4px;
}

.cs-filter-btn {
    padding: 10px 22px;
    border-radius: var(--r-full);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    white-space: nowrap;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cs-filter-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cs-filter-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cs-filter-btn:hover::after {
    opacity: 1;
}

.cs-filter-btn.active {
    color: #FFFFFF;
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4), 0 0 50px rgba(var(--accent-rgb), 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cs-filter-btn.active::after {
    opacity: 0.2;
}

/* Card grid — 2 columns */
/* ── INDUSTRIES (CASE STUDIES) ── */
.cs-grid-wrapper {
    position: relative;
    margin-top: 40px;
}

.cs-grid {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    padding-bottom: 20px;
    padding-top: 10px;
    scroll-padding: 0 10%; /* Ensure better alignment when scrolling */
}

.cs-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Base card styling */
.cs-card {
    position: relative;
    height: 520px;
    flex: 0 0 calc(33.333% - 21.33px); /* 3 cards per view, gap 32px */
    border-radius: 24px;
    overflow: hidden;
    background: #0D121F;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    transition: none;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1199px) and (min-width: 768px) {
    .cs-card {
        flex: 0 0 calc(50% - 16px); /* 2 cards per view */
    }
}

@media (max-width: 767px) {
    .cs-card {
        flex: 0 0 82%; /* Slightly more peek-a-boo */
        height: 420px; /* Reduced from 520px */
        padding: 24px;
    }
    
    .cs-grid {
        gap: 16px;
        scroll-padding: 0 9%;
    }

    .cs-card-industry {
        font-size: 1.1rem !important;
    }

    .cs-card-desc {
        font-size: 0.85rem !important;
        margin-bottom: 24px !important;
    }

    .cs-card-metric {
        font-size: 2.2rem !important;
    }

    .cs-card-metric .suffix {
        font-size: 0.8rem !important;
    }

    .cs-card-client {
        font-size: 0.7rem !important;
    }

    .cs-nav-btn {
        width: 48px;
        height: 48px;
    }
}

.cs-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cs-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: none;
}

.cs-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.98) 0%, rgba(10, 14, 23, 0.7) 40%, rgba(10, 14, 23, 0.1) 100%);
    z-index: 1;
}

.cs-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.cs-card-industry {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.02em;
}

.cs-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-card-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 95%;
    margin: 0;
}

.cs-card-metric {
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 0.9;
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
}

.cs-card-metric .suffix {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 6px;
    font-family: var(--font-body);
}

.cs-card-client {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 4px;
}

.cs-card-client-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    margin-top: 8px;
    opacity: 1;
    mix-blend-mode: screen;
}

/* Hover Effects — disabled, cards are fully static */

/* Link Overlay */
.cs-card-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    cursor: pointer;
}

/* Case Studies Top Header */
.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centered alignment */
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.case-studies .section-heading {
    margin-bottom: 8px;
}

/* Header controls (Filters + Nav) */
.cs-header-controls {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 10px;
}

.cs-header-divider {
    width: 1px;
    height: 24px;
    background: var(--border-strong);
    opacity: 0.6;
}

.case-studies div .cs-nav {
    position: static;
    transform: none;
    display: flex;
    gap: 8px;
    pointer-events: auto;
    width: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

.cs-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    padding: 0;
    touch-action: manipulation;
}

.cs-nav-btn:hover {
    background: var(--accent);
    color: #FFFFFF !important;
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.cs-nav-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .cs-header-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .cs-filters {
        width: auto;
    }

    .cs-header-divider {
        display: none;
    }

    .cs-nav {
        width: auto;
        justify-content: flex-end;
    }

    .cs-nav-btn {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}

/* Hide legacy nav if still present in other templates */
.cs-grid-wrapper .cs-nav {
    display: none;
}

.cs-prev:hover svg {
    transform: translateX(-3px);
}

.cs-next:hover svg {
    transform: translateX(3px);
}

/* Categorized accent colors for metrics */
.cs-card[data-category="automation"] .cs-card-metric { color: var(--accent-success); }
.cs-card[data-category="llm"] .cs-card-metric { color: var(--accent-secondary); }
.cs-card[data-category="agents"] .cs-card-metric { color: var(--accent-warm); }
.cs-card[data-category="generative-ai"] .cs-card-metric { color: var(--accent); }

/* --- Filtering support --- */
.cs-card.cs-hidden {
    display: none;
}


/* --- Bottom CTA bar --- */
.cs-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 56px auto 0;
    width: fit-content;
    max-width: 100%;
    padding: 36px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cs-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--accent) 30%, var(--accent-secondary) 70%, transparent 95%);
    opacity: 0.3;
}

.cs-bottom-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cs-bottom-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.cs-bottom-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.cs-bottom-divider {
    width: 1px;
    height: 40px;
    background: var(--border-strong);
    flex-shrink: 0;
}

.cs-bottom-cta {
    margin-left: auto;
}

/* --- Filtering: hidden cards --- */
.cs-card.cs-hidden {
    display: none;
}

/* === Light theme overrides === */
[data-theme="light"] .cs-card {
    background: #FFFFFF;
    border-color: rgba(74, 143, 226, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(74, 143, 226, 0.06);
}

[data-theme="light"] .cs-card:hover {
    border-color: rgba(74, 143, 226, 0.3);
    box-shadow: 0 4px 20px rgba(74, 143, 226, 0.12), 0 0 0 1px rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .cs-card--featured {
    background: linear-gradient(145deg, #FFFFFF, rgba(37, 99, 168, 0.03));
    border-color: rgba(37, 99, 168, 0.18);
}

[data-theme="light"] .cs-card--featured:hover {
    border-color: rgba(37, 99, 168, 0.3);
}

[data-theme="light"] .cs-filter-btn {
    border-color: rgba(74, 143, 226, 0.15);
    color: #4A5578;
}

[data-theme="light"] .cs-filter-btn:hover {
    color: #0F1824;
    border-color: var(--accent);
    background: rgba(74, 143, 226, 0.06);
}

[data-theme="light"] .cs-filter-btn.active {
    color: #FFFFFF !important;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.35);
}

[data-theme="light"] .cs-industry-tag {
    border-color: rgba(74, 143, 226, 0.4);
    background: rgba(255, 255, 255, 0.85);
    color: #0F1824;
}

[data-theme="light"] .cs-service-tag {
    border-color: rgba(74, 143, 226, 0.4);
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .cs-metric-badge {
    background: rgba(13, 150, 80, 0.06);
    border-color: rgba(13, 150, 80, 0.18);
}

[data-theme="light"] .cs-metric-badge--purple {
    background: rgba(37, 99, 168, 0.08);
    border-color: rgba(37, 99, 168, 0.18);
}

[data-theme="light"] .cs-metric-badge--warm {
    background: rgba(200, 60, 60, 0.06);
    border-color: rgba(200, 60, 60, 0.18);
}

[data-theme="light"] .cs-testimonial {
    background: rgba(74, 143, 226, 0.03);
    border-color: rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .cs-card:hover .cs-testimonial {
    background: rgba(74, 143, 226, 0.05);
}

[data-theme="light"] .cs-client-divider {
    background: rgba(74, 143, 226, 0.1);
}

[data-theme="light"] .cs-bottom {
    background: linear-gradient(135deg, #F0F4FB, #E8EDF7);
    border-color: rgba(74, 143, 226, 0.12);
    box-shadow: 0 4px 20px rgba(74, 143, 226, 0.06);
}

[data-theme="light"] .cs-bottom-divider {
    background: rgba(74, 143, 226, 0.15);
}

[data-theme="light"] .cs-card-cta {
    border-top-color: rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .cs-card-cta:hover {
    color: #0F1824;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .cs-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-header {
        flex-direction: column;
        gap: 28px;
    }

    .cs-filters {
        align-self: flex-start;
    }

    .cs-bottom {
        padding: 28px 24px;
        gap: 24px;
    }

    .cs-bottom-cta {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Adjust padding for smaller screens */
    .cs-card-body {
        padding: 24px 20px 16px;
    }

    .cs-card-footer {
        padding: 0 20px 20px;
    }

    .cs-card-hero {
        height: 200px;
    }
}

@media (max-width: 540px) {
    .cs-bottom-divider {
        display: none;
    }

    .cs-bottom {
        gap: 20px;
    }

    .cs-bottom-stat {
        flex: 1;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    #neuralCanvas {
        display: none;
    }
}
/* ========================================
   MODERN SERVICES PANELS (v3) — Stable Layout
======================================== */
.services-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 20px;
}

.btn-view-services {
    font-size: 0.82rem;
    padding: 10px 24px;
    border-color: var(--border-strong);
    color: var(--text-secondary);
}

.services-panel-track {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.svc-panel {
    flex: 1; /* FIXED EQUAL WIDTH */
    min-width: 0;
    position: relative;
    border-right: 1px solid var(--border);
    transition: background 0.4s var(--ease);
    cursor: pointer;
    background: var(--bg-card);
    height: 540px;
}

.svc-panel:last-child {
    border-right: none;
}

.svc-panel-inner {
    padding: 50px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.svc-panel-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -65%);
    width: 220px;
    height: 220px;
    display: grid;
    place-items: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.svc-panel:hover .svc-panel-icon {
    transform: translate(-50%, -65%);
}

.svc-panel:hover .abstract-shape {
    filter: blur(35px);
    opacity: 0.6;
}

.svc-text-group {
    position: absolute;
    bottom: 52px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.svc-panel:hover .svc-text-group {
    transform: translateY(-90px);
    pointer-events: auto;
}

.svc-panel-title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-white);
    transition: color 0.4s var(--ease), margin 0.6s var(--ease);
    margin-bottom: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.svc-panel:hover .svc-panel-title {
    color: var(--accent);
    margin-bottom: 24px;
}

.svc-panel-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    max-height: 0;
    overflow: hidden;
}

.svc-panel:hover .svc-panel-content {
    opacity: 1;
    transform: translateY(0);
    max-height: 400px;
}

.svc-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.svc-panel .svc-tag {
    background: var(--bg-primary); /* Changed to use theme primary */
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 14px;
    font-size: 0.7rem;
    border-radius: var(--r-full);
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.svc-panel .svc-tag:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
    color: var(--text-accent);
}

/* Abstract Shapes (Clear by default, using sub-elements) */
.abstract-shape {
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 1;
    transition: all 0.6s var(--ease);
    display: grid;
    place-items: center;
    filter: none;
}

.svc-panel:hover .abstract-shape {
    filter: blur(40px);
    opacity: 0.5;
}

/* Shape 1: Sharp Diamond */
.shape-star .shape-element {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    clip-path: polygon(50% 0%, 63% 38%, 100% 50%, 63% 62%, 50% 100%, 37% 62%, 0% 50%, 37% 38%);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* Shape 2: Sharp Ring with highlight */
.shape-ring .shape-element {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 24px solid var(--accent);
    position: relative;
}

.shape-ring .shape-element::after {
    content: '';
    position: absolute;
    inset: -24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* Shape 3: Sharp Spheres Grid */
.shape-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    padding: 35px;
}

.grid-dot {
    width: 52px;
    height: 52px;
    background: radial-gradient(circle at 30% 30%, var(--accent-secondary) 0%, var(--accent) 100%);
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Shape 4: Sharp Half-disc / Wave */
.shape-wave .shape-element {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 80px 80px 80px 10px;
    transform: rotate(-10deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .services-panel-track { 
        flex-direction: column; 
        border-radius: 20px;
    }
    
    .svc-panel { 
        height: auto; 
        min-height: auto; 
        border-right: none; 
        border-bottom: 1px solid var(--border); 
        padding: 40px 24px;
    }
    
    .svc-panel:last-child {
        border-bottom: none;
    }
    
    .svc-panel-inner { 
        padding: 0; 
        height: auto;
        display: block; /* Switch to block for simpler flow */
        text-align: center;
    }

    .svc-panel-icon { 
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        width: 100px;
        height: 100px;
        margin: 0 auto 24px;
        display: flex;
    }

    .svc-panel:hover .svc-panel-icon {
        transform: scale(1.05) !important;
    }

    .svc-text-group {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        pointer-events: auto;
        transform: none !important;
    }

    .svc-panel:hover .svc-text-group {
        transform: none !important;
    }

    .svc-panel-title {
        font-size: 1.3rem;
        margin-bottom: 16px !important;
    }

    .svc-panel-content { 
        opacity: 1;
        max-height: 1000px; /* Show by default on mobile */
        transform: none !important;
        margin-top: 16px;
    }

    .abstract-shape .shape-element {
        width: 100px !important;
        height: 100px !important;
    }

    /* Small font adjustments for mobile */
    .svc-panel .svc-tag {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .svc-panel:hover .abstract-shape {
        filter: none;
        opacity: 1;
    }

    .shape-grid {
        gap: 8px;
        padding: 15px;
    }

    .grid-dot {
        width: 32px;
        height: 32px;
    }

    .shape-ring .shape-element {
        border-width: 16px;
    }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
======================================== */
/* Float Buttons */
.float-btns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 50px;
    background: var(--bg-elevated, #fff);
    color: var(--text-white, #1a1a2e);
    text-decoration: none;
    font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.float-btn > svg:first-child {
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    min-height: 22px;
    max-height: 22px;
    flex-shrink: 0;
}

.float-btn--whatsapp > svg:first-child {
    fill: #25D366;
}

.float-btn--contact > svg:first-child {
    stroke: var(--text-secondary);
}

.float-btn-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.4;
    transition: opacity 0.25s ease;
}

.float-btn:hover .float-btn-arrow {
    opacity: 1;
}

.float-btn--whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.float-btn--whatsapp:hover > svg:first-child {
    fill: #fff;
}

.float-btn--whatsapp:hover .float-btn-arrow {
    stroke: #fff;
}

.float-btn--contact:hover {
    background: var(--accent, #4A8FE2);
    color: #fff;
    border-color: var(--accent, #4A8FE2);
    box-shadow: 0 4px 20px rgba(74, 143, 226, 0.3);
}

.float-btn--contact:hover > svg:first-child {
    stroke: #fff;
}

.float-btn--contact:hover .float-btn-arrow {
    stroke: #fff;
}

@media (max-width: 768px) {
    .float-btns {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
        gap: 0;
        border-radius: 50%;
    }

    .float-btn > svg:first-child {
        width: 22px;
        height: 22px;
        min-width: 22px;
        max-width: 22px;
        min-height: 22px;
        max-height: 22px;
    }

    .float-btn span,
    .float-btn-arrow {
        display: none;
    }
}

/* ========================================
   SERVICES PAGE
======================================== */

/* --- Hero --- */
.sp-hero {
    padding: clamp(120px, 14vw, 180px) 0 var(--section-pad);
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.06) 0%, transparent 40%, transparent 60%, rgba(var(--accent-rgb), 0.04) 100%);
}

/* Top-right bubble */
.sp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.10);
    box-shadow: 0 0 100px 50px rgba(var(--accent-rgb), 0.06);
    pointer-events: none;
    z-index: 0;
}

/* Bottom-left bubble */
.sp-hero::after {
    content: '';
    position: absolute;
    bottom: -220px;
    left: -220px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.08);
    box-shadow: 0 0 100px 50px rgba(var(--accent-rgb), 0.05);
    pointer-events: none;
    z-index: 0;
}

.sp-hero .container {
    position: relative;
    z-index: 1;
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: center;
}

.sp-hero-content .section-tag {
    margin-bottom: 24px;
}

.sp-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 20px;
}

.sp-hero-content .text-glow,
.sp-services .text-accent,
.sp-why .text-accent,
.sp-testimonials .text-accent,
.sp-process .text-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #66E0FF 30%, var(--accent-secondary) 60%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sp-hero-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 32px;
}

.sp-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.sp-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px 32px;
    transition: border-color var(--t-fast) var(--ease);
}

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

.sp-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.sp-stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* --- Partners Bar --- */
.sp-partners {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.sp-partners-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sp-partners-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    white-space: nowrap;
}

.sp-partners-logos {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.sp-partners-logos img {
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity var(--t-fast) var(--ease);
}

.sp-partners-logos img:hover {
    opacity: 1;
}

[data-theme="light"] .sp-hero {
    background: linear-gradient(160deg, rgba(74, 143, 226, 0.10) 0%, rgba(240, 244, 251, 0.6) 35%, rgba(255, 255, 255, 0.5) 60%, rgba(74, 143, 226, 0.08) 100%);
}

[data-theme="light"] .sp-hero::before {
    background: rgba(74, 143, 226, 0.12);
    box-shadow: 0 0 120px 60px rgba(74, 143, 226, 0.08);
}

[data-theme="light"] .sp-hero::after {
    background: rgba(74, 143, 226, 0.10);
    box-shadow: 0 0 120px 60px rgba(74, 143, 226, 0.07);
}

[data-theme="light"] .sp-partners-inner {
    background: var(--bg-elevated);
    padding: 28px 36px;
    border-radius: var(--r-lg);
}

[data-theme="light"] .sp-partners-logos img {
    opacity: 1;
}

/* --- Services Section --- */
.sp-services {
    padding: var(--section-pad) 0;
}

.sp-services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 64px;
}

.sp-services-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
}

.sp-services-header-right {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

/* Service Card */
.sp-service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 48px;
    margin-bottom: 20px;
    transition: border-color var(--t-normal) var(--ease);
}

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

.sp-service-card.reverse {
    direction: rtl;
}

.sp-service-card.reverse > * {
    direction: ltr;
}

.sp-service-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--accent);
}

.sp-service-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.sp-service-body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.sp-service-body > p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.sp-service-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-bottom: 28px;
}

.sp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-primary);
}

.sp-check svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Service Visual Placeholder */
.sp-service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-service-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-elevated);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}

.sp-service-placeholder span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 200px;
}

/* Service Quote */
.sp-service-quote {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 48px;
}

.sp-quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* --- Why Choose Us --- */
.sp-why {
    padding: var(--section-pad) 0;
}

.sp-why-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 56px;
}

.sp-why-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
}

.sp-why-header-right {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

.sp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sp-why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px;
    transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.sp-why-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.sp-why-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.sp-why-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.sp-why-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Testimonials --- */
.sp-testimonials {
    padding: var(--section-pad) 0;
}

.sp-testimonials-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 56px;
}

.sp-testimonials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
}

.sp-testimonials-header-right {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sp-testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color var(--t-fast) var(--ease);
}

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

.sp-stars {
    display: flex;
    gap: 3px;
    color: #F5A623;
}

.sp-testimonial-card > p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.sp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.sp-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.sp-testimonial-author strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.sp-testimonial-author span {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Process / How It Works --- */
.sp-process {
    padding: var(--section-pad) 0;
}

.sp-process-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}

.sp-process-header .section-tag {
    margin-bottom: 16px;
    display: inline-flex;
}

.sp-process-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 16px;
}

.sp-process-header > p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sp-process-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 28px;
    transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.sp-process-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.sp-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--accent-dim);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.sp-process-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.sp-process-card p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CTA --- */
.sp-cta {
    padding: var(--section-pad) 0;
}

.sp-cta-box {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: var(--r-xl);
    padding: clamp(48px, 6vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sp-cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.sp-cta-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 420px;
}

.sp-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.btn-white {
    background: #fff;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--r-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white .arrow-icon {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.sp-cta-email {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease);
}

.sp-cta-email:hover {
    color: #fff;
}

/* --- Light theme overrides for services page --- */
[data-theme="light"] .sp-service-card {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .sp-stat-card,
[data-theme="light"] .sp-why-card,
[data-theme="light"] .sp-testimonial-card,
[data-theme="light"] .sp-process-card {
    background: var(--bg-card);
    border-color: var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .sp-service-placeholder {
    background: var(--bg-elevated);
    border-color: var(--border-strong);
}

[data-theme="light"] .btn-white {
    color: #2563A8;
}

[data-theme="light"] .btn-white .arrow-icon {
    stroke: #2563A8;
}

/* --- Services Page Responsive --- */

@media (max-width: 1024px) {
    .sp-hero-grid {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }

    .sp-service-card {
        padding: 36px;
        gap: 36px;
    }

    .sp-services-header,
    .sp-why-header,
    .sp-testimonials-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .sp-hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .sp-stat-card {
        flex: 1;
        min-width: 140px;
        padding: 20px 24px;
    }

    .sp-stat-value {
        font-size: 1.4rem;
    }

    .sp-partners-inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .sp-partners-logos {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        gap: 28px;
        padding: 12px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sp-partners-logos::-webkit-scrollbar {
        display: none;
    }

    .sp-partners-logos img {
        height: 48px !important;
        max-height: 48px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .sp-service-card {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 28px;
    }

    .sp-service-card.reverse {
        direction: ltr;
    }

    .sp-service-checks {
        grid-template-columns: 1fr;
    }

    .sp-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sp-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
    }

    .sp-cta-actions {
        align-items: center;
    }
}

@media (max-width: 540px) {
    .sp-hero-content h1 {
        font-size: 2rem;
    }

    .sp-hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-hero-content p {
        max-width: 100%;
    }

    .sp-hero-stats {
        flex-direction: column;
    }

    .sp-stat-card {
        min-width: unset;
        text-align: center;
    }

    .sp-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .sp-hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Partners logos — horizontal swipe slider */
    .sp-partners-inner {
        align-items: center;
        text-align: center;
    }

    .sp-partners-logos {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        gap: 28px;
        padding: 12px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sp-partners-logos::-webkit-scrollbar {
        display: none;
    }

    .sp-partners-logos img {
        height: 48px !important;
        max-height: 48px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    /* Section headers center */
    .sp-services-header,
    .sp-why-header,
    .sp-testimonials-header {
        text-align: center;
    }

    .sp-services-header-right,
    .sp-why-header-right,
    .sp-testimonials-header-right {
        max-width: 100%;
    }

    /* Service cards center */
    .sp-service-card {
        padding: 24px 20px;
    }

    .sp-service-body {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sp-service-checks {
        justify-items: center;
    }

    .sp-check {
        justify-content: center;
    }

    .sp-service-quote {
        justify-content: center;
        text-align: center;
    }

    /* Why section cards center */
    .sp-why-grid {
        grid-template-columns: 1fr;
    }

    .sp-why-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Process section center */
    .sp-process-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .sp-process-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
