/* ==========================================================================
   ARC NETWORK VENTURES INC. | OFFICIAL CORPORATE FLAGSHIP PORTAL
   Mother Company & Master Systems Integrator of WISP Network and Data Solutions
   Valencia City, Bukidnon, Northern Mindanao, Philippines
   ========================================================================== */

:root {
  /* Brand Palette derived from ARC Network Ventures Inc. Official Emblem */
  --bg-deep: #030712;
  --bg-primary: #060d1a;
  --bg-secondary: #0b1528;
  --bg-card: rgba(11, 21, 40, 0.78);
  --bg-card-hover: rgba(16, 30, 56, 0.9);
  --bg-elevated: #111e36;
  --bg-glass: rgba(6, 13, 26, 0.85);

  /* Emerald Green & Oceanic Cyan / Blue Accents */
  --arc-emerald: #10b981;
  --arc-emerald-bright: #00e676;
  --arc-emerald-light: #34d399;
  --arc-emerald-glow: rgba(16, 185, 129, 0.4);
  
  --arc-cyan: #06b6d4;
  --arc-cyan-light: #38bdf8;
  --arc-cyan-glow: rgba(6, 182, 212, 0.4);

  --arc-blue: #0284c7;
  --arc-blue-dark: #0369a1;
  --arc-blue-deep: #0b3b60;

  /* Gradients */
  --gradient-arc: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #0284c7 100%);
  --gradient-emerald: linear-gradient(135deg, #00e676 0%, #10b981 60%, #059669 100%);
  --gradient-cyan: linear-gradient(135deg, #38bdf8 0%, #06b6d4 60%, #0284c7 100%);
  --gradient-radial-seal: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);

  /* Typography */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(6, 182, 212, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.4);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-seal: 0 0 50px rgba(6, 182, 212, 0.35), 0 0 100px rgba(16, 185, 129, 0.2);

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 15% 70%, rgba(2, 132, 199, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Shared Badges, Headings, and Buttons
   ========================================================================== */

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  color: var(--arc-cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.28);
  backdrop-filter: blur(8px);
}

.badge-tag.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--arc-emerald-light);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-tag.pulsing::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--arc-emerald-bright);
  box-shadow: 0 0 10px var(--arc-emerald-bright);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--arc-emerald-bright); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

.section-head .badge-tag {
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}

.section-title .gradient-text {
  background: var(--gradient-arc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-arc);
  color: #030712;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.6);
}

.btn-emerald {
  background: var(--gradient-emerald);
  color: #030712;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--arc-cyan-light);
  color: var(--arc-cyan-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-accent);
  color: var(--arc-cyan-light);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--arc-cyan);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-medium);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.4rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* Prominent, Larger Header Logo */
.brand-logo-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.45));
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-name span {
  color: var(--arc-emerald-light);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--arc-cyan-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2px;
}

.brand-sub .sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--arc-emerald);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-arc);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 5.4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-deep);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  z-index: 850;
  border-top: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-drawer-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.mobile-drawer-link:hover {
  color: var(--arc-cyan-light);
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   Hero Section & Huge Logo Presentation Stage
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  margin-bottom: 1.8rem;
}

.hero-eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--arc-emerald-bright);
  box-shadow: 0 0 10px var(--arc-emerald-bright);
}

.hero-eyebrow-text {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--arc-cyan-light);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

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

.hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-description strong {
  color: var(--text-white);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .hero-telemetry-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.2;
}

.telemetry-val.cyan {
  color: var(--arc-cyan-light);
}

.telemetry-val.emerald {
  color: var(--arc-emerald-bright);
}

.telemetry-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* ==========================================================================
   Hero Monumental Logo Stage (BIGGER LOGO DESIGN)
   ========================================================================== */

.hero-logo-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-stage-backdrop-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--gradient-radial-seal);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.logo-orbital-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.logo-orbital-ring.outer {
  width: 480px;
  height: 480px;
  border: 1px dashed rgba(6, 182, 212, 0.35);
  animation: rotate-clockwise 35s linear infinite;
}

.logo-orbital-ring.inner {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  animation: rotate-counter 25s linear infinite;
}

