body.light-theme {
  --bg-primary: #F4F6F9;
  /* Gris muy suave para el fondo general */
  --text-primary: #00001E;
  /* Dark text */
  --text-secondary: #4A4A68;
  --text-tertiary: #8484A0;

  --accent: #4F46E5;
  --accent-rgb: 79, 70, 229;
  --accent-hover: #4338CA;

  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ── SIDEBAR (Tertiary Color: #00001E) ── */
.light-theme .sidebar {
  background: #00001E !important;
  /* Sidebar super oscuro y elegante */
  border-right: none !important;
  box-shadow: none !important;
}

.light-theme .sidebar__sep {
  color: rgba(255, 255, 255, 0.4) !important;
}

.light-theme .sidebar__link {
  color: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .sidebar__link:hover {
  background: rgba(79, 70, 229, 0.3) !important;
  color: #FFFFFF !important;
}

.light-theme .sidebar__link.active {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.light-theme .sidebar__link.active i {
  color: #FFFFFF !important;
}

.light-theme .sidebar__link.active::before {
  display: none !important;
  /* Eliminamos la barrita vertical para un look más moderno */
}

.light-theme .sidebar__foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.light-theme .sidebar__back-btn,
.light-theme .sidebar__logout-btn {
  color: rgba(255, 255, 255, 0.6) !important;
}

.light-theme .sidebar__back-btn:hover,
.light-theme .sidebar__logout-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
}

/* ── MAIN DASHBOARD ELEMENTS (White Backgrounds) ── */
.light-theme .dash-card,
.light-theme .panel,
.light-theme .chart-box,
.light-theme .stat {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
  box-shadow: none !important;
  border-radius: 16px !important;
  color: var(--text-primary) !important;
}

.light-theme .stat__val,
.light-theme .panel__title,
.light-theme .chart-box__title,
.light-theme .dash-header__title {
  color: var(--text-primary) !important;
}

.light-theme .stat__label {
  color: var(--text-secondary) !important;
}

.light-theme .stat__ico,
.light-theme .chart-box__title i,
.light-theme .panel__title i {
  color: var(--accent) !important;
  background: rgba(79, 70, 229, 0.1) !important;
  border: none !important;
}

.light-theme .dash-header {
  background: rgba(244, 246, 249, 0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 30, 0.05) !important;
  color: var(--text-primary) !important;
}

.light-theme .dash-header__user {
  color: var(--text-primary) !important;
}

/* ── TABLES & LISTS ── */
.light-theme .table-wrapper,
.light-theme .table-wrap {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
}

.light-theme .d-table th,
.light-theme .bot-table th {
  background: #F0F2F5 !important;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid rgba(0, 0, 30, 0.06) !important;
  font-weight: 600 !important;
}

.light-theme .d-table td,
.light-theme .bot-table td {
  border-bottom: 1px solid rgba(0, 0, 30, 0.04) !important;
  color: var(--text-primary) !important;
}

.light-theme .d-table tr:hover td,
.light-theme .bot-table tr:hover td {
  background: #F8F9FA !important;
}

/* ── FORMS & INPUTS ── */
.light-theme .dl-form,
.light-theme .ai-simple,
.light-theme .admin-svc-panel {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
  color: var(--text-primary) !important;
}

.light-theme .dl-input,
.light-theme .search-bar__input,
.light-theme .dash-select,
.light-theme .modal__input {
  background: #F4F6F9 !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  color: var(--text-primary) !important;
}

.light-theme .dl-input:focus,
.light-theme .search-bar__input:focus,
.light-theme .dash-select:focus,
.light-theme .modal__input:focus {
  background: #FFFFFF !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

.light-theme .search-bar {
  background: #F4F6F9 !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
}

.light-theme .search-bar__ico {
  color: var(--text-secondary) !important;
}

/* ── SPECIFIC ELEMENTS OVERRIDES ── */
.light-theme .svc-tab {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  color: var(--text-secondary) !important;
}

.light-theme .svc-tab:hover {
  background: #F8F9FA !important;
}

.light-theme .svc-tab.active {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}

.light-theme .dl-form__hint,
.light-theme .ai-simple__hint {
  color: var(--text-secondary) !important;
}

/* ── MODALS ── */
.light-theme .modal,
.light-theme .mem-modal {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
  box-shadow: none !important;
  color: var(--text-primary) !important;
}

.light-theme .modal__header,
.light-theme .mem-modal__head {
  border-bottom: 1px solid rgba(0, 0, 30, 0.06) !important;
}

.light-theme .modal__label,
.light-theme .mem-section__label {
  color: var(--text-secondary) !important;
}

/* ── BUTTONS ── */
.light-theme .btn-outline {
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
}

.light-theme .btn-outline:hover {
  background: rgba(79, 70, 229, 0.08) !important;
}

.light-theme .btn-orange,
.light-theme .d-act--blue {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  border: none !important;
}

.light-theme .btn-orange:hover,
.light-theme .d-act--blue:hover {
  background: var(--accent-hover) !important;
  box-shadow: none !important;
}

/* ── TEXT COLORS OVERRIDES ── */
.light-theme b,
.light-theme strong,
.light-theme .dl-form__hint strong,
.light-theme .ai-simple__hint strong {
  color: var(--text-primary) !important;
}

.light-theme .bot-user__name,
.light-theme .inc-received,
.light-theme .edit-user__head-title,
.light-theme .inc-modal__title,
.light-theme .upload-file-info__name,
.light-theme .confirm-card__title {
  color: var(--text-primary) !important;
}

/* ── REMOVE REMAINING AVATAR GLOW ── */
.light-theme .dash-header__avatar {
  box-shadow: none !important;
}

/* DISABLE PARALLAX */
.light-theme .parallax-bg,
.light-theme .rain-bg {
  display: none !important;
}

/* ── CINCEL UI ── */
.cincel-header {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 20px;
}

.cincel-title {
  font-size: 3.5rem;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 300;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.cincel-title span {
  font-size: 1.2rem;
  color: var(--text-tertiary);
  vertical-align: super;
  font-family: 'Inter', sans-serif;
}

.cincel-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cincel-hint {
  font-size: 0.95rem;
  color: var(--text-tertiary);
}

.cincel-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.cincel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.cincel-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  position: relative;
}

/* Connecting Lines */
.cincel-node {
  position: relative;
  z-index: 2;
}

/* Connect Left Image to Center Box */
.cincel-node--img.cincel-node--in::after,
.cincel-node--box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 40px;
  height: 2px;
  background: rgba(0, 0, 30, 0.1);
  z-index: 1;
  transform: translateY(-50%);
}

/* Arrows for the lines (pointing right) */
.cincel-node--img.cincel-node--in::before,
.cincel-node--box::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 30, 0.1);
  z-index: 2;
}

.cincel-img-wrapper {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 30, 0.06);
  padding: 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.cincel-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.cincel-label {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 30, 0.06);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cincel-box {
  width: 320px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 30, 0.06);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.cincel-box:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.2);
}

