/* ============================================
   光纖快線 FibreConnect - Premium Stylesheet
   Animated Dark Theme with Glassmorphism
   ============================================ */

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(79, 70, 229, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.4),
                0 0 20px rgba(37, 211, 102, 0.2),
                0 0 40px rgba(37, 211, 102, 0.1);
  }
  50% {
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.6),
                0 0 32px rgba(37, 211, 102, 0.3),
                0 0 60px rgba(37, 211, 102, 0.15);
  }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCaret {
  0%, 100% { border-right-color: transparent; }
  50% { border-right-color: #06B6D4; }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.1), inset 0 0 15px rgba(79, 70, 229, 0.05);
  }
  50% {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.2), inset 0 0 25px rgba(124, 58, 237, 0.08);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wave {
  0% { transform: translateX(0) translateZ(0) scaleY(1); }
  50% { transform: translateX(-25%) translateZ(0) scaleY(0.55); }
  100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.5;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes navUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes floatShape1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(90deg); }
  50% { transform: translate(-20px, -70px) rotate(180deg); }
  75% { transform: translate(40px, -30px) rotate(270deg); }
}

@keyframes floatShape2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-40px, 30px) rotate(120deg); }
  66% { transform: translate(20px, -50px) rotate(240deg); }
}

@keyframes floatShape3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -30px) scale(1.2); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Primary gradient */
  --primary: #4F46E5;
  --primary-dark: #4338CA;
  --primary-light: rgba(79, 70, 229, 0.15);
  --primary-gradient: linear-gradient(135deg, #4F46E5, #7C3AED);
  --primary-gradient-h: linear-gradient(90deg, #4F46E5, #7C3AED);

  /* Accent */
  --accent: #06B6D4;
  --accent-light: rgba(6, 182, 212, 0.15);

  /* Secondary */
  --secondary: #F9FAFB;

  /* Text */
  --text: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-light: #6B7280;
  --text-muted: #4B5563;

  /* Surfaces */
  --bg: #0B1120;
  --bg-secondary: #111827;
  --bg-tertiary: #1F2937;
  --bg-dark: #080D1A;

  /* Glass */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-medium: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-strong: rgba(255, 255, 255, 0.15);

  /* Brand colors */
  --success: #10B981;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --danger: #EF4444;
  --warning: #F59E0B;

  /* Borders */
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3), 0 0 60px rgba(79, 70, 229, 0.1);
  --shadow-glow-accent: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 60px rgba(6, 182, 212, 0.1);

  /* Font */
  --font: 'Inter', 'Noto Sans HK', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transition */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

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

ul {
  list-style: none;
}

/* ============================================
   UTILITY: SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition);
  animation: fadeInDown 0.6s ease-out;
}

.header.scrolled {
  background: rgba(11, 17, 32, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  transition: all var(--transition);
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(79, 70, 229, 0.5));
}

.logo svg rect {
  transition: fill var(--transition);
}

.logo:hover svg rect {
  fill: #7C3AED;
}

.logo-text {
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F9FAFB, #D1D5DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  -webkit-text-fill-color: var(--accent);
}

.nav-desktop {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient-h);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.active {
  display: flex;
  animation: fadeInDown 0.3s ease-out;
}

.mobile-nav-link {
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.mobile-nav-link:hover {
  color: var(--accent);
  padding-left: 8px;
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Ripple effect on buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: none;
  border-radius: inherit;
  z-index: -1;
}

.btn:active::after {
  animation: ripple 0.6s ease-out;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4),
              0 0 40px rgba(79, 70, 229, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary-sm {
  background: var(--primary-gradient);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.btn-primary-sm:hover {
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
              0 0 40px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-whatsapp-sm {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-sm:hover {
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
  transform: translateY(-1px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-whatsapp-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-whatsapp-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-search {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
  animation: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0B1120 0%,
    #1a103d 20%,
    #1E1B4B 35%,
    #312E81 50%,
    #1E3A5F 65%,
    #0e2442 80%,
    #0B1120 100%
  );
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}

/* Animated mesh overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(79, 70, 229, 0.2), transparent),
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(ellipse 500px 500px at 50% 80%, rgba(6, 182, 212, 0.1), transparent);
  z-index: -1;
}

/* Subtle pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

/* Floating decorative shapes */
.hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
  top: 10%;
  left: -5%;
  animation: floatShape1 20s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06), transparent 70%);
  bottom: 15%;
  right: -3%;
  animation: floatShape2 18s ease-in-out infinite;
  z-index: 0;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title-line1,
