/* ===================================================
   VELLON — Technology-first website experience
   Design system, responsive layout, and motion system
   =================================================== */

:root {
    color-scheme: light;

    /* Brand palette */
    --navy-950: #020817;
    --navy-900: #06111f;
    --navy-850: #081827;
    --navy-800: #0b1c2d;
    --navy-700: #102a43;
    --cyan: #22d3ee;
    --cyan-soft: rgba(34, 211, 238, 0.14);
    --blue: #2f8cff;
    --blue-dark: #0866d8;
    --violet: #8b5cf6;
    --green: #2dd4bf;
    --amber: #fbbf24;

    /* Surfaces */
    --white: #ffffff;
    --bg: #f5f8fc;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-solid: #ffffff;
    --surface-dark: rgba(11, 28, 45, 0.72);
    --border: rgba(15, 23, 42, 0.1);
    --border-dark: rgba(148, 163, 184, 0.18);

    /* Text */
    --text: #0f172a;
    --text-soft: #334155;
    --muted: #64748b;
    --muted-dark: #94a3b8;
    --light: #f8fafc;

    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: clamp(1.65rem, 2.7vw, 2.25rem);
    --text-4xl: clamp(2rem, 4vw, 3.1rem);
    --text-5xl: clamp(2.55rem, 5vw, 4.35rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 999px;

    /* Effects */
    --gradient: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--violet));
    --gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(47, 140, 255, 0.12), rgba(139, 92, 246, 0.12));
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 16px 45px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 70px rgba(2, 8, 23, 0.18);
    --shadow-glow: 0 0 34px rgba(34, 211, 238, 0.28);
    --shadow-blue: 0 16px 38px rgba(47, 140, 255, 0.28);

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 160ms var(--ease-out);
    --transition-base: 320ms var(--ease-out);
    --transition-slow: 620ms var(--ease-out);

    /* Layout */
    --nav-height: 78px;
    --container: 1200px;
    --z-sticky: 200;
    --z-mobile-menu: 240;
    --z-modal: 400;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--navy-950);
}

body {
    min-width: 320px;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::selection,
::selection {
    color: var(--white);
    background: var(--blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.035em;
}

p {
    color: inherit;
}

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

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

ul,
ol {
    list-style: none;
}

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

button {
    border: 0;
    background: none;
    cursor: pointer;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--radius-md);
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.14);
    background: var(--white);
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.72);
    outline-offset: 3px;
}

/* ==================== UTILITIES ==================== */
.container {
    width: min(100% - 3rem, var(--container));
    margin-inline: auto;
}

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

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

.mt-4 {
    margin-top: var(--space-8);
}

.mt-5 {
    margin-top: var(--space-10);
}

.main-content {
    min-height: 100vh;
    background: var(--bg);
}

/* Cursor glow injected by JavaScript */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 420px;
    height: 420px;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.14), rgba(47, 140, 255, 0.08) 38%, transparent 68%);
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 240ms ease;
    mix-blend-mode: screen;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-sticky);
    min-height: var(--nav-height);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    transition: box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.navbar.scrolled {
    border-color: rgba(47, 140, 255, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
    transition: width 80ms linear;
}

.nav-container {
    width: min(100% - 3rem, 1280px);
    min-height: var(--nav-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-logo-badge,
.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.nav-logo img {
    width: 128px;
    height: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.6vw, 2.35rem);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0;
    color: var(--text-soft);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.34rem;
    height: 2px;
    border-radius: var(--radius-full);
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-cta {
    --mx: 0px;
    --my: 0px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.78rem 1rem;
    border-radius: var(--radius-full);
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: 0 12px 28px rgba(47, 140, 255, 0.26);
    font-size: var(--text-sm);
    font-weight: 800;
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform var(--transition-fast), box-shadow var(--transition-base), background var(--transition-base);
    white-space: nowrap;
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.nav-cta:hover {
    box-shadow: 0 18px 38px rgba(47, 140, 255, 0.34);
}

.nav-cta:hover svg {
    transform: translate(2px, -2px);
}

.nav-menu-cta {
    display: none;
}

.nav-toggle {
    position: relative;
    z-index: var(--z-mobile-menu);
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: var(--navy-900);
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.18);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: var(--radius-full);
    background: var(--white);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==================== BUTTONS ==================== */
.btn {
    --mx: 0px;
    --my: 0px;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.82rem 1.35rem;
    overflow: hidden;
    border-radius: var(--radius-full);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1;
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-base), color var(--transition-fast), background var(--transition-base);
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32) 45%, transparent 70%);
    transform: translateX(-110%);
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
    animation: buttonShine 760ms ease;
}

.btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    box-shadow: 0 20px 48px rgba(47, 140, 255, 0.38);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.btn-secondary:hover {
    border-color: rgba(34, 211, 238, 0.62);
    background: rgba(34, 211, 238, 0.12);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    min-height: 54px;
    padding: 1rem 1.55rem;
}

.btn-block {
    width: 100%;
}

.btn.loading {
    opacity: 0.78;
    pointer-events: none;
}

@keyframes buttonShine {
    from { transform: translateX(-110%); }
    to { transform: translateX(110%); }
}

/* ==================== PAGE SYSTEM ==================== */
.page {
    display: none;
    min-height: 100vh;
}

.page-active {
    display: block;
    animation: pageIn 520ms var(--ease-out) both;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.22), transparent 32%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 280ms var(--ease-out), opacity 220ms ease;
}

.page-transition.active {
    opacity: 1;
    transform: scaleY(1);
}