.cincel-box__head {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.cincel-box__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.cincel-box__upload {
  border: 2px dashed rgba(0, 0, 30, 0.08);
  border-radius: 16px;
  padding: 36px 20px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(244, 246, 249, 0.5);
}

.cincel-box__upload:hover {
  background: rgba(79, 70, 229, 0.02);
  border-color: var(--accent);
}

.cincel-box__upload i {
  font-size: 2.5rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  display: inline-block;
  transition: color 0.2s ease;
}

.cincel-box__upload:hover i {
  color: var(--accent);
}

.cincel-box__upload p {
  margin: 0 0 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cincel-box__upload p strong {
  color: var(--text-primary);
}

.cincel-box__upload span {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.cincel-box__btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cincel-box__btn:hover {
  background: var(--accent);
  color: #FFF;
}

@media (max-width: 768px) {
  .cincel-row {
    flex-direction: column;
    gap: 40px;
  }

  .cincel-node::after,
  .cincel-node::before {
    display: none !important;
  }
}

/* -- HEADER OVERRIDES FOR LIGHT THEME -- */
.light-theme .header.scrolled {
  background: rgba(255, 255, 255, 0.90) !important;
  border-bottom-color: rgba(0, 0, 30, 0.05) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

.light-theme .header__link {
  color: var(--text-secondary) !important;
}

.light-theme .header__link:hover,
.light-theme .header__link.active {
  color: var(--text-primary) !important;
  background: rgba(79, 70, 229, 0.07) !important;
}

.light-theme .header__burger span {
  background: var(--text-primary) !important;
}

.light-theme .header__dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1) !important;
}

.light-theme .dropdown__item {
  color: var(--text-secondary) !important;
}

.light-theme .dropdown__item:hover {
  background: rgba(79, 70, 229, 0.08) !important;
  color: var(--text-primary) !important;
}

/* -- HERO OVERLAY FOR LIGHT THEME -- */
.light-theme .hero__overlay {
  background: linear-gradient(135deg,
      rgba(244, 246, 249, 0.90) 0%,
      rgba(244, 246, 249, 0.75) 40%,
      rgba(244, 246, 249, 0.95) 100%);
}

.light-theme .hero__title,
.light-theme .hero__desc,
.light-theme .hero__mock-tab {
  color: var(--text-primary) !important;
}

.light-theme .hero__desc {
  color: var(--text-secondary) !important;
}

.light-theme .hero__accent {
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-theme .hero__mockup {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

.light-theme .hero__mock-topbar {
  background: #F4F6F9 !important;
  border-bottom: 1px solid rgba(0, 0, 30, 0.05) !important;
}

.light-theme .hero__mock-tab {
  color: var(--text-secondary) !important;
}

.light-theme .hero__mock-stat {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
}

.light-theme .hero__mock-stat-lbl {
  color: var(--text-tertiary) !important;
}

.light-theme .hero__mock-row {
  background: #F8F9FA !important;
  border: 1px solid rgba(0, 0, 30, 0.05) !important;
  color: var(--text-secondary) !important;
}

.light-theme .hero__float-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
}

.light-theme .hero__float-card strong {
  color: var(--text-primary) !important;
}

.light-theme .hero__float-card span {
  color: var(--text-secondary) !important;
}

.light-theme .marquee {
  background: #F4F6F9 !important;
  border-color: rgba(0, 0, 30, 0.05) !important;
}

.light-theme .step-item__title {
  color: var(--text-primary) !important;
}

.light-theme .step-item__desc {
  color: var(--text-secondary) !important;
}

.light-theme .footer {
  background: #FFFFFF !important;
  border-top: 1px solid rgba(0, 0, 30, 0.05) !important;
}

.light-theme .footer__copy {
  color: var(--text-secondary) !important;
}

.light-theme .footer__social {
  color: var(--text-secondary) !important;
}

.light-theme .footer__social:hover {
  color: var(--accent) !important;
}

/* -- AUTHENTICATION CARDS OVERRIDES -- */
.light-theme.auth-body {
  background: #F4F6F9 !important;
}

.light-theme .card {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06) !important;
}

.light-theme .card__title {
  color: var(--text-primary) !important;
}

.light-theme .card__subtitle {
  color: var(--text-secondary) !important;
}

.light-theme .card__label {
  color: var(--text-secondary) !important;
}

.light-theme .card__input {
  background: #F4F6F9 !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  color: var(--text-primary) !important;
}

.light-theme .card__input:focus {
  background: #FFFFFF !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

.light-theme .card__btn {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;
}

.light-theme .card__btn:hover {
  background: var(--accent-hover) !important;
}

.light-theme .card__line {
  border-color: rgba(0, 0, 30, 0.05) !important;
}

.light-theme .card__link {
  color: var(--text-secondary) !important;
}

.light-theme .card__link:hover {
  color: var(--accent) !important;
}

.light-theme .card__eye svg path,
.light-theme .card__eye svg circle,
.light-theme .card__eye svg line {
  stroke: var(--text-secondary) !important;
}

/* -- SERVICIOS / PLANES OVERRIDES -- */
.light-theme .svc-hero {
  background: #F4F6F9 !important;
  border-bottom: 1px solid rgba(0, 0, 30, 0.05) !important;
  padding-top: 120px !important;
}

.light-theme .svc-hero__title {
  color: var(--text-primary) !important;
}

.light-theme .svc-hero__desc {
  color: var(--text-secondary) !important;
}

.light-theme .plans-section {
  background: #F4F6F9 !important;
}

.light-theme .plan-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 30, 0.08) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05) !important;
  color: var(--text-primary) !important;
}