.hero-title-line2 {
  display: block;
}

.hero-title-line1 {
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line2 {
  background: linear-gradient(135deg, #7C3AED, #06B6D4, #4F46E5);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Search Box - Glassmorphism */
.search-box {
  background: var(--glass-medium);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 920px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  transition: all var(--transition);
}

.search-box:focus-within {
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: var(--shadow-xl),
              0 0 30px rgba(79, 70, 229, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 160px;
  position: relative;
}

.search-field-address {
  flex: 2;
  min-width: 240px;
}

.search-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.search-select,
.search-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
  outline: none;
}

.search-select option {
  background: var(--bg-secondary);
  color: var(--text);
}

.search-select:focus,
.search-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15),
              0 0 20px rgba(79, 70, 229, 0.1);
}

.search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 6px;
}

.search-suggestions.active {
  display: block;
  animation: fadeInUp 0.2s ease-out;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
  color: var(--text-secondary);
}

.suggestion-item:hover {
  background: rgba(79, 70, 229, 0.15);
  color: var(--text);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-chi {
  font-weight: 500;
  color: var(--text);
}

.suggestion-eng {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   SECTION WAVE DIVIDER
   ============================================ */
.features::before,
.plans-section::before,
.districts-section::before,
.providers-section::before,
.cta-banner::before {
  pointer-events: none;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 80px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-slow);
  animation: fadeInUp 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:hover {
  background: var(--glass-medium);
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
}

.feature-card:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--text);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F9FAFB, #9CA3AF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   PLANS SECTION
   ============================================ */
.plans-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

/* Top gradient border */
.plans-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(79, 70, 229, 0.1);
}

.filter-tab.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* Provider Filter */
.provider-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.provider-filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-right: 4px;
}

.provider-chip {
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.provider-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(6, 182, 212, 0.08);
}

.provider-chip.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Plan Card - Glass + 3D */
.plan-card {
  background: var(--glass);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: scaleIn 0.5s ease-out both;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Staggered card animations */
.plan-card:nth-child(1) { animation-delay: 0.05s; }
.plan-card:nth-child(2) { animation-delay: 0.1s; }
.plan-card:nth-child(3) { animation-delay: 0.15s; }
.plan-card:nth-child(4) { animation-delay: 0.2s; }
.plan-card:nth-child(5) { animation-delay: 0.25s; }
.plan-card:nth-child(6) { animation-delay: 0.3s; }
.plan-card:nth-child(7) { animation-delay: 0.35s; }
.plan-card:nth-child(8) { animation-delay: 0.4s; }
.plan-card:nth-child(9) { animation-delay: 0.45s; }

.plan-card:hover {
  box-shadow: var(--shadow-lg),
              0 0 30px rgba(79, 70, 229, 0.1);
  transform: translateY(-6px) rotateX(2deg) rotateY(-1deg);
  border-color: rgba(79, 70, 229, 0.3);
  animation: borderGlow 3s ease-in-out infinite;
}

.plan-provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 0;
}

.provider-badge {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.provider-badge.hkbn {
  background: rgba(46, 125, 50, 0.15);
  color: #4CAF50;
  box-shadow: 0 0 12px rgba(46, 125, 50, 0.1);
}

.provider-badge.netvigator {
  background: rgba(21, 101, 192, 0.15);
  color: #42A5F5;
  box-shadow: 0 0 12px rgba(21, 101, 192, 0.1);
}

.provider-badge.hgc {
  background: rgba(230, 81, 0, 0.15);
  color: #FF9800;
  box-shadow: 0 0 12px rgba(230, 81, 0, 0.1);
}

.provider-badge.cmhk {
  background: rgba(198, 40, 40, 0.15);
  color: #EF5350;
  box-shadow: 0 0 12px rgba(198, 40, 40, 0.1);
}

.provider-badge.smartone {
  background: rgba(106, 27, 154, 0.15);
  color: #AB47BC;
  box-shadow: 0 0 12px rgba(106, 27, 154, 0.1);
}

.provider-badge.icable {
  background: rgba(0, 105, 92, 0.15);
  color: #26C6DA;
  box-shadow: 0 0 12px rgba(0, 105, 92, 0.1);
}

.plan-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(79, 70, 229, 0.15);
  color: #818CF8;
}

