/* ==========================================================================
   NOCTEX HOSTING - Ultra-Modern Theme Stylesheet
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-tertiary: #141432;
    --bg-card: rgba(20, 20, 50, 0.6);
    --bg-card-hover: rgba(30, 30, 70, 0.8);

    --text-primary: #f0f0ff;
    --text-secondary: #a0a0c0;
    --text-muted: #606080;

    --accent-primary: #6366f1;
    --accent-secondary: #818cf8;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --accent-purple: #a855f7;

    --gradient-primary: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.4));
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.05));

    --border-color: rgba(99, 102, 241, 0.15);
    --border-glow: rgba(99, 102, 241, 0.4);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-width: 1280px;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

    /* Glassmorphism */
    --glass-bg: rgba(15, 15, 42, 0.7);
    --glass-border: rgba(99, 102, 241, 0.12);
    --glass-blur: 20px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
}

html::-webkit-scrollbar {
    width: 6px;
}
html::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
html::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

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

::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: preloaderSpin 1.5s linear infinite;
}

.preloader-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    border-top-color: var(--accent-primary);
    animation-duration: 1.5s;
}
.preloader-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    border-right-color: var(--accent-cyan);
    animation-duration: 2s;
    animation-direction: reverse;
}
.preloader-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    border-bottom-color: var(--accent-purple);
    animation-duration: 1s;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-primary);
    z-index: 1;
}

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

/* ---------- Custom Cursor ---------- */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(99, 102, 241, 0.5);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-follower.hovering {
    width: 56px;
    height: 56px;
    border-color: var(--accent-cyan);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.site-header.scrolled {
    padding: 10px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon svg {
    display: block;
}

.site-nav .nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-item.active .nav-indicator {
    width: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(15px);
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-cyber {
    position: relative;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-cyber:hover::after {
    left: 100%;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

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

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    margin-bottom: 32px;
    font-size: 13px;
    color: var(--accent-green);
    animation: badgeFadeIn 1s var(--ease-out-expo) 0.5s both;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1s var(--ease-out-expo) 0.3s both;
}

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

/* Glitch effect on hover */
.glitch-text {
    position: relative;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    -webkit-background-clip: text;
    background-clip: text;
    overflow: hidden;
}

.glitch-text:hover::before {
    animation: glitch-1 0.3s linear;
    color: var(--accent-cyan);
    -webkit-text-fill-color: unset;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text:hover::after {
    animation: glitch-2 0.3s linear;
    color: var(--accent-pink);
    -webkit-text-fill-color: unset;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-3px, -1px); }
    80% { transform: translate(3px, 2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(1px, 3px); }
    80% { transform: translate(-3px, -2px); }
    100% { transform: translate(0); }
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    animation: subtitleReveal 1s var(--ease-out-expo) 0.5s both;
}

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

/* Typed terminal */
.hero-typed-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 40px;
    animation: typedReveal 1s var(--ease-out-expo) 0.7s both;
}

.typed-prefix {
    color: var(--accent-green);
}

.typed-output {
    color: var(--text-secondary);
}

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

/* CTA */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: ctaReveal 1s var(--ease-out-expo) 0.9s both;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    animation: statsReveal 1s var(--ease-out-expo) 1.1s both;
}

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

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollLineAnim 2s ease-in-out infinite;
}

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

@keyframes scrollLineAnim {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Live Status Bar ---------- */
.live-status-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    overflow: hidden;
}

.status-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot--green {
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-dot--blue {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-label {
    color: var(--text-muted);
}

.status-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 13px;
}

/* ---------- Section Common ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Features Section ---------- */
.features-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.feature-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
}

.feature-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover .feature-card-glow {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

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

.feature-icon--purple { background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.2); color: var(--accent-purple); }
.feature-icon--cyan { background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.2); color: var(--accent-cyan); }
.feature-icon--green { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); color: var(--accent-green); }
.feature-icon--orange { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); color: var(--accent-orange); }
.feature-icon--pink { background: rgba(236, 72, 153, 0.1); border-color: rgba(236, 72, 153, 0.2); color: var(--accent-pink); }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.metric-bar {
    flex: 1;
    height: 4px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1.5s var(--ease-out-expo);
}

.metric-bar--purple .metric-fill { background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink)); }
.metric-bar--cyan .metric-fill { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-primary)); }
.metric-bar--green .metric-fill { background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan)); }
.metric-bar--orange .metric-fill { background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink)); }
.metric-bar--pink .metric-fill { background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple)); }