.light-theme .plan-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 16px 50px rgba(79, 70, 229, 0.15) !important;
}

.light-theme .plan-card__name {
  color: var(--text-primary) !important;
}

.light-theme .plan-card__tag {
  color: var(--text-tertiary) !important;
}

.light-theme .plan-card__currency,
.light-theme .plan-card__amount {
  color: var(--text-primary) !important;
}

.light-theme .plan-card__period {
  color: var(--text-secondary) !important;
}

.light-theme .plan-card__content li {
  color: var(--text-secondary) !important;
}

.light-theme .plan-card__content i {
  color: var(--accent) !important;
}

.light-theme .plan-card__btn {
  background: rgba(79, 70, 229, 0.08) !important;
  color: var(--accent) !important;
}

.light-theme .plan-card__btn:hover {
  background: var(--accent) !important;
  color: #FFFFFF !important;
}

.light-theme .plan-card--featured .plan-card__btn {
  background: var(--accent) !important;
  color: #FFFFFF !important;
}

.light-theme .plan-card--featured .plan-card__btn:hover {
  background: var(--accent-hover) !important;
}

.light-theme .cta {
  background: #FFFFFF !important;
  border-top: 1px solid rgba(0, 0, 30, 0.05) !important;
}

.light-theme .cta__title {
  color: var(--text-primary) !important;
}

.light-theme .cta__text {
  color: var(--text-secondary) !important;
}

/* ═══════════════════════════════════════════════
   NOX BOT — Landing Page Design System
   ═══════════════════════════════════════════════ */

