/* ═══════════════════════════════════════════════════════
   NOW CONSULTING SERVICES — DESIGN SYSTEM v2
   Dark Enterprise Blue + Cyber-Lime   |   Advanced UX
   ═══════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ────────────────────────────────── */
:root {
    /* ── Backgrounds: vivid sapphire navy — clearly blue ── */
    --bg-primary: #1a2d4f;
    --bg-secondary: #1e3353;
    --bg-tertiary: #243b5e;
    --bg-card: rgba(32, 54, 88, 0.78);
    --bg-card-solid: #213558;

    /* ── Slate: blue-tinted, clearly readable ── */
    --slate-700: #3d5a82;
    --slate-600: #4f6e96;
    --slate-500: #6888b0;
    --slate-400: #92b4d4;
    --slate-300: #c8daea;

    /* ── Cyber-Lime — vivid against the blue ── */
    --lime: #baff39;
    --lime-light: #ccff55;
    --lime-dark: #7ecf0a;
    --lime-glow: rgba(186, 255, 57, 0.16);
    --lime-glow-md: rgba(186, 255, 57, 0.30);
    --lime-glow-strong: rgba(186, 255, 57, 0.52);

    /* ── Cyan ── */
    --cyan: #38e8ff;
    --cyan-glow: rgba(56, 232, 255, 0.2);

    /* ── Text ── */
    --text-primary: #e8f4ff;
    --text-secondary: #90b8d8;
    --text-muted: #5f84a8;

    /* ── Borders: clearly visible on sapphire ── */
    --border: rgba(80, 120, 175, 0.6);
    --border-hover: rgba(186, 255, 57, 0.6);

    --section-pad: clamp(80px, 10vw, 140px);
    --container-max: 1200px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ─── RESET ────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* use custom cursor on desktop */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ─── CUSTOM CURSOR ────────────────────────────────── */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--lime);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
    box-shadow: 0 0 10px var(--lime);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(186, 255, 57, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-spring), height 0.4s var(--ease-spring), border-color 0.3s, background 0.3s;
}

.cursor-ring.hovering {
    width: 64px;
    height: 64px;
    border-color: rgba(186, 255, 57, 0.2);
    background: rgba(163, 230, 53, 0.05);
}

.cursor-dot.hovering {
    width: 6px;
    height: 6px;
    background: var(--lime);
}

@media (hover: none) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* ─── UTILITIES ────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--lime) 0%, var(--cyan) 60%, var(--lime-light) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 5s ease infinite;
}

@keyframes gradShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 18px;
    padding: 6px 16px;
    background: var(--lime-glow);
    border: 1px solid rgba(163, 230, 53, 0.2);
    border-radius: 100px;
}

.section-tag svg {
    opacity: 0.7;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* Glass card base */
.glass-card {
    background: rgba(32, 58, 98, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gradient-bordered card wrapper */
.card-border-gradient {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.3), rgba(34, 211, 238, 0.1), rgba(163, 230, 53, 0.05));
    -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;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .card-border-gradient,
.spotlight-card:hover .card-border-gradient {
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--slate-700);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lime-dark);
}

/* ─── SCROLL REVEAL ────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(26, 45, 79, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-dot {
    color: var(--lime);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    position: relative;
    padding: 8px 16px;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.25s;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--lime);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: calc(100% - 32px);
}

/* Magnetic / shimmer button */
.magnetic-btn {
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.18);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.magnetic-btn:hover .btn-shine {
    left: 130%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-primary);
    background: var(--lime);
    border-radius: var(--radius-sm);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
    background: var(--lime-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--lime-glow-strong);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Mesh / animated bg */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(186, 255, 57, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(56, 232, 255, 0.12) 0%, transparent 60%),
        linear-gradient(160deg, #1a2d4f 0%, #1e3353 50%, #182b4a 100%);
    animation: meshMove 12s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 5% 5%;
    }
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-glow-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(186, 255, 57, 0.2) 0%, transparent 65%);
    top: -15%;
    right: -10%;
    animation: glowDrift 9s ease-in-out infinite;
}

.hero-glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 232, 255, 0.18) 0%, transparent 65%);
    bottom: -20%;
    left: -8%;
    animation: glowDrift 12s ease-in-out 2s infinite reverse;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(186, 255, 57, 0.15) 0%, transparent 65%);
    top: 40%;
    left: 40%;
    animation: glowDrift 7s ease-in-out 1s infinite;
}

@keyframes glowDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.06);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

.hero-circuits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.circuit-path {
    stroke-dasharray: 8 4;
    animation: circuitFlow 22s linear infinite;
}

.circuit-path.c2 {
    animation-delay: -6s;
}

.circuit-path.c3 {
    animation-delay: -12s;
}

.circuit-path.c4 {
    animation-delay: -3s;
}

