/* ==========================================================================
   Aspen Smart Networks - Official Brand Guide Design System
   Main Brand Colors: #4FABBD (Cyan), #58B6A3 (Teal Green)
   Complimentary:     #66B26A (Green), #99E451 (Lime), #DDFD51 (Yellow-Lime), #F4FF54 (Canary)
   Main Accent:       #FFDE59 (Gold), #FF914D (Aspen Orange)
   Security:          #B93D22 (Crimson Rust)
   Typography:        Roboto (Light, Regular, Medium, Bold, Black)
   ========================================================================== */

:root {
  /* Official Palette from Aspen Brand Guide */
  --brand-cyan: #4FABBD;
  --brand-teal: #58B6A3;
  --brand-green: #66B26A;
  --brand-lime: #99E451;
  --brand-lime-yellow: #DDFD51;
  --brand-yellow: #F4FF54;
  --brand-gold: #FFDE59;
  --brand-orange: #FF914D;
  --brand-security: #B93D22;

  /* Primary Interactive & Semantic Brand Tokens */
  --aspen-orange: #FF914D; /* Official Main Accent Color */
  --aspen-orange-hover: #ff7e30;
  --aspen-orange-dark: #e8681a;
  --aspen-orange-glow: rgba(255, 145, 77, 0.35);

  --teal-accent: #4FABBD; /* Official Main Brand Color 1 */
  --teal-brand: #58B6A3;  /* Official Main Brand Color 2 */
  --teal-glow: rgba(79, 171, 189, 0.32);
  --lime-accent: #99E451; /* Official Complimentary Lime */
  --lime-glow: rgba(153, 228, 81, 0.28);
  --emerald-accent: #66B26A;
  --gold-accent: #FFDE59;
  --security-accent: #B93D22;

  /* Light Surfaces (token names kept from the original dark theme)
     --navy-darkest = primary page background, --navy-dark = alternate band */
  --navy-darkest: #ffffff;
  --navy-dark: #f3f7f8;
  --navy-card: #ffffff;
  --navy-card-border: #dbe6e9;
  --navy-light: #eaf3f4;
  --charcoal: #1e2427; /* Footer surface */

  /* Ink colors. --text-white is now the strong heading ink (charcoal). */
  --text-white: #1f2a30;
  --text-light: #3b4850;
  --text-muted: #5c6c75;
  --text-dark: #1f2a30;
  --text-dark-muted: #5c6c75;

  /* Brand headings + accessible "ink" shades of the brand colors for small text on white */
  --heading-teal: #58B6A3;
  --teal-ink: #2F7F70;
  --cyan-ink: #2A7F90;
  --orange-ink: #D2601F;
  --brand-gradient: linear-gradient(120deg, var(--brand-cyan) 0%, var(--brand-teal) 55%, var(--brand-green) 100%);
  --brand-gradient-bar: linear-gradient(90deg, var(--brand-cyan), var(--brand-teal), var(--brand-green), var(--brand-lime));

  --bg-light: #f5f8fa;
  --bg-light-alt: #ebf2f6;
  --border-light: #d0e0eb;

  /* Typography: Roboto per Brand Guide */
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(16, 42, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 42, 51, 0.08);
  --shadow-lg: 0 18px 40px rgba(16, 42, 51, 0.10);
  --shadow-glow: 0 0 25px var(--aspen-orange-glow);
  --shadow-teal-glow: 0 0 25px var(--teal-glow);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-light);
  background-color: var(--navy-darkest);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

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

/* Top Utility Bar */
.top-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(20, 45, 55, 0.07);
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--aspen-orange);
}

.top-bar-link.highlight {
  color: var(--aspen-orange);
  font-weight: 600;
}

.top-bar-badge {
  background: rgba(255, 122, 26, 0.15);
  color: var(--aspen-orange);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.top-bar-divider {
  color: rgba(20, 45, 55, 0.15);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 45, 55, 0.08);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(16, 42, 51, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-ink);
}

.nav-link svg.arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-item:hover svg.arrow {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--navy-dark);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 200;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--navy-light);
  color: var(--cyan-ink);
}

.dropdown-link .dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(79, 171, 189, 0.12);
  color: var(--cyan-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--aspen-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--aspen-orange-glow);
}

.btn-primary:hover {
  background: var(--aspen-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--aspen-orange-glow);
  color: #fff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-white);
  border: 1px solid #c9d9dd;
}

.btn-secondary:hover {
  background: #f1f9f7;
  border-color: var(--brand-teal);
  color: var(--teal-ink);
  transform: translateY(-1px);
}

