@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Prevenir zoom y mejorar experiencia móvil */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 174, 254, 0.6) rgba(12, 18, 34, 0.7);
}

body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevenir zoom en inputs en iOS */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

:root {
  /* Dark (default) */
  --background: #0B0F19;
  --foreground: #E5E7EB;
  --text-primary: #ffffff;
  --text-secondary: #D1D5DB;
  --text-muted: #9CA3AF;
  --header-bg: rgba(11, 15, 25, 0.9);
  --panel-bg: rgba(15, 21, 48, 0.95);
  --surface-0: #0B0F19;
  --surface-1: #0F1530;
  --card-bg: #0B0F19;
  --border-color: #2B365F;
  --border-subtle: #22305d;

  --brand-primary: #12aefe;
  --brand-accent: #98f940;
  --brand-white: #ffffff;

  --hover-bg: rgba(255, 255, 255, 0.06);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

::selection {
  background: rgba(18, 174, 254, 0.35);
}

/* Scrollbar global (WebKit/Blink) */
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-track {
  background: rgba(12, 18, 34, 0.7);
  border-radius: 9999px;
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(18, 174, 254, 0.8), rgba(18, 174, 254, 0.5));
  border-radius: 9999px;
  border: 2px solid rgba(11, 15, 25, 0.85);
}
html::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* Navbar fijo */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
  margin: 0;
  flex: 1;
  justify-content: center;
}

.navbar-links li {
  margin: 0;
  position: relative;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.625rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border-radius: 0.625rem;
  position: relative;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: var(--hover-bg);
}

.nav-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  color: var(--brand-primary);
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu - Simple and Professional */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 100;
  padding: 0.5rem;
  overflow: hidden;
}

/* Área segura grande para evitar cierre accidental */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  right: -2rem;
  height: 2.5rem;
  background: transparent;
  pointer-events: auto;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Delay largo al salir para evitar cierre rápido */
.dropdown:not(:hover) .dropdown-menu {
  transition-delay: 0.8s;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.15s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.dropdown-link:hover {
  background: var(--hover-bg);
  color: var(--brand-primary);
  transform: translateX(4px);
}

.link-icon {
  font-size: 1.125rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: saturate(1.3) brightness(1.1);
}

.link-text {
  flex: 1;
  white-space: nowrap;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.5rem 0;
}

.dropdown-link-special {
  color: var(--brand-primary);
  font-weight: 600;
}

.dropdown-link-special:hover {
  background: rgba(99, 102, 241, 0.1);
}

.dropdown-content {
  padding: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-item:hover {
  background: var(--hover-bg);
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item:hover::before {
  opacity: 1;
}

.dropdown-icon {
  font-size: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 0.875rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item:hover .dropdown-icon {
  transform: scale(1.1) rotate(-5deg);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.dropdown-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: color 0.2s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item:hover .dropdown-title {
  color: var(--brand-primary);
}

.dropdown-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item:hover .dropdown-desc {
  color: var(--text-secondary);
}

.dropdown-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(99, 102, 241, 0.03) 100%);
  border-radius: 0 0 1.25rem 1.25rem;
  margin-top: 0.5rem;
}

.dropdown-footer-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.dropdown-footer-link {
  font-size: 0.8125rem;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-footer-link:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

/* Navbar actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cart-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cart-button:hover {
  background: var(--hover-bg);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.cart-icon {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--brand-accent);
  color: #000;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

/* User menu */
.user-menu {
  position: relative;
}

.user-button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.9375rem;
}

.user-button:hover {
  background: var(--hover-bg);
  border-color: var(--brand-primary);
}

.user-icon {
  width: 18px;
  height: 18px;
}

.user-email {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 240px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  pointer-events: none;
  padding: 0.5rem;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.user-dropdown-item:hover {
  background: var(--hover-bg);
  transform: translateX(4px);
}

.dropdown-item-icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
  flex-shrink: 0;
}

.user-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.5rem 0;
}

.user-dropdown-logout {
  color: #ef4444;
}

.user-dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Client Subnav - Submenu del área de cliente */
.client-subnav {
  width: 100%;
  display: none;
  justify-content: center;
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.02);
}

@media (min-width: 768px) {
  .client-subnav {
    display: flex;
  }
}

.client-subnav-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 13px;
}

.subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  font-size: inherit;
}

.subnav-link:hover {
  border-color: rgba(18, 174, 254, 0.6);
  background: rgba(18, 174, 254, 0.1);
  color: var(--brand-primary);
}

.subnav-link svg {
  color: var(--brand-primary);
  opacity: 0.9;
  flex-shrink: 0;
}

.subnav-dropdown {
  position: relative;
}

.subnav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 220px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 0.5rem;
  z-index: 100;
  transform: translateY(0.25rem) scale(0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease-out;
}

/* Área segura para evitar cierre accidental */
.subnav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: -1rem;
  height: 1.5rem;
  background: transparent;
  pointer-events: auto;
}

.subnav-dropdown:hover .subnav-dropdown-content,
.subnav-dropdown-content:hover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

/* Delay al salir para evitar cierre rápido */
.subnav-dropdown:not(:hover) .subnav-dropdown-content {
  transition-delay: 0.8s;
}

.subnav-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 14px;
}

.subnav-dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--brand-primary);
}

.subnav-dropdown-content a svg {
  flex-shrink: 0;
  color: var(--brand-primary);
  opacity: 0.9;
}

.subnav-divider {
  margin: 0.25rem 0;
  border-top: 1px solid var(--border-subtle);
}

/* Login/Register buttons */
.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  border: none;
}

.btn-login {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-color);
}

.btn-login:hover {
  background: var(--hover-bg);
  border-color: var(--brand-primary);
}

.btn-register {
  color: #000;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  box-shadow: 0 4px 12px rgba(18, 174, 254, 0.3);
  padding: 0.625rem 1.5rem;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 174, 254, 0.4);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--hover-bg);
}

.menu-icon {
  width: 20px;
  height: 20px;
}

/* Main content con padding-top para compensar navbar fijo */
main {
  min-height: 100vh;
  padding-top: 72px;
}

/* Hero section */
.hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(18, 174, 254, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.6s ease-out;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero .btn-primary {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Secciones generales */
section {
  padding: 4rem 2rem;
}

section h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

/* Features */
.features {
  background: var(--surface-1);
}

.features ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.features li {
  padding: 1rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.features li:hover {
  border-color: var(--brand-primary);
  transform: translateX(4px);
}

.features strong {
  color: var(--text-primary);
}

/* Plans section */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 40px rgba(18, 174, 254, 0.2);
}

.plan-card:hover::before {
  opacity: 1;
}

.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
}

.plan-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.plan-card .period {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: block;
}

.plan-card ul {
  list-style: none;
  margin: 1.5rem 0 2rem;
  text-align: left;
}

.plan-card li {
  padding: 0.625rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-card li::before {
  content: '✓';
  color: var(--brand-accent);
  font-weight: bold;
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), #0d8fd6);
  color: white;
  box-shadow: 0 4px 12px rgba(18, 174, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 174, 254, 0.4);
  opacity: 0.9;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}

.btn-secondary:hover {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(18, 174, 254, 0.3);
}

/* Forms */
.form-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(18, 174, 254, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
}

thead {
  background: var(--surface-1);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background 0.2s;
}

tbody tr:hover {
  background: var(--hover-bg);
}

/* Footer */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9375rem;
}

.footer a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Container utility */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alerts y mensajes */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid;
}

.alert-success {
  background: rgba(152, 249, 64, 0.1);
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #fca5a5;
}

.alert-info {
  background: rgba(18, 174, 254, 0.1);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0.75rem 1rem;
  }
  
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel-bg);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-links.show-mobile {
    display: flex;
  }
  
  .navbar-links li {
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0.875rem 1rem;
  }
  
  .dropdown-menu {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .logo-text {
    display: none;
  }
  
  .navbar-actions {
    gap: 0.5rem;
  }
  
  .user-email {
    display: none;
  }
  
  .hero {
    padding: 4rem 1.5rem 3rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  section h3 {
    font-size: 1.75rem;
  }
  
  .plans {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .form-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .navbar-container {
    padding: 1rem 1.5rem;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1440px;
  }
}

/* ===== NUEVOS ESTILOS PARA INDEX.PHP ===== */

/* Hero Slider Section */
.hero-slider {
  position: relative;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  background: var(--surface-0);
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--brand-primary);
  top: -100px;
  right: 10%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--brand-accent);
  bottom: -100px;
  left: 10%;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInDown 0.6s ease-out;
}

