/* styles/base.css -> CSS Custom Properties & Base Setup */

:root {
    /* Colors - Premium Dark Mode Palette */
    --clr-bg: #09090b;          /* Very dark zinc for background */
    --clr-bg-alt: #121215;      /* Slightly lighter for cards/sections */
    --clr-surface: rgba(24, 24, 27, 0.7); /* Surface color with opacity for glass effect */
    --clr-surface-border: rgba(255, 255, 255, 0.1); /* Subtle borders */
    
    --clr-text: #f4f4f5;        /* Primary text */
    --clr-text-muted: #a1a1aa;  /* Secondary text */
    
    --clr-primary: #8b5cf6;     /* Violet */
    --clr-primary-glow: rgba(139, 92, 246, 0.4);
    --clr-secondary: #ec4899;   /* Pink */
    --clr-accent: #0ea5e9;      /* Sky blue */
    
    /* Typography */
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    
    /* Animation & Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Spacings */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--clr-bg);
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--clr-text);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button, input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}

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

ul {
    list-style: none;
}

/* Global Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.dark-bg {
    background-color: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-surface-border);
    border-bottom: 1px solid var(--clr-surface-border);
}

.gradient-text {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    color: var(--clr-primary);
}

/* Ambient Background Glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.circle-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--clr-primary-glow) 0%, transparent 70%);
}

.circle-2 {
    top: 40%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
}

.circle-3 {
    bottom: -10%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}