.page-header {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 5.5rem) 0 5.5rem;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 20%, rgba(47, 140, 255, 0.28), transparent 30%),
        radial-gradient(circle at 16% 78%, rgba(34, 211, 238, 0.17), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), transparent);
}

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

.page-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: var(--radius-full);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-header h1 {
    max-width: 920px;
    margin-bottom: 1rem;
    font-size: var(--text-4xl);
}

.page-header p {
    max-width: 760px;
    color: #cbd5e1;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

/* ==================== SECTIONS ==================== */
.section {
    position: relative;
    overflow: hidden;
    padding: clamp(4.6rem, 8vw, 7.5rem) 0;
}

.section-light {
    color: var(--text);
    background:
        radial-gradient(circle at 8% 20%, rgba(47, 140, 255, 0.07), transparent 26%),
        var(--bg);
}

.section-dark {
    color: var(--light);
    background:
        radial-gradient(circle at 82% 12%, rgba(139, 92, 246, 0.17), transparent 30%),
        radial-gradient(circle at 10% 82%, rgba(34, 211, 238, 0.12), transparent 32%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.section-bg-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 78%);
}

.section-heading {
    max-width: 800px;
    margin: 0 auto clamp(2.3rem, 5vw, 4rem);
    text-align: center;
}

.section-heading .section-kicker {
    margin-inline: auto;
}

.section-title {
    margin-bottom: 1rem;
    font-size: var(--text-3xl);
    color: var(--text);
}

.section-dark .section-title,
.section-dark .section-heading .section-title,
.section-dark .text-left {
    color: var(--white);
}

.section > .container > .section-title {
    text-align: center;
}

.section-subtitle {
    max-width: 720px;
    margin-inline: auto;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.section-dark .section-subtitle {
    color: #b7c4d4;
}

.section-light .section-kicker {
    border-color: rgba(47, 140, 255, 0.22);
    color: var(--blue-dark);
    background: rgba(47, 140, 255, 0.08);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    padding: calc(var(--nav-height) + 2.2rem) 0 0;
    color: var(--white);
    background:
        radial-gradient(circle at 72% 18%, rgba(47, 140, 255, 0.24), transparent 30%),
        radial-gradient(circle at 18% 72%, rgba(34, 211, 238, 0.16), transparent 30%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, #0b1f35 100%);
}

.hero-bg,
.hero-noise,
.hero-particles,
.hero-grid-lines,
.hero-scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-noise {
    z-index: 3;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px);
    background-size: 4px 4px, 7px 7px;
    mix-blend-mode: overlay;
}

.hero-particles {
    z-index: 1;
    opacity: 0.52;
    background-image:
        radial-gradient(circle, rgba(34, 211, 238, 0.64) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(139, 92, 246, 0.5) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.5px);
    background-position: 0 0, 42px 64px, 120px 30px;
    background-size: 170px 170px, 220px 220px, 260px 260px;
    animation: particleDrift 18s linear infinite;
}

.hero-grid-lines {
    z-index: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 78%);
}

.hero-scanline {
    z-index: 2;
    height: 34%;
    opacity: 0;
    background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.08), transparent);
    animation: scanHero 7.5s ease-in-out infinite;
}

.hero-gradient-orb {
    position: absolute;
    z-index: 0;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    filter: blur(78px);
    opacity: 0.42;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero-orb-1 {
    top: -9rem;
    right: 4%;
    background: rgba(47, 140, 255, 0.52);
}

.hero-orb-2 {
    bottom: 2rem;
    left: -12rem;
    background: rgba(34, 211, 238, 0.34);
    animation-delay: -3s;
}

.hero-orb-3 {
    right: 28%;
    bottom: -13rem;
    background: rgba(139, 92, 246, 0.3);
    animation-delay: -6s;
}

.hero-layout {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5.5rem);
}

.hero-content,
.hero-visual {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.66rem;
    margin-bottom: 1.35rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: var(--radius-full);
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 28px rgba(34, 211, 238, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px rgba(45, 212, 191, 0.8);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(45, 212, 191, 0.55);
    border-radius: 50%;
    animation: pulseRing 1.9s ease-out infinite;
}

.hero-title {
    max-width: 790px;
    margin-bottom: 1.35rem;
    font-size: var(--text-5xl);
    line-height: 0.98;
}

.hero-title-line,
.hero-title-gradient {
    display: block;
}

.hero-title-line {
    color: var(--white);
}

.hero-title-gradient {
    padding-bottom: 0.08em;
    color: transparent;
    background: linear-gradient(90deg, var(--cyan), var(--blue) 42%, #c4b5fd 82%);
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

.hero-subtitle {
    max-width: 720px;
    margin-bottom: 1.7rem;
    color: #c4cfdd;
    font-size: clamp(1rem, 1.55vw, 1.19rem);
    line-height: 1.78;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin-bottom: 2rem;
}

.hero-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    padding: 0.62rem 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-full);
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    font-size: 0.85rem;
    font-weight: 750;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.hero-service-tag svg {
    width: 17px;
    height: 17px;
    color: var(--cyan);
}

.hero-service-tag:hover {
    border-color: rgba(34, 211, 238, 0.55);
    background: rgba(34, 211, 238, 0.11);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    margin-bottom: 2.2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 610px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.hero-stat {
    padding: 0.78rem 1rem;
    text-align: center;
}

.hero-stat + .hero-stat {
    border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.hero-stat-number {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-stat-label {
    display: block;
    color: #a7b5c8;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-scroll-indicator {
    position: absolute;
    z-index: 6;
    right: clamp(1.2rem, 3vw, 3rem);
    bottom: 5.5rem;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 50%;
    color: #a5f3fc;
    background: rgba(255, 255, 255, 0.06);
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
}

/* Hero entrance */
.reveal-hero {
    opacity: 0;
    animation: heroReveal 880ms var(--ease-out) forwards;
}

.hero-badge.reveal-hero { animation-delay: 80ms; }
.hero-title.reveal-hero { animation-delay: 180ms; }
.hero-subtitle.reveal-hero { animation-delay: 300ms; }
.hero-services.reveal-hero { animation-delay: 420ms; }
.hero-buttons.reveal-hero { animation-delay: 540ms; }
.hero-stats.reveal-hero { animation-delay: 670ms; }
.hero-visual.reveal-hero { animation-delay: 300ms; }

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.985);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ==================== HERO NETWORK VISUAL ==================== */
.hero-visual {
    perspective: 1100px;
}

.network-shell {
    position: relative;
    width: min(100%, 620px);
    aspect-ratio: 1;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: clamp(26px, 4vw, 42px);
    background:
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.13), transparent 24%),
        radial-gradient(circle at 78% 20%, rgba(139, 92, 246, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 32px 90px rgba(2, 8, 23, 0.42), 0 0 70px rgba(47, 140, 255, 0.12);
    transform-style: preserve-3d;
    transition: transform 180ms ease-out;
    backdrop-filter: blur(18px);
}

.network-shell::before {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), transparent 35%, rgba(139, 92, 246, 0.12));
    pointer-events: none;
}

.network-grid {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.15) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 82%);
}

