/* ==========================================================================
   REGISTRADOR.CL - Design System & Modern Stylesheet
   Architecture: Modular CSS Variables, Glassmorphism, Fluid Typography, Zero-CLS
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #0B0F19;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-input: #1F2937;
  --bg-accent-subtle: rgba(16, 185, 129, 0.08);

  /* Primary Brand (Emerald Green - Registrador) */
  --primary: #10B981;
  --primary-light: #34D399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.25);

  /* Secondary Brand (Cyan / Electric Sky - AlertaPrecios) */
  --secondary: #06B6D4;
  --secondary-light: #38BDF8;
  --secondary-dark: #0891B2;
  --secondary-glow: rgba(6, 182, 212, 0.25);

  /* Neutrals & Typography */
  --text-main: #F9FAFB;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #10B981;
  --border-cyan: rgba(6, 182, 212, 0.4);

  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px var(--primary-glow);
  --shadow-glow-cyan: 0 0 25px var(--secondary-glow);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  scroll-padding-top: calc(72px + 1.25rem);
  max-width: 100%;
  overflow-x: hidden;
}

section[id],
div[id="dominios"] {
  scroll-margin-top: calc(72px + 1.25rem);
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessible focus styling */
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

/* Link Resets */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Background Ambient Gradients
   ========================================================================== */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

/* ==========================================================================
   Top Notification Banner
   ========================================================================== */
.top-ticker {
  background: linear-gradient(90deg, #064E3B 0%, #0F172A 50%, #083344 100%);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.84rem;
  padding: 0.45rem 1rem;
  text-align: center;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-light);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.top-ticker a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(11, 15, 25, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-logo .brand-highlight {
  color: var(--primary);
  text-shadow: 0 0 16px var(--primary-glow);
}

.brand-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.currency-toggle {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem;
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
}

.currency-btn {
  background: transparent;
  border: none;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-dim);
  transition: all var(--transition-fast);
}

.currency-btn.active {
  background: var(--primary);
  color: #042F2E;
  box-shadow: 0 0 10px var(--primary-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-size: 0.92rem;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #042F2E;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
  color: #02201E;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #04232C;
  font-weight: 700;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.45);
}

.btn-blue {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.55);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.84rem;
}

.btn.loading {
  opacity: 0.75;
  cursor: wait !important;
  pointer-events: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section & Search Box
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 4rem;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
  max-width: 100%;
}

@media (max-width: 580px) {
  .hero-pill {
    font-size: 0.76rem;
    padding: 0.3rem 0.75rem;
    gap: 0.45rem;
    line-height: 1.35;
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 950px;
  margin: 0 auto 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Domain Search Interactive Bar */
.domain-search-box {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.domain-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.domain-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.search-icon-wrapper {
  padding-left: 0.75rem;
  color: var(--primary-light);
}

.domain-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  color: var(--text-main);
  padding: 0.75rem 0.5rem;
  outline: none;
}

.domain-input::placeholder {
  color: var(--text-dim);
}

.tld-selector {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.domain-btn {
  padding: 0.8rem 1.6rem;
  white-space: nowrap;
}

/* TLD Promo Tags */
.tld-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tld-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tld-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.tld-chip .tld-ext {
  font-weight: 700;
  color: var(--text-main);
}

.tld-chip .tld-price {
  color: var(--primary-light);
  font-weight: 600;
}

.tld-chip .tld-old {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Rate Limit Message in Search */
.rate-limit-notice {
  display: none;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FCD34D;
  font-size: 0.85rem;
  text-align: left;
}

.rate-limit-notice.active {
  display: block;
}

/* Tri-Pillar Gateway Hero Cards */
.hero-gateways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.gateway-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gateway-card.gateway-cyan::before {
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.gateway-card.gateway-blue::before {
  background: linear-gradient(90deg, transparent, #3B82F6, transparent);
}

.gateway-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gateway-card:hover::before {
  opacity: 1;
}

.gateway-audience {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
  width: fit-content;
}

.audience-b2b {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.audience-retail {
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.audience-b2c {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.gateway-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.gateway-card.gateway-cyan .gateway-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary-light);
}

.gateway-card.gateway-blue .gateway-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

.gateway-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gateway-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.gateway-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.gateway-features li {
  font-size: 0.86rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gateway-features li svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

.gateway-card.gateway-cyan .gateway-features li svg {
  color: var(--secondary-light);
}

.gateway-card.gateway-blue .gateway-features li svg {
  color: #60A5FA;
}

.gateway-footer {
  margin-top: auto;
}

/* Endorsement & Third-Party Badges */
.endorsed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--primary-light);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-tag.tag-cyan {
  color: var(--secondary-light);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Interactive Services Tab Switcher
   ========================================================================== */
.tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .tabs-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0.25rem 0.65rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .tab-btn {
    white-space: nowrap;
    padding: 0.6rem 1.1rem;
    font-size: 0.86rem;
  }
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: var(--primary);
  color: #042F2E;
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--secondary-light);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.service-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.service-price strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-light);
}

/* ==========================================================================
   Spotlight Section: AlertaPrecios SaaS
   ========================================================================== */
.alertaprecios-spotlight {
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.04) 0%, rgba(11, 15, 25, 0.9) 100%);
  border-top: 1px solid var(--border-cyan);
  border-bottom: 1px solid var(--border-light);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.spotlight-content h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.spotlight-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}

.feature-checklist {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.feature-checklist li svg {
  color: var(--secondary-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Interactive Telegram Mockup */
.mockup-phone {
  background: #0F172A;
  border: 2px solid #334155;
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(6, 182, 212, 0.15);
  max-width: 420px;
  margin: 0 auto;
}

.telegram-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #1E293B;
  margin-bottom: 1rem;
}

.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7, #06B6D4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFF;
}

.bot-info {
  flex: 1;
}

.bot-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.bot-status {
  font-size: 0.75rem;
  color: #38BDF8;
}

.telegram-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 240px;
}

.tg-bubble {
  background: #1E293B;
  border-radius: 14px 14px 14px 2px;
  padding: 0.85rem;
  font-size: 0.85rem;
  border-left: 3px solid var(--secondary);
  animation: slideBubble 0.4s ease;
}

@keyframes slideBubble {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tg-bubble .alert-title {
  color: #38BDF8;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tg-bubble .store-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #FFF;
}

.tg-bubble .product-name {
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 0.4rem;
}

.tg-bubble .price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tg-bubble .current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #34D399;
}

.tg-bubble .old-price {
  text-decoration: line-through;
  color: #64748B;
  font-size: 0.85rem;
}

.tg-bubble .discount-pill {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.tg-time {
  font-size: 0.68rem;
  color: #64748B;
  text-align: right;
  display: block;
}

.mockup-controls {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

/* Spotlight Actions */
.spotlight-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 580px) {
  .spotlight-actions {
    flex-direction: column;
    width: 100%;
  }
  .spotlight-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Pricing Section (AlertaPrecios & Infrastructure)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow-cyan);
  background: rgba(15, 23, 42, 0.85);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #04232C;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.plan-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
}

.plan-price span {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Trust, Security & SLA Grid
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: all var(--transition-smooth);
}

.trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.trust-card.trust-cyan {
  border-color: rgba(6, 182, 212, 0.22);
}

.trust-card.trust-cyan:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15);
}

.trust-card.trust-cyan .trust-number {
  color: var(--secondary-light);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.trust-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.trust-label {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.trust-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* ==========================================================================
   SecOps Reinforced Contact Form
   ========================================================================== */
.contact-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  overflow: hidden;
}

#secops-contact-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group.full-width {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-label span.req {
  color: var(--primary-light);
  font-weight: 700;
}

.form-label .optional-hint {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-main);
  outline: none;
  font-size: 0.95rem;
  min-height: 48px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

select.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

select.form-control option {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

textarea.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 110px;
  resize: vertical;
}

@media (max-width: 768px) {
  .form-control {
    font-size: 1rem; /* Crucial: 16px prevents iOS Safari automatic viewport zooming on focus */
  }
}

@media (max-width: 640px) {
  .contact-wrap {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.form-control.error {
  border-color: var(--error);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.field-error-msg {
  color: var(--error);
  font-size: 0.78rem;
  display: none;
  margin-top: 0.25rem;
  word-break: break-word;
}

.field-error-msg.visible {
  display: block;
}

/* Honeypot Trap (Completely hidden to humans) */
.secops-trap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

/* Security Badge inside Form */
.secops-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
}

.secops-notice svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Toast Notifications System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #1E293B;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  color: #FFF;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 380px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

.toast.error {
  border-left: 4px solid var(--error);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #070B12;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Mobile Nav Responsive Drawer & Layout Adaptations
   ========================================================================== */
.mobile-nav-actions {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 960px) {
  .hero-gateways {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 868px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-nav-actions {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .top-ticker {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
    gap: 0.5rem;
  }

  .domain-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .search-icon-wrapper {
    display: none;
  }

  .domain-input {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
  }

  .tld-selector,
  .domain-btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .nav-actions .btn-cyan,
  .brand-badge {
    display: none;
  }
}
