/* ═══════════════════════════════════════════════════════════════════════════
   MoyeoBom Intel - Digital Construct Design System
   A premium SaaS aesthetic for knowledge industry center website builder
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Space+Grotesk:wght@300..700&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════
   CSS Variables - Design Tokens
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Primary Palette - Sophisticated Slate & Gold */
    --ink: #0a0a0b;
    --ink-light: #18181b;
    --ink-lighter: #27272a;
    --surface: #fafafa;
    --surface-dim: #f4f4f5;
    --surface-bright: #ffffff;

    /* Accent Colors */
    --gold: #d4a574;
    --gold-light: #e8c9a8;
    --gold-dark: #a67c4e;
    --emerald: #34d399;
    --emerald-dark: #059669;
    --violet: #a78bfa;
    --violet-dark: #7c3aed;
    --rose: #fb7185;
    --rose-dark: #e11d48;
    --sky: #38bdf8;
    --sky-dark: #0284c7;

    /* Neutral Scale */
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-700: #3f3f46;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    --zinc-950: #09090b;

    /* Gradients */
    --grad-gold: linear-gradient(135deg, #d4a574 0%, #a67c4e 100%);
    --grad-dark: linear-gradient(180deg, #0a0a0b 0%, #18181b 100%);
    --grad-aurora: linear-gradient(135deg, #a78bfa 0%, #38bdf8 50%, #34d399 100%);
    --grad-mesh: radial-gradient(at 40% 20%, hsla(47, 75%, 75%, 0.08) 0px, transparent 50%),
                 radial-gradient(at 80% 0%, hsla(189, 75%, 75%, 0.06) 0px, transparent 50%),
                 radial-gradient(at 0% 50%, hsla(355, 75%, 75%, 0.05) 0px, transparent 50%);

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', 'Pretendard', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 5rem);
    --text-6xl: clamp(3.75rem, 2.75rem + 5vw, 6rem);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-gold: 0 0 0 1px rgba(212, 165, 116, 0.1), 0 4px 16px rgba(212, 165, 116, 0.15);
    --shadow-glow: 0 0 60px rgba(212, 165, 116, 0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Reset & Base Styles
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--zinc-900);
    background: var(--surface);
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Typography
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    line-height: 1.7;
    color: var(--zinc-600);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (min-width: 640px) {
    .container { padding: 0 var(--space-8); }
}

@media (min-width: 1024px) {
    .container { padding: 0 var(--space-12); }
}

.section {
    padding: var(--space-20) 0;
}

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

@media (min-width: 1024px) {
    .section { padding: var(--space-32) 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-4) 0;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--zinc-200);
    transition: all var(--duration-base) var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (min-width: 640px) {
    .nav-container { padding: 0 var(--space-8); }
}

.nav-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    transition: color var(--duration-fast) var(--ease-out);
}

.nav-logo:hover {
    color: var(--gold-dark);
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-2);
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-link {
    position: relative;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--zinc-600);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--ease-out);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--zinc-100);
    border-radius: inherit;
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link span {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Hero Section - Landing Page
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero section - dark background with light text */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    overflow: hidden;
    color: var(--zinc-300);
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6 {
    color: var(--surface);
}

.hero p {
    color: var(--zinc-400);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        var(--grad-mesh),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(212, 165, 116, 0.03) 100px,
            rgba(212, 165, 116, 0.03) 101px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(212, 165, 116, 0.03) 100px,
            rgba(212, 165, 116, 0.03) 101px
        );
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--surface), transparent);
    pointer-events: none;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--violet);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--emerald);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(2deg); }
    50% { transform: translate(-10px, 10px) rotate(-1deg); }
    75% { transform: translate(15px, 15px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--space-8);
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-8);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gold);
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--surface);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title-accent {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--zinc-400);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--ink);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary button - for DARK backgrounds */
.btn-secondary {
    background: transparent;
    color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Secondary button variant - for LIGHT backgrounds */
.btn-secondary-light {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--zinc-300);
}

.btn-secondary-light:hover {
    background: var(--zinc-100);
    border-color: var(--zinc-400);
}

.btn-ghost {
    background: transparent;
    color: var(--zinc-600);
}

.btn-ghost:hover {
    background: var(--zinc-100);
    color: var(--ink);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-base);
    border-radius: var(--radius-2xl);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Cards
   ═══════════════════════════════════════════════════════════════════════════ */

.card {
    position: relative;
    background: var(--surface-bright);
    border: 1px solid var(--zinc-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--duration-base) var(--ease-out);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-gold);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--duration-base);
    z-index: -1;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    opacity: 0.03;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-5);
    background: linear-gradient(135deg, var(--zinc-100) 0%, var(--zinc-50) 100%);
    border-radius: var(--radius-xl);
    color: var(--gold-dark);
    font-size: 1.75rem;
    transition: all var(--duration-base) var(--ease-out);
}

.card:hover .card-icon {
    background: var(--grad-gold);
    color: var(--ink);
    transform: scale(1.05);
}

/* Card text - explicit colors for light card backgrounds */
.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--ink) !important;
    margin-bottom: var(--space-3);
}

.card-text {
    font-size: var(--text-base);
    color: var(--zinc-600) !important;
    line-height: 1.6;
}

/* Feature Card Variant */
.feature-card {
    text-align: center;
    padding: var(--space-10);
}

.feature-card .card-icon {
    margin: 0 auto var(--space-6);
    width: 72px;
    height: 72px;
    font-size: 2rem;
}

/* Stats Card */
.stats-card {
    text-align: center;
    padding: var(--space-10);
    background: var(--surface-bright);
    border: 1px solid var(--zinc-200);
    border-radius: var(--radius-2xl);
    transition: all var(--duration-base) var(--ease-out);
}

.stats-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-lg);
}

