/* =========================================
   HEXAVAULT SYSTEMS - DESIGN SYSTEM & STYLES
   ========================================= */

:root {
    /* Color Palette - Multi Futuristic Neon */
    --clr-bg-dark: #03030b;
    /* Deep space purple/blue */
    --clr-bg-card: rgba(10, 10, 25, 0.5);
    /* Neon glass */
    --clr-bg-card-border: rgba(0, 243, 255, 0.3);
    /* Cyan border */

    --clr-primary: #00f3ff;
    /* Neon Cyan */
    --clr-primary-glow: rgba(0, 243, 255, 0.6);
    --clr-primary-hover: #bc13fe;
    /* Neon Purple on hover */

    --clr-neon-pink: #ff007f;
    --clr-neon-purple: #bc13fe;

    --clr-text-main: #FFFFFF;
    /* Pure White for highest contrast */
    --clr-text-muted: #b0b0d0;
    /* Cool slate for secondary text */
    --clr-silver: #e0e0f8;
    /* Bright white/blue accents */

    /* Typography */
    --font-primary: 'Inter', sans-serif;

    /* Spacing & Utilities */
    --section-y: 6rem;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg-dark);
    /* Add subtle dimension to the global background */
    background-image: radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.05), transparent 25%);
    background-attachment: fixed;
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

main {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section {
    padding: var(--section-y) 0;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    color: var(--clr-text-main);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.highlight {
    background: linear-gradient(to right,
            #00f3ff,
            #bc13fe,
            #ff007f,
            #00f3ff);
    background-size: 200% auto;
    color: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-neon-purple) 0%, var(--clr-primary) 100%);
    color: #fff;
    /* White text for futuristic feel */
    font-weight: 600;
    box-shadow: 0 4px 15px var(--clr-primary-glow), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--clr-neon-pink) 0%, var(--clr-neon-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--clr-primary-glow), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--clr-text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-silver);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-text-muted);
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.15);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-bg-card-border);
    padding: 1rem 0;
    transition: var(--transition);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--clr-text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

.hamburger:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.15);
}

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 2rem 1.5rem;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--clr-bg-card-border);
    backdrop-filter: blur(12px);
    animation: slideDown 0.3s ease forwards;
}

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

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--clr-text-muted);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--clr-text-main);
    background: rgba(255, 255, 255, 0.04);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--clr-text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Dynamic Glow Background */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.15) 0%, rgba(0, 243, 255, 0.08) 30%, rgba(3, 3, 11, 0) 70%);
    z-index: -1;
    filter: blur(80px);
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(0, 243, 255, 0.1);
    color: var(--clr-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =========================================
   SERVICES (THE VAULT)
   ========================================= */
.services {
    background: linear-gradient(180deg, var(--clr-bg-dark) 0%, rgba(12, 12, 15, 1) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.02), transparent 40%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-bg-card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Hover effect layer */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 243, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.6);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    mix-blend-mode: screen;
}

.card-title {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-text {
    color: var(--clr-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-list {
    position: relative;
    z-index: 1;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-silver);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
}

/* =========================================
   TRUST MARQUEE
   ========================================= */
.trust-marquee {
    background: rgba(5, 5, 5, 0.8);
    border-top: 1px solid var(--clr-bg-card-border);
    border-bottom: 1px solid var(--clr-bg-card-border);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    min-width: 200%;
    animation: scrollMarquee 30s linear infinite;
    align-items: center;
}

.marquee-content span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.5;
    transition: var(--transition);
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--clr-silver);
}

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

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

/* =========================================
   PLATFORM PREVIEW
   ========================================= */
.platform-preview {
    background-color: var(--clr-bg-dark);
    position: relative;
    overflow: hidden;
}

.platform-preview::before {
    content: '';
    position: absolute;
    width: 200vw;
    height: 100vh;
    left: -50vw;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    background: linear-gradient(90deg, transparent, rgba(188, 19, 254, 0.03), transparent);
    z-index: 0;
    pointer-events: none;
}

.mockup-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    z-index: 1;
}