.network-scan {
    position: absolute;
    inset: -45% 0 auto;
    height: 45%;
    opacity: 0.65;
    background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, 0.08), transparent);
    animation: scanNetwork 5.8s ease-in-out infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(34, 211, 238, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 24s linear infinite;
}

.orbit-one {
    width: 84%;
    height: 84%;
}

.orbit-two {
    width: 64%;
    height: 64%;
    border-color: rgba(139, 92, 246, 0.24);
    animation-duration: 18s;
    animation-direction: reverse;
}

.orbit-three {
    width: 42%;
    height: 42%;
    border-color: rgba(255, 255, 255, 0.16);
    animation-duration: 14s;
}

.network-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: rgba(34, 211, 238, 0.58);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-dasharray: 7 12;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.45));
    animation: lineFlow 2.8s linear infinite;
}

.line-b { animation-delay: -0.5s; stroke: rgba(139, 92, 246, 0.52); }
.line-c { animation-delay: -1s; }
.line-d { animation-delay: -1.5s; stroke: rgba(47, 140, 255, 0.58); }
.line-e { animation-delay: -2s; stroke: rgba(255, 255, 255, 0.34); }

.network-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: flex;
    width: 142px;
    height: 142px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    border: 1px solid rgba(34, 211, 238, 0.42);
    border-radius: 34px;
    color: var(--white);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(145deg, rgba(34, 211, 238, 0.2), rgba(47, 140, 255, 0.16) 45%, rgba(139, 92, 246, 0.18));
    box-shadow: 0 0 44px rgba(34, 211, 238, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translate(-50%, -50%) translateZ(34px);
}

.network-core svg {
    width: 34px;
    height: 34px;
    color: var(--cyan);
}

.network-core strong {
    font-family: var(--font-heading);
    font-size: 0.93rem;
    letter-spacing: 0.08em;
}

