:root {
  --bg-dark: #0a0f1d;
  --bg-card: rgba(16, 24, 48, 0.7);
  --bg-card-hover: rgba(22, 34, 68, 0.85);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-highlight: #38bdf8;
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 242, 254, 0.4);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-w: 1200px;
  --header-h: 72px;
}

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

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(79, 172, 254, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
}


a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-brand img, .nav-brand svg {
  height: 38px;
  width: auto;
}

.brand-subtitle {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: normal;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links-demo {
  display: flex;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-sm-nav {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  white-space: nowrap;
  min-height: 38px;
  border-radius: var(--radius-md);
}

/* Hamburger Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 110;
  color: var(--text-main);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: #0d1527;
  border-left: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

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

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

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  margin-bottom: 1.75rem;
}

.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid transparent;
  min-height: 46px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--border-subtle);
}

.mobile-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 1220px) {
  .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .btn-desktop-only {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .brand-subtitle {
    display: none !important;
  }
  .btn-text-long {
    display: none !important;
  }
  .nav-brand {
    font-size: 1.05rem;
  }
  .nav-brand img, .nav-brand svg {
    height: 32px;
  }
  .btn-sm-nav {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    min-height: 34px;
  }
  .mobile-toggle {
    width: 36px;
    height: 36px;
    padding: 7px;
  }
  .nav-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.btn-ghost-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
  min-height: 48px;
}

/* ==========================================================================
   Typography & Sections
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

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

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2.25rem;
  }
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-highlight);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

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

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.highlight-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Problem vs Solution
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 820px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.comp-box {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-subtle);
}

@media (max-width: 480px) {
  .comp-box {
    padding: 1.5rem 1.25rem;
  }
}

.comp-box.problem {
  background-color: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.2);
}

.comp-box.solution {
  background-color: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.08);
}

.comp-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.comp-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.comp-list li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 1rem;
  line-height: 1;
}

.comp-box.problem .comp-list li::before {
  content: '✕';
  color: #ef4444;
  font-weight: bold;
}

.comp-box.solution .comp-list li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
}

/* ==========================================================================
   Turnkey Municipal Groups Section
   ========================================================================== */
.groups-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 700px) {
  .groups-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
}

.groups-banner-icon {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}

.groups-banner-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.groups-banner-text p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.group-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.group-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-2px);
}

.group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.group-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.group-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.group-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.group-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.group-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Centralized Identity & Directory Box (Solutions focused)
   ========================================================================== */
.identity-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .identity-card {
    padding: 1.75rem 1.25rem;
  }
}

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

@media (max-width: 880px) {
  .identity-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.identity-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.identity-pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pillar-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Office Suite & Feature Grid
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

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

/* ==========================================================================
   Calculator Section
   ========================================================================== */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .calc-wrapper {
    padding: 1.5rem 1rem;
  }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.calc-badge-val {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 0.5rem 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
  border: 2px solid #0f172a;
}

input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
  border: 2px solid #0f172a;
}

.calc-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.preset-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.calc-spec-capsules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

@media (max-width: 540px) {
  .calc-spec-capsules {
    grid-template-columns: 1fr;
  }
}

.spec-capsule {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.spec-capsule-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.spec-capsule-val {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* Calculator Results Column */
.calc-results {
  background: rgba(10, 15, 29, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 480px) {
  .calc-results {
    padding: 1.5rem 1rem;
  }
}

.calc-metric-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.calc-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-metric-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.calc-total-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.calc-total-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.calc-total-amount {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
}

.calc-total-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.calc-annual-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.calc-annual-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 0.25rem;
}

.calc-annual-text {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* ==========================================================================
   Service Master Showcase (#paquetes)
   ========================================================================== */
.service-master-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 960px) {
  .service-master-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.service-hero-panel {
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.95) 0%, rgba(13, 21, 39, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
  .service-hero-panel {
    padding: 2rem 1.25rem;
  }
}

.service-scope-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .service-scope-panel {
    padding: 1.75rem 1.25rem;
  }
}

.scope-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.scope-category-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.scope-cat-icon {
  font-size: 1.85rem;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.scope-category-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.scope-category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Roadmap/Fase 2 Section
   ========================================================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.roadmap-card {
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.75) 0%, rgba(13, 21, 39, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.roadmap-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.roadmap-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.15);
  color: var(--text-highlight);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.roadmap-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.roadmap-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

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

/* ==========================================================================
   Live Demo Banner & Callout
   ========================================================================== */
.demo-banner {
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.15) 0%, rgba(10, 15, 29, 0.8) 100%), var(--bg-card);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.1);
}

@media (max-width: 600px) {
  .demo-banner {
    padding: 2rem 1.25rem;
  }
}

.demo-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.demo-banner p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.credentials-box {
  display: inline-flex;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-family: monospace;
  font-size: 1.05rem;
  flex-wrap: wrap;
  justify-content: center;
}

.credentials-box span strong {
  color: var(--accent-cyan);
}


.demo-guide-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .demo-guide-hero {
    padding: 2.5rem 0 1.5rem;
  }
}

.demo-alert-banner {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .demo-alert-banner {
    flex-direction: column;
    padding: 1.25rem;
  }
}

.demo-alert-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.demo-alert-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.4rem;
}

.demo-alert-desc {
  font-size: 0.92rem;
  color: #fde68a;
  line-height: 1.55;
}

.demo-access-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 3.5rem;
}

@media (max-width: 480px) {
  .demo-access-card {
    padding: 1.5rem 1rem;
  }
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
  text-align: left;
}

.credential-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.credential-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.credential-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: monospace;
}

.guide-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}

@media (max-width: 600px) {
  .guide-step-card {
    flex-direction: column;
    padding: 1.5rem 1.25rem;
  }
}

.guide-step-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
}

.guide-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}

.guide-step-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.guide-step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.guide-step-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.guide-tag {
  background: rgba(2, 132, 199, 0.2);
  color: var(--text-highlight);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #060913;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

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

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  display: inline-block;
  min-height: 36px;
  line-height: 36px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* ==========================================================================
   Technical Sovereignty & Architecture Landing Page
   ========================================================================== */
.tech-hero {
  padding-bottom: 2.5rem;
}

.tech-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

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

@media (max-width: 640px) {
  .tech-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 420px) {
  .tech-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.tech-metric-card {
  background: rgba(13, 21, 39, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tech-metric-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.metric-num {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tech-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (max-width: 820px) {
  .tech-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.tech-detail-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.tech-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tech-checklist li {
  position: relative;
  padding-left: 1.5rem;
}

.tech-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.tech-code-badge {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  font-family: monospace;
  font-size: 0.85rem;
  color: #38bdf8;
}

.tech-code-badge code {
  display: block;
}

.tech-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 680px;
}

.tech-table th {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid var(--border-subtle);
}

.tech-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  line-height: 1.5;
}

.status-badge-ok {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.82rem;
}

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

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

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

.zone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.zone-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-3px);
}

.zone-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.zone-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.zone-card h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.zone-city {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.zone-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.zone-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: monospace;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