.hero-badge-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease-out 0.1s both;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.trust-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-accent);
}

/* Features Modern Section */
.features-modern {
  position: relative;
  padding: 5rem 2rem;
  background: var(--background);
  overflow: hidden;
}

.features-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.feature-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.feature-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-primary);
  top: -100px;
  right: -100px;
}

.feature-glow-2 {
  width: 400px;
  height: 400px;
  background: #f0f;
  bottom: -100px;
  left: -100px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.features-content {
  position: relative;
  z-index: 1;
}

.section-title-large {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  list-style: none;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.feature-pill:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.pill-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.features-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-outline {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background: var(--hover-bg);
  border-color: var(--brand-primary);
}

/* Features Visual */
.features-visual {
  position: relative;
}

.visual-card {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.visual-icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.visual-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.visual-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.metric-card {
  background: rgba(var(--surface-0-rgb, 11, 15, 25), 0.6);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.25rem;
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.metric-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.metric-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.metric-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.metric-bar {
  margin-top: 0.75rem;
  height: 0.5rem;
  background: var(--border-subtle);
  border-radius: 9999px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.floating-badge {
  position: absolute;
  padding: 0.625rem 1rem;
  background: rgba(var(--surface-0-rgb, 11, 15, 25), 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
}

@media (min-width: 768px) {
  .floating-badge {
    display: block;
  }
}

.floating-badge-top {
  top: -1rem;
  right: -1rem;
}

.floating-badge-bottom {
  bottom: -1rem;
  left: -1rem;
}

/* Plans Section */
.plans-section {
  padding: 5rem 2rem;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.plan-featured {
  position: relative;
  border-color: var(--brand-primary);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(18, 174, 254, 0.3);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}

.plan-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.plan-description {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
}

.price-period {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.btn-block {
  width: 100%;
  margin-top: auto;
}

/* Stats Section */
.stats-section {
  padding: 5rem 2rem;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  padding: 0.625rem;
  background: var(--surface-0);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--brand-primary);
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Services Overview Section */
.services-overview {
  padding: 6rem 2rem;
  background: var(--background);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 3rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--brand-primary);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.service-tag {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  background: var(--surface-0);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.service-link {
  font-size: 0.9375rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  transform: translateX(8px);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 6rem 2rem;
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--border-color);
  border-radius: 0.875rem;
  color: var(--brand-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.benefit-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: var(--background);
  border-top: 1px solid var(--border-subtle);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-icon-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(18, 174, 254, 0.3);
}

.cta-icon {
  width: 2rem;
  height: 2rem;
  color: #000;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ========================================
   Search Overlay
   ======================================== */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
}

.search-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.search-container {
  width: 100%;
  max-width: 700px;
  margin-top: 5rem;
  animation: slideDown 0.3s ease;
}

.search-header {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.search-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.125rem;
  color: var(--text-primary);
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-close:hover {
  background: var(--hover-bg);
}

.search-close svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
}

.search-results {
  margin-top: 1rem;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1rem;
  max-height: 500px;
  overflow-y: auto;
}

.search-section {
  margin-bottom: 1.5rem;
}

.search-section:last-child {
  margin-bottom: 0;
}

.search-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.2s;
  margin-bottom: 0.5rem;
}

.search-result-item:hover {
  background: var(--hover-bg);
}

.search-result-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.search-result-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.search-result-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.search-result-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--brand-primary);
  color: white;
  border-radius: 9999px;
  margin-top: 0.25rem;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--brand-primary);
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.search-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}

/* ========================================
   Login Modal
   ======================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  padding: 2rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--hover-bg);
}

.modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(18, 174, 254, 0.1);
}

.alert {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86EFAC;
}

.modal-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.modal-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.modal-link:hover {
  text-decoration: underline;
}

/* ========================================
   Enhanced Cart Dropdown
   ======================================== */
.action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.action-btn:hover {
  background: var(--hover-bg);
}

.action-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-secondary);
}

.cart-dropdown {
  position: relative;
}

.cart-button {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-button:hover {
  background: var(--hover-bg);
}

.cart-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  width: 380px;
  max-height: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  overflow: hidden;
}

.cart-dropdown-menu.show {
  display: flex;
  flex-direction: column;
  animation: slideDownFade 0.2s ease;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-title {
  font-weight: 600;
  color: var(--text-primary);
}

.cart-view-all {
  font-size: 0.875rem;
  color: var(--brand-primary);
  text-decoration: none;
}

.cart-view-all:hover {
  text-decoration: underline;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  max-height: 350px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  text-align: center;
}

.cart-empty-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-items {
  padding: 0.5rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}

.cart-item:hover {
  background: var(--hover-bg);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  word-wrap: break-word;
}

.cart-item-cycle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-domain {
  font-size: 0.75rem;
  color: var(--brand-primary);
  margin-top: 0.25rem;
  opacity: 0.9;
}

.cart-item-domain small {
  font-weight: 500;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-price {
  font-weight: 600;
  color: var(--brand-primary);
  white-space: nowrap;
}

.cart-item-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
}

.cart-item-remove svg {
  width: 1rem;
  height: 1rem;
  color: #EF4444;
}

.cart-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.cart-promo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.promo-input {
  flex: 1;
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
}

.promo-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.promo-btn {
  background: var(--brand-primary);
  color: #000;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.promo-btn:hover {
  opacity: 0.9;
}

.promo-message {
  font-size: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
}

.promo-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86EFAC;
}

.promo-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cart-total-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .search-container {
    margin-top: 2rem;
  }

  .cart-dropdown-menu {
    width: 100vw;
    max-width: calc(100vw - 2rem);
    right: -1rem;
  }

  .modal-content {
    padding: 1.5rem;
  }
}

/* ========================================
   Shop Dropdown
   ======================================== */
.shop-dropdown {
  position: relative;
}

.shop-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  width: 320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  overflow: hidden;
}

/* Cart dropdown styles */
.cart-dropdown {
  position: relative;
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--brand-accent);
  color: #000;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}

.cart-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 380px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.95);
  transition: all 0.2s ease;
  z-index: 1000;
  max-height: 600px;
  display: flex;
  flex-direction: column;
}

