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

:root {
    --bg-dark: #0b0f2a;
    --bg-light: #f5f5f7;
    --text-primary: #ffffff;
    --text-secondary: #b1b1b6;
    --accent: #2997ff;
    --accent-glow: rgba(41, 151, 255, 0.3);
    --accent-gradient: linear-gradient(135deg, #2997ff 0%, #0071e3 100%);
    --card-bg: rgba(15, 15, 18, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --container-width: 1200px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Scaling & Fluid Typography */
html {
    font-size: 16px;
    scroll-behavior: initial; /* Lenis handles this */
}

@media (max-width: 1400px) { html { font-size: 15px; } }
@media (max-width: 1200px) { html { font-size: 14px; } }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #03050a;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
p { font-size: clamp(1rem, 1.2vw, 1.15rem); }

/* GPU Acceleration for Animations */
.light, .btn, .glass-card, .metric-card, .testim-card, .hub-label-card {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Prevent Horizontal Scroll */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

/* Optimized Animated Background */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #03050a;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-gradient) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(41, 151, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(41, 151, 255, 0.4), 0 0 20px var(--accent-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Navigation - Base */
.nav .logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.nav .logo-img {
    height: 32px !important;
    width: auto !important;
    display: block !important;
    max-height: 32px !important;
    object-fit: contain !important;
    transition: var(--transition-smooth);
}

.header .nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.5rem !important;
    align-items: center !important;
}

.header .nav-links a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.header .nav-links a:hover, 
.header .nav-links a.active {
    color: white !important;
}

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

.nav-cta {
    padding: 0.8rem 1.8rem !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
}

/* Navigation - Header Wrapper */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
}

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

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .nav-links-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(3, 5, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-links-wrapper.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .mobile-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }
}

.mobile-toggle {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* --- SECTION RESPONSIVITY --- */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 10rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-btns .btn { width: 100%; }
}

/* Capabilities/Grid Optimization */
.capabilities-grid, .platforms-grid, .metrics-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .capabilities-grid { grid-template-columns: repeat(3, 1fr); }
    .metrics-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .capabilities-grid, .metrics-grid { grid-template-columns: 1fr; }
}

/* World Map Dashboard Mobile Optimization */
@media (max-width: 768px) {
    .map-container {
        aspect-ratio: 1/1;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .world-map-high-vis {
        width: 200%;
        height: 100%;
        max-width: none;
    }

    .dashboard-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Form Optimization */
.modal-content {
    width: 95%;
    max-width: 500px;
    padding: 2.5rem 1.5rem;
}

@media (max-width: 480px) {
    .form-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .form-btns .btn { width: 100%; }
}

/* Footer Optimization */
.footer-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

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

@media (max-width: 599px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .social-links { justify-content: center; }
}

/* --- PERFORMANCE TWEAKS --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Fix for animation lag on low-power devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Sub-page Specifics (Blog, Dashboard) */
.sub-page .page-hero {
    padding: 10rem 0 5rem;
}

.blog-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) and (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .blog-grid { grid-template-columns: 1fr; } }

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}


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

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 auto 3rem;
    letter-spacing: -2px;
    max-width: 900px;
    color: #ffffff;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#cycle-word {
    display: inline-block;
    min-width: 120px; /* Optional: adjust based on average word length to prevent layout shift */
    text-align: left;
}

.hero p.reveal-text-sub {
    font-size: 1.25rem;
    color: #e5e5ea;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-proof-line {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 2rem auto 5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-dashboard-preview {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    background: #1a1a1c;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateX(10deg);
}

.dashboard-img {
    width: 100%;
    display: block;
    opacity: 0.8;
}

/* Storytelling Transition Section */
.transition-section.story-block {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #050505 100%);
    padding: 0;
}

.transition-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#story-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.story-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.story-line-1 {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
}

.story-line-2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0;
    position: relative;
    opacity: 0;
}

