:root {
    /* Amnezia Brand Colors - Dark Mode */
    --primary: #3b82f6; /* Bright Electric Blue */
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --accent: #1e293b;
    
    /* UI Colors - Dark Mode */
    --bg-body: #0f172a; /* Slate 950 */
    --bg-surface: #1e293b; /* Slate 800 */
    --bg-secondary: #334155; /* Slate 700 */
    
    --text-main: #f8fafc; /* Slate 50 */
    --text-secondary: #94a3b8; /* Slate 400 */
    
    /* Glassmorphism - Dark Mode */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
    
    /* Animation */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Mesh - Dark & Neon */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.5) 0%, transparent 100%),
        radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    filter: blur(60px);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; transition: all 0.2s var(--ease-out); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-main);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    text-align: center;
    border: none;
}

.btn--sm { padding: 10px 20px; font-size: 0.9rem; height: 44px; }
.btn--lg { padding: 16px 36px; font-size: 1.1rem; height: 56px; }
.btn--full { width: 100%; }

.btn--primary {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-main);
}
.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.btn--glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
}
.btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--glow {
    position: relative;
    overflow: hidden;
}
.btn--glow::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Header */
.header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.header--scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo__img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.logo__text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.nav__list { display: flex; gap: 32px; }
.nav__link {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width 0.3s;
    border-radius: 2px;
}
.nav__link:hover { color: var(--text-main); }
.nav__link:hover::after { width: 100%; }

.mobile-only-btn { display: none; }
.desktop-only-btn { display: inline-flex; }

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px; height: 18px;
    background: none; border: none; cursor: pointer; padding: 0;
    z-index: 1001;
}
.burger span {
    width: 100%; height: 2px; background: var(--text-main);
    border-radius: 2px; transition: 0.3s;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}
.pulse-dot {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-main);
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__desc {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 500px;
}

.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual */
.hero__visual {
    position: relative;
    height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.visual-glow {
    position: absolute;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.app-card {
    width: 280px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.4s var(--ease-out);
    z-index: 2;
}
.app-card:hover { transform: rotateY(0) rotateX(0) scale(1.02); }

.app-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px;
}
.app-status {
    display: flex; align-items: center; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
}
.status-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; margin-right: 6px; }
.app-brand { font-weight: 700; font-size: 0.9rem; color: var(--text-main); }

.app-body { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; }
.connection-ring {
    position: relative; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.ring-core {
    width: 70px; height: 70px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
    z-index: 2;
}
.ring-pulse {
    position: absolute; width: 100%; height: 100%;
    border: 2px dashed rgba(255,255,255,0.2); border-radius: 50%;
    animation: spin 10s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.server-info { text-align: center; }
.server-loc { display: block; font-weight: 700; font-size: 1.1rem; }
.server-ip { font-family: monospace; font-size: 0.8rem; color: var(--text-secondary); }

.app-footer-simple { text-align: center; font-size: 0.8rem; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); color: var(--text-secondary); }

/* Floating Items */
.floating-item {
    position: absolute;
    background: var(--bg-surface);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex; align-items: center; gap: 8px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.item-1 { top: 10%; left: -20px; animation-delay: 0s; }
.item-2 { bottom: 15%; right: -20px; animation-delay: 3s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Sections */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-title { font-size: 2.25rem; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); }

/* Features */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--bg-surface);
    padding: 40px; border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.2);
    border-color: var(--primary-light);
    background: rgba(30, 41, 59, 0.9);
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

/* Pricing / Download Grid */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; align-items: start;
}

.price-card {
    background: var(--bg-surface); padding: 32px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: 0.3s;
}
.price-card:hover { border-color: var(--primary-light); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.price-card--popular {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid var(--primary);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.2);
    z-index: 2;
}
.popular-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white; padding: 4px 12px;
    border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}

.price-header { margin-bottom: 24px; }
.plan-name { display: block; font-size: 1rem; font-weight: 600; opacity: 0.8; margin-bottom: 8px; color: var(--text-secondary); }
.price { font-size: 2.5rem; font-weight: 800; margin-bottom: 4px; color: var(--text-main); }
.price-sub { font-size: 0.85rem; color: var(--text-secondary); }

.price-list { margin: 24px 0; text-align: left; }
.price-list li {
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem; display: flex; gap: 8px; color: var(--text-secondary);
}
.price-list li::before { content: "✓"; color: var(--primary); font-weight: bold; }

/* Contacts / CTA */
.cta-box {
    background: var(--primary);
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 32px;
    padding: 60px;
    display: flex; align-items: center; justify-content: space-between;
    color: white; position: relative; overflow: hidden;
}
.cta-content { max-width: 480px; z-index: 2; }
.cta-content h2 { color: white; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.contact-list a { color: white; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.3); }
.contact-list a:hover { border-color: white; }

.cta-actions .btn--primary {
    background: white; color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.cta-actions .btn--primary:hover {
    background: #f8fafc; transform: translateY(-2px);
}

.map-placeholder {
    position: absolute; right: -5%; top: 0; height: 100%; width: 60%;
    opacity: 0.15; pointer-events: none;
}

/* Footer */
.footer {
    background: var(--bg-body); padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px;
}
.footer__container {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.footer__brand p { font-size: 0.9rem; color: var(--text-secondary); }
.footer__details a { font-size: 0.85rem; color: var(--text-secondary); }
.footer__details a:hover { color: var(--primary); }

/* Animation Classes */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__desc { margin: 0 auto 30px; }
    .hero__btns { justify-content: center; }
    
    .burger { display: flex; }
    .nav {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--bg-body); flex-direction: column; justify-content: center; align-items: center;
        transition: 0.3s var(--ease-out); z-index: 999;
    }
    .nav.active { right: 0; }
    .nav__list { flex-direction: column; font-size: 1.25rem; gap: 24px; text-align: center; }
    
    .mobile-only-btn { display: inline-flex; width: 80%; }
    .desktop-only-btn { display: none; }
    
    .cta-box { flex-direction: column; text-align: center; padding: 40px 24px; }
    .map-placeholder { display: none; }
    .price-card--popular { transform: scale(1); }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .header { padding: 0; }
    .app-card { width: 100%; max-width: 300px; }
}