.network-core small {
    color: #a8b9ca;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.core-pulse,
.core-pulse::before,
.core-pulse::after {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 38px;
    content: '';
    animation: corePulse 2.8s ease-out infinite;
}

.core-pulse::before {
    inset: -20px;
    animation-delay: 0.7s;
}

.core-pulse::after {
    inset: -30px;
    animation-delay: 1.4s;
}

.network-node {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.58rem 0.68rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: var(--radius-full);
    color: #dbeafe;
    background: rgba(6, 17, 31, 0.72);
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    font-size: 0.74rem;
    font-weight: 800;
    animation: nodeFloat 5.2s ease-in-out infinite;
}

.network-node svg {
    width: 16px;
    height: 16px;
    color: var(--cyan);
}

.node-one { top: 12%; left: 7%; animation-delay: -0.6s; }
.node-two { top: 10%; right: 8%; animation-delay: -1.8s; }
.node-three { bottom: 32%; left: 5%; animation-delay: -2.7s; }
.node-four { right: 6%; bottom: 32%; animation-delay: -3.6s; }
.node-five { top: 3%; left: 50%; transform: translateX(-50%); animation-delay: -4.4s; }

.node-five {
    animation-name: nodeFloatCentered;
}

.data-card,
.terminal-card {
    position: absolute;
    z-index: 5;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(4, 12, 24, 0.76);
    box-shadow: 0 18px 48px rgba(2, 8, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.data-card {
    min-width: 136px;
    padding: 0.85rem 0.95rem;
    animation: cardFloat 6.4s ease-in-out infinite;
}

.data-card span {
    display: block;
    margin-bottom: 0.12rem;
    color: #93a5ba;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-card strong {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.06rem;
    letter-spacing: -0.03em;
}

.data-card-one {
    top: 26%;
    right: 4%;
}

.data-card-two {
    left: 5%;
    bottom: 7%;
    max-width: 190px;
    animation-delay: -2s;
}

.data-card-two strong {
    font-size: 0.88rem;
    line-height: 1.3;
}

.micro-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 30px;
    margin-top: 0.58rem;
}

.micro-bars i {
    width: 7px;
    border-radius: 6px;
    background: linear-gradient(to top, var(--blue), var(--cyan));
    animation: equalize 1.1s ease-in-out infinite;
}

.micro-bars i:nth-child(1) { height: 34%; }
.micro-bars i:nth-child(2) { height: 68%; animation-delay: -0.2s; }
.micro-bars i:nth-child(3) { height: 46%; animation-delay: -0.4s; }
.micro-bars i:nth-child(4) { height: 86%; animation-delay: -0.6s; }
.micro-bars i:nth-child(5) { height: 58%; animation-delay: -0.8s; }

.terminal-card {
    right: 4%;
    bottom: 5%;
    width: min(300px, 48%);
    padding: 0.82rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.71rem;
    animation: cardFloat 7s ease-in-out infinite reverse;
}

.terminal-dots {
    display: flex;
    gap: 5px;
    margin-bottom: 0.55rem;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.terminal-dots span:nth-child(2) { background: #f59e0b; }
.terminal-dots span:nth-child(3) { background: #22c55e; }

.terminal-line {
    overflow: hidden;
    color: #cbd5e1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.terminal-line span {
    color: var(--cyan);
}

.terminal-success {
    margin-top: 0.3rem;
    color: #86efac;
}

.hero-marquee {
    position: relative;
    z-index: 5;
    overflow: hidden;
    margin-top: clamp(3.2rem, 6vw, 5.6rem);
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(14px);
    mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee 28s linear infinite;
}

.marquee-track span {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.7rem;
    color: #a9bcd1;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-track span::after {
    content: '';
    position: absolute;
    right: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.75);
}

/* ==================== PROBLEM CARDS ==================== */
.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(920px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 140, 255, 0.42), transparent);
    transform: translateX(-50%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.problem-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.problem-card:hover {
    border-color: rgba(47, 140, 255, 0.28);
    box-shadow: var(--shadow-md);
}

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

.problem-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 16px;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(47, 140, 255, 0.12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.problem-icon svg {
    width: 23px;
    height: 23px;
}

.card-eyebrow {
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.problem-card h3 {
    margin-bottom: 0.72rem;
    font-size: 1.12rem;
}

.problem-card p {
    margin-bottom: 1.2rem;
    color: var(--muted);
    font-size: 0.93rem;
}

.solution-line {
    margin-top: auto;
    padding: 0.85rem;
    border: 1px solid rgba(47, 140, 255, 0.15);
    border-radius: 14px;
    background: rgba(47, 140, 255, 0.07);
}

.solution-line span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--blue-dark);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.solution-line strong {
    display: block;
    color: var(--text);
    font-size: 0.85rem;
    line-height: 1.42;
}

/* ==================== SERVICES ==================== */
.capabilities-section .container,
.process-section .container,
#quote-cta-section .container,
.conversion-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 285px;
    flex-direction: column;
    padding: 1.55rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: auto -20% -45% 30%;
    height: 170px;
    opacity: 0;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 68%);
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(34, 211, 238, 0.42);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
    box-shadow: 0 22px 54px rgba(2, 8, 23, 0.28);
}

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

.service-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 1.35rem;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 18px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
    transition: transform var(--transition-base), background var(--transition-base);
}

.service-card:hover .service-icon {
    background: rgba(34, 211, 238, 0.16);
    transform: translateY(-3px) rotate(-3deg);
}

.service-icon svg {
    width: 25px;
    height: 25px;
}

.service-card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.18rem;
}

.service-card p {
    margin-bottom: 1.4rem;
    color: #b8c5d6;
    font-size: 0.94rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: var(--cyan);
    font-size: 0.84rem;
    font-weight: 900;
}

.service-link svg {
    width: 17px;
    height: 17px;
    transition: transform var(--transition-fast);
}

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

/* ==================== GLOBAL AFFILIATIONS ==================== */
.global-section {
    background:
        radial-gradient(circle at 84% 42%, rgba(47, 140, 255, 0.11), transparent 30%),
        linear-gradient(180deg, #f8fbff, #eef5fb);
}

.global-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
    align-items: center;
    gap: clamp(2.4rem, 6vw, 6rem);
}

.global-copy p {
    margin-bottom: 1rem;
    color: var(--text-soft);
    font-size: 1.02rem;
}

.affiliate-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.55rem;
}

.affiliate-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.62rem 0.78rem;
    border: 1px solid rgba(47, 140, 255, 0.16);
    border-radius: var(--radius-full);
    color: var(--blue-dark);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    font-size: 0.82rem;
    font-weight: 800;
}

.affiliate-badges svg {
    width: 16px;
    height: 16px;
}

.globe-visual {
    min-width: 0;
}

.globe-shell {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
}

.globe-shell::before {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 140, 255, 0.16), transparent 62%);
    filter: blur(22px);
}

.globe-core {
    position: relative;
    width: 78%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(47, 140, 255, 0.22);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.82), transparent 12%),
        radial-gradient(circle at 62% 58%, rgba(34, 211, 238, 0.2), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(219, 234, 254, 0.86));
    box-shadow: inset -24px -28px 70px rgba(47, 140, 255, 0.16), 0 34px 80px rgba(15, 23, 42, 0.14);
    animation: globeBreathe 6s ease-in-out infinite;
}

.globe-latitude,
.globe-longitude {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(47, 140, 255, 0.18);
    border-radius: 50%;
}

.lat-one { transform: scaleY(0.55); }
.lat-two { transform: scaleY(0.82); }
.long-one { transform: scaleX(0.55); }
.long-two { transform: scaleX(0.82); }

.globe-routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.globe-routes path {
    stroke: rgba(47, 140, 255, 0.56);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 6 9;
    animation: lineFlow 3.2s linear infinite;
}