:root {
  --nox-indigo: #673AB7;
  /* Updated to match user panel */
  --nox-indigo-light: #F3E8FF;
  --nox-indigo-hover: #5E35B1;
  --nox-bg: #F9FAFB;
  --nox-surface: #FFFFFF;
  --nox-text-main: #111827;
  --nox-text-muted: #6B7280;
  --nox-border: #E5E7EB;
  --nox-radius-lg: 24px;
  --nox-radius-md: 16px;
  --nox-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --nox-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

body.nox-landing {
  background-color: var(--nox-bg);
  color: var(--nox-text-main);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ── HEADER ── */
.nox-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #190A33;
  /* Dark midnight purple, distinct from hero */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  /* Removed box-shadow completely for flat look */
}

.nox-nav__logo img {
  height: 32px;
  object-fit: contain;
}

.nox-nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nox-nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  text-decoration: none;
}

.nox-nav__link:hover {
  color: #FFFFFF;
}

.nox-btn {
  background: #FFFFFF;
  color: var(--nox-indigo) !important;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.nox-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 0;
}

.nox-btn:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
}

.nox-btn--outline {
  background: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.nox-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: none;
}

/* ── HERO SECTION ── */
.nox-hero {
  padding: 200px 5% 180px;
  /* Extra bottom padding for overlap */
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--nox-indigo) 0%, #200f4f 100%);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  pointer-events: none;
}

.hero-shape--circle-1 {
  width: 800px;
  height: 800px;
  border: 2px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  top: -200px;
  right: -200px;
}

.hero-shape--circle-2 {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.hero-shape--cube-1 {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transform: rotate(45deg);
  top: 25%;
  left: 15%;
}

.hero-shape--cube-2 {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transform: rotate(20deg);
  bottom: 25%;
  right: 10%;
}

.hero-shape--triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-15deg);
  bottom: 20%;
  left: 12%;
}

.nox-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -2;
}

.nox-hero::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.nox-hero__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.nox-hero__pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nox-hero__title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}

.nox-hero__title span {
  color: #FFFFFF;
}

.nox-hero__desc {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ── FEATURES GRID (Inspirado en Referencia Premium) ── */
.nox-features {
  padding: 0 5% 120px;
  background: #F8F6FC;
  /* Fondo violeta muy claro/grisáceo */
  position: relative;
  z-index: 10;
}

/* Fila Superior Oscura */
.features-top-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  transform: translateY(-80px);
  /* Overlap hero */
}

.feature-card-dark {
  background: #2D1B54;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  color: #FFFFFF;
}

.feature-card-dark .fcd-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #A5B4FC;
}

.feature-card-dark h3 {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.feature-card-dark p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Título de Sección Central */
.features-section-title {
  text-align: center;
  max-width: 600px;
  margin: 40px auto 80px;
}

.features-section-title h2 {
  font-size: 2.2rem;
  color: #2D1B54;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

.features-section-title p {
  color: #6B5D8A;
  font-size: 1.1rem;
}

/* Fila Inferior Blanca con Diamantes */
.features-core-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card-diamond {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 60px 40px 40px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-diamond:hover {
  transform: translateY(-10px);
}

.fcd-diamond-wrapper {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.fcd-diamond {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--nox-indigo), #9D4EDD);
  border-radius: 20px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcd-diamond i {
  transform: rotate(-45deg);
  color: #FFFFFF;
  font-size: 2rem;
}

.feature-card-diamond h3 {
  color: #2D1B54;
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.feature-card-diamond p {
  color: #6B5D8A;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}


/* ── WORKFLOW SECTION ── */
.nox-workflow {
  padding: 100px 5% 120px;
  background: #FFFFFF;
  position: relative;
}

.workflow-header {
  text-align: center;
  margin-bottom: 80px;
}

.workflow-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.workflow-step {
  padding: 40px;
  background: var(--nox-bg);
  border-radius: var(--nox-radius-lg);
  border: 1px solid var(--nox-border);
  position: relative;
  overflow: hidden;
}

.workflow-step__num {
  font-size: 8rem;
  font-weight: 800;
  color: rgba(79, 70, 229, 0.04);
  line-height: 1;
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: 'Poppins', sans-serif;
  z-index: 1;
}

.workflow-step h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 2;
}

.workflow-step p {
  color: var(--nox-text-muted);
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.5;
}

/* ── FOOTER ── */
.nox-footer {
  padding: 40px 5%;
  border-top: 1px solid var(--nox-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nox-bg);
}

.nox-footer img {
  height: 24px;
}

.nox-footer p {
  color: var(--nox-text-muted);
  font-size: 0.9rem;
}

/* Fix text contrast in header */
.nox-nav__logo img {
  filter: brightness(0) invert(1);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nox-features__grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .nox-nav__links {
    display: none;
  }

  .nox-hero {
    padding-top: 140px;
  }

  .nox-hero__title {
    font-size: 2.5rem;
  }
}

/* Trigger upload */