.story-line-2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Capabilities */
.capabilities {
    padding: 7rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(41, 151, 255, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cap-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(17, 21, 32, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.cap-card:hover {
    border-color: rgba(41, 151, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(41, 151, 255, 0.05);
}

.cap-num {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #2997ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.cap-icon-wrapper {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.cap-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
    transition: transform 0.4s ease;
}

.cap-card:hover .cap-icon-wrapper svg {
    transform: scale(1.1);
    stroke: #2997ff;
}

.cap-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #2997ff;
}

.cap-card p {
    color: #828b9c;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* AI Section */
.dark-section {
    background: #000;
}

.ai-comm {
    padding: 10rem 0;
    overflow: hidden;
    position: relative;
}

.ai-comm::before {
    content: '';
    position: absolute;
    right: -10%;
    top: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.section-block {
    padding: 10rem 0;
}

@media (max-width: 768px) {
    .section-block {
        padding: 6rem 0;
    }
}

.features-list {
    list-style: none;
    margin-top: 2rem;
    text-align: left;
}

.features-list li {
    padding: 1rem 0;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-weight: 500;
}

.chat-mockup {
    background: #1c1c1e;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    overflow: hidden;
}
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
    text-align: center;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.9rem;
}

.msg-ai {
    background: var(--accent);
    align-self: flex-start;
}

.msg-user {
    background: #3a3a3c;
    align-self: flex-end;
}

/* Platforms (Clickable) */
.platform-grid {
    display: grid;
    gap: 4rem;
}

.clickable-platform {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: linear-gradient(180deg, rgba(17, 21, 32, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.clickable-platform:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 151, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(41, 151, 255, 0.05);
}

.platform-info {
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.platform-badge {
    background: rgba(41, 151, 255, 0.1);
    border: 1px solid rgba(41, 151, 255, 0.3);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: #2997ff;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(41, 151, 255, 0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.platform-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

.platform-info p {
    color: #828b9c;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.platform-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.platform-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.platform-tags span:hover {
    background: rgba(41, 151, 255, 0.1);
    color: #ffffff;
    border-color: rgba(41, 151, 255, 0.3);
}

.platform-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: inline-block;
}

.clickable-platform:hover .platform-btn {
    background: #2997ff;
    border-color: #2997ff;
    box-shadow: 0 10px 20px rgba(41, 151, 255, 0.3);
}

.platform-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 64px 64px 0;
}

.mockup-img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.clickable-platform:hover .mockup-img {
    transform: scale(1.03) translateY(-10px);
}

/* Remove unused floating label / hover overlays from old design */
.platform-visit-overlay, .floating-label, .glow-point {
    display: none;
}

/* Pipeline Carousel */
.pipeline-carousel-section {
    padding: 10rem 0;
    background: transparent;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
}

.carousel-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    z-index: 10;
    pointer-events: none;
}

.carousel-fade.left {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.carousel-fade.right {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    scroll-snap-type: x mandatory;
}

.carousel-item {
    flex: 0 0 350px;
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item:hover {
    transform: scale(1.03);
    z-index: 5;
}

.item-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
}

.item-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.carousel-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.carousel-item p {
    color: var(--text-secondary);
}

/* Audience Section */
.who-we-work-with {
    padding: 8rem 0;
}

.ecosystem-network {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.eco-orbit {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    z-index: 2;
    flex-wrap: wrap;
}

.eco-node {
    background: rgba(17, 21, 32, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 220px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.eco-node:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 151, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(41, 151, 255, 0.1);
}

.eco-icon {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.15) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.eco-icon svg {
    width: 24px;
    height: 24px;
    stroke: #828b9c;
    transition: all 0.4s ease;
}

.eco-node:hover .eco-icon svg {
    stroke: #2997ff;
    transform: scale(1.1);
}

.eco-node h4 {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Central Hub */
.eco-hub-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    z-index: 3;
}

.eco-hub {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hub-core {
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.2) 0%, rgba(10, 13, 20, 0.95) 100%);
    border: 1px solid rgba(41, 151, 255, 0.5);
    padding: 1.2rem 3rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 40px rgba(41, 151, 255, 0.3), inset 0 0 20px rgba(41, 151, 255, 0.2);
    z-index: 5;
    position: relative;
}

.hub-ring {
    position: absolute;
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: pulseRing 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.ring-2 {
    width: 320px;
    height: 320px;
    animation: pulseRing 4s cubic-bezier(0.16, 1, 0.3, 1) infinite 2s;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Connecting Lines */
.eco-line {
    position: absolute;
    width: 2px;
    height: 4rem; /* Matches the 4rem gap */
    background: linear-gradient(to bottom, transparent, rgba(41, 151, 255, 0.3), transparent);
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.eco-line.top {
    top: 100%;
}

.eco-line.bottom {
    bottom: 100%;
}

.eco-node:hover .eco-line {
    opacity: 1;
    background: linear-gradient(to bottom, transparent, rgba(41, 151, 255, 0.9), transparent);
    box-shadow: 0 0 15px rgba(41, 151, 255, 0.6);
}

@media (max-width: 900px) {
    .eco-line { display: none; }
    .eco-orbit { gap: 1.5rem; }
    .eco-node { width: calc(50% - 1.5rem); }
    .hub-core { padding: 1rem 2rem; font-size: 1rem; }
    .eco-hub-container { height: 80px; }
}

@media (max-width: 480px) {
    .eco-node { width: 100%; }
}

/* Testimonials Marquee Redesign */
.testimonials-marquee-section {
    padding: 8rem 0;
    overflow: hidden;
    position: relative;
    background: #050505;
}

.marquee-wrapper {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Testimonials Marquee */
.marquee-track-left, .marquee-track-right {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
    animation: marqueeScroll 40s linear infinite;
}

@media (max-width: 768px) {
    .marquee-content { gap: 1rem; padding-right: 1rem; }
    .testim-card { width: 300px; padding: 1.5rem; }
}

.marquee-content.reverse {
    animation: marqueeScrollReverse 45s linear infinite;
}

.marquee-track-left:hover .marquee-content,
.marquee-track-right:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.testim-card {
    background: rgba(17, 21, 32, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testim-card:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 151, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(41, 151, 255, 0.1);
}

.testim-metric {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #2997ff;
    letter-spacing: -0.5px;
}

.testim-card p {
    font-size: 1.05rem;
    color: #828b9c;
    line-height: 1.6;
    margin: 0;
}

.testim-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testim-footer img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.testim-author {
    display: flex;
    flex-direction: column;
}

.testim-author strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.testim-author span {
    color: #64748b;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .testim-card { width: 300px; padding: 1.5rem; }
    .marquee-wrapper { -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
}

/* Scale / Proof */
/* Live Growth Metrics Dashboard */
.metrics-dashboard {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.metrics-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(41, 151, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 151, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

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

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.metric-card {
    background: rgba(17, 21, 32, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(41, 151, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    border-color: rgba(41, 151, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(41, 151, 255, 0.05);
}

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

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.metric-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 151, 255, 0.08);
    border: 1px solid rgba(41, 151, 255, 0.15);
    border-radius: 12px;
    color: #2997ff;
    transition: all 0.4s ease;
}

.metric-card:hover .metric-icon-wrap {
    background: rgba(41, 151, 255, 0.15);
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.2);
}

.metric-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.metric-value {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.metric-card .stat-number {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    -webkit-text-fill-color: unset;
    background: none;
    filter: none;
    letter-spacing: -1.5px;
    line-height: 1;
    margin: 0;
}

.metric-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: #2997ff;
    font-family: 'Outfit', sans-serif;
}

.metric-label {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    min-height: 2.8rem; /* Align across cards */
    display: flex;
    align-items: center;
}

.metric-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    min-height: 4.8rem; /* Align across cards */
}

.metric-sparkline {
    width: 100%;
    height: 50px;
    margin-top: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.metric-sparkline svg {
    width: 100%;
    height: 100%;
}

.spark-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawSpark 2s ease-out forwards;
}

.spark-fill {
    opacity: 0;
    animation: fadeSpark 1s ease-out 1.5s forwards;
}

@keyframes drawSpark {
    to { stroke-dashoffset: 0; }
}

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

.metric-delta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 600;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.metric-delta svg {
    stroke: #34d399;
}

@media (max-width: 900px) {
    .metrics-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}

/* Hide old stat styles */
.scale-proof, .stat-icon, .stat-divider { display: none; }

/* Global Infrastructure Network - High Visibility Dashboard */
.global-network {
    padding: 8rem 0;
    background: #020408;
    position: relative;
    overflow: hidden;
}

.map-dashboard-wrapper {
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.dashboard-frame {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(41, 151, 255, 0.05);
}

.map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    background: #05070a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.world-map-high-vis {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(1.2) contrast(1.4) saturate(1.2);
    mix-blend-mode: lighten;
}

.map-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(41, 151, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 151, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Hub & Marker Styling */
.map-hub {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-marker {
    position: relative;
    width: 12px;
    height: 12px;
}

.marker-core {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #2997ff, 0 0 30px #2997ff;
    z-index: 2;
    position: relative;
}

.pulse-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.pulse-rings span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(41, 151, 255, 0.6);
    border-radius: 50%;
    animation: ringPulse 3s linear infinite;
    opacity: 0;
}

.pulse-rings span:nth-child(2) { animation-delay: 1s; }
.pulse-rings span:nth-child(3) { animation-delay: 2s; }

@keyframes ringPulse {
    0% { width: 0; height: 0; opacity: 0.8; }
    100% { width: 100%; height: 100%; opacity: 0; }
}

/* Hub Label Cards */
.hub-label-card {
    position: absolute;
    bottom: 40px;
    width: 220px;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: rgba(15, 20, 35, 0.85);
    border: 1.5px solid rgba(41, 151, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(41, 151, 255, 0.1);
    transition: all 0.4s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: #2997ff;
    letter-spacing: 1px;
}

.flag-icon {
    width: 18px;
    border-radius: 2px;
}

.card-body {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-icon {
    width: 34px;
    height: 34px;
    background: rgba(41, 151, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2997ff;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info strong {
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
}

.card-info span {
    color: #64748b;
    font-size: 0.75rem;
}

.hub-anchor-line {
    position: absolute;
    bottom: 12px;
    width: 1.5px;
    height: 28px;
    background: linear-gradient(to bottom, #2997ff, transparent);
}

/* Dashboard Legend */
.dashboard-legend {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 1.2rem 2.5rem;
    background: rgba(10, 15, 25, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(41, 151, 255, 0.8);
}

.legend-dot.head { background: #2997ff; }
.legend-dot.operational { background: #38bdf8; }

.legend-icon.sync {
    color: #2997ff;
    animation: syncSlide 3s linear infinite;
}

@keyframes syncSlide {
    0%, 100% { transform: translateX(-3px); opacity: 0.5; }
    50% { transform: translateX(3px); opacity: 1; }
}

.legend-text {
    display: flex;
    flex-direction: column;
}

.legend-text strong {
    color: white;
    font-size: 0.85rem;
}

.legend-text span {
    color: #64748b;
    font-size: 0.75rem;
}

.legend-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .dashboard-legend {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    .legend-divider { display: none; }
    .hub-label-card { width: 180px; }
    .map-container { aspect-ratio: 16/10; }
}

.usa { top: 40%; left: 18%; }
.india { top: 45%; left: 72%; }

/* Final CTA Redesign */
.final-cta {
    padding: 10rem 0 7rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a0a1a 0%, #050505 100%);
}

.cta-visual-bg {
    position: absolute;
    inset: 0;
    background: url('world_map.webp') center/cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.final-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Redesign */
.footer {
    padding: 8rem 0 3rem;
    background: #050505;
    border-top: 1px solid var(--card-border);
}

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

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(220, 255, 0, 0.15));
}

.company-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.contact-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-col a {
    color: var(--accent);
    text-decoration: none;
}

.locations {
    margin-top: 1.5rem;
}

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

/* Responsive Footer */
@media (max-width: 1200px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    .about-col { grid-column: span 3; }
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .about-col { grid-column: span 1; }
    
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 11, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--card-border);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }

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

    .mobile-toggle.active span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .nav-cta {
        display: none;
    }
}

/* -------------------------------------------------------------------------- */
/*                            GLOBAL UI UPGRADES                              */
/* -------------------------------------------------------------------------- */

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    width: 250px;
}

.loader-logo {
    height: 60px;
    margin-bottom: 3rem;
    animation: loaderLogoPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderLogoPulse {
    from { opacity: 0.4; transform: scale(0.9); filter: brightness(0.5) blur(2px); }
    to { opacity: 1; transform: scale(1.05); filter: brightness(1.2) blur(0px); }
}

.loader-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    animation: loaderProgress 2s infinite ease-in-out;
}

@keyframes loaderProgress {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

/* Human Layer */
.human-layer {
    padding: 10rem 0;
    position: relative;
}

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

.team-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image img {
    transform: scale(1.03);
}

.team-card {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.team-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(41, 151, 255, 0.1);
}

.team-info {
    padding: 2.5rem;
    border-top: 1px solid var(--card-border);
}

.team-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-info .role {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
}

/* Upgraded Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.testimonial-card {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card.featured {
    grid-column: span 2;
    background: var(--bg-alt);
    border: 1px solid var(--accent);
}

@media (max-width: 992px) {
    .testimonial-card.featured { grid-column: span 1; }
}

.test-quote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
}

.test-quote::before {
    content: '“';
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1.5rem;
    border: 2px solid var(--accent);
    padding: 3px;
    background: var(--bg-dark);
}

.testimonial-user {
    display: flex;
    align-items: center;
}

.user-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.user-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Sub-page Specifics */
.page-hero {
    padding: 15rem 0 8rem;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    line-height: 1;
    margin-bottom: 2rem;
}

.sub-page .header {
    background: rgba(5, 5, 6, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
}

/* System Flow Visual Upgraded */
.pipeline-carousel-section {
    padding: 6rem 0;
}

.pipeline-carousel-section .section-header {
    margin-bottom: 2rem;
}

.system-flow-visual {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
    text-align: center;
    width: 130px;
}

.flow-step span {
    color: #828b9c;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.4s ease;
}

.flow-step:hover span {
    color: #ffffff;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(17, 21, 32, 0.9) 0%, rgba(10, 13, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 10px 20px rgba(0,0,0,0.5);
    position: relative;
}

.flow-icon svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
    transition: all 0.4s ease;
}

.flow-step:hover .flow-icon {
    transform: translateY(-4px);
    border-color: rgba(41, 151, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(41, 151, 255, 0.1), 0 15px 30px rgba(0,0,0,0.6), 0 0 20px rgba(41, 151, 255, 0.2);
}

.flow-step:hover .flow-icon svg {
    stroke: #2997ff;
    transform: scale(1.1);
}

.flow-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.02), rgba(41, 151, 255, 0.4), rgba(255,255,255,0.02));
    margin: 40px -15px 0 -15px;
    position: relative;
    z-index: 1;
}

.flow-dot {
    display: none;
}

@media (max-width: 768px) {
    .system-flow-visual { flex-direction: column; gap: 3rem; align-items: center; }
    .flow-line { width: 1px; height: 50px; margin: -10px 0; background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(41, 151, 255, 0.4), rgba(255,255,255,0.02)); }
    .flow-step { width: auto; }
}

/* Success State */
.hidden { display: none; }
#form-success { text-align: center; padding: 3rem 0; }
.success-icon { font-size: 5rem; margin-bottom: 2rem; animation: successPop 0.5s cubic-bezier(0.17, 0.89, 0.32, 1.49); }

@keyframes successPop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@media (max-width: 992px) {
    .inline-form-grid { grid-template-columns: 1fr; padding: 3rem; }
}

@media (max-width: 768px) {
    .strip-items { gap: 2rem; flex-wrap: wrap; }
    .strip-divider { display: none; }
    .sticky-cta { bottom: 1.5rem; right: 1.5rem; padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    .smart-popup { width: calc(100% - 3rem); left: 1.5rem; bottom: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}
/* -------------------------------------------------------------------------- */
/*                            MISSING UI COMPONENTS                           */
/* -------------------------------------------------------------------------- */

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Modal Styling */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active { display: flex; }

.modal-content {
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover { color: white; }

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.6;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition-fast);
}

.input-group textarea { height: 120px; resize: none; }

.input-group input:focus, 
.input-group textarea:focus {
    background: rgba(255,255,255,0.06);
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 15px rgba(41, 151, 255, 0.2);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    padding: 1.2rem 2.5rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: var(--transition-fast);
}

.sticky-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--accent-glow);
}

/* Smart Popup */
.smart-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 900;
    width: 320px;
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-popup.active { transform: translateX(0); }

.popup-content {
    padding: 2rem;
    border-radius: 20px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.popup-content p {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.progress-step.active { background: var(--accent); }

.form-step { display: none; }
.form-step.active { display: block; }
/* Inline Lead Form */
.inline-lead-section {
    padding: 10rem 0;
    position: relative;
}

.inline-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 5rem;
    border-radius: 40px;
    align-items: center;
}

.inline-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.inline-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

#inline-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

#inline-form .form-row input {
    margin-bottom: 1.5rem;
}

#inline-form input:not(.form-row input),
#inline-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

#inline-form .form-row input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition-fast);
}

#inline-form textarea {
    height: 150px;
    resize: none;
}

#inline-form input:focus,
#inline-form textarea:focus {
    background: rgba(255,255,255,0.06);
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.2);
}

#inline-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.micro-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Trust Strip */
.trust-strip {
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.02);
}

.strip-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.strip-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.strip-item span {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-right: 0.8rem;
    font-family: 'Outfit', sans-serif;
    display: inline-block;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(41, 151, 255, 0.2); }
    100% { text-shadow: 0 0 20px rgba(41, 151, 255, 0.6); }
}

.strip-divider {
    width: 1px;
    height: 30px;
    background: var(--card-border);
}

.hidden { display: none; }
