/* CSS Variables, Reset, Scrollbar */

/* ============================================================
   WebFullHost — Premium Design System v3.0
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    /* Core Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-strong: rgba(255, 255, 255, 0.92);
    --bg-section-alt: #f0eeff;
    --bg-elevated: rgba(248, 247, 255, 0.8);

    /* Text */
    --text-primary: #0f0e1a;
    --text-secondary: #4a4a6a;
    --text-muted: #7b7b9e;
    --text-placeholder: #a0a0c0;

    /* Brand Accents */
    --accent-primary: #5A4FF3;
    --accent-secondary: #2563EB;
    --accent-tertiary: #0ea5e9;
    --accent-neon: #7c6cf7;
    --accent-hot: #a855f7;

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #5A4FF3 0%, #2563EB 100%);
    --accent-gradient-hover: linear-gradient(135deg, #6d63f5 0%, #3b7bf5 100%);
    --accent-gradient-wide: linear-gradient(135deg, #7c6cf7 0%, #5A4FF3 30%, #2563EB 70%, #0ea5e9 100%);
    --accent-gradient-aurora: linear-gradient(135deg, #a855f7 0%, #5A4FF3 35%, #2563EB 65%, #0ea5e9 100%);
    --accent-gradient-text: linear-gradient(135deg, #7c6cf7 0%, #60a5fa 50%, #38bdf8 100%);

    /* Glass / Blur */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(15, 14, 26, 0.75);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-border-accent: rgba(90, 79, 243, 0.25);
    --blur-sm: blur(8px);
    --blur-md: blur(16px);
    --blur-lg: blur(32px);
    --blur-xl: blur(48px);

    /* State Colors */
    --success: #16a34a;
    --success-light: #dcfce7;
    --success-glow: rgba(22, 163, 74, 0.2);
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #dc2626;
    --danger-light: #fee2e2;
    --info: #0ea5e9;
    --info-light: #e0f2fe;

    /* Borders */
    --border-color: #e8e8f0;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-accent: rgba(90, 79, 243, 0.28);
    --border-glow: rgba(90, 79, 243, 0.5);
    --border-card: rgba(90, 79, 243, 0.08);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(90, 79, 243, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(90, 79, 243, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(90, 79, 243, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 64px rgba(90, 79, 243, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 40px 80px rgba(90, 79, 243, 0.18), 0 16px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(90, 79, 243, 0.2), 0 4px 20px rgba(90, 79, 243, 0.15);
    --shadow-glow-lg: 0 0 60px rgba(90, 79, 243, 0.25), 0 8px 40px rgba(90, 79, 243, 0.2);
    --shadow-neon: 0 0 20px rgba(124, 108, 247, 0.4), 0 0 40px rgba(90, 79, 243, 0.2);
    --shadow-card-hover: 0 20px 50px rgba(90, 79, 243, 0.15), 0 8px 20px rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 40px;
    --radius-pill: 999px;

    /* Transitions */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-spring: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    /* Typography scale */
    --font-xs: 0.72rem;
    --font-sm: 0.85rem;
    --font-base: 0.95rem;
    --font-md: 1.05rem;
    --font-lg: 1.2rem;
    --font-xl: 1.4rem;
    --font-2xl: 1.75rem;
    --font-3xl: 2.2rem;
    --font-4xl: 3rem;

    /* Spacing rhythm */
    --space-section: 7rem;
    --space-section-sm: 5rem;
    --space-card: 2.5rem;

    /* Z-index layers */
    --z-base: 1;
    --z-above: 10;
    --z-sticky: 100;
    --z-nav: 1000;
    --z-overlay: 9000;
    --z-modal: 10000;
}

/* ---- SVG Icon Utilities ---- */
.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
}
.icon-sm  { width: 16px; height: 16px; }
.icon-md  { width: 20px; height: 20px; }
.icon-lg  { width: 24px; height: 24px; }
.icon-xl  { width: 32px; height: 32px; }
.icon-2xl { width: 48px; height: 48px; }
.icon-block { display: block; }

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img, video, svg {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ---- Selection ---- */
::selection {
    background: rgba(90, 79, 243, 0.18);
    color: var(--accent-primary);
}