@keyframes circuitFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -240;
    }
}

.circuit-node {
    animation: nodePulse 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 3px var(--lime));
}

.circuit-node.n2,
.circuit-node.n5,
.circuit-node.n8 {
    animation-delay: 1.2s;
}

.circuit-node.n3,
.circuit-node.n6,
.circuit-node.n9 {
    animation-delay: 2.4s;
}

@keyframes nodePulse {

    0%,
    100% {
        r: 3.5;
        opacity: 0.25;
    }

    50% {
        r: 5.5;
        opacity: 0.7;
    }
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--lime);
    opacity: 0;
    animation: particleRise linear infinite;
}

@keyframes particleRise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    8% {
        opacity: 0.5;
    }

    92% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translateY(-15vh) scale(1);
    }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 0 clamp(20px, 4vw, 40px);
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--lime);
    background: var(--lime-glow);
    border: 1px solid rgba(163, 230, 53, 0.18);
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--lime);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--lime-glow-strong);
    animation: badgePulse 2.2s ease-in-out infinite;
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 var(--lime-glow-strong);
    }

    60% {
        box-shadow: 0 0 0 8px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

/* Rotating word chip */
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.85;
}

.rotating-words {
    display: inline-block;
    position: relative;
    height: 1.4em;
    vertical-align: bottom;
    min-width: 120px;
}

.rotating-words .word {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--lime);
    font-weight: 700;
    background: var(--lime-glow);
    border: 1px solid rgba(163, 230, 53, 0.2);
    border-radius: 6px;
    padding: 0 8px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.45s ease, transform 0.45s var(--ease);
}

.rotating-words .word.active {
    opacity: 1;
    transform: translateY(0);
}

.rotating-words .word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-sm);
    cursor: none;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
    white-space: nowrap;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary {
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--lime) 0%, #84cc16 100%);
    box-shadow: 0 0 0 0 var(--lime-glow-strong);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px var(--lime-glow-strong), 0 0 0 1px var(--lime-dark);
}

.btn-ghost {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--lime);
    background: var(--lime-glow);
    color: var(--lime);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Stats */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    padding: 20px 36px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: inline-block;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--lime);
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 900;
    color: var(--lime);
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Mouse scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(163, 230, 53, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--lime);
    border-radius: 2px;
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateY(10px);
        opacity: 0;
    }

    61% {
        transform: translateY(0);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animate-in for hero children */
.animate-in {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.85s var(--ease) forwards;
}

.animate-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.28s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.46s;
}

.animate-in:nth-child(4) {
    animation-delay: 0.62s;
}

.animate-in:nth-child(5) {
    animation-delay: 0.78s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section dividers */
.section-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}


/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.services {
    padding: var(--section-pad) 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Tilt-card host */
.tilt-card {
    transform-style: preserve-3d;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.service-card:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(163, 230, 53, 0.12);
}

.card-inner {
    position: relative;
    padding: 38px 30px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
}

.service-card:hover .card-inner {
    background: rgba(22, 38, 68, 0.75);
}

/* Spotlight glow that follows mouse (set via JS) */
.card-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--lime-glow-md) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    top: var(--glow-y, 50%);
    left: var(--glow-x, 50%);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-number {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-glow);
    border: 1px solid rgba(163, 230, 53, 0.15);
    border-radius: var(--radius-md);
    color: var(--lime);
    margin-bottom: 20px;
    transition: background 0.3s, box-shadow 0.3s;
}

.service-card:hover .card-icon {
    background: rgba(163, 230, 53, 0.18);
    box-shadow: 0 0 20px var(--lime-glow-md);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    flex-grow: 1;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--slate-300);
}

.feature-dot {
    width: 5px;
    height: 5px;
    background: var(--lime);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--lime-glow-strong);
}

.card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lime);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
}

.card-cta svg {
    transition: transform 0.3s var(--ease);
}

.service-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover .card-cta svg {
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════
   ADVANTAGE
   ═══════════════════════════════════════════════════════ */
.advantage {
    position: relative;
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.advantage-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.advantage-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 0% 50%, rgba(163, 230, 53, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 100% 50%, rgba(34, 211, 238, 0.03) 0%, transparent 60%);
}

.advantage-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.advantage-intro {
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.85;
}

.advantage-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.advantage-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.advantage-item:hover {
    border-color: var(--border-hover);
    background: rgba(15, 30, 55, 0.7);
    transform: translateX(4px);
}

.advantage-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-glow);
    border-radius: var(--radius-sm);
    color: var(--lime);
    transition: background 0.3s, box-shadow 0.3s;
}

.advantage-item:hover .advantage-icon {
    background: rgba(163, 230, 53, 0.18);
    box-shadow: 0 0 16px var(--lime-glow-md);
}

