/* Theme Definitions - Premium Spatial Glassmorphic */
:root {
    --bg-dark: #040714;
    --aurora-purple: #7B2CBF;
    --electric-cyan: #00D4FF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(255, 255, 255, 0.02);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="light"] {
    --bg-dark: #f0f4f8;
    --aurora-purple: #9d4edd;
    --electric-cyan: #00b4d8;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-glow: rgba(255, 255, 255, 0.8);
    --text-main: #0f172a;
    --text-muted: #475569;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

/* Deep Space Aurora Backdrop */
.aurora-bg {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    background: radial-gradient(circle at 10% 40%, rgba(123, 44, 191, 0.15), transparent 50%),
                radial-gradient(circle at 80% 60%, rgba(0, 212, 255, 0.1), transparent 50%);
    filter: blur(80px);
    pointer-events: none;
}

/* Glassmorphism Panel Base */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 0 20px var(--glass-glow), 0 8px 32px rgba(0,0,0,0.15);
}

/* Utility */
.highlight-cyan { color: var(--electric-cyan); }
.highlight-purple { color: var(--aurora-purple); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; height: 70px;
    z-index: 1000; border-radius: 0 0 20px 20px;
    display: flex; align-items: center;
}
.nav-container {
    width: 100%; max-width: 1200px; padding: 0 24px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: 1px; }
.logo .highlight { color: var(--electric-cyan); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--electric-cyan); }
.new-tag { position: relative; }
.new-tag::after {
    content: "NEW"; position: absolute; top: -10px; right: -25px;
    background: var(--aurora-purple); color: #fff; font-size: 0.65rem; 
    padding: 2px 6px; border-radius: 6px; font-weight: bold;
}
.theme-btn {
    background: transparent; border: 1px solid var(--glass-border);
    color: var(--text-main); border-radius: 50%; width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: 0.3s;
}
.theme-btn:hover { background: rgba(123, 44, 191, 0.2); border-color: var(--aurora-purple); }

/* Hero Section */
.hero-section {
    padding-top: 160px; padding-bottom: 100px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-title { font-size: 4rem; font-weight: 800; margin-bottom: 24px; line-height: 1.1; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 60px; }

/* Interactive Console Widget */
.glass-console {
    width: 100%; max-width: 750px; padding: 50px; border-radius: 30px;
    margin: 0 auto; transition: transform 0.1s ease-out;
}
.console-header { 
    font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; 
    color: var(--text-muted); margin-bottom: 40px; font-weight: 600;
}
.slider-container { position: relative; margin-bottom: 50px; }
.cyber-slider {
    width: 100%; -webkit-appearance: none; background: rgba(255,255,255,0.05);
    height: 8px; border-radius: 4px; outline: none; z-index: 2; position: relative;
    border: 1px solid var(--glass-border);
}
.cyber-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
    background: var(--electric-cyan); cursor: pointer; box-shadow: 0 0 20px var(--electric-cyan);
    border: 2px solid #fff;
}
/* SVG Ripple Animation simulation via repeating gradient */
.ripple-wave {
    position: absolute; top: 50%; left: 0; right: 0; height: 30px; transform: translateY(-50%);
    background: repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(0, 212, 255, 0.08) 15px, rgba(0, 212, 255, 0.08) 30px);
    z-index: 1; pointer-events: none; opacity: 0.7; animation: flowWave 20s linear infinite;
}
@keyframes flowWave { from { background-position: 0 0; } to { background-position: 1000px 0; } }

.console-metrics { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 20px;}
.metric { display: flex; flex-direction: column; gap: 10px; flex: 1; text-align: center;}
.metric .label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.metric .value { font-size: 1.8rem; font-weight: 800; }

/* Buttons */
.btn {
    padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 1.05rem;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block; text-align: center; border: 1px solid transparent;
}
.btn-glow {
    background: linear-gradient(135deg, var(--aurora-purple), var(--electric-cyan));
    color: #fff; box-shadow: 0 8px 25px rgba(123, 44, 191, 0.3);
}
.btn-glow:hover { 
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5); transform: translateY(-3px); 
    filter: brightness(1.1);
}
.btn-outline {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-main);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

/* Layout Grids */
.section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 70px; font-weight: 800; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

/* Parallax Tilt Cards & Iridescent Border Hover */
.tilt-card { transition: transform 0.1s ease-out; }
.border-fx { position: relative; border-radius: 24px; z-index: 1; }
.border-fx::before {
    content: ""; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    transition: opacity 0.4s ease, background 0.4s ease;
}
.border-fx:hover::before {
    background: linear-gradient(135deg, var(--electric-cyan), var(--aurora-purple), var(--electric-cyan));
    opacity: 0.8; filter: blur(3px);
}
.border-fx > * { position: relative; z-index: 2; } /* Keep content above blurred pseudo-element */

.feature-card { padding: 40px; }
.geo-icon { width: 56px; height: 56px; margin-bottom: 30px; stroke-width: 1.5px; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 16px; }

/* Pricing Cards */
.pricing-card { padding: 50px 40px; display: flex; flex-direction: column; text-align: center; }
.featured-card { 
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15); 
    border-color: rgba(0, 212, 255, 0.3);
}
.badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--electric-cyan); color: #040714; padding: 6px 20px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 800; letter-spacing: 1px;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.price { font-size: 3.5rem; font-weight: 800; margin-bottom: 30px; display: flex; justify-content: center; align-items: baseline; }
.unit { font-size: 1.1rem; color: var(--text-muted); font-weight: 500; margin-left: 5px; }
.feature-list { list-style: none; margin-bottom: 40px; flex-grow: 1; text-align: left; }
.feature-list li { padding: 12px 0; border-bottom: 1px solid var(--glass-border); font-size: 1rem; color: var(--text-muted); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.8rem; }
    .console-metrics { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .card-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; margin-bottom: 40px; }
}