.btn-outline-orange {
  border: 1px solid var(--aspen-orange);
  color: var(--aspen-orange);
  background: transparent;
}

.btn-outline-orange:hover {
  background: var(--aspen-orange);
  color: #fff;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--navy-darkest);
  border-left: 1px solid var(--navy-card-border);
  padding: 5rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 35, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 998;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--aspen-orange);
}

.mobile-subnav {
  padding-left: 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-left: 2px solid var(--navy-light);
}

.mobile-subnav a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.mobile-subnav a:hover {
  color: var(--aspen-orange);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 0;
  background: var(--navy-darkest);
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 25%, rgba(79, 171, 189, 0.18), transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(153, 228, 81, 0.16), transparent 45%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.88) 75%, var(--navy-darkest) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(79, 171, 189, 0.12);
  border: 1px solid rgba(79, 171, 189, 0.35);
  color: var(--cyan-ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-lime);
  box-shadow: 0 0 10px var(--brand-lime);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(153, 228, 81, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(153, 228, 81, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(153, 228, 81, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-light);
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 2.25rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(20, 45, 55, 0.1);
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.35rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   4 Pillars Showcase Section (Customized Focus)
   ========================================================================== */
.pillars-section {
  padding: 6rem 0;
  background: var(--navy-darkest);
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-ink);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--heading-teal);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 171, 189, 0.45);
  box-shadow: 0 20px 40px rgba(16, 42, 51, 0.12), 0 0 25px rgba(79, 171, 189, 0.16);
}

.pillar-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(79, 171, 189, 0.12);
  border: 1px solid rgba(79, 171, 189, 0.25);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.pillar-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(20, 45, 55, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(20, 45, 55, 0.1);
}

.pillar-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.pillar-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pillar-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-light);
}

.pillar-feature-item svg {
  color: var(--brand-teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pillar-footer {
  margin-top: auto;
  pt: 1rem;
  border-top: 1px solid rgba(20, 45, 55, 0.08);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan-ink);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.learn-more-link:hover {
  color: var(--teal-ink);
  gap: 0.75rem;
}

/* ==========================================================================
   Ground & Cloud Section
   ========================================================================== */
.ground-cloud-section {
  padding: 6rem 0;
  background: var(--navy-dark);
  position: relative;
  border-top: 1px solid rgba(20, 45, 55, 0.06);
  border-bottom: 1px solid rgba(20, 45, 55, 0.06);
}

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

.media-stack {
  position: relative;
}

.media-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-card-border);
  object-fit: cover;
  max-height: 480px;
}

.media-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.floating-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.content-block h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--heading-teal);
  margin-bottom: 1.5rem;
}

.content-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-box {
  background: rgba(20, 45, 55, 0.03);
  border: 1px solid rgba(20, 45, 55, 0.06);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.feature-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-box h4 svg {
  color: var(--brand-teal);
}

.feature-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Media / Press Recognition Ticker
   ========================================================================== */
.press-section {
  padding: 3.5rem 0;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(20, 45, 55, 0.06);
}

.press-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.press-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  opacity: 0.75;
}

.press-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
  filter: grayscale(100%);
}

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

.press-logo-item img {
  height: 34px;
  max-width: 140px;
  object-fit: contain;
}



/* ==========================================================================
   Testimonials Section ("We Make Things Happen")
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background: var(--navy-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 171, 189, 0.4);
}

.testimonial-logo-box {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.testimonial-logo-box img {
  max-height: 50px;
  max-width: 160px;
  object-fit: contain;
}

.testimonial-quote {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
  position: relative;
}

.testimonial-author {
  border-top: 1px solid rgba(20, 45, 55, 0.08);
  padding-top: 1.25rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
}

.author-role {
  color: var(--teal-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ==========================================================================
   Assessment & CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(79, 171, 189, 0.12) 0%, rgba(153, 228, 81, 0.10) 100%), var(--navy-dark);
  border-top: 1px solid rgba(79, 171, 189, 0.2);
  border-bottom: 1px solid rgba(20, 45, 55, 0.06);
}

.cta-box {
  background: radial-gradient(circle at 10% 50%, rgba(79, 171, 189, 0.16), transparent 50%),
              var(--navy-card);
  border: 1px solid rgba(79, 171, 189, 0.3);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(79, 171, 189, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--heading-teal);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-box p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.cta-box-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  /* Dark scope: re-map ink tokens so footer text stays light on charcoal */
  --text-white: #ffffff;
  --text-light: #e3eaec;
  --text-muted: #a7b4ba;
  background: var(--charcoal);
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 0;
  position: relative;
  margin-top: auto;
}