@keyframes rotate-clockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-counter {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* The Monumental Logo Container */
.hero-monumental-seal-card {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-seal);
  backdrop-filter: blur(20px);
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-monumental-seal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 70px rgba(6, 182, 212, 0.5), 0 0 120px rgba(16, 185, 129, 0.3);
}

.hero-monumental-seal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-arc);
}

/* The Grand Big Logo Itself */
.hero-giant-logo-img {
  width: 320px;
  height: 320px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(6, 182, 212, 0.6));
  animation: float-giant 7s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.4s ease;
}

@media (min-width: 640px) {
  .hero-giant-logo-img {
    width: 360px;
    height: 360px;
  }
}

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

.hero-seal-caption-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.hero-seal-caption-sub {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--arc-cyan-light);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-seal-caption-loc {
  font-size: 0.8rem;
  color: var(--arc-emerald-light);
  font-weight: 600;
  margin-top: 0.2rem;
}

.hero-seal-tag-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* ==========================================================================
   "The Anatomy of Our Seal" / Interactive Logo Breakdown Section
   ========================================================================== */

.seal-anatomy-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.anatomy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .anatomy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.anatomy-visual-wrap {
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
}

.anatomy-center-logo {
  width: 340px;
  height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

@media (min-width: 640px) {
  .anatomy-center-logo {
    width: 400px;
    height: 400px;
  }
}

.anatomy-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.anatomy-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1.2rem;
  transition: all var(--transition-normal);
}

.anatomy-item-card:hover {
  transform: translateX(6px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.anatomy-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-cyan-light);
  flex-shrink: 0;
}

.anatomy-icon-box.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--arc-emerald-bright);
}

.anatomy-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.anatomy-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Corporate Synergy (Mother Company & Subsidiary WISPnet)
   ========================================================================== */

.synergy-section {
  padding: 5rem 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

.synergy-wrapper-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.synergy-wrapper-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-arc);
}

.synergy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .synergy-grid {
    grid-template-columns: 1.1fr auto 1fr;
  }
}

.synergy-entity-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
}

.synergy-entity-box:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
}

.synergy-entity-box.mother {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.synergy-entity-logo {
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.4));
}

.synergy-connector-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--arc-emerald-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.synergy-connector-orb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-emerald-bright);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Core Capabilities & Systems Integration Grid
   ========================================================================== */

.capabilities-section {
  padding: 6.5rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.capability-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.25);
  background: var(--bg-card-hover);
}

.capability-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-cyan-light);
  margin-bottom: 1.6rem;
  transition: all var(--transition-normal);
}

.capability-card:hover .capability-icon-wrap {
  background: var(--gradient-arc);
  color: #030712;
  border-color: transparent;
  transform: scale(1.1);
}

.capability-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.9rem;
}

.capability-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.capability-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}

.capability-point {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.capability-point i {
  color: var(--arc-emerald-light);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   WISP Network Broadband Products & Plans Showcase
   ========================================================================== */

.broadband-section {
  padding: 6.5rem 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

.plans-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.plans-toggle-group {
  display: inline-flex;
  padding: 0.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
}

.plans-toggle-btn {
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.plans-toggle-btn.active {
  background: var(--gradient-arc);
  color: #030712;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.6rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(6, 182, 212, 0.2);
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, var(--bg-card) 50%);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-lg), var(--shadow-seal);
  transform: scale(1.03);
}

.plan-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.plan-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-emerald);
  color: #030712;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.plan-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-tier-name {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.plan-speed-badge {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--arc-cyan-light);
  margin-bottom: 0.5rem;
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 2.6rem;
}

.plan-pricing-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  margin-bottom: 1.8rem;
}

.plan-price-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
}

.plan-price-currency {
  font-size: 1.45rem;
  vertical-align: super;
  margin-right: 0.15rem;
  color: var(--arc-emerald-bright);
}

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

.plan-suitability {
  font-size: 0.82rem;
  color: var(--arc-cyan-light);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.6rem;
  text-align: center;
  font-weight: 600;
}

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

.plan-feature-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
}