.stats-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-3);
}

.stats-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--zinc-600) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Company Card */
.company-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--surface-bright);
    border: 1px solid var(--zinc-200);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
}

.company-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.company-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zinc-100);
    border-radius: var(--radius-lg);
    color: var(--gold-dark);
    font-size: 1.5rem;
}

/* Company card text - explicit dark colors for light backgrounds */
.company-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink) !important;
}

.company-info {
    font-size: var(--text-sm);
    color: var(--zinc-600) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section Styles
   ═══════════════════════════════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

/* Section title - default for light backgrounds */
.section-title {
    font-size: var(--text-4xl);
    color: var(--ink);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--zinc-500);
    line-height: 1.6;
}

/* Section header on dark backgrounds */
.bg-dark .section-header .section-eyebrow,
.cta-section .section-eyebrow {
    color: var(--gold);
}

.bg-dark .section-header .section-title,
.cta-section .section-title {
    color: var(--surface);
}

.bg-dark .section-header .section-subtitle,
.cta-section .section-subtitle {
    color: var(--zinc-400);
}

/* Features Section */
.features-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
}

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

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

/* Process Section */
.process-grid {
    display: grid;
    gap: var(--space-8);
    grid-template-columns: 1fr;
}

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

.process-card {
    position: relative;
    text-align: center;
    padding: var(--space-8);
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    background: var(--zinc-100);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
}

.process-card:hover .process-number {
    background: var(--grad-gold);
    color: var(--ink);
    transform: scale(1.1);
}

.process-connector {
    display: none;
    position: absolute;
    top: 32px;
    left: calc(50% + 48px);
    width: calc(100% - 96px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light), var(--zinc-200));
}

@media (min-width: 768px) {
    .process-card:not(:last-child) .process-connector {
        display: block;
    }
}

/* Process card text - explicit dark colors */
.process-title {
    font-size: var(--text-xl);
    color: var(--ink) !important;
    margin-bottom: var(--space-3);
}

.process-text {
    font-size: var(--text-base);
    color: var(--zinc-600) !important;
}

/* CTA Section - dark background with light text */
.cta-section {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--ink);
    overflow: hidden;
    color: var(--zinc-300);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

/* CTA text - explicit light colors for dark background */
.cta-title {
    font-size: var(--text-4xl);
    color: var(--surface) !important;
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: var(--zinc-400) !important;
    margin-bottom: var(--space-8);
}

.cta-section p, .cta-section span {
    color: var(--zinc-400);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════════ */

/* Footer - dark background with light text */
.footer {
    background: var(--ink);
    color: var(--zinc-400);
    padding: var(--space-12) 0 var(--space-8);
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
    color: var(--surface);
}

.footer p, .footer span {
    color: var(--zinc-400);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (min-width: 640px) {
    .footer-content { padding: 0 var(--space-8); }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--surface);
    margin-bottom: var(--space-4);
}

.footer-text {
    font-size: var(--text-sm);
    color: var(--zinc-500);
    line-height: 1.6;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--zinc-800), transparent);
    margin: var(--space-8) 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--zinc-500);
}

.footer-link {
    color: var(--gold);
    transition: color var(--duration-fast);
}

.footer-link:hover {
    color: var(--gold-light);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Gradient Text
   ═══════════════════════════════════════════════════════════════════════════ */

.gradient-text {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-aurora {
    background: var(--grad-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Material Symbols
   ═══════════════════════════════════════════════════════════════════════════ */

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: inherit;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.icon-sm { font-size: 1.25rem; }
.icon-base { font-size: 1.5rem; }
.icon-lg { font-size: 2rem; }
.icon-xl { font-size: 2.5rem; }
.icon-2xl { font-size: 3rem; }
.icon-3xl { font-size: 4rem; }

.icon-gradient {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in var(--duration-slow) var(--ease-out) forwards;
}

.animate-fade-up {
    opacity: 0;
    animation: fade-up var(--duration-slow) var(--ease-out) forwards;
}

.animate-scale-in {
    animation: scale-in var(--duration-slow) var(--ease-out) forwards;
}

/* Stagger delays */
[style*="animation-delay"] {
    opacity: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Utility Classes
   ═══════════════════════════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--surface) !important; }
.text-muted { color: var(--zinc-500); }
.text-gold { color: var(--gold); }
.text-dark { color: var(--ink) !important; }

/* Background utilities with proper text colors */
.bg-white {
    background: var(--surface-bright);
    color: var(--zinc-900);
}

.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6 {
    color: var(--ink);
}

.bg-white p {
    color: var(--zinc-600);
}

.bg-light {
    background: var(--surface-dim);
    color: var(--zinc-900);
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
    color: var(--ink);
}

.bg-light p {
    color: var(--zinc-600);
}

.bg-dark {
    background: var(--ink);
    color: var(--zinc-300);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: var(--surface);
}

.bg-dark p {
    color: var(--zinc-400);
}

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.mt-auto { margin-top: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

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

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:inline { display: inline; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Scrollbar Styles
   ═══════════════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--zinc-100);
}

::-webkit-scrollbar-thumb {
    background: var(--zinc-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--zinc-400);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Reduced Motion
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Error UI (Blazor)
   ═══════════════════════════════════════════════════════════════════════════ */

#blazor-error-ui {
    background: var(--rose);
    color: white;
    bottom: 0;
    box-shadow: var(--shadow-lg);
    display: none;
    left: 0;
    padding: var(--space-4) var(--space-6);
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: var(--text-sm);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Loading States
   ═══════════════════════════════════════════════════════════════════════════ */

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--zinc-200);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.skeleton {
    background: linear-gradient(
        90deg,
        var(--zinc-200) 0%,
        var(--zinc-100) 50%,
        var(--zinc-200) 100%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