.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--brand-gradient-bar);
}

.footer-top {
  padding: 5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem;
  line-height: 1.6;
  max-width: 320px;
  color: var(--text-muted);
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-light);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.footer-contact-item svg {
  color: var(--brand-cyan);
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  font-size: 0.8125rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Sub-Page Hero & Detail Page Components
   ========================================================================== */
.page-hero {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at 85% 15%, rgba(79, 171, 189, 0.18), transparent 45%),
              radial-gradient(circle at 5% 90%, rgba(153, 228, 81, 0.14), transparent 45%),
              linear-gradient(180deg, #f3f8f9 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(20, 45, 55, 0.08);
  position: relative;
}

.page-hero-inner {
  max-width: 860px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.page-breadcrumb a:hover {
  color: var(--cyan-ink);
}

.page-title {
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.page-lead {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
  opacity: 0.9;
}

/* Technical Details Architecture Grids */
.tech-details-section {
  padding: 5rem 0;
  background: var(--navy-dark);
}

.tech-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 171, 189, 0.4);
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(79, 171, 189, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(79, 171, 189, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.tech-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   Support & SLA Portal Components
   ========================================================================== */
.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.support-channel-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.support-channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 171, 189, 0.45);
  box-shadow: 0 15px 35px rgba(16, 42, 51, 0.10);
}

.support-channel-card.highlight {
  border-color: rgba(79, 171, 189, 0.45);
  background: linear-gradient(180deg, rgba(79, 171, 189, 0.1) 0%, var(--navy-card) 100%);
}

.channel-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.channel-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.channel-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* SLA Severity Cards Grid */
.sla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.sla-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sla-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.sla-card.sev-1::before { background: var(--brand-security); }
.sla-card.sev-2::before { background: var(--brand-orange); }
.sla-card.sev-3::before { background: var(--brand-cyan); }
.sla-card.sev-4::before { background: var(--brand-green); }

.sla-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.sla-badge.p1 { background: rgba(185, 61, 34, 0.10); color: var(--brand-security); border: 1px solid rgba(185, 61, 34, 0.35); }
.sla-badge.p2 { background: rgba(255, 145, 77, 0.15); color: var(--orange-ink); border: 1px solid rgba(255, 145, 77, 0.45); }
.sla-badge.p3 { background: rgba(79, 171, 189, 0.15); color: var(--cyan-ink); border: 1px solid rgba(79, 171, 189, 0.45); }
.sla-badge.p4 { background: rgba(102, 178, 106, 0.15); color: #3f8a43; border: 1px solid rgba(102, 178, 106, 0.45); }

.sla-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.sla-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan-ink);
  margin-bottom: 0.75rem;
}

.sla-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sla-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(20, 45, 55, 0.08);
  font-size: 0.8125rem;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .support-channels-grid {
    grid-template-columns: 1fr;
  }
  .sla-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sla-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Team Section Components (About Us)
   ========================================================================== */
.team-section {
  padding: 6rem 0;
  background: var(--navy-darkest);
  border-bottom: 1px solid rgba(20, 45, 55, 0.06);
}

.team-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.team-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.team-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc(33.333% - 1.5rem);
  min-width: 250px;
  max-width: 320px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 171, 189, 0.45);
  box-shadow: 0 20px 40px rgba(16, 42, 51, 0.12), 0 0 20px rgba(79, 171, 189, 0.15);
}

.team-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--navy-light);
  position: relative;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-normal);
  filter: grayscale(15%) contrast(1.05);
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.05);
}

.team-info {
  padding: 1.5rem 1.75rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .team-card {
    flex: 0 1 calc(50% - 1rem);
  }
}

@media (max-width: 580px) {
  .team-card {
    flex: 0 1 100%;
    max-width: 360px;
  }
}

/* --- "A" formation: Jim (apex) / Matt + Dakota / Angel + logo + Ross (crossbar) / Rose + Cloe (base) ---
   Each row is centered; card centers sit at multiples of --step from the middle,
   so the legs widen by one step per row and trace the sides of an "A". */
.team-a-layout {
  --tw: clamp(150px, 15vw, 210px);       /* card width */
  --step: calc(var(--tw) * 0.785);       /* horizontal offset added per row */
  gap: 1.5rem;
}

