:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(circle at top right, var(--bg-dark), var(--bg-darker) 70%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary);
}

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

/* Glass Header */
.v2-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.6);
    color: white;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary);
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.secondary-button {
    background: transparent;
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: background 0.2s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Glass Panels */
.panels-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 80px;
    margin-bottom: 120px;
    padding: 0 20px;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    flex: 1;
    max-width: 100%;
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-10px);
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.panel-icon {
    margin-right: 12px;
    font-size: 18px;
    color: var(--primary);
}

.log-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.log-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.log-main {
    font-weight: 500;
    font-size: 15px;
}

.log-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.log-stat {
    font-weight: 600;
    color: var(--text-main);
}

/* Content Area */
.v2-content-area {
    padding: 60px 0 100px;
}

.content-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Grids */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

/* Layout Utilities classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-8 { margin-bottom: 32px; }

/* Footer */
.v2-footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0;
    margin-top: 80px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.v2-footer p {
    margin-bottom: 16px;
}

.v2-footer-links a {
    color: var(--text-muted);
    margin: 0 12px;
    transition: color 0.2s;
}

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

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

/* V4 Hero */
.v4-hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-visual {
    flex: 1;
    position: relative;
}

/* The Live Console */
.live-console {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    position: relative;
}

.console-header {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 600;
    font-size: 12px;
}

.mac-btn {
    width: 12px; height: 12px; border-radius: 50%;
}
.btn-r { background: #ef4444; }
.btn-y { background: #eab308; }
.btn-g { background: #22c55e; }

.console-body {
    padding: 20px;
    height: 320px;
    overflow-y: hidden;
    color: #94a3b8;
    position: relative;
}

.console-line {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
}

.console-line.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.log-time { color: #64748b; margin-right: 12px; }
.log-key { color: #f8fafc; font-weight: bold; }
.log-success { color: #3b82f6; }
.log-alert { color: #10b981; } 
.log-capture { color: #8b5cf6; }

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .v4-hero { flex-direction: column; text-align: center; padding: 60px 0; }
    .hero-text { text-align: center; }
    .hero-actions { justify-content: center !important; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    .panels-container { flex-direction: column; align-items: center; }
    .nav-links { display: none; }
}