.plan-feature-item i {
  color: var(--arc-emerald-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Coverage Map & Serviceability Checker
   ========================================================================== */

.coverage-section {
  padding: 6.5rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.checker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
}

.checker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: center;
}

@media (min-width: 768px) {
  .checker-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.checker-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.checker-input-icon {
  position: absolute;
  left: 1.2rem;
  color: var(--arc-cyan-light);
  pointer-events: none;
}

.checker-input {
  width: 100%;
  padding: 1.05rem 1rem 1.05rem 3.2rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
}

.checker-input:focus {
  border-color: var(--arc-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.3);
  background: rgba(0, 0, 0, 0.65);
}

.checker-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.checker-tag-btn {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.checker-tag-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--arc-cyan);
  color: var(--arc-cyan-light);
}

.checker-result-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-normal);
}

.checker-result-box.active {
  border-color: var(--arc-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.checker-result-box.expanding {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.checker-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.checker-result-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Map Layout */
.map-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

@media (min-width: 1024px) {
  .map-layout-grid {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.map-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  height: 560px;
}

#leaflet-network-map {
  width: 100%;
  height: 100%;
  z-index: 10;
}

.map-floating-overlay {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 500;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.legend-dot.expanding {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.legend-dot.boundary {
  background: #0284c7;
  border: 1px dashed #38bdf8;
}

/* Coverage Panel */
.coverage-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 560px;
}

.coverage-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.coverage-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.filter-pill-btn {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.filter-pill-btn.active {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--arc-cyan);
  color: var(--arc-cyan-light);
  font-weight: 700;
}

.coverage-list-scroll {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-right: 0.4rem;
  flex-grow: 1;
}

.area-list-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.area-list-item:hover,
.area-list-item.selected {
  border-color: var(--arc-cyan);
  background: rgba(6, 182, 212, 0.1);
  transform: translateX(4px);
}

.area-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.area-item-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}

.area-item-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.area-item-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--arc-emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.area-item-badge.expanding {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.area-item-province {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.area-item-barangays {
  font-size: 0.78rem;
  color: var(--arc-cyan-light);
  margin-top: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Valencia City NOC & Headquarters Contact
   ========================================================================== */

.noc-section {
  padding: 6.5rem 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}

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

@media (min-width: 1024px) {
  .noc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.noc-screen-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-seal);
}

.noc-screen-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.noc-screen-card:hover .noc-screen-img {
  transform: scale(1.03);
}

.noc-screen-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.98) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.contact-section {
  padding: 6.5rem 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-cyan-light);
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.contact-detail-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 0.2rem;
}

.contact-detail-val a:hover {
  color: var(--arc-cyan-light);
  text-decoration: underline;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}

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

@media (min-width: 640px) {
  .form-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--arc-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
  background: rgba(0, 0, 0, 0.6);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 5.5rem 0 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

@media (min-width: 640px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.footer-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.4));
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-white);
  margin-bottom: 1.4rem;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--arc-cyan-light);
}

.footer-bottom {
  padding-top: 2.2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   Modern Modal & Dialog Guidelines Compliance
   - Native <dialog> element
   - overscroll-behavior: contain on dialog:modal
   - overflow: hidden and overscroll-behavior: contain on dialog::backdrop
   - Smooth top-layer transitions via @starting-style, allow-discrete, overlay
   ========================================================================== */

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(3, 7, 18, 0);
  transition-property: background-color, display, overlay;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog[open]::backdrop {
  background-color: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);

  @starting-style {
    background-color: rgba(3, 7, 18, 0);
  }
}

dialog {
  padding: 0;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  background: var(--bg-card-hover);
  color: var(--text-primary);
  max-width: 620px;
  width: 92%;
  margin: auto;
  box-shadow: var(--shadow-lg), var(--shadow-seal);
  outline: none;

  opacity: 0;
  transform: scale(0.95);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.95);
  }
}

.modal-inner {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 13, 26, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
}

.modal-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-white);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.4rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 13, 26, 0.7);
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  dialog,
  dialog::backdrop {
    transform: none !important;
    transition-duration: 0.05s !important;
    animation: none !important;
  }

  @starting-style {
    dialog[open],
    dialog[open]::backdrop {
      transform: none !important;
    }
  }

  .hero-giant-logo-img,
  .logo-orbital-ring {
    animation: none !important;
  }
}
