:root {
    --bg: #07070a;
    --bg-card: #0c0c12;
    --bg-elevated: #101018;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-dark: #5b21b6;
    --green: #10b981;
    --red: #ef4444;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255,255,255,0.06);
    --glow: rgba(124, 58, 237, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== CANVAS & EFFECTS ===== */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== GRID PATTERN ===== */
.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ===== TOUCH & MOBILE OPTIMIZATIONS ===== */

/* Touch-friendly tap targets */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: rgba(124, 58, 237, 0.2);
}

/* Smooth scrolling on mobile */
html {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Prevent text size adjustment on orientation change */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Improve font rendering on mobile */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Touch-friendly button sizes */
.btn, button, a.btn {
    min-height: 22px;
    min-width: 44px;
}

/* Prevent zoom on input focus (iOS) */
input, select, textarea {
    font-size: 16px;
}

/* Disable pull-to-refresh on mobile */
body {
    overscroll-behavior-y: contain;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, #f472b6 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nonvoip-text {
    color: var(--green);
    font-weight: 800;
}

.nonvoip-highlight {
    color: var(--green);
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #9333ea 100%);
    color: white;
    box-shadow: 0 4px 24px var(--glow), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover::before { left: 100%; }

.btn-secondary {
    background: rgba(255,255,255,0.03);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.btn-lg { padding: 18px 40px; font-size: 16px; }

.btn-wide { min-width: 400px; }

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: flex;
    gap: 4px;
    background: rgba(12, 12, 18, 0.6);
    border-radius: 10px;
    padding: 4px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    color: var(--text);
    background: rgba(124, 58, 237, 0.1);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    padding: 20px 0;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, #9333ea 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--glow);
    border: 2px solid transparent;
    background: linear-gradient(#0c0c12, #0c0c12) padding-box,
                linear-gradient(135deg, #7c3aed, #a78bfa) border-box;
}

.logo-icon svg { width: 24px; height: 24px; fill: white; }

.nav-links {
    display: flex;
    gap: 44px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: 12px; align-items: center; }

/* User Menu Dropdown */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-menu-trigger:hover {
    border-color: #7c3aed;
    background: rgba(18, 18, 26, 0.8);
}

.user-menu-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
}

.user-menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}



.user-menu-avatar:hover 



@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.user-menu-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-menu-balance-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-menu-balance {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1;
}

.balance-add-btn {
    padding: 2px 6px !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #10b981 !important;
    cursor: pointer;
    font-size: 9px !important;
    font-weight: 600 !important;
    transition: all 0.3s;
    margin: 0 !important;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 16px;
    min-width: auto;
}

.balance-add-btn:hover {
    background: rgba(16, 185, 129, 0.25) !important;
    transform: translateY(-1px);
    opacity: 1;
}

.balance-add-btn svg {
    width: 11px !important;
    height: 11px !important;
    stroke-width: 2.5 !important;
}

.user-menu-email {
    font-size: 12px;
    color: #94a3b8;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-arrow {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.user-menu.active .user-menu-arrow {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: rgba(12, 12, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.user-menu.active .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-balance {
    padding: 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(109, 40, 217, 0.1));
    border-radius: 12px;
    margin-bottom: 12px;
}

.dropdown-balance-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.dropdown-balance-amount {
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: #f8fafc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.dropdown-menu-item:hover {
    background: rgba(124, 58, 237, 0.1);
}

.dropdown-menu-item svg {
    width: 18px;
    height: 18px;
    color: #a78bfa;
    flex-shrink: 0;
}

.user-email {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 40px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: rgba(16, 185, 129, 0.7);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse { 
    0%, 100% { opacity: 1; transform: scale(1); } 
    50% { opacity: 0.5; transform: scale(0.8); } 
}

.hero-title {
    font-size: clamp(48px, 5.5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-title-static {
    display: block;
    margin-bottom: 8px;
}

.hero-title-swap {
    display: block;
    height: 1.1em;
    overflow: hidden;
    position: relative;
}

.swap-text {
    display: inline-block;
    animation: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 44px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 72px;
}

.hero-metrics {
    display: flex;
    gap: 56px;
}

.metric {
    position: relative;
}

.metric-value {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== DEMO INTERFACE ===== */
.hero-visual {
    position: relative;
    perspective: 1500px;
}

.demo-window {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 
        0 50px 100px -20px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.03),
        inset 0 1px 0 rgba(255,255,255,0.04);
    transform: rotateY(-10deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.demo-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.demo-dots { display: flex; gap: 8px; }
.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s;
}
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-window:hover .demo-dots span { transform: scale(1.2); }

.demo-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

.demo-body {
    display: flex;
    min-height: 320px;
}

.demo-sidebar {
    width: 56px;
    background: var(--bg-card);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border-right: 1px solid var(--border);
}

.demo-sidebar-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #9333ea);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.demo-sidebar-logo svg { width: 18px; height: 18px; fill: white; }

.demo-nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s;
    cursor: pointer;
}

.demo-nav-item.active {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-light);
}

.demo-nav-item:hover { color: var(--text); }
.demo-nav-item svg { width: 18px; height: 18px; }

.demo-main {
    flex: 1;
    padding: 20px;
}

.demo-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.demo-main-title {
    font-weight: 600;
    font-size: 15px;
}

.demo-time {
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.demo-card {
    background: var(--bg-elevated);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s;
    cursor: pointer;
}

.demo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
}

.demo-card.active { border-color: var(--green); }
.demo-card.highlight { border-color: #ec4899; }

.demo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.demo-card-zone {
    font-weight: 600;
    font-size: 13px;
}

.demo-card-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.badge-alert { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-promo { background: rgba(236, 72, 153, 0.15); color: #ec4899; }

.demo-card-timer {
    font-size: 28px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.demo-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.demo-card-amount { color: var(--green); font-weight: 600; }

/* Floating notifications */
.float-notification {
    position: absolute;
    background: var(--bg-card);
    border-radius: 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.float-notification:nth-child(1) { top: -20px; right: -30px; animation-delay: 0s; }
.float-notification:nth-child(2) { bottom: 60px; left: -60px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon svg { width: 20px; height: 20px; }

.float-icon.green { background: rgba(16, 185, 129, 0.15); }
.float-icon.green svg { stroke: var(--green); }
.float-icon.purple { background: rgba(124, 58, 237, 0.15); }
.float-icon.purple svg { stroke: var(--accent-light); }

.float-text { font-size: 13px; }
.float-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.float-text span { color: var(--text-muted); font-size: 12px; }

/* ===== COMPARISON SECTION ===== */
.funnel-section {
    padding: 80px 0;
    position: relative;
}

.funnel-title {
    text-align: center;
    margin-bottom: 60px;
}

.funnel-title h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.compare-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 60px;
}

.compare-side {
    flex: 1;
    max-width: 280px;
}

.compare-card-old,
.compare-card-new {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s;
}

.compare-card-old {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-icon-old {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compare-icon-old svg {
    width: 24px;
    height: 24px;
    stroke: #ef4444;
    opacity: 0.6;
}

.compare-info {
    flex: 1;
}

.compare-label-old {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.compare-title-old {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}

.compare-x {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compare-x svg {
    width: 16px;
    height: 16px;
    stroke: #ef4444;
}

.compare-arrow {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--green);
    position: relative;
}

.arrow-track {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.3), var(--green));
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.arrow-particle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), var(--green));
    transform: translateY(-50%);
    border-radius: 2px;
    animation: arrowParticle 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes arrowParticle {
    0% { left: -20px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.compare-arrow svg {
    width: 24px;
    height: 24px;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.compare-card-new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
}

.compare-icon-new {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.compare-icon-new svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.compare-label-new {
    display: block;
    font-size: 11px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.compare-title-new {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.compare-check {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.compare-check svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-item {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.3s;
}

.comparison-item.old {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.03);
}

.comparison-item.new {
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.03);
}

.comparison-item:hover {
    transform: translateY(-4px);
}

.comparison-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.comparison-text {
    font-size: 14px;
    font-weight: 500;
}

/* ===== ARCHITECTURE SECTION ===== */
.architecture-section {
    padding: 120px 0;
    position: relative;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 60px;
    position: relative;
}

.arch-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arch-stage-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.stage-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), #9333ea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px var(--glow);
}

.stage-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

/* ===== 3D SIM BOXES WITH TOWER ===== */
.tower-sim-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    padding: 40px 20px;
}

/* Cell Tower */
.cell-tower {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.tower-top {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

.tower-antenna {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-light), var(--accent));
    border-radius: 2px;
    position: relative;
    animation: antennaGlow 2s ease-in-out infinite;
}

.tower-antenna:nth-child(2) {
    height: 50px;
    animation-delay: 0.3s;
}

.tower-antenna:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes antennaGlow {
    0%, 100% { box-shadow: 0 0 10px var(--accent); }
    50% { box-shadow: 0 0 20px var(--accent-light), 0 0 30px var(--accent); }
}

.tower-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tower-segment {
    width: 30px;
    height: 40px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border: 1px solid var(--border);
    border-radius: 4px;
    position: relative;
}

.tower-segment:nth-child(2) {
    width: 35px;
}

.tower-segment:nth-child(3) {
    width: 40px;
}

.tower-base {
    width: 50px;
    height: 20px;
    background: linear-gradient(145deg, #1a202c, #0f0f16);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-top: 4px;
}

/* Signal Waves from Tower */
.signal-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: signalPulse 3s ease-out infinite;
}

.signal-wave-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.signal-wave-2 {
    width: 100px;
    height: 100px;
    animation-delay: 1s;
}

.signal-wave-3 {
    width: 100px;
    height: 100px;
    animation-delay: 2s;
}

@keyframes signalPulse {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* 3D SIM Boxes */
.sim-boxes-3d {
    display: flex;
    gap: 60px;
    margin-top: 120px;
    position: relative;
    z-index: 3;
}

.sim-box-3d {
    position: relative;
    cursor: pointer;
    transition: all 0.4s;
}

.sim-box-3d:hover .box-3d-container {
    transform: rotateY(15deg) rotateX(-10deg) translateY(-10px);
}

.box-3d-container {
    width: 120px;
    height: 140px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.box-face {
    position: absolute;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.box-front {
    width: 120px;
    height: 140px;
    transform: translateZ(40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
}

.box-top {
    width: 120px;
    height: 80px;
    transform: rotateX(90deg) translateZ(70px);
    background: linear-gradient(145deg, #1a202c, #0f0f16);
}

.box-right {
    width: 80px;
    height: 140px;
    transform: rotateY(90deg) translateZ(60px);
    background: linear-gradient(145deg, #1a202c, #0f0f16);
}

.box-left {
    width: 80px;
    height: 140px;
    transform: rotateY(-90deg) translateZ(60px);
    background: linear-gradient(145deg, #252d3d, #1a202c);
}

.box-bottom {
    width: 120px;
    height: 80px;
    transform: rotateX(-90deg) translateZ(70px);
    background: linear-gradient(145deg, #0f0f16, #07070a);
}

.box-back {
    width: 120px;
    height: 140px;
    transform: translateZ(-40px) rotateY(180deg);
    background: linear-gradient(145deg, #1a202c, #0f0f16);
    border-radius: 8px;
}

/* SIM Cards in 3D Box */
.sim-slots-3d {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sim-card-3d {
    width: 36px;
    height: 48px;
    background: linear-gradient(145deg, #f59e0b, #d97706);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.sim-card-3d::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: #fbbf24;
    border-radius: 2px;
}

.sim-card-3d::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 12px;
    background: linear-gradient(145deg, #d97706, #b45309);
    border-radius: 2px;
}

/* LEDs on 3D Box */
.box-leds-3d {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.led-3d {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.7);
    box-shadow: 0 0 15px var(--green), inset 0 1px 2px rgba(255,255,255,0.3);
    animation: blink 2s infinite;
}

.led-3d:nth-child(2) {
    animation-delay: 0.4s;
}

.led-3d:nth-child(3) {
    animation-delay: 0.8s;
}

/* Box Antenna */
.box-antenna {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-light), #2d3748);
    border-radius: 2px;
}

.box-antenna::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    animation: pulse 2s infinite;
}

/* Signal from Box to Tower */
.box-signal {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--accent-light), transparent);
    opacity: 0;
    animation: signalBeam 3s ease-in-out infinite;
}

@keyframes signalBeam {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
}

.sim-box-3d:nth-child(2) .box-signal {
    animation-delay: 1.5s;
}

.sim-box-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Active state for SIM boxes */
.sim-box-3d.active .box-3d-container {
    animation: boxPulse 0.6s ease-out;
}

@keyframes boxPulse {
    0%, 100% { transform: rotateY(-15deg) rotateX(10deg) scale(1); }
    50% { transform: rotateY(-15deg) rotateX(10deg) scale(1.05); }
}

.sim-box-3d.active .box-signal {
    opacity: 1;
    animation: signalBeamActive 0.8s ease-out;
}

@keyframes signalBeamActive {
    0% { opacity: 0; height: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; height: 120px; }
}

/* SIM Boxes */
.sim-boxes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.sim-box-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s;
    cursor: pointer;
}

.sim-box-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.sim-box-device {
    background: linear-gradient(145deg, #1a1a24, #0f0f16);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.sim-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.sim-card-slot {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-card-mini {
    width: 32px;
    height: 40px;
    background: linear-gradient(145deg, #f59e0b, #d97706);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.sim-card-mini::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: #fbbf24;
    border-radius: 2px;
}

.device-leds {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.device-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.7);
    box-shadow: 0 0 10px var(--green);
    animation: blink 2s infinite;
}

.device-led:nth-child(2) {
    animation-delay: 0.3s;
}

.device-led:nth-child(3) {
    animation-delay: 0.6s;
}

.sim-box-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-name {
    font-weight: 600;
    font-size: 14px;
}

.box-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: rgba(16, 185, 129, 0.7);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Flow Arrow */
.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.flow-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.flow-particle {
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, var(--accent-light));
    border-radius: 2px;
    animation: flowParticle 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-light);
}

.flow-particle:nth-child(2) {
    animation-delay: 0.6s;
}

.flow-particle:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes flowParticle {
    0% { left: -20px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.flow-arrow svg {
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* Server */
.server-rack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s;
}

.server-rack-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.server-rack-visual {
    background: linear-gradient(145deg, #1e3a8a, #1e40af);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rack-unit {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rack-leds {
    display: flex;
    gap: 6px;
}

.rack-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.7);
    box-shadow: 0 0 8px var(--green);
    animation: blink 1.5s infinite;
}

.rack-led:nth-child(2) {
    animation-delay: 0.2s;
}

.rack-led:nth-child(3) {
    animation-delay: 0.4s;
}

.rack-led:nth-child(4) {
    animation-delay: 0.6s;
}

.rack-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Website */
.website-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.website-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.browser-chrome {
    background: var(--bg-elevated);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.chrome-dots {
    display: flex;
    gap: 6px;
}

.chrome-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #febc2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }

.chrome-url {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

.website-content {
    padding: 16px;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-elevated);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    animation: messageSlideIn 0.5s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-item:hover {
    border-color: var(--accent);
}

.msg-icon {
    font-size: 20px;
}

.msg-content {
    flex: 1;
}

.msg-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.msg-text {
    font-size: 12px;
    color: var(--text-secondary);
}

.msg-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* Users */
.users-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.user-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: all 0.4s;
    position: relative;
}

.user-card:hover {
    transform: translateY(-4px);
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}





.user-notification {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: notificationPop 2s ease-in-out infinite;
}

.user-notification svg {
    width: 14px;
    height: 14px;
}

@keyframes notificationPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Control */
.arch-control {
    margin-top: 60px;
    text-align: center;
}

.arch-control .btn {
    min-width: 300px;
}

/* ===== USA MAP SECTION ===== */
.map-section {
    padding: 0px 0 120px 0;
    position: relative;
}

.map-wrapper {
    display: block;
    max-width: 1400px;
    margin: 0px auto 40px;
    overflow: hidden;
}

.map-container {
    width: 1000px;
    max-width: 100%;
    height: 600px;
    position: relative;
    margin: 0 auto 40px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#map svg {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
}

.map-info-panel {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.map-info-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.4s;
}

.map-info-placeholder {
    text-align: center;
    padding: 20px 0;
}

.info-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.info-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-subtext {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.map-info-active {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.state-info-header {
    margin-bottom: 24px;
}

.state-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.state-code {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sim-count-display {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.sim-count-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-count-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.03em;
    line-height: 1;
}

.sim-count-suffix {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 8px;
}

.state-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    font-size: 14px;
    color: var(--green);
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: rgba(16, 185, 129, 0.7);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Server Hub in center of map */
.map-server-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
}

.server-hub-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #9333ea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
    position: relative;
    animation: serverPulse 3s ease-in-out infinite;
}

.server-hub-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

@keyframes serverPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 12px 48px rgba(124, 58, 237, 0.8); }
}

.server-hub-label {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-light);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-hub-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-light);
    border-radius: 50%;
    animation: hubPulseRing 2s ease-out infinite;
}

@keyframes hubPulseRing {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

/* Data Flow Lines */
.map-data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    overflow: visible;
}

.data-flow-line {
    stroke: url(#dataGradient);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 10 5;
    animation: dataFlow 2s linear infinite;
}

@keyframes dataFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -30;
    }
}

.data-packet {
    fill: var(--accent-light);
    filter: drop-shadow(0 0 12px var(--accent-light));
    opacity: 1;
}

/* State activity indicator */
.state-active {
    filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.8)) !important;
    animation: stateGlow 1s ease-out !important;
}

@keyframes stateGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* SMS Reception Animation */
.sms-notification {
    position: absolute;
    pointer-events: none;
    z-index: 200;
    animation: smsReceive 2s ease-out forwards;
}

.sms-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    position: relative;
}

.sms-icon::before {
    content: '📱';
    font-size: 20px;
}

.sms-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid var(--green);
    border-radius: 50%;
    animation: smsPulse 2s ease-out forwards;
}

@keyframes smsReceive {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
}

@keyframes smsPulse {
    0% {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

#map {
    position: relative;
    z-index: 1;
}

/* Hide Simplemaps branding */
#map a[href*="simplemaps"],
#map .simplemaps-link,
.sm_link {
    display: none !important;
    visibility: hidden !important;
}

/* Hide default tooltip */
#tt_sm_map {
    display: none !important;
}

/* Map stats */
.map-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.map-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.map-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.map-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.map-stat-card:hover::before {
    opacity: 1;
}

.map-stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    filter: grayscale(0.3);
    transition: all 0.3s;
}

.map-stat-card:hover .map-stat-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.map-stat-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.map-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets & Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .hero .container {
        gap: 60px;
    }
    
    .hero-title {
        font-size: clamp(40px, 5vw, 60px);
    }
    
    .arch-flow {
        flex-direction: column;
        gap: 40px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .map-container {
        height: 500px;
    }
    
    .footer {
        overflow-x: hidden;
        width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
    }
}

/* Tablets & Mobile (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Ensure all content is visible */
    * {
        visibility: visible !important;
    }
    
    /* Header Mobile */
    .header {
        padding: 16px 0;
    }
    
    .logo {
        font-size: 18px;
        gap: 10px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(7, 7, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta {
        gap: 8px;
    }
    
    .user-menu-info {
        display: none;
    }
    
    .user-menu-trigger {
        padding: 8px;
    }
    
    .user-menu-arrow {
        display: none;
    }
    
    .user-menu-dropdown {
        right: -20px;
        width: calc(100vw - 40px);
        max-width: 320px;
    }
    
    .user-email {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
        display: block !important;
    }
    
    .hero-subtitle {
        font-size: 16px;
        display: block !important;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        display: flex !important;
    }
    
    .btn-wide {
        min-width: 100%;
        display: flex !important;
    }
    
    .hero-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        display: grid !important;
    }
    
    .metric {
        padding: 16px 12px;
        display: block !important;
    }
    
    .metric-value {
        font-size: 28px;
        display: block !important;
    }
    
    .metric-label {
        display: block !important;
        font-size: 11px;
    }
    
    /* Hero Visual Mobile - Show on mobile */
    .hero-visual {
        display: block !important;
        margin-top: 40px;
        perspective: none;
    }
    
    .demo-window {
        display: block !important;
        transform: none !important;
        max-width: 100%;
        border-radius: 16px;
    }
    
    .demo-body {
        display: flex !important;
    }
    
    .demo-sidebar {
        display: flex !important;
    }
    
    .demo-main {
        display: block !important;
    }
    
    .demo-grid {
        display: grid !important;
    }
    
    .demo-card {
        display: block !important;
    }
    
    .float-notification {
        display: none;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 48px;
        border-radius: 12px;
        display: inline-flex !important;
        visibility: visible !important;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 52px;
        display: inline-flex !important;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        display: flex !important;
    }
    
    /* Other sections */
    .hero-metrics {
        gap: 32px;
    }
    
    .compare-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .compare-arrow {
        transform: rotate(90deg);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .architecture-section {
        padding: 60px 0;
    }
    
    .map-section {
        padding: 60px 0;
    }
    
    .map-stats {
        grid-template-columns: repeat(2, 1fr);
        display: grid !important;
    }
    
    .map-stat-card {
        display: block !important;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(12, 12, 18, 0.95) 0%, rgba(7, 7, 10, 1) 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding: 80px 0 30px 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
    max-width: 100%;
}

.footer-brand {
    max-width: 400px;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    border: 2px solid transparent;
    background: linear-gradient(#0c0c12, #0c0c12) padding-box,
                linear-gradient(135deg, #7c3aed, #a78bfa) border-box;
}

.footer-logo .logo-icon svg {
    width: 24px;
    height: 24px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    word-wrap: break-word;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 100%;
    min-width: 0;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    max-width: 100%;
}

.footer-column ul li {
    margin-bottom: 12px;
    min-width: 0;
    max-width: 100%;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.footer-column ul li a:hover {
    color: #7c3aed;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    max-width: 100%;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
    word-wrap: break-word;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: #7c3aed;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
    }
    
    .footer-column {
        min-width: 0;
        max-width: 100%;
    }
    
    .footer-column h4 {
        font-size: 15px;
        word-wrap: break-word;
    }
    
    .footer-column ul li a {
        font-size: 13px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px 0;
        overflow-x: hidden;
    }
    
    .footer-content {
        gap: 40px;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        max-width: 100%;
    }
}

/* 3D SIM Card Section */
.sim-3d-section {
    padding: 0 0 0px 0;
    margin-top: -60px;
    position: relative;
    overflow: hidden;
}

.sim-3d-section .funnel-title {
    margin-bottom: 0;
}

.sim-3d-section .funnel-title p {
    margin-top: 8px;
    margin-bottom: 0;
}

.sim-3d-container {
    position: relative;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: -20px;
}

.sim-3d-canvas {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: visible;
}

.sim-3d-canvas canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.sim-3d-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin-top: 20px;
}

.sim-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.sim-feature:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.sim-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.sim-feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sim-feature-text strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.sim-feature-text span {
    color: var(--text-secondary);
    font-size: 13px;
}

.sim-3d-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.sim-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.sim-btn:active {
    transform: translateY(0);
}

.sim-btn svg {
    width: 20px;
    height: 20px;
}

#sim3dLoading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.sim-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(124, 58, 237, 0.3);
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@media (max-width: 768px) {
    .sim-3d-section {
        padding: 80px 0;
    }
    
    .sim-3d-container {
        min-height: 500px;
    }
    
    .sim-3d-canvas {
        height: 400px;
    }
    
    .sim-3d-info {
        grid-template-columns: 1fr;
    }
    
    .sim-3d-controls {
        width: 100%;
    }
    
    .sim-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    /* Additional Mobile Optimizations */
    .container {
        padding: 0 20px;
    }
    
    /* Header Mobile */
    .header {
        padding: 16px 0;
    }
    
    .logo {
        font-size: 18px;
        gap: 10px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(7, 7, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta {
        gap: 8px;
    }
    
    .user-menu-email {
        display: none;
    }
    
    .user-menu-balance {
        font-size: 14px;
    }
    
    .user-menu-trigger {
        padding: 8px 12px;
    }
    
    .user-menu-dropdown {
        right: -20px;
        width: calc(100vw - 40px);
        max-width: 280px;
    }
    
    .user-email {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-wide {
        min-width: 100%;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metric {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 32px;
    }
    
    .hero-visual {
        display: none;
    }
    
    .demo-window {
        display: none;
    }
    
    .float-notification {
        display: none;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 14px 24px;
        font-size: 15px;
        min-height: 48px;
        border-radius: 12px;
        display: inline-flex !important;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
        min-height: 52px;
        display: inline-flex !important;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        display: flex !important;
    }
    
    /* SIM 3D Section Mobile */
    .sim-3d-section {
        padding: 60px 0;
        margin-top: 0;
        display: block !important;
    }
    
    .sim-3d-container {
        min-height: 400px;
        display: flex !important;
    }
    
    .sim-3d-canvas {
        height: 350px;
        display: block !important;
    }
    
    .funnel-title h2 {
        font-size: 28px;
        display: block !important;
    }
    
    .funnel-title p {
        font-size: 14px;
        display: block !important;
    }
    
    /* Map Section Mobile */
    .map-section {
        padding: 60px 0;
        display: block !important;
    }
    
    .map-wrapper {
        overflow: hidden;
        margin: 40px auto 20px;
        padding: 0;
        display: block !important;
    }
    
    .map-container {
        height: 300px;
        border-radius: 16px;
        overflow: hidden;
        width: 100%;
        padding: 0;
        display: block !important;
    }
    
    #map {
        width: 100%;
        height: 100%;
        display: flex !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    #map svg {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block !important;
    }
    
    .map-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .map-stat {
        padding: 16px;
        border-radius: 12px;
    }
    
    .map-stat-value {
        font-size: 24px;
    }
    
    .map-stat-label {
        font-size: 12px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px 0;
    }
    
    .footer-content {
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        word-wrap: break-word;
    }
    
    /* Header - Extra small screens */
    .header {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 15px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-cta {
        gap: 6px;
    }
    
    .nav-cta .btn-primary {
        display: none !important;
    }
    
    .nav-cta .btn-secondary {
        padding: 8px 14px;
        font-size: 13px;
        min-height: 38px;
        white-space: nowrap;
        display: inline-flex !important;
    }
    
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
    }
    
    /* Hero */
    .hero {
        padding: 80px 0 40px;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .hero .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 12px;
        line-height: 1.4;
        word-wrap: break-word;
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 4px 10px;
        white-space: nowrap;
    }
    
    .btn {
        padding: 11px 18px;
        font-size: 13px;
        min-height: 42px;
    }
    
    .btn-lg {
        padding: 13px 24px;
        font-size: 14px;
        min-height: 46px;
    }
    
    .sim-3d-section {
        padding: 30px 0;
        overflow-x: hidden;
    }
    
    .sim-3d-canvas {
        height: 280px;
        max-width: 100%;
    }
    
    .map-section {
        padding: 30px 0;
        overflow-x: hidden;
    }
    
    .map-container {
        height: 220px;
        padding: 0;
        max-width: 100%;
    }
    
    #map {
        overflow: hidden;
    }
    
    #map svg {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }
    
    .funnel-title h2 {
        font-size: 22px;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .funnel-title p {
        font-size: 12px;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .footer {
        padding: 50px 0 25px;
        overflow-x: hidden;
        width: 100%;
    }
    
    .footer .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .footer-logo {
        font-size: 18px;
    }
    
    .footer-description {
        font-size: 13px;
        max-width: 100%;
    }
    
    .footer-column h4 {
        font-size: 14px;
    }
    
    .footer-column a {
        font-size: 13px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    /* Hero Visual - Show on small mobile */
    .hero-visual {
        display: block !important;
        margin-top: 20px;
        perspective: none;
        max-width: 100%;
        overflow: hidden;
    }
    
    .demo-window {
        display: block !important;
        transform: none !important;
        max-width: 100%;
        border-radius: 10px;
        overflow: hidden;
        width: 100%;
    }
    
    .demo-header {
        padding: 8px 10px;
    }
    
    .demo-url {
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .demo-body {
        display: flex !important;
        overflow-x: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .demo-sidebar {
        min-width: 50px;
        flex-shrink: 0;
    }
    
    .demo-main {
        display: block !important;
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .demo-card {
        font-size: 11px;
        padding: 12px;
    }
    
    .hero-metrics {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2px !important;
        width: 100%;
        max-width: 100%;
    }
    
    .metric {
        padding: 8px 1px !important;
        min-width: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .metric-value {
        font-size: 14px !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow: visible !important;
        display: block !important;
    }
    
    .metric-label {
        font-size: 7px !important;
        word-wrap: break-word;
        line-height: 1.1;
        overflow-wrap: break-word;
        text-transform: uppercase;
        text-align: center;
        white-space: normal;
    }
}

/* Landscape Mobile Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-metrics {
        margin-top: 24px;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .metric {
        padding: 12px;
    }
    
    .metric-value {
        font-size: 20px;
    }
    
    .metric-label {
        font-size: 10px;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 12px;
    }
    
    .btn-wide {
        min-width: auto;
        flex: 1;
    }
}