/* landing.css — Estilo visual premium y oscuro para finopshub.es */

:root {
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Grafito y Platino Palette (Zinc Scale) */
  --bg-darker: #09090B;
  --bg-dark: #18181B;        /* Canvas Base */
  --bg-card: #27272A;        /* Tarjetas / Superficie */
  --bg-card-hover: #3F3F46;  /* Elevado / Hover */

  /* Tipografía & Contraste */
  --text-main: #F4F4F5;      /* Blanco Platino (Títulos, Cifras) */
  --text-muted: #A1A1AA;     /* Gris medio (Descripciones, Ejes) */
  --text-dark: #71717A;      /* Gris Zinc (Muted) */
  --text-on-card: #F4F4F5;

  /* CTAs & Accents: Índigo Corporativo (#4F46E5) */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-glow: rgba(79, 70, 229, 0.30);

  --teal: #6366F1;
  --teal-glow: rgba(99, 102, 241, 0.30);

  /* Colores Semánticos (FinOps) */
  --green: #10B981;
  --amber: #F59E0B;
  --amber-glow: rgba(245, 158, 11, 0.20);

  --border-color: #3F3F46;
  --border-light: #52525B;
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #18181B;
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
                    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-600 {
  max-width: 680px !important;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(24, 24, 27, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #3F3F46;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  color: #F4F4F5;
}

.logo svg {
  color: var(--teal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border: none;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.30);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.40);
}

.btn-secondary {
  background-color: #27272A;
  color: #F4F4F5 !important;
  border: 1px solid #3F3F46;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
}

.btn-secondary:hover {
  background-color: #3F3F46;
  border-color: #52525B;
  color: #FFFFFF !important;
}

.nav-btn {
  background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
  color: #FFFFFF !important;
  padding: 8px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.25);
}

.nav-btn:hover {
  background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* Hero Section (now below) */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 240, 201, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 80%, rgba(160, 196, 255, 0.10) 0%, transparent 55%);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #F4F4F5;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-subtext {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}

.pulse-animation {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.badge-new {
  display: inline-block;
  background-color: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.2);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

/* Stats Section Styling - Barra Flotante Unificada */
.stats-section {
  padding: 20px 0 60px 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(12px);
}

.stat-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #3F3F46;
}

.stat-item:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.stat-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: #F4F4F5;
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-item span {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #A1A1AA;
}

@media (max-width: 768px) {
  .stats-grid {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }
}

/* Glassmorphism Dashboard Simulation */
.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-dashboard {
  width: 100%;
  max-width: 480px;
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.40);
  overflow: hidden;
}