.advantage-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.advantage-item p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Visual column */
.advantage-card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.adv-metric {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.metric-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.metric-ring svg {
    width: 100%;
    height: 100%;
}

.metric-progress {
    transition: stroke-dashoffset 1.6s var(--ease);
    filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.4));
}

.metric-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--lime);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.adv-quote {
    padding: 28px;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--lime);
}

.quote-marks {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--lime);
    opacity: 0.3;
    font-family: Georgia, serif;
    margin-bottom: -8px;
}

.adv-quote p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.quote-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-glow);
    border-radius: 50%;
    color: var(--lime);
    flex-shrink: 0;
}

.quote-attr {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════
   SPOTLIGHT
   ═══════════════════════════════════════════════════════ */
.spotlight {
    padding: var(--section-pad) 0;
    position: relative;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.spotlight-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.spotlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.spotlight-card .card-inner {
    display: flex;
    flex-direction: column;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 4px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lime);
    background: var(--lime-glow);
    border: 1px solid rgba(163, 230, 53, 0.15);
    border-radius: 100px;
    margin-bottom: 18px;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--lime);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

.spotlight-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.spotlight-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.72;
    flex-grow: 1;
    margin-bottom: 20px;
}

.spotlight-metrics {
    display: flex;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.sp-metric {
    flex: 1;
}

.sp-num {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--lime);
    letter-spacing: -0.02em;
}

.sp-num.sp-text {
    font-size: 0.95rem;
    font-weight: 800;
}

.sp-suffix {
    font-size: 1rem;
    font-weight: 900;
    color: var(--lime);
}

.sp-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.spotlight-tags span {
    padding: 3px 11px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--slate-400);
    background: rgba(51, 65, 85, 0.3);
    border-radius: 100px;
}


