:root {
    --core-blue: #2b6cdb;   
    --core-blue-glow: rgba(43, 108, 219, 0.4);
    --tech-cyan: #00e5ff;   
    --cyan-glow: rgba(0, 229, 255, 0.4);
    --brand-yellow: #ffcc00; 
    --yellow-glow: rgba(255, 204, 0, 0.4);
    --dark-bg: #07090f;     
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(20, 25, 40, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

canvas#lockCanvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0; opacity: 0.5;
}

/* Ambient Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}
.glow-1 {
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--core-blue-glow), transparent 70%);
}
.glow-2 {
    bottom: -10%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem; left: 50%;
    transform: translateX(-50%);
    width: 95%; max-width: 1280px;
    z-index: 100;
    padding: 0.75rem 0;
    border-radius: 100px;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; }

.logo {
    display: flex; align-items: center; gap: 0.5rem;
    text-decoration: none; color: var(--core-blue);
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800;
}

.logo-text { letter-spacing: -0.5px; color: white;}
.logo-text .yellow { color: var(--brand-yellow); }

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

.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-weight: 500; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.4rem;
    transition: all 0.3s ease;
}

.nav-links a i { font-size: 1.1rem; color: var(--core-blue); transition: all 0.3s ease; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover i { color: var(--tech-cyan); transform: scale(1.1); }

.menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

.btn {
    padding: 0.75rem 1.5rem; border-radius: 100px;
    text-decoration: none; font-weight: 600; font-family: var(--font-heading);
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--core-blue), var(--tech-cyan));
    color: white; box-shadow: 0 0 20px var(--core-blue-glow);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 0 30px var(--cyan-glow);
}
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: white; border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline { border: 1px solid var(--glass-border); color: var(--text-primary); background: transparent; }
.btn-outline:hover { background: var(--glass-bg); border-color: var(--core-blue); }
.btn-outline i { color: var(--brand-yellow); }

/* Hero */
.hero { padding: 10rem 0 6rem; text-align: center; position: relative; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 100px;
    font-size: 0.85rem; font-weight: 500; margin-bottom: 2rem;
    color: var(--text-secondary); border: 1px solid var(--core-blue-glow);
}
.hero-title { font-family: var(--font-heading); font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.gradient-text-yellow {
    background: linear-gradient(135deg, var(--brand-yellow), #ffa700);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.25rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto 3rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; }

/* Stats grid */
.blockchain-stats {
    display: flex; justify-content: space-around; align-items: center;
    max-width: 900px; margin: 0 auto; padding: 2rem;
}
.stat-card { display: flex; align-items: center; gap: 1rem; text-align: left; }
.stat-icon {
    font-size: 2.5rem;
    background: var(--glass-bg); padding: 1rem; border-radius: 16px;
    border: 1px solid var(--glass-border);
}
.stat-icon.glow-blue { color: var(--core-blue); box-shadow: inset 0 0 20px rgba(43, 108, 219, 0.2); }
.stat-icon.glow-yellow { color: var(--brand-yellow); box-shadow: inset 0 0 20px rgba(255, 204, 0, 0.2); }
.stat-icon.glow-cyan { color: var(--tech-cyan); box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.2); }

.stat-card h3 { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.25rem; }
.stat-card p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }
.divider { width: 1px; height: 50px; background: var(--glass-border); }

/* Section Defaults */
section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; }
.cyan { color: var(--tech-cyan); }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { padding: 2.5rem; transition: transform 0.3s ease, border-color 0.3s ease; display:flex; flex-direction:column; align-items:flex-start; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--core-blue-glow); }
.feature-icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
}

.feature-icon.icon-glow-blue { color: var(--core-blue); }
.feature-icon.icon-glow-yellow { color: var(--brand-yellow); }
.feature-icon.icon-glow-cyan { color: var(--tech-cyan); }