.dashboard-header {
  background-color: #18181B;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #3F3F46;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #eab308; }
.dot.green { background-color: #22c55e; }

.dash-title {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.dashboard-body {
  padding: 20px;
}

.dash-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.dash-card {
  background: #3F3F46;
  border: 1px solid #52525B;
  border-radius: 8px;
  padding: 12px;
}

.dash-card.border-amber {
  border-left: 3px solid var(--amber);
}

.dash-card span {
  display: block;
  font-size: 9px;
  color: #A1A1AA;
  margin-bottom: 4px;
}

.dash-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: #F4F4F5;
}

.dash-trend {
  display: block;
  font-size: 8px;
  margin-top: 4px;
}

.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-teal { color: var(--teal); }
.text-red { color: #ef4444; }

.dash-chart-placeholder {
  background: #3F3F46;
  height: 120px;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  justify-content: center;
}

.chart-bar {
  width: 28px;
  background: linear-gradient(to top, var(--primary), var(--teal));
  border-radius: 4px;
  opacity: 0.85;
}

/* Features Section */
/* Premium Features Section & Cards */
.features-section {
  padding: 120px 0;
  position: relative;
  background: transparent;
  background-image:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255, 240, 201, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(160, 196, 255, 0.06) 0%, transparent 55%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  color: #F4F4F5;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 24px;
  padding: 40px 32px 32px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 490px;
  color: #F4F4F5;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.30);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.10) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #4F46E5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  background: #3F3F46;
}


.feature-card:hover::before {
  opacity: 1;
}

/* Card Icons */
.icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1) rotate(2deg);
}

.icon-wrapper.bg-blue { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.icon-wrapper.bg-purple { background-color: rgba(168, 85, 247, 0.15); color: #a855f7; }
.icon-wrapper.bg-teal { background-color: rgba(20, 184, 166, 0.15); color: #14b8a6; }
.icon-wrapper.bg-red { background-color: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* Card Themes */
.feature-card.blue-theme {
  --card-glow: rgba(59, 130, 246, 0.08);
  --card-glow-shadow: rgba(59, 130, 246, 0.08);
}

.feature-card.purple-theme {
  --card-glow: rgba(168, 85, 247, 0.08);
  --card-glow-shadow: rgba(168, 85, 247, 0.08);
}

.feature-card.red-theme {
  --card-glow: rgba(239, 68, 68, 0.08);
  --card-glow-shadow: rgba(239, 68, 68, 0.08);
}

.feature-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #F4F4F5;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14.5px;
  color: #A1A1AA;
  line-height: 1.6;
}

/* Mini Showcase Visuals inside Cards */
.mini-visual-showcase {
  margin-top: 32px;
  background: #3F3F46;
  border: 1px solid #52525B;
  border-radius: 14px;
  padding: 18px;
  height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.3s ease;
}

.feature-card:hover .mini-visual-showcase {
  border-color: rgba(79, 70, 229, 0.40);
}

/* Visibilidad Real visual */
.mini-chart-bar-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 70px;
  justify-content: center;
}

.mini-chart-bar {
  width: 24px;
  background: var(--color, var(--primary));
  border-radius: 6px 6px 0 0;
  animation: growBar 1.5s ease-out forwards;
  transform-origin: bottom;
  opacity: 0.90;
  position: relative;
}

.mini-chart-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.15), transparent);
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.mini-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid #52525B;
  padding-top: 8px;
}

