/* ==========================================================================
   AMBALANET TELECOM DESIGN SYSTEM (Glassmorphism Executive Edition)
   AS153286 | Category B ISP (Department of Telecommunications, India)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap");

:root {
  /* Brand Color Tokens - Pure Telecom Fiber Palette */
  --brand-primary: #0066FF;        /* Electric Royal Blue */
  --brand-primary-hover: #0052CC;
  --brand-accent: #00D2FF;         /* Neon Cyan */
  --brand-cyan: #00D2FF;
  --brand-emerald: #00F5A0;        /* Photon Green */
  --brand-teal: #0D9488;
  --brand-amber: #F59E0B;
  --brand-red: #EF4444;

  /* Radiant Gradients */
  --grad-primary: linear-gradient(135deg, #0066FF 0%, #00D2FF 100%);
  --grad-accent: linear-gradient(135deg, #00D2FF 0%, #00F5A0 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  --grad-hero-glow: radial-gradient(circle at 60% -10%, rgba(0, 102, 255, 0.22) 0%, rgba(0, 210, 255, 0.08) 45%, transparent 70%);

  /* Glassmorphism Backgrounds & Surfaces */
  --bg-page: #060B18;
  --bg-surface: rgba(14, 22, 42, 0.68);
  --bg-surface-elevated: rgba(20, 31, 58, 0.78);
  --bg-surface-glass: rgba(6, 11, 24, 0.82);
  --bg-surface-subtle: rgba(255, 255, 255, 0.04);

  /* Glass Borders & High-Tech Shimmer */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.18);
  --border-highlight: rgba(0, 210, 255, 0.4);
  --glass-blur: blur(24px) saturate(180%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-border-hover: 1px solid rgba(0, 210, 255, 0.4);

  /* High Contrast Typography Tokens */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #060B18;

  /* Glass Shadows & Neon Radiance */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-primary: 0 8px 28px rgba(0, 102, 255, 0.35);
  --shadow-neon: 0 0 20px rgba(0, 210, 255, 0.35);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --glass-shadow-hover: 0 25px 60px rgba(0, 102, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 920px;
  --header-height: 74px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Smooth Silky Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 10% 12%, rgba(0, 102, 255, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 90% 18%, rgba(0, 210, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(99, 102, 241, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(0, 245, 160, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

img, svg, canvas, video, iframe {
  max-width: 100%;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

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

a:hover {
  color: #38BDF8;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2.5px solid var(--brand-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--brand-primary);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(12px, 3.5vw, 24px);
  padding-right: clamp(12px, 3.5vw, 24px);
  box-sizing: border-box;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Glass Card Utility */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

/* Badges - Tight & Compact */
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-primary {
  background: rgba(0, 102, 255, 0.18);
  color: #00D2FF;
  border: 1px solid rgba(0, 210, 255, 0.35);
}

.badge-success {
  background: rgba(0, 245, 160, 0.15);
  color: #00F5A0;
  border: 1px solid rgba(0, 245, 160, 0.35);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  display: inline-block;
}

/* Accent Gradient Text */
.text-accent {
  color: #00D2FF;
}

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

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto var(--space-2xl) auto;
}

.section-header .badge {
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.08rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060B18;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0066FF, #00D2FF);
}

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