.globe-node {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.68rem;
    font-weight: 900;
    color: var(--navy-800);
    letter-spacing: 0.02em;
}

.globe-node span {
    width: 10px;
    height: 10px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(47, 140, 255, 0.13), 0 0 20px rgba(47, 140, 255, 0.52);
}

.node-africa { left: 23%; top: 54%; }
.node-europe { right: 15%; top: 24%; }
.node-america { right: 18%; bottom: 20%; }

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(47, 140, 255, 0.22);
    border-radius: 50%;
    animation: orbitSpin 26s linear infinite;
}

.ring-one {
    width: 92%;
    height: 92%;
}

.ring-two {
    width: 106%;
    height: 106%;
    border-color: rgba(139, 92, 246, 0.16);
    animation-duration: 34s;
    animation-direction: reverse;
}

/* ==================== PROCESS ==================== */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 2.6rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), rgba(139, 92, 246, 0.38), transparent);
}

.process-step {
    position: relative;
    z-index: 1;
    padding: 1.45rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.process-step:hover {
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-6px);
}

.process-number {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.18);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.process-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 1.05rem;
    place-items: center;
    border-radius: 15px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.process-icon svg {
    width: 23px;
    height: 23px;
}

.process-step h3 {
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
}

.process-step p {
    color: #b6c4d5;
    font-size: 0.92rem;
}

/* ==================== PORTFOLIO ==================== */
.portfolio-slider {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.slider-container {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.slider-track {
    display: flex;
    transition: transform 620ms var(--ease-out);
    will-change: transform;
}

.slide {
    display: grid;
    min-width: 100%;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-2xl);
    background: var(--white);
}

.slide-image-wrapper {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: var(--navy-900);
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 900ms var(--ease-out), filter 500ms ease;
}

.slide:hover .slide-image {
    transform: scale(1.07);
}

.slide-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, 0.18));
}

.slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.8rem, 4vw, 3.4rem);
}

.slide-content h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.slide-content p {
    margin-bottom: 1.4rem;
    color: var(--muted);
}

.slide-content .btn {
    align-self: flex-start;
}

.slider-arrow {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 50%;
    color: var(--navy-800);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
    transition: transform var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.slider-arrow:hover {
    border-color: rgba(47, 140, 255, 0.3);
    color: var(--blue);
    box-shadow: 0 14px 30px rgba(47, 140, 255, 0.18);
    transform: translateY(-2px);
}

.slider-arrow svg {
    width: 21px;
    height: 21px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: var(--radius-full);
    background: #cbd5e1;
    transition: width var(--transition-base), background var(--transition-base);
}

.slider-dot.active {
    width: 30px;
    background: var(--blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.portfolio-item {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.portfolio-item:hover {
    border-color: rgba(47, 140, 255, 0.24);
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-900);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms var(--ease-out), filter 500ms ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: linear-gradient(135deg, rgba(2, 8, 23, 0.72), rgba(8, 24, 39, 0.64));
    backdrop-filter: blur(5px);
    transition: opacity var(--transition-base);
}

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

.portfolio-overlay a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.74rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
    transform: translateY(12px);
    transition: transform var(--transition-base), background var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay a {
    transform: translateY(0);
}

.portfolio-overlay a:hover {
    background: rgba(34, 211, 238, 0.2);
}

.portfolio-overlay svg {
    width: 17px;
    height: 17px;
}

.portfolio-content {
    padding: 1.25rem;
}

.portfolio-content h3 {
    margin-bottom: 0.55rem;
    font-size: 1.13rem;
}

.portfolio-content p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.portfolio-tag {
    padding: 0.3rem 0.55rem;
    border-radius: var(--radius-full);
    color: var(--blue-dark);
    background: rgba(47, 140, 255, 0.09);
    font-size: 0.7rem;
    font-weight: 850;
}

/* ==================== QUOTE CTA & CALCULATOR ==================== */
.quote-cta-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.6rem, 4vw, 3.2rem);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-2xl);
    background:
        radial-gradient(circle at 86% 20%, rgba(34, 211, 238, 0.13), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 74px rgba(2, 8, 23, 0.26);
}

.quote-cta-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 1.2rem;
    place-items: center;
    border-radius: 19px;
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 26px rgba(34, 211, 238, 0.08);
}

.quote-cta-icon svg {
    width: 27px;
    height: 27px;
}

.quote-cta-content h2 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
}

.quote-cta-content p {
    max-width: 650px;
    margin-bottom: 1.25rem;
    color: #b7c5d6;
}

.quote-cta-features {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.7rem;
}

.quote-cta-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #d6e1ed;
    font-weight: 700;
}

.quote-cta-features svg {
    width: 18px;
    height: 18px;
    color: var(--green);
}