/* ---------- Globe Section ---------- */
.globe-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

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

.globe-info .section-tag,
.globe-info .section-title,
.globe-info .section-desc {
    text-align: left;
    margin-left: 0;
}

.datacenter-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dc-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.dc-region {
    font-weight: 600;
    min-width: 130px;
}

.dc-count {
    color: var(--text-secondary);
}

.dc-latency {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-green);
}

.globe-canvas-wrapper {
    position: relative;
    aspect-ratio: 1;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.globe-overlay-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
    padding: 12px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

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

.globe-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.globe-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Tech Orbit Section ---------- */
.tech-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.tech-orbit {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.4);
}

.orbit-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed var(--border-color);
    border-radius: 50%;
    animation: orbitSpin 30s linear infinite;
}

.orbit-ring--1 {
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
}

.orbit-ring--2 {
    width: 440px;
    height: 440px;
    margin: -220px 0 0 -220px;
    animation-duration: 45s;
    animation-direction: reverse;
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    transform: rotate(var(--angle)) translateX(calc(var(--ring-radius, 140px))) rotate(calc(-1 * var(--angle)));
}

.orbit-ring--1 .orbit-item { --ring-radius: 140px; }
.orbit-ring--2 .orbit-item { --ring-radius: 220px; }

.orbit-ring--1 .orbit-item {
    animation: orbitCounterSpin 30s linear infinite;
}
.orbit-ring--2 .orbit-item {
    animation: orbitCounterSpin 45s linear infinite reverse;
}

.orbit-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.orbit-item span:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

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

@keyframes orbitCounterSpin {
    to { transform: rotate(var(--angle)) translateX(var(--ring-radius)) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* ---------- Pricing Section ---------- */
.pricing-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-badge {
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: transform 0.3s var(--ease-out-expo);
}

.toggle-switch.active .toggle-knob {
    transform: translateX(22px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.pricing-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-8px);
}

.pricing-card--featured {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, var(--bg-card) 100%);
}

.pricing-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.pricing-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 24px;
}

.plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 14px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.plan-icon svg {
    width: 22px;
    height: 22px;
}

.plan-icon--primary { color: var(--accent-primary); background: rgba(99, 102, 241, 0.15); }
.plan-icon--cyan { color: var(--accent-cyan); background: rgba(6, 182, 212, 0.1); }

.plan-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-value {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.plan-features {
    flex: 1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.plan-features li svg {
    flex-shrink: 0;
    color: var(--accent-green);
}

.plan-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-features li.disabled svg {
    color: var(--text-muted);
}

.btn-plan {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    overflow: hidden;
    margin: 0 -12px;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    animation: testimonialScroll 20s linear infinite;
}

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

.testimonial-card {
    flex: 0 0 400px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-424px * 3)); }
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #a0a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

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

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

.footer-legal a {
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .globe-layout {
        grid-template-columns: 1fr;
    }

    .globe-canvas-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .tech-orbit {
        width: 400px;
        height: 400px;
    }

    .orbit-ring--1 {
        width: 220px;
        height: 220px;
        margin: -110px 0 0 -110px;
    }

    .orbit-ring--2 {
        width: 360px;
        height: 360px;
        margin: -180px 0 0 -180px;
    }

    .orbit-ring--1 .orbit-item { --ring-radius: 110px; }
    .orbit-ring--2 .orbit-item { --ring-radius: 180px; }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--bg-primary);
        z-index: 999;
        padding: 100px 40px;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .nav-link {
        font-size: 24px;
        padding: 12px 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

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

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

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

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

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

    .testimonial-card {
        flex: 0 0 300px;
    }

    .tech-orbit {
        width: 300px;
        height: 300px;
    }

    .orbit-ring--1 {
        width: 180px;
        height: 180px;
        margin: -90px 0 0 -90px;
    }

    .orbit-ring--2 {
        width: 280px;
        height: 280px;
        margin: -140px 0 0 -140px;
    }

    .orbit-ring--1 .orbit-item { --ring-radius: 90px; }
    .orbit-ring--2 .orbit-item { --ring-radius: 140px; }

    .orbit-item {
        width: 48px;
        height: 48px;
        margin: -24px 0 0 -24px;
    }

    .orbit-item span {
        font-size: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .status-grid {
        gap: 20px;
    }
}

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

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

/* ---------- Utility / Animation Classes ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

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