.cart-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.cart-view-link {
  font-size: 0.75rem;
  color: var(--brand-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.cart-view-link:hover {
  opacity: 0.8;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  min-height: 150px;
  max-height: 400px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--hover-bg);
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.cart-item:hover {
  background: rgba(18, 174, 254, 0.1);
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-cycle {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-left: auto;
}

.cart-item-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}

.cart-more {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.cart-promo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.promo-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.2s;
}

.promo-input:focus {
  border-color: var(--brand-primary);
}

.promo-btn {
  padding: 0.5rem 1rem;
  background: var(--brand-primary);
  border: none;
  border-radius: 0.5rem;
  color: #000;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.promo-btn:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
}

.cart-totals {
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-subtle);
}

.cart-subtotal,
.cart-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.cart-subtotal span:first-child,
.cart-discount span:first-child {
  color: var(--text-muted);
}

.cart-subtotal-amount {
  font-weight: 700;
  color: var(--text-primary);
}

.cart-discount-amount {
  font-weight: 600;
  color: #10b981;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.cart-empty-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.cart-empty-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--brand-primary);
  color: #000;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.cart-empty-link:hover {
  background: var(--brand-accent);
  transform: translateY(-2px);
}

.cart-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-subtle);
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  background: var(--brand-primary);
  color: #000;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.cart-checkout-btn:hover {
  background: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 174, 254, 0.3);
}

@media (max-width: 768px) {
  .cart-dropdown-menu {
    width: 100vw;
    max-width: calc(100vw - 2rem);
    right: -1rem;
  }
}

/* Toast animations */
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}



/* Form row for side-by-side fields */
.form-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.form-group-half {
  flex: 1;
  min-width: 0;
}