.dashboard-mockup {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.dashboard-mockup:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 243, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(18, 18, 22, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.floating-card .metric-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.floating-card .metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    text-shadow: 0 0 10px var(--clr-primary-glow);
}

.metric-1 {
    top: 15%;
    left: -5%;
}

.metric-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@media(max-width: 1024px) {
    .floating-card {
        display: none;
    }
}

/* =========================================
   REVENUE CALCULATOR
   ========================================= */
.calculator-section {
    background: linear-gradient(180deg, rgba(12, 12, 15, 1) 0%, var(--clr-bg-dark) 100%);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calculator-content .feature-list {
    margin-top: 2rem;
    list-style: none;
}

.calculator-content .feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--clr-silver);
}

.calculator-content .feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: bold;
}

.calculator-card {
    background: var(--clr-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-bg-card-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group label {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--clr-silver);
    margin-bottom: 1rem;
    font-weight: 500;
}

.calc-group label span {
    color: var(--clr-primary);
    font-weight: 700;
}

/* Custom Range Slider */
.vault-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    transition: background 0.15s;
}

.vault-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--clr-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--clr-primary-glow);
    transition: transform 0.1s;
}

.vault-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--clr-primary-hover);
}

.calc-results {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlighted-result {
    border-color: rgba(188, 19, 254, 0.4);
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.15) 0%, rgba(0, 0, 0, 0.2) 100%);
    box-shadow: inset 0 0 20px rgba(188, 19, 254, 0.05);
}

.result-label {
    font-size: 0.95rem;
    /* Larger font size */
    color: var(--clr-silver);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    /* Pure white for maximum contrast */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    /* Subtle base glow */
}

.highlighted-result .result-value {
    color: var(--clr-primary);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
    /* Maximize the neon glow */
    font-size: 2.25rem;
    /* Make the gross revenue number slightly larger */
}

.calc-disclaimer {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #666;
    text-align: center;
}

@media(max-width: 900px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .calc-results {
        flex-direction: column;
    }
}

/* =========================================
   CASE STUDIES SLIDER
   ========================================= */
.case-studies {
    background: var(--clr-bg-dark);
    position: relative;
    padding-bottom: 8rem;
}

.overflow-visible {
    overflow: visible;
}

.slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
    overflow: hidden;
    /* Hide cards outside the view */
    border-radius: var(--radius-lg);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 300%;
    /* 3 cards = 300% */
}

.case-card {
    flex: 0 0 33.333%;
    /* Each card takes up 1/3 of the track (100% of the wrapper) */
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
    background: var(--clr-bg-card);
    border: 1px solid rgba(220, 180, 110, 0.15);
}

.case-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.case-company {
    font-size: 1.5rem;
    color: var(--clr-text-main);
    margin-bottom: 0.5rem;
}

.case-region {
    font-size: 0.85rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.case-body p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--clr-silver);
    line-height: 1.8;
}

.case-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-col {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
}

.slider-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--clr-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--clr-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--clr-primary-glow);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(212, 175, 55, 0.5);
}

.dot.active {
    background: var(--clr-primary);
    box-shadow: 0 0 10px var(--clr-primary-glow);
    transform: scale(1.2);
}

@media(max-width: 768px) {
    .case-card {
        padding: 2rem;
    }

    .case-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* =========================================
   LIVE SPREADS TICKER
   ========================================= */
.financial-ticker {
    background: #050505;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 0.75rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scrollTicker 30s linear infinite;
    width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 2rem;
    font-family: var(--font-primary);
    color: var(--clr-silver);
    font-size: 0.95rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-item .pair {
    font-weight: 600;
    color: var(--clr-text-main);
}

.ticker-item .spread {
    font-weight: 700;
    color: var(--clr-primary);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.ticker-item .label {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
}

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

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

    /* Scrolls exactly half its width (the duplicated part) */
}

/* =========================================
   GLOBAL INFRASTRUCTURE MAP
   ========================================= */
.infrastructure {
    background: radial-gradient(circle at center, rgba(12, 12, 15, 1) 0%, var(--clr-bg-dark) 100%);
    position: relative;
}

.map-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(5, 5, 5, 0.4);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    padding: 2rem;
}

.world-map-image {
    width: 100%;
    height: auto;
    opacity: 0.6;
    filter: brightness(0.8) contrast(1.2);
    border-radius: var(--radius-md);
    display: block;
}

.map-node {
    position: absolute;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.node-pulse {
    width: 100%;
    height: 100%;
    background: var(--clr-primary);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 10px var(--clr-primary-glow), 0 0 20px var(--clr-primary-hover);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.map-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff;
}

@keyframes ping {

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

.node-tooltip {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 200px;
    background: rgba(18, 18, 22, 0.9);
    padding: 1rem;
    border-radius: var(--radius-sm);
    color: var(--clr-text-main);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.1);
    pointer-events: none;
}

.node-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(212, 175, 55, 0.3) transparent transparent transparent;
}

.node-tooltip h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.node-tooltip .latency {
    display: block;
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.node-tooltip p {
    font-size: 0.75rem;
    color: var(--clr-silver);
    line-height: 1.4;
}

.map-node:hover .node-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.map-node:hover .node-pulse {
    animation-play-state: paused;
    transform: scale(1.5);
    background: #fff;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    border-left: 3px solid var(--clr-primary);
    padding-left: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--clr-text-muted);
    font-weight: 500;
}

/* Visual element */
.why-us-visual {
    position: relative;
}

.glass-panel {
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    min-height: 25;
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    display: flex;
    justify-content: space-between;
}

.status-ok {
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-ok::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--clr-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--clr-primary);
}

