:root {
    --bg-base: #0f1115; /* Very dark blue/slate */
    --bg-surface: #1a1d24;
    --bg-glass: rgba(26, 29, 36, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --primary-text: #f1f5f9;
    --secondary-text: #94a3b8;
    
    --emerald-light: #34d399;
    --emerald: #10b981;
    --emerald-dark: #059669;
    
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    
    --purple: #8b5cf6;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--primary-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.orb-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--emerald);
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: var(--blue);
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
}

.text-center { text-align: center; }
.text-muted { color: var(--secondary-text); }
.bg-darker { background-color: rgba(0,0,0,0.2); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-text);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--emerald);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--emerald-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

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

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

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-text { letter-spacing: -0.5px; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wip-badge {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-selector {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-surface);
    padding: 0.25rem;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--bg-base);
    color: var(--primary-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

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

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

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--secondary-text);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Visual Mock Device */
.hero-visual {
    perspective: 1000px;
}

.glass-device {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-device:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.device-screen {
    background: var(--bg-base);
    border-radius: 16px;
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Mock DNI styling */
.mock-id {
    background: #e2e8f0;
    width: 80%;
    height: 60%;
    border-radius: 8px;
    position: relative;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.id-header {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 1px;
}

.id-photo {
    width: 60px;
    height: 80px;
    background: #cbd5e1;
    border-radius: 4px;
}

.id-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.id-line {
    height: 6px;
    background: #cbd5e1;
    border-radius: 3px;
}

.w-70 { width: 70%; }
.w-50 { width: 50%; }
.w-40 { width: 40%; }

/* Privacy Effects */
.mock-blur {
    filter: blur(8px);
    transition: filter 2s ease-in-out infinite alternate;
}

.mock-blur-text {
    filter: blur(4px);
}

.id-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.4); /* Red tint */
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid rgba(239, 68, 68, 0.4);
    padding: 0.25rem 1rem;
    z-index: 10;
    pointer-events: none;
    animation: pulseWatermark 3s infinite;
}

@keyframes pulseWatermark {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald), 0 0 20px var(--emerald);
    animation: scan 3s ease-in-out infinite;
    z-index: 20;
}

@keyframes scan {
    0%, 100% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { top: 90%; opacity: 1; }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.bg-emerald { background: linear-gradient(135deg, var(--emerald-light), var(--emerald-dark)); }
.bg-blue { background: linear-gradient(135deg, #60a5fa, var(--blue-dark)); }
.bg-purple { background: linear-gradient(135deg, #a78bfa, #6d28d9); }

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Platforms Section */
.platform-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: background-color 0.2s;
}

.platform-item:hover {
    background: rgba(40, 44, 52, 0.8);
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-base);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glass);
    color: var(--primary-text);
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.platform-info h4 {
    font-size: 1.125rem;
}

.status-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

.status-planning { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.status-wip { background: rgba(234, 179, 8, 0.1); color: #facc15; }

/* Verification & Code section */
.verification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.verification-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.verification-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-surface);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

.verification-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.code-terminal {
    overflow: hidden;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 0.85rem;
}

.terminal-header {
    background: rgba(0,0,0,0.5);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-body {
    padding: 1.5rem;
    background: rgba(0,0,0,0.3);
    white-space: pre-wrap;
    line-height: 1.7;
    color: #e2e8f0;
}

.code-comment { color: #64748b; }
.code-keyword { color: #c678dd; }
.code-var { color: #e06c75; }
.code-string { color: #98c379; }

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container, .verification-grid {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 2.5rem; }
}
