/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #18181f;
    --bg-card: #1a1a24;
    --bg-card-hover: #222230;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    
    --accent-green: #00FFA3;
    --accent-cyan: #00D4FF;
    --accent-purple: #9B5DE5;
    --accent-pink: #F72585;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    --gradient-secondary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --gradient-accent: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 255, 163, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Canvas Background */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

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

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.cta-btn.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.cta-btn.secondary:hover {
    background: var(--bg-card);
    border-color: var(--accent-cyan);
}

.cta-btn.large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 255, 163, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-green);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

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

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    animation: fadeIn 1s ease 0.5s both;
}

.globe-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 60px rgba(0, 255, 163, 0.1),
                0 0 80px rgba(0, 212, 255, 0.1);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: rotate 60s linear infinite;
}

.orbit-1 {
    width: 350px;
    height: 350px;
    transform: translate(-50%, -50%) rotateX(60deg);
}

.orbit-2 {
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(30deg);
    animation-duration: 80s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-20deg);
    animation-duration: 100s;
}

.node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-green);
    animation: nodeFloat 3s ease-in-out infinite;
}

.node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-green);
    border-radius: 50%;
    opacity: 0.5;
    animation: ping 2s ease-out infinite;
}

.node-ping {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--accent-green);
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.node-1 { top: 20%; left: 30%; animation-delay: 0s; }
.node-2 { top: 35%; right: 15%; animation-delay: 0.5s; }
.node-3 { top: 60%; left: 10%; animation-delay: 1s; }
.node-4 { top: 70%; right: 25%; animation-delay: 1.5s; }
.node-5 { bottom: 15%; left: 40%; animation-delay: 2s; }

/* Speed Demo */
.speed-demo {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.speed-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 320px;
    transition: all var(--transition-normal);
}

.comparison-card.traditional {
    opacity: 0.7;
}

.comparison-card.pipevpn {
    border-color: rgba(0, 255, 163, 0.3);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.card-icon {
    font-size: 2rem;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.speed-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    width: var(--fill);
    transition: width 1s ease;
}

.bar-fill.slow {
    background: #ff6b6b;
}

.bar-fill.fast {
    background: var(--gradient-primary);
}

.speed-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

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

.detail .value {
    font-weight: 600;
}

.detail .value.bad {
    color: #ff6b6b;
}

.detail .value.good {
    color: var(--accent-green);
}

.vs-badge {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card.large {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-metric {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-mono);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Use Cases Section */
.use-cases {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.use-case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    color: var(--accent-cyan);
}

.use-case-icon.gaming {
    color: var(--accent-purple);
}

.use-case-icon.streaming {
    color: var(--accent-pink);
}

.use-case-icon svg {
    width: 100%;
    height: 100%;
}

.use-case-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.use-case-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.use-case-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.use-case-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.use-case-benefits svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.use-case-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-highlight {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-context {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Speed Test CTA */
.speed-test-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
}

.speed-test-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.speed-test-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive Use Cases */
@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .speed-test-cta {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.architecture-diagram {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.arch-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    width: 160px;
    position: relative;
}

.arch-step.highlighted {
    border-color: rgba(0, 255, 163, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.1);
    width: 200px;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 16px auto 12px;
    color: var(--accent-green);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.arch-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.arch-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pop-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}

.pop-feature {
    font-size: 0.7rem;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 40px;
}

.arch-arrow svg {
    width: 60px;
    height: 24px;
}

.arrow-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Cache Highlight */
.cache-highlight {
    display: flex;
    align-items: center;
    gap: 32px;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.05), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.cache-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.cache-icon svg {
    width: 100%;
    height: 100%;
}

.cache-content {
    flex: 1;
}

.cache-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cache-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cache-stats {
    display: flex;
    gap: 32px;
}

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

.stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-green);
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Network Section */
.network {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.network-map {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.map-container {
    position: relative;
    height: 400px;
    margin-bottom: 40px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 163, 0.02));
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
}

.region {
    text-align: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.region:hover {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
}

.region-count {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-green);
}

.region-name {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.live-pulse {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.live-pulse::before {
    content: 'LIVE';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.1em;
}

.network-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.network-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Setup Section */
.setup {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

.setup-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.setup-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 260px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
}

.platform-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.platform {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--bg-secondary);
    border-radius: 4px;
    color: var(--text-secondary);
}

.qr-preview {
    margin-top: 16px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 10px;
    border-radius: var(--radius-sm);
}

.qr-placeholder svg {
    width: 100%;
    height: 100%;
}

.connected-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent-green);
}

.connected-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    animation: ping 1.5s ease-out infinite;
}

.connected-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Code Preview */
.code-preview {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
}

.code-dot:nth-child(1) { background: #ff5f57; }
.code-dot:nth-child(2) { background: #ffbd2e; }
.code-dot:nth-child(3) { background: #28c840; }

.code-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-section {
    color: var(--accent-cyan);
}

.code-key {
    color: var(--accent-green);
}

.code-value {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(155, 93, 229, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 320px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    box-shadow: 0 0 40px rgba(155, 93, 229, 0.15);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-purple);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
}

.plan-header {
    margin-bottom: 32px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.period {
    color: var(--text-muted);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.check {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.plan-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.plan-btn.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.plan-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.plan-btn.secondary:hover {
    background: var(--bg-tertiary);
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 255, 163, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.no-cc {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(0deg); }
    to { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(360deg); }
}

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

/* Skeleton Loading States */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-loaded {
    animation: skeleton-fade 0.3s ease-out forwards;
}

@keyframes skeleton-fade {
    to {
        background: transparent;
    }
}

.skeleton-loaded::after {
    display: none;
}

/* Lazy Loading States */
[data-lazy] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-lazy].lazy-loaded {
    opacity: 1;
    transform: translateY(0);
}

img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

img.loaded {
    opacity: 1;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .skeleton::after {
        animation: none;
    }
    
    [data-lazy] {
        opacity: 1;
        transform: none;
    }
}

.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.large {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.large {
        grid-column: span 1;
    }
    
    .architecture-diagram {
        flex-direction: column;
        align-items: center;
    }
    
    .arch-arrow {
        transform: rotate(90deg);
        padding: 16px 0;
    }
    
    .cache-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .cache-stats {
        justify-content: center;
    }
    
    .network-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .setup-steps {
        flex-direction: column;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