.quote-preview-card {
    position: relative;
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-xl);
    background: rgba(3, 10, 22, 0.72);
    box-shadow: 0 28px 70px rgba(2, 8, 23, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.quote-preview-header {
    margin-bottom: 1rem;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quote-preview-item,
.quote-preview-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.82rem 0;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.quote-preview-total {
    margin-top: 0.3rem;
    padding-top: 1rem;
    border-bottom: 0;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.quote-preview-total span:last-child {
    color: var(--cyan);
}

.quote-calculator-wrapper {
    position: relative;
}

.quote-calculator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: 1.4rem;
    align-items: start;
}

.quote-options {
    display: grid;
    gap: 1.2rem;
    padding: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
}

.form-group {
    min-width: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.48rem;
    color: inherit;
    font-size: 0.88rem;
    font-weight: 850;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.9rem 0.95rem;
}

.section-dark .form-group input,
.section-dark .form-group textarea,
.section-dark .form-group select {
    border-color: rgba(148, 163, 184, 0.2);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.section-dark .form-group input:focus,
.section-dark .form-group textarea:focus,
.section-dark .form-group select:focus {
    border-color: rgba(34, 211, 238, 0.58);
    color: var(--white);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}

.section-dark .form-group select {
    padding-right: 2.8rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.section-dark .form-group select option {
    color: #0f172a;
    background: #ffffff;
}

.section-dark .form-group small {
    color: #93a5ba;
}

.site-type-options {
    display: grid;
    gap: 0.62rem;
}

.site-type-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.site-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.site-type-option span {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.78rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    color: #eaf2fb;
    background: rgba(255, 255, 255, 0.07);
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.site-type-option strong {
    font-size: 0.87rem;
    font-weight: 850;
    line-height: 1.25;
}

.site-type-option small {
    margin: 0;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.site-type-option:hover span {
    border-color: rgba(34, 211, 238, 0.38);
    background: rgba(34, 211, 238, 0.08);
    transform: translateY(-1px);
}

.site-type-option input:checked + span {
    border-color: rgba(34, 211, 238, 0.68);
    background: rgba(34, 211, 238, 0.15);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.16), 0 8px 24px rgba(34, 211, 238, 0.08);
}

.site-type-option input:focus-visible + span {
    outline: 3px solid rgba(34, 211, 238, 0.72);
    outline-offset: 3px;
}

@media (min-width: 720px) {
    .site-type-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-type-option:last-child {
        grid-column: 1 / -1;
    }
}

.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.76rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.checkbox-item {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    margin: 0 !important;
    padding: 0.78rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.checkbox-item:hover {
    border-color: rgba(34, 211, 238, 0.36);
    background: rgba(34, 211, 238, 0.08);
    transform: translateY(-1px);
}

.checkbox-item:has(input:checked) {
    border-color: rgba(34, 211, 238, 0.58);
    background: rgba(34, 211, 238, 0.13);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.14);
}

.checkbox-item input {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    accent-color: var(--cyan);
}

.checkbox-item span {
    color: #dbe6f2;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.quote-result {
    position: sticky;
    top: calc(var(--nav-height) + 1.2rem);
    padding: 1.35rem;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.14), transparent 30%),
        rgba(3, 10, 22, 0.78);
    box-shadow: 0 24px 70px rgba(2, 8, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.quote-breakdown h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.quote-line-item,
.quote-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.68rem 0;
    color: #c3d0df;
    font-size: 0.9rem;
}

.quote-line-item span:last-child {
    color: #edf6ff;
    font-weight: 750;
    white-space: nowrap;
}

.quote-divider {
    height: 1px;
    margin: 0.55rem 0;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
}

.quote-total {
    color: var(--white);
    font-weight: 900;
}

.quote-total-amount {
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.quote-note {
    margin: 0.85rem 0 1rem;
    color: #91a3b7;
    font-size: 0.78rem;
}

/* ==================== REVIEWS ==================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.review-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 1.45rem;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 0.55rem;
    right: 1.1rem;
    color: rgba(47, 140, 255, 0.12);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.review-card:hover {
    border-color: rgba(47, 140, 255, 0.24);
    box-shadow: var(--shadow-md);
}

.review-stars {
    display: flex;
    gap: 0.24rem;
    margin-bottom: 1rem;
    color: var(--amber);
}

.review-stars svg {
    width: 17px;
    height: 17px;
}

.review-text {
    margin-bottom: 1.35rem;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
}

.review-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 15px;
    color: var(--white);
    background: var(--gradient);
    font-weight: 900;
}

.review-info h4 {
    margin-bottom: 0.1rem;
    font-size: 0.98rem;
}

.review-info p {
    color: var(--muted);
    font-size: 0.82rem;
}

/* ==================== CONVERSION / CONTACT ==================== */
.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.why-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 2rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.68rem;
    color: #d5e0ec;
    font-weight: 700;
}

.why-list svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 0.12rem;
    color: var(--green);
}

.cta-text {
    padding: 1.25rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(34, 211, 238, 0.06);
}

.cta-text h3 {
    margin-bottom: 0.45rem;
    font-size: 1.3rem;
}

.cta-text p {
    color: #b8c7d8;
}

.contact-form-wrapper,
.contact-form-container {
    position: relative;
    overflow: hidden;
    padding: 1.45rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px rgba(2, 8, 23, 0.22);
    backdrop-filter: blur(18px);
}

.section-light .contact-form-container {
    border-color: rgba(15, 23, 42, 0.1);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.form-glow {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.16);
    filter: blur(42px);
}

.contact-form-wrapper h3,
.contact-form-container h3 {
    position: relative;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 0.8rem;
    font-size: var(--text-3xl);
}

.contact-info > p {
    margin-bottom: 1.7rem;
    color: var(--muted);
}

.contact-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.contact-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: var(--blue);
    background: rgba(47, 140, 255, 0.1);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item h4 {
    margin-bottom: 0.2rem;
    font-size: 0.97rem;
}

.contact-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

.social-links h4 {
    margin-bottom: 0.75rem;
}

.social-icons,
.footer-social {
    display: flex;
    gap: 0.65rem;
}

.social-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.78);
    transition: transform var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.social-icon:hover {
    border-color: rgba(47, 140, 255, 0.28);
    color: var(--blue);
    background: rgba(47, 140, 255, 0.08);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 19px;
    height: 19px;
}

/* ==================== ABOUT / SERVICES / LEGAL ==================== */
.about-full,
.services-detailed {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
}

.about-story,
.mission-box,
.expertise-section,
.values-section {
    position: relative;
}

.about-story h2,
.values-section h2,
.mission-section h2,
.expertise-section h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.about-story p {
    max-width: 900px;
    margin-bottom: 1rem;
    color: var(--text-soft);
    font-size: 1.02rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.value-card {
    padding: 1.35rem;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.value-card:hover {
    border-color: rgba(47, 140, 255, 0.22);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.value-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 16px;
    color: var(--blue);
    background: rgba(47, 140, 255, 0.1);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.1rem;
}

.value-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.mission-box {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(47, 140, 255, 0.16);
    border-radius: var(--radius-2xl);
    color: var(--white);
    background:
        radial-gradient(circle at 88% 20%, rgba(34, 211, 238, 0.2), transparent 30%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700));
    box-shadow: var(--shadow-lg);
}

.mission-box::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 52px 52px;
}

.mission-box p {
    position: relative;
    max-width: 900px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.68rem;
}

.tech-tag {
    padding: 0.58rem 0.82rem;
    border: 1px solid rgba(47, 140, 255, 0.14);
    border-radius: var(--radius-full);
    color: var(--blue-dark);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    font-size: 0.84rem;
    font-weight: 800;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.tech-tag:hover {
    border-color: rgba(47, 140, 255, 0.3);
    background: rgba(47, 140, 255, 0.09);
    transform: translateY(-2px);
}

.service-detail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.2rem;
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-detail:hover {
    border-color: rgba(47, 140, 255, 0.22);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-detail-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    color: var(--blue);
    background: rgba(47, 140, 255, 0.1);
}

.service-detail-icon svg {
    width: 27px;
    height: 27px;
}

.service-detail-content h3 {
    margin-bottom: 0.6rem;
    font-size: 1.28rem;
}

.service-detail-content p {
    margin-bottom: 0.85rem;
    color: var(--muted);
}

.service-detail-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1rem;
}

.service-detail-content li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 650;
}

.service-detail-content li::before {
    content: '';
    position: absolute;
    top: 0.64em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.legal-content {
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.legal-content .last-updated {
    margin-bottom: 2rem;
    padding: 0.78rem 1rem;
    border-radius: var(--radius-md);
    color: var(--blue-dark);
    background: rgba(47, 140, 255, 0.08);
    font-weight: 800;
}

.legal-content h2 {
    margin: 1.8rem 0 0.75rem;
    font-size: 1.35rem;
}

.legal-content h3 {
    margin: 1.2rem 0 0.55rem;
    font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-soft);
}

.legal-content ul {
    padding-left: 1.25rem;
    list-style: disc;
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 1.3rem;
    color: #cbd5e1;
    background:
        radial-gradient(circle at 82% 10%, rgba(47, 140, 255, 0.14), transparent 30%),
        linear-gradient(135deg, var(--navy-950), #071526);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(160px, 0.7fr));
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 3rem;
}

.footer-brand p {
    max-width: 410px;
    margin: 1.1rem 0 1.2rem;
    color: #9fb0c4;
}

.footer-region-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-region-tags span {
    padding: 0.35rem 0.58rem;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: var(--radius-full);
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.06);
    font-size: 0.72rem;
    font-weight: 850;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 0.95rem;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 0.62rem;
}

.footer-column a,
.footer-contact p {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.48rem;
    color: #9fb0c4;
    font-size: 0.9rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-column a:hover {
    color: var(--cyan);
    transform: translateX(2px);
}

.footer-column svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 0.2rem;
}

.footer-social {
    margin-top: 0.7rem;
}

.footer .social-icon {
    border-color: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
}

.footer .social-icon:hover {
    border-color: rgba(34, 211, 238, 0.36);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.09);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #8498ad;
    font-size: 0.86rem;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
}

.footer-links a {
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cyan);
}

