/*
Theme Name: TDN Fiber
Theme URI: https://tdnfiber.net
Description: A modern, high-performance, glassmorphic ISP theme designed for Team Digital Network.
Author: Team Digital Network
Author URI: https://tdnfiber.net
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tdn-fiber
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool!
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: dark light;
  
  /* Color Palette */
  --primary-cyan: #d60703;
  --primary-blue: #9c0000;
  --gradient-brand: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
  --accent-rose: #ff007f;
  --accent-green: #10b981;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Default Theme Variables (Dark Mode Default) */
  --bg-main: #060913;
  --bg-sec: #060913;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --card-bg: rgba(13, 18, 34, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(6, 9, 19, 0.8);
  
  --header-bg: rgba(6, 9, 19, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.25);
  --hero-grid-line: rgba(255,255,255,0.03);
  
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
}

/* Light Mode Overrides */
@media (prefers-color-scheme: light) {
  :root {
    --bg-main: #f8fafc;
    --bg-sec: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-inverse: #f8fafc;
    
    --card-bg: rgba(255, 255, 255, 0.65);
    --card-border: rgba(0, 0, 0, 0.07);
    --input-bg: rgba(255, 255, 255, 0.9);
    
    --header-bg: rgba(248, 250, 252, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.15);
    --hero-grid-line: rgba(214, 7, 3, 0.05);
  }
}

/* Explicit data-theme targets for toggle persistence */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-sec: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #f8fafc;
  
  --card-bg: rgba(255, 255, 255, 0.65);
  --card-border: rgba(0, 0, 0, 0.07);
  --input-bg: rgba(255, 255, 255, 0.9);
  
  --header-bg: rgba(248, 250, 252, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
  --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.15);
  --hero-grid-line: rgba(214, 7, 3, 0.05);
}

[data-theme="dark"] {
  --bg-main: #060913;
  --bg-sec: #060913;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --card-bg: rgba(13, 18, 34, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(6, 9, 19, 0.8);
  
  --header-bg: rgba(6, 9, 19, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --glow-shadow: 0 0 20px rgba(214, 7, 3, 0.25);
  --hero-grid-line: rgba(255,255,255,0.03);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Custom Scrollbar */
@supports (scrollbar-color: auto) {
  body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--bg-sec);
  }
}

@supports not (scrollbar-color: auto) {
  body::-webkit-scrollbar {
    width: 10px;
  }
  body::-webkit-scrollbar-track {
    background: var(--bg-sec);
  }
  body::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
  }
}

/* Glassmorphism utility */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  box-shadow: var(--glass-shadow);
}

/* Button & CTA Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border: none;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(214, 7, 3, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--text-main);
}

.btn-secondary:hover {
  background: var(--text-main);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* Header & Navigation */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 1000;
  display: flex;
  align-items: center;
  /* Always solid — no transparent state */
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  height: 100px;
  box-shadow: var(--glass-shadow);
  border-bottom-color: var(--card-border);
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
}

.logo-text span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Drawer / Dialog Overlay */
dialog.nav-drawer {
  width: 80%;
  max-width: 320px;
  height: 100vh;
  margin: 0 0 0 auto;
  border: none;
  outline: none;
  background: var(--bg-sec);
  color: var(--text-main);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
}

dialog.nav-drawer::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

dialog.nav-drawer .drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

dialog.nav-drawer .drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}

dialog.nav-drawer .drawer-nav a {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 180px 0 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 10% 20%, rgba(214, 7, 3, 0.08) 0%, transparent 60%);
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-cyan);
  border: 1px solid rgba(214, 7, 3, 0.2);
  background: rgba(214, 7, 3, 0.05);
  margin-bottom: 1.5rem;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: var(--accent-rose);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-rose);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--card-border);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature section highlight stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  border-top: 1px dashed var(--card-border);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Common Section Layout */
.section {
  position: relative;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* Subtle grid overlay — shared across all sections */
.section::before,
.ftth-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Ensure all direct section children sit above the grid */
.section > * {
  position: relative;
  z-index: 1;
}

.section-container {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
}

/* Plans & Pricing Cards */
.plan-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.plan-toggle-label {
  font-weight: 600;
  font-size: 1rem;
}

.plan-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.plan-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-sec);
  border: 1px solid var(--card-border);
  transition: 0.4s;
  border-radius: 34px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background: var(--gradient-brand);
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

input:checked + .slider-switch:before {
  transform: translateX(28px);
}

.discount-badge {
  background: linear-gradient(135deg, #ff0055, #d60703);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.25rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.plan-card {
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-cyan);
  box-shadow: var(--glow-shadow);
}

.plan-card.popular {
  border: 1.5px solid var(--primary-cyan);
  background: radial-gradient(circle at 100% 0%, rgba(214, 7, 3, 0.15) 0%, transparent 60%), var(--card-bg);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}

.plan-header {
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-speed {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-speed span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-cyan);
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.plan-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary-cyan);
}

.plan-cta {
  width: 100%;
}

/* Coverage Checker Section */
.coverage-section {
  background: var(--bg-sec);
  position: relative;
  overflow: hidden;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.coverage-card {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
}

.coverage-form-group {
  margin: 2rem 0;
  position: relative;
}

.coverage-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.coverage-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(214, 7, 3, 0.2);
}

