/* ==========================================================================
   HEALTECH SYSTEM PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* Theme Variables (HSL Based) */
:root {
  /* Dark Theme Default */
  --bg-primary: hsl(220, 24%, 6%);
  --bg-secondary: hsl(220, 20%, 10%);
  --bg-glass: rgba(15, 22, 36, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --text-primary: hsl(0, 0%, 94%);
  --text-secondary: hsl(220, 12%, 70%);
  --text-muted: hsl(220, 10%, 48%);
  
  --color-primary: hsl(220, 85%, 55%); /* Blue */
  --color-primary-hover: hsl(220, 90%, 62%);
  --color-secondary: hsl(265, 80%, 62%); /* Violet */
  --color-success: hsl(150, 75%, 42%); /* Green */
  --color-orange: hsl(25, 90%, 55%); /* Orange */
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  
  --orb-gradient-1: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  --orb-gradient-2: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  --orb-gradient-3: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

[data-theme="light"] {
  /* Light Theme */
  --bg-primary: hsl(210, 20%, 98%);
  --bg-secondary: hsl(210, 16%, 94%);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(0, 0, 0, 0.08);
  
  --text-primary: hsl(220, 24%, 12%);
  --text-secondary: hsl(220, 12%, 35%);
  --text-muted: hsl(220, 10%, 50%);
  
  --color-primary: hsl(220, 90%, 48%);
  --color-primary-hover: hsl(220, 95%, 40%);
  --color-secondary: hsl(265, 75%, 50%);
  --color-success: hsl(150, 80%, 35%);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  
  --orb-gradient-1: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  --orb-gradient-2: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  --orb-gradient-3: radial-gradient(circle, rgba(16, 185, 129, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.positive { color: var(--color-success) !important; }
.accent-text { color: var(--color-primary); }

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   GLOWING ORBS EFFECTS
   ========================================================================== */
.orb-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--orb-gradient-1);
  top: -100px;
  right: -100px;
  animation: floatOrb1 25s infinite alternate ease-in-out;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--orb-gradient-2);
  top: 300px;
  left: -150px;
  animation: floatOrb2 20s infinite alternate ease-in-out;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--orb-gradient-3);
  bottom: 10%;
  right: 5%;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, 80px); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, -60px); }
}

/* ==========================================================================
   GLASS CARDS
   ========================================================================== */