/* ==================== FLOATING ACTIONS / TOAST ==================== */
.floating-buttons {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 180;
    display: grid;
    gap: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.floating-buttons.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-btn {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 14px 34px rgba(2, 8, 23, 0.24);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 42px rgba(2, 8, 23, 0.3);
}

.whatsapp-btn {
    background: #22c55e;
}

.email-btn {
    background: var(--blue);
}

.floating-btn svg {
    width: 23px;
    height: 23px;
}

.toast {
    position: fixed;
    right: 1.2rem;
    bottom: 6rem;
    z-index: 500;
    max-width: min(430px, calc(100vw - 2.4rem));
    padding: 0.95rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    color: var(--white);
    background: rgba(6, 17, 31, 0.92);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition-base), transform var(--transition-base);
    backdrop-filter: blur(14px);
}

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

.toast.success {
    border-color: rgba(45, 212, 191, 0.4);
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.45);
}

/* ==================== SCROLL REVEAL / MOTION ==================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out), filter 760ms var(--ease-out);
    transition-delay: 0ms;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }
.reveal-delay-5 { transition-delay: 300ms; }
.reveal-delay-6 { transition-delay: 360ms; }

.tilt-card {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
    transform-style: preserve-3d;
    transition: transform 180ms ease-out, box-shadow var(--transition-base), border-color var(--transition-base);
}

.tilt-card:hover {
    --ty: -4px;
}

.magnetic {
    will-change: transform;
}

/* ==================== KEYFRAMES ==================== */
@keyframes particleDrift {
    from { background-position: 0 0, 42px 64px, 120px 30px; }
    to { background-position: 170px 170px, 262px 284px, 380px 290px; }
}