.plan-tag.premium {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
}

.plan-tag.value {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.plan-details {
  padding: 18px 22px;
}

.plan-speed {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.speed-value {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #818CF8, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: countUp 0.6s ease-out both;
}

.speed-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.plan-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.info-value.price {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #818CF8, #C084FC, #06B6D4, #818CF8);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.price-period {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  -webkit-text-fill-color: var(--text-light);
}

.info-value.free {
  color: var(--success);
}

/* Gifts */
.plan-gifts {
  border-top: 1px solid var(--border-light);
}

.gifts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.gifts-header:hover {
  color: var(--accent);
}

.gifts-arrow {
  transition: transform var(--transition);
}

.gifts-header.open .gifts-arrow {
  transform: rotate(180deg);
}

.gifts-content {
  display: none;
  padding: 0 22px 18px;
}

.gifts-content.open {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

.gifts-content ul {
  list-style: none;
}

.gifts-content li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.gifts-content li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Plan Actions */
.plan-actions {
  display: flex;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border-light);
}

.plan-actions .btn {
  flex: 1;
  padding: 11px 8px;
  font-size: 0.85rem;
}

/* Plans CTA */
.plans-cta {
  text-align: center;
  margin-top: 56px;
  padding: 48px;
  background: var(--glass);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.plans-cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.8;
}

.plans-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   DISTRICTS SECTION
   ============================================ */
.districts-section {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.districts-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), rgba(79, 70, 229, 0.4), transparent);
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.district-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* Gradient reveal on hover */
.district-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(6, 182, 212, 0.05));
  opacity: 0;
  transition: opacity var(--transition);
}

.district-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-md),
              0 0 20px rgba(79, 70, 229, 0.08);
  transform: translateY(-3px);
}

.district-card:hover::before {
  opacity: 1;
}

.district-region {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  position: relative;
}

.district-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
}

.district-name span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 3px;
}

.district-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.district-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Sliding arrow on hover */
.district-meta svg,
.district-meta .arrow-icon {
  transition: transform var(--transition);
}

.district-card:hover .district-meta svg,
.district-card:hover .district-meta .arrow-icon {
  transform: translateX(4px);
}

/* ============================================
   PROVIDERS SECTION
   ============================================ */
.providers-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.providers-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}

.provider-card {
  text-align: center;
  padding: 32px 18px;
  background: var(--glass);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.provider-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--glass-border-strong);
  background: var(--glass-medium);
}

.provider-logo-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  transition: all var(--transition);
}