.coverage-results {
  min-height: 40px;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.coverage-status-active {
  color: var(--accent-green);
}

.coverage-status-pending {
  color: var(--primary-cyan);
}

.coverage-status-inactive {
  color: var(--accent-rose);
}

.city-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.city-pill {
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  background: rgba(214, 7, 3, 0.05);
  border: 1px solid rgba(214, 7, 3, 0.15);
  color: var(--text-main);
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-block;
}

.city-pill:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(214, 7, 3, 0.35);
  transform: translateY(-2px);
  cursor: pointer;
}

/* FTTH Section Diagram */
.ftth-section {
  position: relative;
}

.ftth-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

/* Coverage Diagram Styles */
.diagram-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.network-nodes {
  width: 100%;
  max-width: 450px;
  height: 320px;
  position: relative;
  background: radial-gradient(circle at center, rgba(214, 7, 3, 0.04) 0%, transparent 70%);
}

.node-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 105px;
  height: 105px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 2px solid var(--primary-cyan);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 20px rgba(214, 7, 3, 0.25), inset 0 0 10px rgba(214, 7, 3, 0.1);
  color: var(--text-main);
  font-family: var(--font-heading);
  text-align: center;
  transition: var(--transition-smooth);
}

.node-center span {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.node-child {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 3;
  border: 2px solid #d60703;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  text-align: center;
  line-height: 1.2;
}

.node-child:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 22px rgba(214, 7, 3, 0.35);
  transform: scale(1.06);
  cursor: pointer;
}

.node-1 { top: 5%; left: 8%; }
.node-2 { top: 5%; right: 8%; }
.node-3 { bottom: 5%; left: 8%; }
.node-4 { bottom: 5%; right: 8%; }

.node-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, #d60703 0%, rgba(214, 7, 3, 0.15) 100%);
  transform-origin: 0% 50%;
  z-index: 1;
}

.line-1 { transform: translate(0, -50%) rotate(210deg); }
.line-2 { transform: translate(0, -50%) rotate(330deg); }
.line-3 { transform: translate(0, -50%) rotate(150deg); }
.line-4 { transform: translate(0, -50%) rotate(30deg); }

/* ─── Premium Coverage Map Card ─── */
.coverage-map-card {
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.coverage-map-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle at top right, rgba(214, 7, 3, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.coverage-map-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
}

.coverage-hub-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d60703 0%, #a00000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 20px rgba(214, 7, 3, 0.35);
}

.hub-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid rgba(214, 7, 3, 0.35);
  animation: hubPulse 2s ease-out infinite;
  pointer-events: none;
}

.hub-pulse-ring-2 {
  inset: -9px;
  border-radius: 18px;
  border-color: rgba(214, 7, 3, 0.15);
  animation-delay: 0.6s;
}

@keyframes hubPulse {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25); }
}

.coverage-map-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.coverage-map-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.coverage-live-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.coverage-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.coverage-loc-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--bg-sec);
  transition: var(--transition-smooth);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.coverage-loc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214, 7, 3, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.coverage-loc-card:hover {
  border-color: rgba(214, 7, 3, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 7, 3, 0.1);
}

.coverage-loc-card:hover::after {
  opacity: 1;
}

.loc-pin-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(214, 7, 3, 0.08);
  border: 1px solid rgba(214, 7, 3, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d60703;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.coverage-loc-card:hover .loc-pin-icon {
  background: #d60703;
  border-color: #d60703;
  color: #fff;
  box-shadow: 0 4px 12px rgba(214, 7, 3, 0.3);
}

.loc-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  flex: 1;
  letter-spacing: -0.01em;
}

.loc-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.5);
  animation: statusBlink 2.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.coverage-map-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* FAQ Accordion Styling (Supporting hidden search index) */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.faq-card[open] {
  background: var(--bg-sec);
  border-color: var(--primary-cyan);
}

.faq-card summary {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary:after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-cyan);
  transition: var(--transition-smooth);
}

.faq-card[open] summary:after {
  content: "−";
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Testimonials Carousel */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.stars {
  color: #fbbf24;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-shadow);
}

.client-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.client-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Support & Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.enquiry-form {
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  color: var(--text-main);
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 10px rgba(214, 7, 3, 0.15);
}

/* Footer Styling */
footer.site-footer {
  background: var(--bg-sec);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 40px;
}

.footer-logo-panel p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-nav-col h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Modals */
dialog.enquiry-modal {
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(214, 7, 3, 0.2);
  outline: none;
  margin: auto;
  padding: 2.5rem;
  background: var(--card-bg);
  backdrop-filter: blur(25px);
}

dialog.enquiry-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

dialog.enquiry-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1rem;
}

dialog.enquiry-modal .modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animations and Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container, .coverage-layout, .ftth-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-graphic, .diagram-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  header.site-header {
    height: 70px;
  }
  
  .nav-menu, .header-actions .btn {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Partner ISPs Styles */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-shadow);
}

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

.partner-logo-box {
  width: 150px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.partner-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Image Logo Styles */
.site-logo-img {
  height: 120px;
  width: auto;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  object-fit: contain;
}

header.site-header.scrolled .site-logo-img {
  height: 90px;
}
