:root {
    --bg-color: #060608;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-red: #ff0055;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-red), transparent 70%);
    opacity: 0.15;
    animation-duration: 25s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(6, 6, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.logo span {
    color: var(--accent-cyan);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

/* Buttons */
button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #000;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary.glow {
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

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

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

/* Layout */
main {
    padding-top: 100px;
}

section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.status-optimal {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Radar Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    height: 500px;
    position: relative;
}

.radar-container {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid var(--accent-blue);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
}

.radar {
    width: 50%;
    height: 50%;
    background: linear-gradient(90deg, transparent 50%, rgba(0, 242, 254, 0.5) 100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: bottom left;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.threat-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-red);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Live Log */
.live-log {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    height: 120px;
    overflow-y: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.log-entry {
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.3s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features {
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Legacy Migration */
.legacy {
    text-align: center;
    padding-bottom: 8rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.legacy-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tag {
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    background: var(--glass-bg);
    transition: all 0.3s ease;
}

.crossed-out {
    position: relative;
    opacity: 0.5;
}

.crossed-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--accent-red);
    transform: rotate(-3deg);
}

.crossed-out:hover {
    opacity: 1;
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    padding: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 2.5rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
}
