/* UK Fiber Broadband - "Digital Conduit" Design System */

:root {
  /* Core Palette */
  --primary: #ae0000;
  --primary-container: #dc0000;
  --on-primary: #ffffff;
  --secondary: #585e6c;
  --on-surface: #111c2c;
  
  /* Surface Tokens */
  --background: #f9f9ff;
  --surface: #f9f9ff;
  --surface-container-low: #f0f3ff;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #dee8ff;
  --surface-dim: #cfdaf1;
  --outline-variant: rgba(233, 188, 181, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale Overrides (Optional fallback) */
h1 { font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-weight: 700; }

/* Section Hierarchy */
.section-padding { padding: 6rem 0; }
.mega-padding { padding: 12rem 0 6rem 0; }

/* Glassmorphism Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Hero & Gradients */
.hero-gradient {
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f3ff 100%);
}

.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-gradient:active { transform: scale(0.95); }

/* Components */
.card-lowest {
  background: var(--surface-container-lowest);
  padding: 2rem;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
}

.card-lowest:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06);
}

/* Trust Logos */
.logo-grayscale {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
  font-weight: 900;
  font-size: 2rem;
  color: var(--secondary);
}

.logo-grayscale:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Spacing */
/* Custom Components */
