/**
 * Auras.systems Theme Tokens
 * 
 * Shared color palette and base components matching the dashboard.
 * Used by both homepage and dashboard for consistent branding.
 */

/* ============================================================
   COLOR TOKENS (matches dashboard-clean.css)
   ============================================================ */
:root {
    /* Backgrounds */
    --bg: #050810;
    --bg-dark: #0a0e1a;
    --panel: rgba(10, 14, 26, 0.9);
    --panel-2: rgba(10, 14, 26, 0.7);
    
    /* Text */
    --text: #e0f7ff;
    --text-dim: #8bb3c4;
    
    /* Borders */
    --border: rgba(0, 234, 255, 0.3);
    --border-strong: rgba(0, 234, 255, 0.6);
    
    /* Accents (Arcane theme - default) */
    --accent: #00eaff;
    --accent-2: #33ffc9;
    
    /* Status colors */
    --success: #4CAF50;
    --danger: #ff6b6b;
    --warning: #ffa726;
    --info: #2196F3;
}

/* Theme variants (preserve theme switching) */
.theme-astral {
    --accent: #9d4edd;
    --accent-2: #c77dff;
    --border: rgba(157, 78, 221, 0.3);
    --border-strong: rgba(157, 78, 221, 0.6);
}

.theme-nature {
    --accent: #52b788;
    --accent-2: #95d5b2;
    --border: rgba(82, 183, 136, 0.3);
    --border-strong: rgba(82, 183, 136, 0.6);
}

/* ============================================================
   BASE RESET
   ============================================================ */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: auto;
    overflow-anchor: none;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   BASE COMPONENTS
   ============================================================ */

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

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* Section */
.section {
    padding: 60px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 24px;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Grid */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.card-text {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-text-dim {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: none;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--panel-2);
    border-color: var(--accent);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-2);
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 16px;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 16px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-dim {
    color: var(--text-dim);
}

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