.feature-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-secondary); margin-bottom: 1.5rem; flex-grow:1; }
.learn-more { color: var(--text-primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s ease; }
.learn-more i { color: var(--core-blue); }
.learn-more:hover { gap: 0.75rem; color: var(--core-blue); }

/* How It Works Layering */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tagline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 100px; color: var(--brand-yellow); margin-bottom: 1.5rem; font-weight: 600; font-size: 0.85rem; }

.split-content h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1.5rem; }
.split-content p { color: var(--text-secondary); margin-bottom: 2.5rem; font-size: 1.1rem; }

.step-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; position: relative; }
.step-list li { display: flex; gap: 1.5rem; cursor: pointer; }
.step-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; font-size: 1.5rem; color: var(--tech-cyan);
    transition: all 0.3s ease; position:relative; z-index:2;
}
.step-list li:hover .step-icon { border-color: var(--tech-cyan); box-shadow: 0 0 15px var(--cyan-glow); transform: scale(1.1); }
.step-text { display: flex; flex-direction: column; justify-content: center; }
.step-text strong { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.25rem; }
.step-text span { color: var(--text-secondary); font-size: 0.95rem; }

.shield-container {
    position: relative; width: 100%; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: radial-gradient(circle, var(--core-blue-glow) 0%, transparent 60%);
}
.shield-ring {
    position: absolute; border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: spin 30s linear infinite;
}
.ring-1 { width: 80%; height: 80%; border-left: 2px solid var(--core-blue); }
.ring-2 { width: 100%; height: 100%; border-right: 2px solid var(--brand-yellow); animation-direction: reverse; animation-duration: 40s; }
.giant-shield { font-size: 12rem; color: var(--core-blue); filter: drop-shadow(0 0 20px var(--core-blue-glow)); position: relative; z-index: 2; }

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

.floating-badge {
    position: absolute; padding: 0.75rem 1.25rem; font-weight: 600;
    font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem;
    z-index: 3; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.badge-1 { top: 10%; right: 5%; color: var(--tech-cyan); animation: float 4s ease-in-out infinite; }
.badge-2 { bottom: 15%; left: 0; color: var(--brand-yellow); animation: float 5s ease-in-out infinite reverse; }
.badge-3 { bottom: 20%; right: -5%; color: white; animation: float 6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* CTA Section */
.cta-box {
    text-align: center; padding: 5rem 2rem; position: relative; overflow: hidden;
    border: 1px solid var(--core-blue-glow); background: linear-gradient(135deg, rgba(43, 108, 219, 0.1), rgba(0, 0, 0, 0));
}
.glow-orb { position:absolute; width: 300px; height: 300px; background: var(--core-blue-glow); filter:blur(100px); top:-100px; left:50%; transform:translateX(-50%); z-index:0; pointer-events:none;}
.cta-box h2 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 1rem; position:relative; z-index:1; }
.cta-box p { color: var(--text-secondary); font-size: 1.2rem; margin-bottom: 2rem; position:relative; z-index:1; }
.cta-box .btn { position:relative; z-index:1; }

/* Footer */
footer { border-top: 1px solid var(--glass-border); padding: 4rem 0 0; background: rgba(10, 14, 23, 0.5); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-secondary); margin: 1.5rem 0; font-size: 0.95rem; max-width: 300px; }
.social-links { display: flex; gap: 1rem; }
.social-icon { 
    width:40px; height:40px; display:flex; align-items:center; justify-content:center;
    color: var(--text-secondary); text-decoration:none; transition: all 0.3s;
    font-size: 1.2rem; border-radius: 8px;
}
.social-icon:hover { color: var(--tech-cyan); border-color: var(--tech-cyan); transform:translateY(-3px); }

.footer-links h4 { font-family: var(--font-heading); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; display: flex; align-items:center; gap:0.5rem; margin-bottom: 0.75rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--core-blue); }
.footer-links a i { color: var(--brand-yellow); font-size: 0.8rem; }

.footer-bottom { text-align: center; padding: 1.5rem 0; border-top: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 0.9rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .hero-title { font-size: 3rem; }
    .blockchain-stats { flex-direction: column; gap: 1.5rem; }
    .divider { width: 100%; height: 1px; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
