/* ==========================================================================
   CSS Variables & Theme Configuration
   ========================================================================== */
:root {
  /* Color Palette */
  --color-bg-dark: #1d1b1c;
  --color-nardo-grey: #a0a0a0;
  --color-white: #ffffff;
  --color-accent-blue: #38b6ff;
  --color-accent-blue-hover: #1e9ce6;
  --color-bg-card: rgba(40, 40, 40, 0.4);
  
  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Layout */
  --container-width-max: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Glassmorphism */
  --glass-bg: rgba(29, 27, 28, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-blur: blur(12px);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--color-nardo-grey);
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--container-width-max);
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--color-accent-blue);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-padding {
  padding: 6rem 0;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(56, 182, 255, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 182, 255, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-accent-blue);
}

.btn-outline:hover {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
}

/* ==========================================================================
   Global Animations
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Staggered delays for child elements Elements */
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }

/* Scroll Reveal Utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