.glass-card {
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.shadow-deep {
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-success {
  background-color: var(--color-success);
  color: white;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.4);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 22, 36, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

.sun-icon { display: none; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 160px 0 100px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tagline-container {
  margin-bottom: 20px;
}

.tagline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.badge {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-icon {
  color: var(--color-success);
  font-weight: 800;
}

/* Hero Windows Simulation */
.hero-graphic {
  position: relative;
}

.premium-window {
  background-color: hsl(220, 20%, 8%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.window-header {
  background-color: hsl(220, 20%, 5%);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.window-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 12px;
  font-weight: 500;
}

.window-body {
  padding: 0;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 380px;
}

.db-sidebar {
  background-color: hsl(220, 20%, 6%);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-item {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.db-item.active {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
}

.db-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.db-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.db-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.db-card-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.db-card-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}

.db-card-trend {
  font-size: 10px;
  color: var(--text-muted);
}

.db-card-trend.positive {
  color: var(--color-success);
}

.db-chart-container {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  flex-grow: 1;
}

.db-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-bottom: 20px;
}

.badge-active {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
  padding: 3px 8px;
  border-radius: 50px;
  font-weight: 600;
}

.db-chart-mock {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 120px;
  padding: 0 10px;
}

.chart-bar {
  width: 12%;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-radius: 6px 6px 0 0;
  transition: height 1s ease;
}

/* ==========================================================================
   ECOSYSTEM VISUAL FLOW DIAGRAM
   ========================================================================== */
.ecosystem-section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 64px;
}

/* Ecosystem Flowchart */
.ecosystem-flow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0 140px;
}

.eco-node {
  background-color: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  width: 280px;
  text-align: center;
  position: relative;
  z-index: 5;
  transition: all 0.4s ease;
}

.eco-node.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.25);
  transform: translateY(-8px);
}

.eco-node-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.eco-node h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.eco-node p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.eco-connector {
  flex-grow: 1;
  height: 2px;
  background-color: var(--border-glass);
  position: relative;
  z-index: 1;
}

.eco-node.active + .eco-connector,
.eco-connector.active {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.pulse {
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 0;
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulseFlow 4s infinite linear;
}

@keyframes pulseFlow {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.service-bridge-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  text-align: left;
}

.service-bridge-icon {
  font-size: 32px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-orange);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.service-bridge-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.service-bridge-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   TABS & MÓDULOS DE SISTEMAS
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.tabs-header-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  margin-bottom: 40px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

.tab-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.pane-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  margin-bottom: 16px;
  display: inline-block;
}

.pane-tag.text-purple { color: var(--color-secondary); }
.pane-tag.text-pink { color: hsl(330, 85%, 60%); }
.pane-tag.text-blue { color: var(--color-primary); }
.pane-tag.text-green { color: var(--color-success); }
.pane-tag.text-orange { color: var(--color-orange); }

.tab-text h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.tab-text p {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "✓";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: 800;
}

.feature-list li strong {
  color: var(--text-primary);
}

/* Feature Preview Visuals */
.border-purple { border-color: rgba(124, 58, 237, 0.2) !important; }
.border-pink { border-color: rgba(244, 63, 94, 0.2) !important; }
.border-blue { border-color: rgba(37, 99, 235, 0.2) !important; }
.border-green { border-color: rgba(16, 185, 129, 0.2) !important; }
.border-orange { border-color: rgba(249, 115, 22, 0.2) !important; }

.feature-card {
  padding: 36px;
  text-align: center;
}

.feature-card .card-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.mini-table {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-table .tr {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-table .tr:last-child {
  border-bottom: none;
}

.mini-stat-card {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-stat-card span {
  font-size: 11px;
  color: var(--text-muted);
}

.mini-stat-card strong {
  font-size: 22px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
}

.invoice-box-preview {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  border-left: 4px solid var(--color-success);
}

.invoice-box-preview .title {
  font-size: 12px;
  font-weight: 700;
  display: block;
}

.invoice-box-preview .cuit {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.invoice-box-preview .total {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.guarantee-box {
  background-color: rgba(249, 115, 22, 0.1);
  border: 1px dashed var(--color-orange);
  border-radius: 12px;
  padding: 16px;
}

.guarantee-box strong {
  color: var(--color-orange);
  font-size: 16px;
  display: block;
}

.guarantee-box span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Tasteful Tab Image Container */
.tab-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
  width: 100%;
}

.tab-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9) contrast(1.02);
}

[data-theme="dark"] .tab-image-container img {
  filter: brightness(0.75) contrast(1.08) saturate(0.85);
}

.tab-image-container:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.calc-selector {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.calc-type-btn {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calc-type-btn.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.calc-card {
  padding: 40px;
}

.calc-card h3 {
  font-size: 20px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.badge-value {
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--color-primary);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* Slider Custom Styling */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: var(--border-glass);
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-top: 32px;
}

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

.result-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.result-value {
  font-size: 28px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 4px;
}

.result-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   ROADMAPS
   ========================================================================== */
.roadmaps-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.roadmap-card {
  text-align: left;
  padding: 36px;
  position: relative;
}

.roadmap-badge-active {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.roadmap-badge-active.bg-green {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--color-success);
}

.roadmap-card h3 {
  font-size: 18px;
  margin-bottom: 24px;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roadmap-list li {
  padding-left: 28px;
  position: relative;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.roadmap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--border-glass);
  border: 2px solid var(--bg-secondary);
}

.roadmap-list li.done {
  color: var(--text-primary);
}

.roadmap-list li.done::before {
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.roadmap-list li.active {
  color: var(--text-primary);
  font-weight: 600;
}

.roadmap-list li.active::before {
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

.roadmap-list li.pending {
  color: var(--text-muted);
}

.roadmap-list li.pending::before {
  background-color: var(--border-glass);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.info-blocks {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-block {
  display: flex;
  gap: 16px;
  align-items: center;
}

.info-icon {
  font-size: 24px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-block strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.info-block span,
.contact-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lead-form input,
.lead-form select {
  background-color: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--color-primary);
}

.form-group-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px !important;
}

/* Form Success State */
.hidden { display: none !important; }

.form-success-state {
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-success);
  color: white;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success-state h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.form-success-state p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: hsl(220, 24%, 3%);
  border-top: 1px solid var(--border-glass);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 400px;
}

.footer-links h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (FLAWLESS VIEW ON ALL SCREEN SIZES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-title { font-size: 40px; }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  
  .ecosystem-flow-container {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 180px;
  }
  
  .eco-connector {
    width: 2px;
    height: 40px;
  }
  
  .pulse {
    top: 0;
    left: -4px;
    animation: pulseFlowVertical 4s infinite linear;
  }
  
  @keyframes pulseFlowVertical {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Mobile Menu will handle this in JS */
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 9px;
  }
  
  .brand-name {
    font-size: 20px;
  }
  
  .service-bridge-card {
    width: calc(100% - 48px);
  }
  
  .tabs-header-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .form-group-2 { grid-template-columns: 1fr; }
  
  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  
  .brand-name {
    font-size: 18px;
  }
  
  .service-bridge-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 20px;
  }
  
  .service-bridge-icon {
    margin: 0 auto;
  }
  
  .tabs-header-container {
    grid-template-columns: 1fr;
  }
  
  .calc-results {
    grid-template-columns: 1fr;
  }
}