.team-a-layout .team-row {
  flex-wrap: nowrap;
  align-items: stretch;
  position: relative;
}

.team-a-layout .team-card {
  flex: 0 0 var(--tw);
  width: var(--tw);
  min-width: 0;
  max-width: none;
  position: relative;
  z-index: 1;
}

.team-a-layout .team-info {
  padding: 1rem 0.85rem 1.2rem;
}

.team-a-layout .team-name {
  font-size: 1.15rem;
}

.team-a-layout .team-role {
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Row 2: Matt and Dakota spread out so the legs slope cleanly from Jim at the apex */
.team-a-row-2 {
  gap: calc(var(--tw) * 1.15);
}

/* Row 3: centers at +/- 2 steps, logo in the middle */
.team-a-row-3 {
  gap: calc(2 * var(--step) - var(--tw));
  align-items: center !important;
}

/* Row 4 (base): centers at +/- 3 steps */
.team-a-row-4 {
  gap: calc(6 * var(--step) - var(--tw));
}


.team-a-logo {
  flex: 0 0 var(--tw);
  width: var(--tw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.team-a-logo::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 55%, rgba(255, 255, 255, 0) 72%);
}

.team-a-logo img {
  position: relative;
  width: 62%;
  filter: drop-shadow(0 10px 18px rgba(79, 171, 189, 0.28));
  animation: teamLogoFloat 6s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .team-a-logo img { animation: none; }
}

/* Too narrow for the A: fall back to stacked, centered rows */
@media (max-width: 920px) {
  .team-a-layout .team-row {
    flex-wrap: wrap;
    gap: 1.5rem !important;
  }
  .team-a-layout .team-card {
    flex: 0 1 calc(50% - 0.75rem);
    width: auto;
    max-width: 300px;
  }
  .team-a-logo {
    display: none;
  }
}

@media (max-width: 580px) {
  .team-a-layout .team-card {
    flex: 0 1 100%;
    max-width: 360px;
  }
}

/* Modal Window for Assessment Scheduling */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 35, 0.55);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--navy-dark);
  border: 1px solid rgba(79, 171, 189, 0.35);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 42, 51, 0.15);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(20, 45, 55, 0.08);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--aspen-orange);
  color: #fff;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(20, 45, 55, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(79, 171, 189, 0.25);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 992px) {
  .main-nav, .header-actions {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: none;
  }
  .hero-section {
    padding: 3.5rem 0;
    min-height: auto;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  .stat-item::after {
    display: none !important;
  }
  .cta-box {
    padding: 2.25rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   ISPNexus Product Page
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nx-hero {
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.nx-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.nx-hero .page-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.nx-hero .page-title .gradient-text {
  font-size: 1.35em;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nx-hero-visual {
  position: relative;
}

.nx-hero-visual img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  animation: nxFloat 7s ease-in-out infinite;
}

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

.nx-vendor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.nx-vendor-chips li {
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--navy-card-border);
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.nx-vendor-chips li:hover {
  transform: translateY(-2px);
  border-color: var(--brand-teal);
}

.nx-vendor-chips .nx-chip-more {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
  color: var(--text-muted);
}

.nx-hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Generic section + typography */
.nx-section {
  padding: 5.5rem 0;
  background: var(--navy-darkest);
}

.nx-h2 {
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  font-weight: 500;
  color: var(--heading-teal);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.nx-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.nx-body strong {
  color: var(--text-white);
}

.nx-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.nx-stat {
  background: var(--navy-dark);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
}

.nx-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange-ink);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.nx-stat-value sup {
  font-size: 0.5em;
  font-weight: 700;
}

.nx-stat-teal {
  color: var(--teal-ink);
}

.nx-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.nx-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.nx-checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.nx-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(88, 182, 163, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232F7F70'%3E%3Cpath d='M12.736 3.97a.733.733 0 0 1 1.047 0c.286.289.29.756.01 1.05L7.88 12.01a.733.733 0 0 1-1.065.02L3.217 8.384a.757.757 0 0 1 0-1.06.733.733 0 0 1 1.047 0l3.052 3.093 5.4-6.425a.247.247 0 0 1 .02-.022Z'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.nx-framed-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-card-border);
  box-shadow: var(--shadow-lg);
}

.nx-plain-img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.nx-pill-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nx-pill-list li {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(79, 171, 189, 0.1);
  border: 1px solid rgba(79, 171, 189, 0.3);
  color: var(--cyan-ink);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Comparison table */
.nx-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-card-border);
  background: var(--navy-card);
  box-shadow: var(--shadow-md);
}

.nx-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.nx-compare th,
.nx-compare td {
  padding: 1.05rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--navy-card-border);
  color: var(--text-light);
}

.nx-compare tbody tr:last-child th,
.nx-compare tbody tr:last-child td {
  border-bottom: none;
}

.nx-compare thead th {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--navy-dark);
  vertical-align: bottom;
}

