/* === ZELICRA V2 — Design System === */

:root {
    /* Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1425;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.06);
    --text-primary: #e8e8e8;
    --text-secondary: #8899aa;
    --text-muted: #556677;
    --accent: #00d4aa;
    --accent-bright: #00f0ff;
    --accent-glow: rgba(0, 212, 170, 0.3);
    
    /* Empire product colors */
    --arbiter: #00d4aa;
    --warden: #a855f7;
    --sentinel: #3b82f6;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-arabic: 'Cairo', 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --card-radius: 16px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body { 
    background: var(--bg-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* RTL support */
[dir="rtl"] body { font-family: var(--font-arabic); }
[dir="rtl"] .section-title,
[dir="rtl"] .hero-title { font-family: var(--font-arabic); }

/* Three.js canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Section base */
.section {
    padding: var(--section-padding);
    position: relative;
}

/* Typography */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    font-style: italic;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.accent { color: var(--accent); }

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { 
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}
.btn-glow {
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Links */
a { color: inherit; text-decoration: none; }

/* Selection */
::selection { background: var(--accent); color: var(--bg-primary); }
