/* ============================================
   IT RISING STARS — Design Tokens & Reset
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* --- Custom Properties --- */
:root {
  /* Background Colors */
  --bg-primary: #060a14;
  --bg-secondary: #0d1424;
  --bg-tertiary: #111d35;
  --bg-card: #0f1a2e;
  --bg-glass: rgba(13, 20, 36, 0.75);
  --bg-glass-light: rgba(59, 130, 246, 0.06);

  /* Accent Colors */
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-tertiary: #93c5fd;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #60a5fa;

  /* Borders & Dividers */
  --border-subtle: rgba(59, 130, 246, 0.1);
  --border-medium: rgba(59, 130, 246, 0.2);
  --border-strong: rgba(59, 130, 246, 0.35);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6, #1d4ed8);
  --gradient-dark: linear-gradient(180deg, #060a14, #0d1424);
  --gradient-card: linear-gradient(145deg, rgba(15, 26, 46, 0.9), rgba(6, 10, 20, 0.95));
  --gradient-gold: linear-gradient(135deg, #f59e0b, #d97706);
  --gradient-hero-overlay: linear-gradient(180deg,
      rgba(6, 10, 20, 0.3) 0%,
      rgba(6, 10, 20, 0.6) 40%,
      rgba(6, 10, 20, 0.92) 100%);
  --gradient-text: linear-gradient(135deg, #60a5fa, #3b82f6, #60a5fa);
  --gradient-border: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(59, 130, 246, 0.05));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  --shadow-glow-strong: 0 0 40px rgba(59, 130, 246, 0.25);

  /* Typography */
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Orbitron', sans-serif;

  /* Font Sizes */
  --fs-hero: clamp(3rem, 8vw, 6rem);
  --fs-h1: clamp(2rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 4vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.75rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  --container-max: 1280px;
  --card-radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-nav: 100;
  --z-modal: 200;
  --z-loading: 300;
  --z-top: 999;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.section-padding {
  padding: var(--section-padding);
}

/* Glass Panel */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.glass-light {
  background: var(--bg-glass-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow Effect */
.glow {
  box-shadow: var(--shadow-glow);
}

.glow-strong {
  box-shadow: var(--shadow-glow-strong);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: var(--fs-h1);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Visually Hidden (Accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Selection */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}
