/* ==========================================================================
   XSOL ENTERPRISE NETWORK STYLESHEET
   Official Corporate Brand Color System:
   Primary:
     --xsol-deep-blue:      #005B8F
     --xsol-water-blue:     #007FBA
     --xsol-sky-blue:       #00AEEF
     --xsol-light-sky-blue: #66CCF2
     --xsol-airy-blue:      #B3E6FA
   Neutral:
     --xsol-navy:           #00233D
     --xsol-dark-gray:      #333F48
     --xsol-medium-gray:    #7A868F
     --xsol-light-gray:     #E6EBEF
     --xsol-white:          #FFFFFF
   Supporting:
     --xsol-ivory:          #F7F3E8
     --xsol-pastel-bg:      #DCE8EF
   ========================================================================== */

:root {
  --xsol-deep-blue: #005B8F;
  --xsol-water-blue: #007FBA;
  --xsol-sky-blue: #00AEEF;
  --xsol-light-sky-blue: #66CCF2;
  --xsol-airy-blue: #B3E6FA;

  --xsol-navy: #00233D;
  --xsol-dark-gray: #333F48;
  --xsol-medium-gray: #7A868F;
  --xsol-light-gray: #E6EBEF;
  --xsol-white: #FFFFFF;

  --xsol-ivory: #F7F3E8;
  --xsol-pastel-bg: #DCE8EF;
}

.network-page {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--xsol-dark-gray);
  overflow-x: hidden;
  background-color: var(--xsol-white);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.net-hero-section {
  position: relative;
  width: 100%;
  min-height: 590px;
  background-color: #001220;
  background-image: url('/static/img/network-banner.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 85px 0 75px 0;
  overflow: hidden;
}

.net-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 18, 32, 0.94) 0%,
    rgba(0, 18, 32, 0.88) 45%,
    rgba(0, 18, 32, 0.50) 70%,
    rgba(0, 18, 32, 0.15) 88%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.net-hero-container {
  position: relative;
  z-index: 2;
}

.net-hero-content {
  max-width: 680px;
}

.net-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 18px;
}

.net-hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.68;
  color: #cbd5e1;
  margin-bottom: 28px;
}

.net-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.net-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--xsol-sky-blue), var(--xsol-water-blue));
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.4);
  transition: all 0.3s ease;
}

.net-btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8, var(--xsol-sky-blue));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.55);
}

.net-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.net-partner-icon {
  width: 22px;
  height: 22px;
  color: var(--xsol-sky-blue);
}

.net-partner-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.net-partner-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.net-partner-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
}

/* ==========================================================================
   2. CARRIER-GRADE TELEMETRY & STATUS STRIP
   ========================================================================== */
.net-telemetry-section {
  background: #f8fafc;
  padding: 38px 0;
  border-bottom: 1px solid #e2e8f0;
}

.net-telemetry-status-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: #334155;
}

.net-telemetry-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: netPulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes netPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.net-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.net-telemetry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 35, 61, 0.04);
}

.net-telemetry-card:hover {
  transform: translateY(-3px);
  border-color: var(--xsol-sky-blue);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.12);
}

.net-telemetry-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.net-telemetry-metric {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--xsol-navy);
  line-height: 1;
}

.net-telemetry-badge-cyan {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--xsol-water-blue);
}

.net-telemetry-badge-blue {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 91, 143, 0.12);
  color: var(--xsol-deep-blue);
}

.net-telemetry-badge-green {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.net-telemetry-badge-gold {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.net-telemetry-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--xsol-navy);
  margin-bottom: 6px;
}

.net-telemetry-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   3. SOLUTIONS GRID (6 Core Pillars)
   ========================================================================== */
.net-solutions-section {
  padding: 90px 0;
  background: #ffffff;
}

.net-section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--xsol-water-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.net-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--xsol-navy);
  line-height: 1.25;
  margin-bottom: 18px;
}

.net-section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  max-width: 760px;
  margin: 0 auto;
}

.net-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.net-solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.net-solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--xsol-sky-blue);
  box-shadow: 0 12px 30px rgba(0, 35, 61, 0.08);
}

.net-solution-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.net-solution-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 174, 239, 0.1);
  color: var(--xsol-water-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.net-solution-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--xsol-navy);
  margin: 0;
}

.net-solution-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 18px;
}

.net-solution-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.net-solution-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 8px;
}

.net-solution-points li i {
  color: var(--xsol-water-blue);
  font-size: 0.82rem;
}

/* ==========================================================================
   4. INTERACTIVE ARCHITECTURE SHOWCASE (TABS)
   ========================================================================== */
.net-showcase-section {
  padding: 90px 0;
  background: #f8fafc;
}

.net-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0;
}

.net-tab-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--xsol-navy);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.net-tab-btn.active,
.net-tab-btn:hover {
  background: var(--xsol-water-blue);
  border-color: var(--xsol-water-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 127, 186, 0.25);
}

.net-tab-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 35, 61, 0.04);
}

.net-tab-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--xsol-water-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.net-tab-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--xsol-navy);
  margin-bottom: 16px;
}

.net-tab-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
}

.net-tab-caps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.net-tab-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.net-tab-cap-item i {
  color: #10b981;
  font-size: 1rem;
  margin-top: 2px;
}

.net-tab-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.net-tech-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--xsol-navy);
  background: #f1f5f9;
  padding: 5px 14px;
  border-radius: 6px;
}

/* ==========================================================================
   5. TOPOLOGY & PROTOCOLS MATRIX
   ========================================================================== */
.net-matrix-section {
  padding: 85px 0;
  background: #ffffff;
}

.net-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.net-matrix-item {
  border-left: 3px solid var(--xsol-sky-blue);
  padding: 10px 20px;
}

.net-matrix-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--xsol-sky-blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.net-matrix-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--xsol-navy);
  margin-bottom: 6px;
}

.net-matrix-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   6. FAQ ACCORDION
   ========================================================================== */
.net-faq-section {
  padding: 85px 0;
  background: #f8fafc;
}

.net-faq-container {
  max-width: 840px;
  margin: 40px auto 0;
}

.net-faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.net-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--xsol-navy);
  text-align: left;
  cursor: pointer;
}

.net-faq-icon {
  font-size: 0.9rem;
  color: var(--xsol-water-blue);
  transition: transform 0.25s ease;
}

.net-faq-icon.open {
  transform: rotate(180deg);
}

.net-faq-answer {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #475569;
}

/* ==========================================================================
   7. CTA BANNER
   ========================================================================== */
.net-cta-section {
  background: linear-gradient(135deg, #001220 0%, #00233d 100%);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.net-cta-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.net-cta-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 30px;
}

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

.net-cta-btn-primary {
  background: var(--xsol-sky-blue);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
  transition: all 0.3s ease;
}

.net-cta-btn-primary:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  color: #ffffff;
}

.net-cta-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.net-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
  .net-hero-section {
    min-height: auto;
    padding: 60px 0;
  }
  .net-hero-overlay {
    background: rgba(0, 18, 32, 0.94);
  }
  .net-hero-title {
    font-size: 2.2rem;
  }
}