.panel-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
}

.pulse-ring {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    animation: ringPulse 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    animation: ringPulse 3s cubic-bezier(0.25, 0.8, 0.25, 1) infinite 0.5s;
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

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

/* =========================================
   LEAD GENERATION WIZARD
   ========================================= */
.wizard-section {
    padding: 6rem 0 8rem;
    background: linear-gradient(0deg, rgba(12, 12, 15, 1) 0%, var(--clr-bg-dark) 100%);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.wizard-container {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    background: var(--clr-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--clr-bg-card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(212, 175, 55, 0.02);
}

.wizard-progress {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 3rem;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--clr-primary);
    box-shadow: 0 0 10px var(--clr-primary-glow);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.progress-steps {
    position: absolute;
    top: -15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.step-indicator {
    background: var(--clr-bg-dark);
    color: var(--clr-silver);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-indicator.active {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.wizard-step {
    animation: fadeIn 0.4s ease forwards;
}

.wizard-step h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.option-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.option-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.option-card h4 {
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.option-card p {
    font-size: 0.85rem;
    color: var(--clr-silver);
    margin: 0;
    line-height: 1.4;
}

.wizard-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.wizard-input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

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

.mt-4 {
    margin-top: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #030303;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
    max-width: 300px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-links h4 {
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-neon-purple) 0%, var(--clr-primary) 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 243, 255, 0.5);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Prevent any element from causing horizontal scroll */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .why-us-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {

    /* --- Navbar --- */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .logo-img {
        height: 28px;
        /* Smaller logo image */
    }

    .logo-text {
        font-size: 1rem;
        /* Shrink logo text to fit */
        white-space: nowrap;
    }

    .nav-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* --- Sections --- */
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* --- Hero --- */
    .hero {
        padding: 8rem 0 5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-cta-group .btn {
        text-align: center;
    }

    /* --- Services Cards --- */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* --- Calculator --- */
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calc-results {
        flex-direction: column;
        gap: 1rem;
    }

    /* --- Case Studies --- */
    .case-card {
        padding: 2rem 1.5rem;
    }

    .case-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* --- Global Map --- */
    .map-container {
        padding: 1rem;
        margin: 2rem auto 0;
    }

    /* --- Why Us --- */
    .why-us-container {
        grid-template-columns: 1fr;
    }

    .why-us-visual {
        display: none;
        /* Hide decorative panel on mobile */
    }

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

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* --- Wizard --- */
    .wizard-container {
        padding: 2rem 1.25rem;
        margin: 2rem auto 0;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .option-card {
        min-height: auto;
        padding: 1.2rem;
    }

    .wizard-step h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .progress-steps {
        display: none;
    }

    .wizard-progress {
        margin-bottom: 2rem;
    }

    .wizard-nav-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .wizard-nav-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .wizard-container {
        padding: 1.5rem 1rem;
    }

    .wizard-step h3 {
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   CRO & UX Enhancements
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b0b0d0;
    background: rgba(0, 230, 118, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.btn-pulse {
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

.whatsapp-float-btn {
    position: fixed;
    bottom: calc(2rem + 2cm);
    right: 2rem;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.whatsapp-float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #1ebe58, #0e7468);
    color: #ffffff;
}

.whatsapp-float-btn .pulse-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #ff007f;
    border: 2px solid #128c7e;
    border-radius: 50%;
    margin-right: 0;
}

.whatsapp-float-btn .pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #ff007f;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: calc(1.5rem + 2cm);
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}