@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --bg-dark: #060810;
    --bg-card: rgba(15, 18, 35, 0.6);
    --bg-accent: rgba(99, 102, 241, 0.1);
    
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #22d3ee;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.3);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Effects */
    --glass: backdrop-filter: blur(16px) saturate(180%);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bg-accent) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.6;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 0.4; }
    to { transform: scale(1.2); opacity: 0.7; }
}

.glow-1 { top: -30%; left: -20%; }
.glow-2 { bottom: -30%; right: -20%; background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%); }

.grid-bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.2;
}

/* Typography */
h1, h2, h3, h4, .brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 100;
    background: rgba(6, 8, 16, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

header .container {
    width: 100%;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

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

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

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

.btn-outline:hover {
    background: var(--bg-accent);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #451a03;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Hero Section */
.hero {
    padding: 40px 0 40px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: blink 1.5s infinite;
}

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

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1;
    margin-bottom: 28px;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Cards & Sections */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

/* Script Box */
.script-box {
    background: #0b0d1a;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin: 40px 0;
    text-align: left;
}

.script-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.script-content {
    padding: 24px;
    font-family: 'DM Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent);
    word-break: break-all;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 3rem; }
}