.nx-compare tbody th {
  font-weight: 500;
  color: var(--text-white);
  white-space: nowrap;
}

.nx-compare tbody tr {
  transition: background var(--transition-fast);
}

.nx-compare tbody tr:hover {
  background: rgba(79, 171, 189, 0.05);
}

.nx-compare .nx-col-feature {
  background: rgba(88, 182, 163, 0.09);
  color: var(--text-white);
  font-weight: 500;
}

.nx-compare thead .nx-col-feature {
  color: #ffffff;
  background: var(--brand-gradient);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nx-col-badge {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-bottom: 0.2rem;
}

.nx-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.nx-good { background: rgba(102, 178, 106, 0.18); color: #3E7F42; }
.nx-bad  { background: rgba(185, 61, 34, 0.12);  color: var(--brand-security); }
.nx-mid  { background: rgba(92, 108, 117, 0.12); color: var(--text-muted); }

/* Pricing */
.nx-billing-toggle {
  display: flex;
  width: max-content;
  margin: -1rem auto 3rem;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  background: var(--navy-dark);
  border: 1px solid var(--navy-card-border);
}

.nx-billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.nx-billing-btn:hover {
  color: var(--text-white);
}

.nx-billing-btn.active {
  background: #ffffff;
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.nx-save {
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 145, 77, 0.15);
  color: var(--orange-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.nx-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.nx-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 171, 189, 0.45);
}

.nx-price-featured {
  border: 2px solid var(--brand-teal);
  box-shadow: var(--shadow-lg);
}

.nx-price-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--brand-gradient-bar);
}

.nx-price-apex {
  background: linear-gradient(180deg, #f3f8f9 0%, #ffffff 60%);
}

.nx-popular {
  position: absolute;
  top: -0.85rem;
  right: 1.25rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--aspen-orange);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 16px var(--aspen-orange-glow);
}

.nx-tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-ink);
}

.nx-tier-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.35rem 0 1.25rem;
}

.nx-price {
  min-height: 3.25rem;
  display: flex;
  align-items: flex-end;
}

.nx-amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nx-amount.nx-swap {
  opacity: 0;
  transform: translateY(6px);
}

.nx-amount-text {
  font-size: 2rem;
}

.nx-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.45rem 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--navy-card-border);
}

.nx-includes {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.85rem;
}

.nx-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}

.nx-feature-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.nx-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-teal);
}

.nx-feature-list strong {
  color: var(--text-white);
  font-weight: 500;
}

.nx-price-cta {
  width: 100%;
  margin-top: auto;
}

/* Feature tabs */
.nx-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.nx-tab {
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--navy-card-border);
  background: var(--navy-card);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.nx-tab:hover {
  border-color: var(--brand-teal);
  transform: translateY(-2px);
}

.nx-tab.active {
  background: var(--teal-ink);
  border-color: var(--teal-ink);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(47, 127, 112, 0.25);
}

.nx-tab:focus-visible {
  outline: 3px solid rgba(79, 171, 189, 0.45);
  outline-offset: 2px;
}

.nx-panel.active {
  animation: nxFadeUp 0.35s ease;
}

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

.nx-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.nx-feature-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.nx-feature-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nx-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 171, 189, 0.45);
  box-shadow: var(--shadow-md);
}

.nx-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid transparent;
  border-image: var(--brand-gradient-bar) 1;
}

.nx-feature-mini h3 {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

.nx-feature-mini p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* ISPNexus responsive */
@media (max-width: 1100px) {
  .nx-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .nx-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nx-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nx-hero-visual img {
    max-width: 420px;
  }
  .nx-feature-grid-3 {
    grid-template-columns: 1fr;
  }
  .nx-reverse > div:first-child {
    order: 2;
  }
}

@media (max-width: 640px) {
  .nx-hero {
    padding: 3rem 0;
  }
  .nx-section {
    padding: 4rem 0;
  }
  .nx-pricing-grid,
  .nx-feature-grid,
  .nx-stat-grid {
    grid-template-columns: 1fr;
  }
  .nx-billing-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-hero-visual img,
  .nx-panel.active {
    animation: none;
  }
}