/* Terminal visual */
.mini-visual-showcase.terminal {
  font-family: monospace;
  padding: 14px;
  background: #09090B;
  color: #F4F4F5;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.t-dot.red { background-color: #ef4444; }
.t-dot.yellow { background-color: #eab308; }
.t-dot.green { background-color: #22c55e; }

.t-title {
  color: #94A3B8;
  font-size: 9.5px;
  margin-left: 6px;
}

.terminal-body {
  font-size: 11px;
  line-height: 1.5;
}

/* Policy compliance visual */
.mini-visual-showcase.policy-box {
  gap: 10px;
  justify-content: center;
  background: #3F3F46;
}

.policy-item {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  padding: 8px 12px;
  background: #27272A;
  border-radius: 8px;
  border: 1px solid #52525B;
  color: var(--text-muted);
}

.policy-item.passed {
  border-left: 3px solid var(--green);
}

.policy-item.warning {
  border-left: 3px solid var(--amber);
}

/* Calculator Section */
.calculator-section {
  padding: 100px 0;
  position: relative;
  background-image: radial-gradient(circle at 10% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
}

.calculator-card {
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-cols: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

.calc-content h2 {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 850;
  color: #F4F4F5;
  margin-bottom: 16px;
}

.calc-content h2 span {
  color: var(--teal);
}

.calc-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.maturity-selector {
  margin-bottom: 28px;
}

.maturity-selector .label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.maturity-options {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.maturity-btn {
  flex: 1;
  padding: 10px 16px;
  background-color: #3F3F46;
  border: 1px solid #52525B;
  border-radius: 8px;
  color: #A1A1AA;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.maturity-btn:hover {
  border-color: #4F46E5;
  color: #F4F4F5;
}

.maturity-btn.active {
  background-color: rgba(79, 70, 229, 0.20);
  border-color: #4F46E5;
  color: #818CF8;
}

.slider-wrapper {
  margin-top: 24px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.spend-val {
  color: #6366F1;
  font-size: 18px;
  font-family: var(--font-title);
}

.custom-slider {
  width: 100%;
  height: 6px;
  background: #3F3F46;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4F46E5;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
  transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result {
  background-color: #18181B;
  border: 1px solid #3F3F46;
  border-radius: 16px;
  padding: 32px;
}

.result-box {
  text-align: center;
  border-bottom: 1px solid #3F3F46;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.result-box span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.result-box h2 {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  color: #6366F1;
  margin: 6px 0;
}

.result-box p {
  font-size: 11px;
  color: #A1A1AA;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-muted);
}

.detail-row strong {
  color: #F4F4F5;
}

.w-full {
  width: 100% !important;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background-color: #18181B;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 20px;
  padding: 40px;
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

.pricing-card.premium {
  border-color: #4F46E5;
  background: radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.12) 0%, #27272A 70%);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #4F46E5;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}

.price-header h3 {
  font-family: var(--font-title);
  font-size: 22px;
  margin-bottom: 8px;
  color: #F4F4F5;
}

.price-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  height: 40px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 32px;
}

.price strong {
  font-family: var(--font-title);
  font-size: 40px;
  color: #F4F4F5;
}

.price span {
  font-size: 13px;
  color: #A1A1AA;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.price-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features svg {
  shrink: 0;
}

/* Contact Form Section */
.contact-section {
  padding: 100px 0;
}

.contact-form {
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

.form-row {
  display: grid;
  grid-template-cols: 1fr 1fr;
  gap: 20px;
}

.label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.input {
  width: 100%;
  padding: 10px 14px;
  background-color: #18181B;
  border: 1px solid #3F3F46;
  border-radius: 8px;
  color: #F4F4F5;
  outline: none;
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: all 0.2s ease;
}

.input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-status {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* Footer */

.final-cta-section {
  padding: 160px 0 80px 0;
  position: relative;
}

.cta-banner {
  background: linear-gradient(135deg, #27272A, #18181B);
  border: 1px solid rgba(79, 70, 229, 0.35);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.50);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: #F4F4F5;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-banner-actions {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  position: relative;
  z-index: 1;
}

.cta-benefits li {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .cta-benefits {
    flex-direction: column;
    gap: 12px;
  }
}

/* Footer styling */
.footer {
  background-color: #09090B;
  border-top: 1px solid #3F3F46;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-cols: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.logo-white {
  color: #F4F4F5;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-grid h4 {
  font-family: var(--font-title);
  font-size: 14px;
  text-transform: uppercase;
  color: #F4F4F5;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}

.footer-grid ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #3F3F46;
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: #A1A1AA;
}

/* Mobile responsive styling */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-cols: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .calculator-card {
    grid-template-cols: 1fr;
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    color: #F4F4F5;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #27272A;
    border-bottom: 1px solid #3F3F46;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
  }
  .nav-menu.show {
    display: flex;
  }
  .form-row {
    grid-template-cols: 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-cols: 1fr 1fr;
    gap: 32px;
  }
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
  .maturity-options {
    flex-direction: column;
    gap: 8px;
  }

  /* Pricing Carousel Mobile Optimizations */
  .pricing-carousel-wrapper {
    display: block;
    position: relative;
    padding: 0 32px;
    width: 100%;
  }

  .pricing-carousel-container {
    padding: 24px 0px;
  }

  .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    z-index: 12;
  }

  .carousel-control.prev {
    left: 8px;
  }

  .carousel-control.next {
    right: 8px;
  }
}

/* Legal page styling */
.legal-section {
  padding: 140px 0 80px;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.40);
}
@media (max-width: 768px) {
  .legal-content {
    padding: 24px;
  }
}
.legal-content h1 {
  font-family: var(--font-title);
  font-size: 36px;
  color: #F4F4F5;
  margin-bottom: 8px;
}
.legal-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  border-bottom: 1px solid #3F3F46;
  padding-bottom: 16px;
}
.legal-content h2 {
  font-family: var(--font-title);
  font-size: 20px;
  color: #F4F4F5;
  margin-top: 32px;
  margin-bottom: 16px;
}
.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}
.legal-content ul {
  list-style-type: none;
  margin-bottom: 20px;
  padding-left: 8px;
}
.legal-content ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 15px;
}
.legal-content ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--teal);
  font-weight: bold;
}

/* FAQ Section styling */
.faq-section {
  padding: 100px 0;
  background-color: #18181B;
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.faq-item {
  background-color: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

.faq-item:hover {
  border-color: #52525B;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: #F4F4F5;
  font-family: var(--font-title);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item.active {
  background-color: #3F3F46;
  border-color: #4F46E5;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* enough space for content */
  padding-bottom: 24px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #6366F1;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Pricing Calculator Widget & 5 Tiers styling */
.pricing-calculator-card {
  background-color: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-cols: 1.2fr 0.8fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 48px auto;
  align-items: center;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .pricing-calculator-card {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
}

.pricing-calculator-inputs h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: #F4F4F5;
  margin-bottom: 8px;
}

.pricing-calculator-inputs p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.calc-control {
  margin-bottom: 20px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.calc-highlight {
  color: var(--teal);
  font-family: var(--font-title);
  font-size: 16px;
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dark);
  margin-top: 4px;
}

.pricing-calculator-results {
  background-color: #18181B;
  border: 1px solid #3F3F46;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
}

.small-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
}

.tier-badge {
  display: inline-block;
  background-color: rgba(79, 70, 229, 0.20);
  color: #818CF8;
  border: 1px solid #4F46E5;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-top: 8px;
}

.dynamic-price {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: #F4F4F5;
  line-height: 1;
  margin-top: 8px;
}

.dynamic-price .currency {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

#calcRateExplanation {
  font-size: 12px;
  color: var(--text-dark);
  margin-top: -8px;
}

.pricing-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pricing-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 24px 50px;
}

.pricing-grid-5 {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  width: max-content;
}

.tier-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  flex: 0 0 320px;
  opacity: 0.6;
  transform: scale(0.92);
}

@media (max-width: 480px) {
  .tier-card {
    flex: 0 0 230px;
    padding: 16px;
    border-radius: 12px;
  }
  .tier-card .tier-badge-top {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .tier-card .tier-spend {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .tier-card .tier-price {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .tier-card .tier-price strong {
    font-size: 24px;
  }
  .tier-card .tier-price span {
    font-size: 11px;
  }
  .tier-card .tier-desc {
    font-size: 11.5px;
    margin-bottom: 12px;
    min-height: 80px;
    line-height: 1.35;
  }
  .tier-card .tier-features-list {
    gap: 6px;
  }
  .tier-card .tier-features-list li {
    font-size: 11px;
  }
}

.tier-card:not(.active-slide):hover {
  opacity: 0.6;
  transform: scale(0.95);
  border-color: var(--border-light);
}

.tier-card.active-slide {
  opacity: 1;
  transform: scale(1.04);
  border-color: #6366F1;
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.18);
}

.tier-card.enterprise-tier.active-slide {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.popular-indicator {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--teal);
  color: var(--bg-darker);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-badge-top {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.tier-spend {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.tier-price strong {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: #1E293B;
}

.tier-price span {
  font-size: 12px;
  color: var(--text-dark);
}

.tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 80px;
  height: auto;
}

.tier-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.tier-features-list li {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tier-features-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: bold;
}

.tier-card.enterprise-tier .tier-features-list li::before {
  color: var(--primary);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .calc-results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.dynamic-price.text-green {
  color: var(--green);
}

.carousel-control {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  outline: none;
  flex-shrink: 0;
}

.carousel-control:hover {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--bg-darker);
  box-shadow: 0 0 12px var(--teal-glow);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
}



