:root {
    --bg-dark: #030712;
    --bg-panel: #0f172a;
    --bg-glass: rgba(15, 23, 42, 0.6);
    --border-color: rgba(56, 189, 248, 0.2);
    
    --primary: #3b82f6; /* Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    
    --secondary: #8b5cf6; /* Purple */
    --secondary-glow: rgba(139, 92, 246, 0.5);
    
    --accent: #06b6d4; /* Cyan */
    --accent-glow: rgba(6, 182, 212, 0.5);
    
    --success: #10b981; /* Green */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.top-glow {
    top: -200px;
    left: -100px;
}

.bottom-glow {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 60%);
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.text-cyan { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--secondary-glow);
    transform: translateY(-3px) scale(1.02);
}

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

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Sections */
.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.dark-section {
    background: #050b14;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    max-width: 100%;
}

.dark-section .section-header, .dark-section .innovation-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.stat-card i {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 12px;
    border-radius: 12px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(59, 130, 246, 0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon.blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.card-icon.purple { background: rgba(139, 92, 246, 0.1); color: #a78bfa; }
.card-icon.green { background: rgba(16, 185, 129, 0.1); color: #34d399; }

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

/* Innovation Section */
.innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 4rem;
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.feature-list i {
    color: var(--accent);
    width: 20px;
    flex-shrink: 0;
}

.alert {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.alert-warning i {
    color: #f59e0b;
    flex-shrink: 0;
}

.alert p {
    color: rgba(252, 211, 77, 0.8);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.glass-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Pyramid Graphic CSS */
.visual-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.pyramid-layer {
    background: var(--primary);
    padding: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.layer-1 { width: 30%; background: linear-gradient(90deg, #8b5cf6, #3b82f6); box-shadow: 0 0 20px rgba(139, 92, 246, 0.6); }
.layer-2 { width: 50%; background: linear-gradient(90deg, #3b82f6, #06b6d4); box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
.layer-3 { width: 70%; background: #1e3a8a; }
.layer-4 { width: 90%; background: #0f172a; border: 1px solid #1e293b; }

.visual-pyramid:hover .pyramid-layer {
    transform: translateY(-5px);
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255,255,255,0.02);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 200px;
}

/* CTA Footer */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(to top, rgba(59,130,246,0.1), transparent);
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    background: #02040a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo i { color: var(--primary); }
.disclaimer { font-size: 0.75rem; opacity: 0.5; margin-top: 1rem; }

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
    opacity: 0;
}

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

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; transition-delay: 0.8s; }

/* Responsive */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .innovation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .steps-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .steps-container::before { display: none; }
    .hero h1 { font-size: 3rem; }
    .stats-row { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; }
    .nav-links { display: none; } /* Could add hamburger menu later */
    .section { padding: 5rem 1.5rem; }
    .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 600px) {
    .hero { padding-top: 6rem; padding-left: 1rem; padding-right: 1rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-actions .btn { width: 100%; }
    .card { padding: 1.5rem; }
    .glass-panel { padding: 1.5rem; border-radius: 1rem; }
    .pyramid-layer { font-size: 0.7rem; padding: 0.8rem; }
    .nav-container { padding: 0 1rem; }
    .accordion-header { font-size: 1rem; padding: 1rem; }
    .accordion-item.active .accordion-body { padding: 0 1rem 1rem 1rem; }
    h2 { font-size: 2rem; }
}