/* Select styling */
.form-control[type="select"],
select.form-control {
  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=''%239CA3AF''%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 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Responsive form rows */
@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
  }
  
  .form-group-half {
    width: 100%;
  }
}
/* Cart page styles */
.cart-page {
  padding: 3rem 0 5rem;
  min-height: 60vh;
}

.cart-page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cart-page-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  margin-top: 0.5rem;
}
  font-size: 1.0625rem;
  font-weight: 400;
}

.cart-page-content {
  display: grid !important;
  grid-template-columns: 1fr 420px !important;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.cart-page-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.cart-page-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.cart-page-item:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 16px rgba(18, 174, 254, 0.1);
  transform: translateY(-2px);
}

.cart-page-item-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
}

.cart-page-item-info {
  flex: 1;
  min-width: 0;
}

.cart-page-item-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cart-page-item-cycle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  padding: 0.375rem 0.75rem;
  background: rgba(18, 174, 254, 0.1);
  border-radius: 0.375rem;
  font-weight: 500;
  width: fit-content;
}

.cart-page-item-features {
  margin-top: 1.5rem;
}

.features-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.features-header i {
  color: var(--brand-primary);
}

.features-header strong {
  font-weight: 600;
}

.toggle-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  background: var(--surface-1);
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toggle-features .feature-toggle-content {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.toggle-features .feature-toggle-content i {
  font-size: 1.125rem;
  color: var(--brand-primary);
}

.toggle-features .feature-toggle-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.toggle-features .feature-count {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(18, 174, 254, 0.15);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-left: 0.5rem;
}

.toggle-features .chevron-icon {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.toggle-features:hover {
  background: linear-gradient(135deg, rgba(18, 174, 254, 0.04) 0%, rgba(14, 165, 233, 0.06) 100%);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 174, 254, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.toggle-features:hover .chevron-icon {
  transform: translateY(2px);
  color: var(--brand-primary);
}

.toggle-features.active .chevron-icon {
  transform: rotate(180deg);
}

.features-list {
  margin-top: 0;
}

.features-grid {
  padding: 1.5rem;
  background: var(--surface-1);
  border-radius: 0.5rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 1000px;
    transform: translateY(0);
  }
}

.features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: transparent;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.2s ease;
  font-weight: 400;
}

.features-list li:hover {
  background: rgba(18, 174, 254, 0.05);
}

.features-list li i {
  color: #10b981;
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.875rem;
  background: rgba(16, 185, 129, 0.1);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.cart-page-item-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(18, 174, 254, 0.1);
  color: var(--brand-primary);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.cart-page-item-price {
  text-align: right;
  margin-right: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.price-amount {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-cycle {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0;
}

.price-breakdown {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
}

.cart-page-item-remove {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  align-self: flex-start;
}

.cart-page-item-remove:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

/* Configuración de items del carrito */
.cart-item-config {
  padding: 1.5rem;
  background: var(--surface-1);
  border-top: 1px solid var(--border-color);
}

.config-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.config-title i {
  color: var(--brand-primary);
  font-size: 1rem;
  opacity: 0.9;
}

.domain-config,
.vps-config {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Selector de tipo de dominio mejorado */
.domain-type-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.domain-type-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.domain-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.domain-type-option .radio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(18, 174, 254, 0.1) 0%, rgba(14, 165, 233, 0.15) 100%);
  border-radius: 50%;
  color: var(--brand-primary);
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.domain-type-option .radio-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.domain-type-option .radio-content strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.domain-type-option .radio-content small {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.domain-type-option:hover {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(18, 174, 254, 0.02) 0%, rgba(14, 165, 233, 0.04) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(18, 174, 254, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.domain-type-option:hover .radio-icon {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0ea5e9 100%);
  color: #000;
  transform: scale(1.05);
}

.domain-type-option.active {
  border-color: var(--brand-primary);
  background: linear-gradient(135deg, rgba(18, 174, 254, 0.08) 0%, rgba(14, 165, 233, 0.12) 100%);
  box-shadow: 0 0 0 4px rgba(18, 174, 254, 0.1), 0 4px 12px rgba(18, 174, 254, 0.15);
  transform: scale(1.02);
}

.domain-type-option.active .radio-icon {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #0ea5e9 100%);
  color: #000;
  transform: scale(1.1);
}

.domain-type-option.active .radio-content strong {
  color: var(--brand-primary);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  font-weight: 400;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(18, 174, 254, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: normal;
  margin-top: 0.375rem;
  display: block;
  font-weight: 400;
}

.domain-input-group {
  display: flex;
  gap: 0.5rem;
}

.domain-input-group .form-control {
  flex: 1;
}

.btn-check-domain {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--brand-primary);
  color: #000;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-check-domain:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(18, 174, 254, 0.3);
}

.domain-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.domain-checking {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-secondary);
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.domain-available {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.domain-available i {
  font-size: 1.125rem;
}

.domain-unavailable {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.domain-unavailable i {
  font-size: 1.125rem;
}

.domain-error {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.domain-error i {
  font-size: 1.125rem;
}

.domain-price-info {
  padding: 1rem;
  margin-top: 1rem;
  background: rgba(18, 174, 254, 0.08);
  border: 1px solid rgba(18, 174, 254, 0.2);
  border-radius: 0.5rem;
}

.domain-price-info .price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.domain-price-info .price-label {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}

.domain-price-info .price-value {
  font-size: 1.125rem;
  color: var(--brand-primary);
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.cart-page-summary {
  position: sticky;
  top: 5.5rem;
  padding: 1.5rem;
  background: var(--panel-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
}

.cart-page-summary h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-summary-items {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-item-group {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(18, 174, 254, 0.03);
  border-radius: 0.5rem;
  border: 1px solid rgba(18, 174, 254, 0.1);
}

.summary-item-group:last-child {
  margin-bottom: 0;
}

.summary-item-header {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(18, 174, 254, 0.15);
}

.summary-item-header strong {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.summary-item-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.summary-item-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.summary-item-label i {
  color: var(--brand-primary);
  width: 1rem;
  text-align: center;
}

.summary-item-price {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.cart-summary-promo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-summary-promo input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: var(--input-bg);
  color: var(--text-primary);
}

.cart-summary-promo input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.cart-summary-promo button {
  padding: 0.75rem 1.25rem;
  background: var(--brand-primary);
  color: #000;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.cart-summary-promo button:hover {
  background: var(--brand-accent);
  transform: translateY(-1px);
}

.cart-summary-totals {
  margin-bottom: 1.5rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 500;
}

.cart-summary-row.discount-row {
  color: #10b981;
}

.cart-summary-row.total-row {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-summary-row.total-row .cart-summary-value {
  font-size: 1.5rem;
  color: var(--brand-primary);
  font-weight: 700;
}
  border-top: 1px solid var(--border-subtle);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0;
}

.cart-summary-value {
  font-weight: 600;
  color: var(--text-primary);
}

.cart-summary-value.discount {
  color: #10b981;
}

.cart-summary-value.total {
  color: var(--brand-primary);
}

.cart-continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.cart-continue-shopping:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(18, 174, 254, 0.05);
}
  transition: all 0.2s;
}

.cart-continue-shopping:hover {
  border-color: var(--brand-primary);
  background: rgba(18, 174, 254, 0.05);
}

.cart-page-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.cart-page-empty .cart-empty-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
  color: var(--text-muted);
  opacity: 0.3;
}

.cart-page-empty .cart-empty-icon i {
  font-size: 120px;
}

.cart-page-empty h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cart-page-empty p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .cart-page-content {
    grid-template-columns: 1fr;
  }
  
  .cart-page-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .cart-page-header h1 {
    font-size: 2rem;
  }
  
  .cart-page-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cart-page-item-price {
    margin-right: 0;
    text-align: left;
  }
  
  .cart-page-item-remove {
    align-self: flex-end;
    margin-top: -2rem;
  }
}
/* Hosting page styles */
.hosting-header {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hosting-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hosting-header p {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.hosting-category {
  margin-bottom: 5rem;
}

.category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.category-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.category-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.plan-card {
  position: relative;
  padding: 2rem;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-primary);
  box-shadow: 0 20px 40px rgba(18, 174, 254, 0.2);
}

.plan-card.featured {
  border-color: var(--brand-primary);
  border-width: 2px;
  background: linear-gradient(135deg, rgba(18, 174, 254, 0.05), rgba(30, 64, 175, 0.05));
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(18, 174, 254, 0.4);
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.plan-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-pricing {
  text-align: center;
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-cycle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.plan-features li i {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.plan-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #000;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.plan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 174, 254, 0.4);
}

.plan-button i {
  transition: transform 0.3s ease;
}

.plan-button:hover i {
  transform: translateX(4px);
}

.no-products {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.no-products i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.no-products h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hosting-header h1 {
    font-size: 2rem;
  }
  
  .category-header h2 {
    font-size: 1.75rem;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
}

/* Domains page styles */
.domains-header {
  text-align: center;
  padding: 4rem 0 3rem;
}

.domains-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.domains-header p {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.domain-search {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.domain-search-form {
  margin-bottom: 2rem;
}

.domain-search-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--panel-bg);
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.domain-search-input:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(18, 174, 254, 0.1);
}

.domain-search-input i:first-child {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.domain-search-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.125rem;
  outline: none;
}

.domain-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #000;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 174, 254, 0.4);
}

.domain-result {
  animation: slideDown 0.3s ease;
}

.domain-available,
.domain-unavailable,
.domain-error {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.domain-available {
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid #10b981;
}

.domain-available i {
  font-size: 3rem;
  color: #10b981;
}

.domain-unavailable {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
}

.domain-unavailable i {
  font-size: 3rem;
  color: #ef4444;
}

.domain-error {
  background: rgba(251, 191, 36, 0.1);
  border: 2px solid #fbbf24;
}

.domain-error i {
  font-size: 2rem;
  color: #fbbf24;
}

.domain-available > div,
.domain-unavailable > div {
  flex: 1;
}

.domain-available h3,
.domain-unavailable h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.domain-available h3 {
  color: #10b981;
}

.domain-unavailable h3 {
  color: #ef4444;
}

.domain-available p,
.domain-unavailable p {
  color: var(--text-secondary);
}

.domain-add-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #000;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.domain-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 174, 254, 0.4);
}

.tld-pricing {
  margin-bottom: 4rem;
}

.tld-pricing h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tld-card {
  padding: 1.5rem;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tld-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 12px 30px rgba(18, 174, 254, 0.15);
}

.tld-extension {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.tld-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tld-price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tld-renewal {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.domain-features {
  padding: 4rem 0;
  background: var(--panel-bg);
  border-radius: 1.5rem;
  margin: 4rem 0;
}

.domain-features h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.feature-item {
  text-align: center;
}

.feature-item i {
  font-size: 3rem;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .domains-header h1 {
    font-size: 2rem;
  }
  
  .domain-search-input {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .domain-search-btn {
    width: 100%;
    justify-content: center;
  }
  
  .domain-available,
  .domain-unavailable {
    flex-direction: column;
    text-align: center;
  }
  
  .domain-add-btn {
    width: 100%;
    justify-content: center;
  }
  
  .tld-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Client Dashboard styles */
.client-dashboard-header {
  text-align: center;
  padding: 4rem 0 3rem;
}

.client-dashboard-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.client-dashboard-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.dashboard-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.dashboard-card:hover::before {
  transform: scaleY(1);
}

.dashboard-card:hover {
  transform: translateX(8px);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(18, 174, 254, 0.15);
}

.dashboard-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 174, 254, 0.1);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.dashboard-card:hover .dashboard-card-icon {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.dashboard-card-icon i {
  font-size: 1.75rem;
  color: var(--brand-primary);
  transition: color 0.3s ease;
}

.dashboard-card:hover .dashboard-card-icon i {
  color: #000;
}

.dashboard-card-content {
  flex: 1;
  min-width: 0;
}

.dashboard-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dashboard-card-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.dashboard-card-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.dashboard-card:hover .dashboard-card-arrow {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.logout-card {
  border-color: rgba(239, 68, 68, 0.3);
}

.logout-card .dashboard-card-icon {
  background: rgba(239, 68, 68, 0.1);
}

.logout-card .dashboard-card-icon i {
  color: #ef4444;
}

.logout-card:hover {
  border-color: #ef4444;
}

.logout-card:hover .dashboard-card-icon {
  background: #ef4444;
}

.logout-card:hover .dashboard-card-icon i {
  color: #fff;
}

.logout-card:hover .dashboard-card-arrow {
  color: #ef4444;
}

@media (max-width: 768px) {
  .client-dashboard-header h1 {
    font-size: 2rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card {
    padding: 1.25rem;
  }
  
  .dashboard-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .dashboard-card-icon i {
    font-size: 1.5rem;
  }
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  margin-top: 4rem;
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-column h4 {
  color: #f1f5f9;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brand-primary);
}

.footer-logo h3 {
  color: var(--brand-primary);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: #cbd5e1;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-description {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(18, 174, 254, 0.1);
  border: 1px solid rgba(18, 174, 254, 0.2);
  border-radius: 2rem;
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 500;
}

.footer-badges .badge i {
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a i {
  color: var(--brand-primary);
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand-primary);
  padding-left: 0.5rem;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-social-text {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: currentColor;
}

.social-link.facebook:hover {
  background: #1877f2;
  color: #fff;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-link.discord:hover {
  background: #5865f2;
  color: #fff;
}

.social-link.twitter:hover {
  background: #1da1f2;
  color: #fff;
}

.footer-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer-contact i {
  color: var(--brand-primary);
  width: 1.25rem;
}

.footer-bottom {
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.5);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--brand-primary);
}

.footer-legal .separator {
  color: #475569;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 3rem 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   NEWS PAGE STYLES
   ============================================ */

.page-header {
  margin-bottom: 3rem;
  text-align: center;
  padding: 3rem 0 2rem;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

.page-header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.page-header-content h1 i {
  color: var(--brand-primary);
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.news-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.news-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(18, 174, 254, 0.15);
  transform: translateY(-4px);
}

.news-card:hover::before {
  transform: scaleY(1);
}

.news-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  background: rgba(18, 174, 254, 0.1);
  border-radius: 2rem;
}

.news-date i {
  color: var(--brand-primary);
}

.news-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.news-card-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.news-card-content p {
  margin-bottom: 1rem;
}

.news-card-content p:last-child {
  margin-bottom: 0;
}

.news-card-content a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.news-card-content a:hover {
  color: var(--brand-accent);
  text-decoration: underline;
}

.news-card-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.news-card-content ul,
.news-card-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.news-card-content li {
  margin-bottom: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--panel-bg);
  border: 2px dashed var(--border-color);
  border-radius: 1rem;
}

.empty-state i {
  font-size: 4rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-header {
    padding: 2rem 0 1.5rem;
  }
  
  .page-header-content h1 {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .news-card {
    padding: 1.5rem;
  }
  
  .news-card-title {
    font-size: 1.5rem;
  }
}
/* ===== CATEGORY PAGES STYLES ===== */
.category-hero {
  text-align: center;
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--panel-bg) 0%, var(--surface-1) 100%);
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.category-hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.category-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.category-hero-subtitle {
  font-size: 1.25rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.category-hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.category-features {
  margin-bottom: 4rem;
}

.category-features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-primary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Services Catalog (catalogo.php) */
.services-header {
  text-align: center;
  padding: 3rem 0 2rem;
}

.services-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.services-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.services-categories {
  padding: 2rem 0;
}

.service-category-section {
  margin-bottom: 4rem;
}

.service-category-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.service-category-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-category-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-primary);
}

.service-card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.service-cycle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.service-description {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-btn {
  background: var(--brand-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.service-btn:hover {
  background: var(--brand-primary-dark);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.service-btn i {
  transition: transform 0.3s ease;
}

.service-btn:hover i {
  transform: translateX(4px);
}

.no-services {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--panel-bg);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.no-services i {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.no-services h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.no-services p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Responsive adjustments for category pages */
@media (max-width: 768px) {
  .category-hero {
    padding: 2.5rem 1rem;
  }
  
  .category-hero h1 {
    font-size: 1.875rem;
  }
  
  .category-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .category-hero-description {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-header h1 {
    font-size: 1.875rem;
  }
}