/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact {
    padding: var(--section-pad) 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-info>p {
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.85;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-icon-wrap {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lime-glow);
    border-radius: var(--radius-sm);
    color: var(--lime);
    flex-shrink: 0;
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.trust-badge svg {
    color: var(--lime);
}

/* Form */
.contact-form-wrap {
    padding: 36px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-300);
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 13px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(6, 13, 27, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: vertical;
    cursor: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px var(--lime-glow);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
    font-size: 0.75rem;
    color: #ef4444;
    display: none;
}

.form-group input.error~.form-error,
.form-group textarea.error~.form-error {
    display: block;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(163, 230, 53, 0.07);
    border: 1px solid rgba(163, 230, 53, 0.2);
    border-radius: var(--radius-sm);
}

.form-success.show {
    display: flex;
}

.form-success p {
    font-size: 0.85rem;
    color: var(--lime);
    line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    padding: clamp(60px, 8vw, 80px) 0 36px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    margin-top: 14px;
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links-col a:hover {
    color: var(--lime);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 0.72rem !important;
    color: var(--slate-600) !important;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


/* ─── PROCESS SECTION ─── */
.process {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process-steps {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-left: 0;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: var(--bg-card-solid);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lime);
    box-shadow: 0 0 20px rgba(186, 255, 57, 0.1);
    z-index: 2;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.process-step:hover .step-marker {
    transform: scale(1.1);
    border-color: var(--lime);
}

.step-content {
    padding: 30px;
    border: 1px solid var(--border);
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.step-content:hover {
    border-color: rgba(186, 255, 57, 0.3);
    transform: translateX(10px);
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-line {
        left: 20px;
    }

    .process-step {
        gap: 20px;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-content {
        padding: 20px;
    }
}


/* ─── INSIGHTS SECTION ─── */
.insights {
    padding: 100px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.insight-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.insight-card:hover {
    transform: translateY(-10px);
    border-color: rgba(186, 255, 57, 0.4);
}

.insight-date {
    font-size: 0.8rem;
    color: var(--lime);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insight-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.insight-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s var(--ease);
}

.insight-link svg {
    transition: transform 0.3s var(--ease);
}

.insight-card:hover .insight-link {
    color: var(--lime);
}

.insight-card:hover .insight-link svg {
    transform: translateX(5px);
}

@media (max-width: 480px) {
    .insight-card {
        padding: 24px;
    }
}


/* ─── MODAL ─── */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow-y: auto;
    z-index: 2001;
    animation: modalIn 0.4s var(--ease);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2002;
}

.modal-close:hover {
    color: var(--lime);
}

.modal-content {
    padding: 40px;
}

.modal-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.modal-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(186, 255, 57, 0.1);
    color: var(--lime);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-title {
    font-size: 2rem;
    color: var(--text-primary);
}

.modal-body h4 {
    color: var(--lime);
    margin: 25px 0 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 25px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.res-item .res-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.res-item .res-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }
}


/* ─── TEAM SECTION (THE SQUAD) ─── */
.team {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.3);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(186, 255, 57, 0.4);
}

.team-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(186, 255, 57, 0.1);
    color: var(--lime);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--lime);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}



/* ─── TECHNOLOGY MARQUEE ────────────────────────── */
.tech-marquee {
    padding: 60px 0;
    background: var(--bg-dark);
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-marquee::before,
.tech-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15rem;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.tech-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-container:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 40px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.marquee-item:hover {
    color: var(--primary-accent);
}

.marquee-item i {
    font-style: normal;
    color: var(--primary-accent);
    opacity: 0.6;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ─── MODAL CONTENT REFINEMENTS ────────────────── */
.article-preview h5 {
    color: var(--primary-accent);
    font-size: 1.1rem;
    margin: 24px 0 10px;
    font-family: 'Outfit', sans-serif;
}

.article-preview p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-preview strong {
    color: var(--text-primary);
}

.modal-cta-box {
    margin-top: 40px;
    padding: 30px;
    background: rgba(163, 230, 53, 0.03);
    border: 1px solid rgba(163, 230, 53, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
}

.modal-cta-box p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.modal-cta-btn {
    display: inline-flex;
    padding: 12px 28px;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ─── TRUST BAR ────────────────────────────────────── */
.trust-bar {
    padding: 24px 0;
    background: rgba(26, 45, 79, 0.4);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.trust-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-grid:hover {
    opacity: 1;
}

.logo-item {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    filter: grayscale(1);
    transition: filter 0.3s, color 0.3s, transform 0.3s;
    cursor: default;
}

.logo-item:hover {
    filter: grayscale(0);
    color: var(--lime);
    transform: translateY(-2px);
}

/* ─── TESTIMONIALS ─────────────────────────────────── */
.testimonials {
    padding: var(--section-pad) 0;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 320px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.testimonial-content {
    padding: 60px 50px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
}

.quote-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.testimonial-text {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--lime);
    margin-bottom: 4px;
}

.author-co {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.nav-dot.active {
    background: var(--lime);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--lime-glow);
}

/* ─── NEWSLETTER ────────────────────────────────────── */
.newsletter-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: rgba(32, 54, 88, 0.5);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.newsletter-form:focus-within {
    border-color: var(--lime);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 12px;
    font-size: 0.85rem;
    width: 100%;
    outline: none;
}

.newsletter-form .btn-icon {
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.newsletter-form .btn-icon:hover {
    background: var(--lime);
    color: var(--bg-primary);
}

/* ─── SHARE BUTTONS ────────────────────────────────── */
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
    align-items: center;
}

.share-btn-linkedin {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    background: #0077b5;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.share-btn-linkedin:hover {
    transform: translateY(-2px);
    background: #006da4;
    color: #fff;
}

/* ─── INSIGHT ACTIONS ────────────────────────────── */
.insight-actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.insight-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border);
}

.insight-action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--lime);
    border-color: var(--lime);
    transform: translateY(-2px);
}

.pdf-link,
.pdf-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pdf-link svg,
.pdf-trigger svg {
    color: var(--lime);
}

/* ─── FOOTER SOCIAL ──────────────────────────────── */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
    border: 1px solid var(--border);
}

.social-link:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

/* ─── Tablet (≤1024px) ──────────────────────────────── */
@media (max-width: 1024px) {

    .services-grid,
    .spotlight-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ─── Mobile (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden;
    }

    /* Nav */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero-content {
        padding-top: 100px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 14px;
        padding: 18px 24px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Section spacing */
    .services,
    .advantage,
    .spotlight,
    .contact {
        padding: 60px 0;
    }

    /* Service / spotlight cards */
    .services-grid,
    .spotlight-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* Advantage */
    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .advantage-items {
        gap: 10px;
    }

    .advantage-item {
        padding: 14px 16px;
    }

    .advantage-card-stack {
        gap: 16px;
    }

    .adv-metric {
        padding: 24px 16px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 22px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        gap: 8px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* Cursor */
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    .btn {
        cursor: pointer;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        cursor: auto;
    }
}

/* ─── Small mobile (≤480px) ─────────────────────────── */
@media (max-width: 480px) {
    .card-inner {
        padding: 24px 18px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 5px 14px;
    }

    .hero-stats {
        max-width: 260px;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }
}



.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(20, 38, 68, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    z-index: 1001;
    /* above navbar (1000) */
    padding: 0 32px;
}

.nav-links.mobile-open li {
    width: 100%;
    max-width: 280px;
}

.nav-links.mobile-open a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(32, 54, 88, 0.5);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-links.mobile-open a:hover {
    background: var(--lime-glow);
    color: var(--lime);
    border-color: var(--border-hover);
}

/* Keep the toggle button (X) above the overlay */
.mobile-toggle {
    z-index: 1002;
}