/* ═══════════════════════════════════════════
   CYBERNETIC SHAMAN — Design System
   ═══════════════════════════════════════════ */

:root {
    /* Color Palette */
    --void: #0a0a0f;
    --deep: #0d0d1a;
    --surface: #141425;
    --surface-light: #1a1a35;
    --border: rgba(123, 47, 247, 0.15);
    --border-glow: rgba(0, 245, 212, 0.2);

    /* Accent Colors */
    --cyan: #00f5d4;
    --purple: #7b2ff7;
    --magenta: #f72585;
    --gold: #ffd166;

    /* Gradient */
    --gradient-main: linear-gradient(135deg, #00f5d4, #7b2ff7, #f72585);
    --gradient-subtle: linear-gradient(135deg, rgba(0,245,212,0.1), rgba(123,47,247,0.1));

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --nav-height: 60px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--void);
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--purple);
}

/* ═══ Canvas Background ═══ */
#geometry-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* ═══ Navigation ═══ */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--cyan);
}

.nav-brand .glyph {
    font-size: 1rem;
    margin-right: 0.5rem;
    animation: pulse-glyph 3s ease-in-out infinite;
}

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

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(224, 224, 224, 0.6);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ═══ Hero Section ═══ */
#hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 1.5s ease-out;
}

/* Sigil */
.sigil-container {
    width: 180px;
    height: 180px;
    animation: rotate-slow 30s linear infinite;
}

.sigil {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.3));
}

/* Title */
.title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 0.25em;
    color: rgba(224, 224, 224, 0.9);
}

.title-line.accent {
    font-size: clamp(3rem, 10vw, 6.5rem);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(123, 47, 247, 0.4));
}

/* Tagline */
.tagline {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(224, 224, 224, 0.5);
    max-width: 500px;
}

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 3rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    background: transparent;
    border: 1px solid var(--border-glow);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-button:hover {
    color: var(--void);
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.3), inset 0 0 30px rgba(0, 245, 212, 0.1);
}

.cta-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover .cta-glow {
    left: 100%;
}

.cta-button:hover {
    background: rgba(0, 245, 212, 0.15);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(224, 224, 224, 0.3);
    letter-spacing: 0.15em;
    animation: float 2s ease-in-out infinite;
}

/* ═══ About Preview ═══ */
#about-preview {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(13, 13, 26, 0.8), transparent);
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

#about-preview h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(20, 20, 37, 0.6);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 245, 212, 0.05);
}

.about-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: rgba(224, 224, 224, 0.9);
}

.about-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(224, 224, 224, 0.5);
}

/* ═══ Quote Section ═══ */
#quote-section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    text-align: center;
}

blockquote {
    max-width: 700px;
    margin: 0 auto;
}

blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    line-height: 1.6;
    color: rgba(224, 224, 224, 0.7);
}

blockquote cite {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-style: normal;
    color: var(--purple);
    letter-spacing: 0.1em;
}

/* ═══ Footer ═══ */
footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-content .glyph {
    font-size: 1.2rem;
    color: var(--cyan);
    animation: pulse-glyph 3s ease-in-out infinite;
}

.footer-content p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(224, 224, 224, 0.3);
    letter-spacing: 0.1em;
}

.footer-credit a {
    color: rgba(224, 224, 224, 0.4);
}

.footer-credit a:hover {
    color: var(--cyan);
}

/* ═══ Animations ═══ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glyph {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

/* ═══ Mobile ═══ */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .sigil-container {
        width: 130px;
        height: 130px;
    }

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