.provider-card:hover .provider-logo-box {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hkbn-bg { background: linear-gradient(135deg, #4CAF50, #2E7D32); }
.netvigator-bg { background: linear-gradient(135deg, #42A5F5, #1565C0); }
.hgc-bg { background: linear-gradient(135deg, #FF9800, #E65100); }
.cmhk-bg { background: linear-gradient(135deg, #EF5350, #C62828); }
.smartone-bg { background: linear-gradient(135deg, #AB47BC, #6A1B9A); }
.icable-bg { background: linear-gradient(135deg, #26C6DA, #00695C); }

.provider-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #1E1B4B 0%,
    #312E81 25%,
    #4F46E5 50%,
    #7C3AED 75%,
    #1E1B4B 100%
  );
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(ellipse 500px 300px at 70% 60%, rgba(124, 58, 237, 0.15), transparent);
  z-index: 0;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l4 3.5-4 3z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone-display {
  margin-top: 28px;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 36px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

/* Animated gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4F46E5, #7C3AED, #06B6D4, #10B981, #7C3AED, #4F46E5);
  background-size: 300% 100%;
  animation: gradientBorder 6s linear infinite;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  transition: all var(--transition);
  position: relative;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-data-attr {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--transition);
  animation: bounceIn 0.8s ease-out 1s both, glow 3s ease-in-out 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5),
              0 0 50px rgba(37, 211, 102, 0.2);
}

.floating-call {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--transition);
  animation: bounceIn 0.8s ease-out 1.2s both, pulse 3s ease-in-out 2.2s infinite;
}

.floating-call:hover {
  transform: scale(1.12);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.5),
              0 0 50px rgba(79, 70, 229, 0.2);
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-right: 8px;
  background: var(--glass);
  border-radius: 100px;
  padding: 3px;
  border: 1px solid var(--glass-border);
}

.lang-btn {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font);
  transition: all var(--transition);
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   SELECTION STYLE
   ============================================ */
::selection {
  background: rgba(79, 70, 229, 0.3);
  color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 70px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .search-row {
    flex-direction: column;
  }

  .search-field {
    min-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .districts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .cta-phone-display {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .floating-call {
    display: flex;
  }

  .btn-whatsapp-sm,
  .btn-primary-sm {
    font-size: 0;
    padding: 8px;
    gap: 0;
  }

  .btn-whatsapp-sm svg,
  .btn-primary-sm svg {
    margin: 0;
  }

  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .plans-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .plans-cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Simplify animations on mobile */
  .plan-card:hover {
    transform: translateY(-4px);
  }

  .feature-icon {
    animation: none;
  }

  .search-box {
    padding: 20px;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .districts-grid {
    grid-template-columns: 1fr;
  }

  .providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .search-box {
    padding: 16px;
  }

  .plans-cta {
    padding: 32px 20px;
  }
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-bg {
    animation: none;
    background-size: 100% 100%;
  }

  .feature-icon {
    animation: none;
  }

  .plan-card:hover {
    transform: translateY(-2px);
  }

  .cta-banner {
    animation: none;
    background-size: 100% 100%;
  }

  .floating-whatsapp,
  .floating-call {
    animation: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   DISTRICT PAGE STYLES
   ============================================ */
.page-header {
  padding: 110px 0 48px;
  background: linear-gradient(
    135deg,
    #0B1120 0%,
    #1E1B4B 50%,
    #312E81 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(79, 70, 229, 0.15), transparent),
    radial-gradient(ellipse 400px 300px at 80% 20%, rgba(6, 182, 212, 0.1), transparent);
}

.page-header > .container {
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.page-header .breadcrumb a:hover {
  color: var(--accent);
}

.page-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #F9FAFB, #A5B4FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
}

.address-list-section {
  padding: 56px 0 100px;
  background: var(--bg);
}

.address-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}

.address-search-bar input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  background: var(--glass);
  color: var(--text);
  transition: all var(--transition);
}

.address-search-bar input::placeholder {
  color: var(--text-light);
}

.address-search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15),
              0 0 20px rgba(79, 70, 229, 0.1);
  background: var(--glass-medium);
}

.street-group {
  margin-bottom: 28px;
}

.street-name {
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 2px solid;
  border-image: var(--primary-gradient-h) 1;
  margin-bottom: 10px;
  color: var(--text);
}

.street-name span {
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 8px;
}

.building-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}

.building-item {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
  color: var(--text-secondary);
  background: var(--glass);
}

.building-item:hover {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
  color: var(--text);
}

.building-item .building-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  flex: 1;
}

.building-item:hover .building-link {
  color: var(--text);
}

.building-item .building-link:hover {
  color: var(--primary-light, #818CF8);
}

.building-item a:not(.building-link) {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition);
  white-space: nowrap;
  margin-left: 12px;
}

.building-item a:not(.building-link):hover {
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.pagination button {
  padding: 9px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.pagination button.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.pagination button:hover:not(.active) {
  border-color: var(--primary);
  color: var(--accent);
  background: rgba(79, 70, 229, 0.08);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-secondary);
}

.no-results h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--text);
}

/* Loading */
.loading {
  text-align: center;
  padding: 48px;
  color: var(--text-light);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--glass-border-strong);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 14px;
}