@keyframes scanHero {
    0%, 22% { opacity: 0; transform: translateY(-110%); }
    38%, 56% { opacity: 1; }
    76%, 100% { opacity: 0; transform: translateY(340%); }
}

@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(4rem, 2rem, 0) scale(1.12); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulseRing {
    from { opacity: 1; transform: scale(0.55); }
    to { opacity: 0; transform: scale(1.55); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes scanNetwork {
    0% { transform: translateY(-30%); opacity: 0; }
    22% { opacity: 0.7; }
    70% { opacity: 0.7; }
    100% { transform: translateY(340%); opacity: 0; }
}

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

@keyframes lineFlow {
    to { stroke-dashoffset: -76; }
}

@keyframes corePulse {
    0% { opacity: 0.8; transform: scale(0.82); }
    100% { opacity: 0; transform: scale(1.18); }
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes nodeFloatCentered {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes equalize {
    0%, 100% { transform: scaleY(0.62); }
    50% { transform: scaleY(1); }
}

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

@keyframes globeBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.018); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1120px) {
    .problem-grid,
    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .services-grid,
    .reviews-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 980px) {
    :root {
        --nav-height: 72px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: calc(var(--nav-height) + 0.7rem);
        right: 1rem;
        left: 1rem;
        z-index: var(--z-mobile-menu);
        display: grid;
        gap: 0.35rem;
        padding: 0.7rem;
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 22px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(22px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px) scale(0.98);
        transition: opacity var(--transition-base), transform var(--transition-base);
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-link {
        display: flex;
        padding: 0.95rem 1rem;
        border-radius: 14px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--blue-dark);
        background: rgba(47, 140, 255, 0.08);
    }

    .nav-menu-cta {
        display: block;
        padding: 0.35rem 0.55rem 0.55rem;
    }

    .nav-cta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        border-radius: 15px;
        color: var(--white);
        background: linear-gradient(135deg, var(--blue), var(--blue-dark));
        box-shadow: 0 12px 28px rgba(47, 140, 255, 0.24);
        font-size: 0.92rem;
        font-weight: 900;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 3.4rem);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

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

    .hero-subtitle,
    .hero-title {
        margin-inline: auto;
    }

    .hero-services,
    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        margin-inline: auto;
    }

    .network-shell {
        width: min(100%, 540px);
    }

    .global-grid,
    .why-grid,
    .contact-grid,
    .quote-cta-box {
        grid-template-columns: 1fr;
    }

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

    .global-copy .section-title {
        text-align: center;
    }

    .affiliate-badges {
        justify-content: center;
    }

    .quote-result {
        position: static;
    }

    .quote-calculator {
        grid-template-columns: 1fr;
    }

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

    .slide-image-wrapper {
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .container,
    .nav-container {
        width: min(100% - 2rem, var(--container));
    }

    .nav-logo img {
        width: 108px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2.7rem);
    }

    .hero-badge {
        max-width: 100%;
        padding: 0.5rem 0.68rem;
        font-size: 0.68rem;
        letter-spacing: 0.075em;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.1rem, 10.4vw, 3.2rem);
    }

    .hero-service-tag {
        width: 100%;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .hero-stat + .hero-stat {
        border-top: 1px solid rgba(148, 163, 184, 0.16);
        border-left: 0;
    }

    .network-shell {
        border-radius: 26px;
    }

    .network-core {
        width: 112px;
        height: 112px;
        border-radius: 28px;
    }

    .network-core svg {
        width: 27px;
        height: 27px;
    }

    .network-node {
        padding: 0.45rem 0.54rem;
        font-size: 0.64rem;
    }

    .network-node svg {
        width: 14px;
        height: 14px;
    }

    .data-card-one {
        top: 23%;
        right: 3%;
        min-width: 112px;
        padding: 0.65rem;
    }

    .data-card-two {
        display: none;
    }

    .terminal-card {
        right: 3%;
        bottom: 3%;
        left: 3%;
        width: auto;
        font-size: 0.64rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section {
        padding: 4.3rem 0;
    }

    .section-heading {
        margin-bottom: 2.2rem;
    }

    .problem-grid,
    .services-grid,
    .reviews-grid,
    .portfolio-grid,
    .process-timeline,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .portfolio-slider {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        position: absolute;
        z-index: 3;
        top: 42%;
    }

    .slider-prev {
        left: 0.7rem;
    }

    .slider-next {
        right: 0.7rem;
    }

    .slide-image-wrapper {
        min-height: 250px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content .btn {
        width: 100%;
    }

    .checkbox-grid,
    .service-detail-content ul {
        grid-template-columns: 1fr;
    }

    .service-detail {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .floating-buttons {
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .floating-btn {
        width: 43px;
        height: 43px;
    }

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

@media (max-width: 460px) {
    .hero-service-tag {
        width: 100%;
        justify-content: center;
    }

    .network-node span {
        display: none;
    }

    .network-node {
        padding: 0.5rem;
        border-radius: 12px;
    }

    .data-card-one {
        display: none;
    }

    .terminal-card {
        display: none;
    }

    .affiliate-badges span {
        width: 100%;
        justify-content: center;
    }

    .quote-cta-box,
    .contact-form-wrapper,
    .contact-form-container,
    .quote-options,
    .quote-result {
        padding: 1.1rem;
        border-radius: 20px;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal,
    .reveal-hero {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ==================== PRINT ==================== */
@media print {
    .navbar,
    .floating-buttons,
    .hero-marquee,
    .hero-scroll-indicator,
    .page-transition,
    .cursor-glow {
        display: none !important;
    }

    .page {
        display: block !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
