/* ==========================================================================
   Unidesire — Premium Static Website
   ========================================================================== */

/* --- CSS Variables --- */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #141b2d;
  --color-bg-elevated: #1c2540;
  --color-bg-card: rgba(32, 42, 68, 0.72);
  --color-surface: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-glow: rgba(204, 78, 0, 0.4);
  --color-text: #e8edf5;
  --color-text-muted: #a1adbd;
  --color-text-dim: #7a8799;
  --color-accent: #cc4e00;
  --color-accent-light: #e8651a;
  --color-accent-warm: #ff8c42;
  --color-accent-deep: #993800;
  --color-teal: #2dd4bf;
  --color-teal-light: #5eead4;
  --color-teal-deep: #14b8a6;
  --color-teal-muted: rgba(45, 212, 191, 0.14);
  --color-teal-glow: rgba(45, 212, 191, 0.35);
  --gradient-primary: linear-gradient(135deg, #cc4e00 0%, #e8651a 50%, #ff8c42 100%);
  --gradient-text: linear-gradient(135deg, #ff8c42, #cc4e00, #2dd4bf);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(204, 78, 0, 0.16), transparent),
                   radial-gradient(ellipse 60% 50% at 80% 50%, rgba(45, 212, 191, 0.08), transparent),
                   radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 140, 66, 0.08), transparent);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 40px rgba(204, 78, 0, 0.16);
  --header-scrolled-bg: rgba(20, 27, 45, 0.9);
  --nav-mobile-bg: rgba(20, 27, 45, 0.97);
  --overlay-bg: rgba(0, 0, 0, 0.48);
  --hero-grid-color: rgba(255, 255, 255, 0.04);
  --dashboard-bg: rgba(32, 42, 68, 0.82);
  --float-card-bg: rgba(32, 42, 68, 0.88);
  --section-tint: rgba(32, 42, 68, 0.45);
  --logo-glow: drop-shadow(0 4px 24px rgba(204, 78, 0, 0.3));
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 84px;
  --container-max: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --color-bg: #e4e9f0;
  --color-bg-elevated: #eef1f6;
  --color-bg-card: rgba(238, 241, 246, 0.92);
  --color-surface: rgba(15, 23, 42, 0.04);
  --color-border: rgba(15, 23, 42, 0.12);
  --color-border-glow: rgba(204, 78, 0, 0.4);
  --color-text: #1a2332;
  --color-text-muted: #4a5568;
  --color-text-dim: #64748b;
  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-teal-deep: #0f766e;
  --color-teal-muted: rgba(13, 148, 136, 0.1);
  --color-teal-glow: rgba(13, 148, 136, 0.28);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(204, 78, 0, 0.1), transparent),
                   radial-gradient(ellipse 60% 50% at 80% 50%, rgba(13, 148, 136, 0.06), transparent),
                   radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 140, 66, 0.05), transparent);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 10px 36px rgba(15, 23, 42, 0.09);
  --shadow-glow: 0 0 40px rgba(204, 78, 0, 0.1);
  --header-scrolled-bg: rgba(228, 233, 240, 0.92);
  --nav-mobile-bg: rgba(238, 241, 246, 0.98);
  --overlay-bg: rgba(15, 23, 42, 0.3);
  --hero-grid-color: rgba(15, 23, 42, 0.05);
  --dashboard-bg: rgba(238, 241, 246, 0.95);
  --float-card-bg: rgba(238, 241, 246, 0.96);
  --section-tint: rgba(15, 23, 42, 0.03);
  --logo-glow: drop-shadow(0 6px 20px rgba(204, 78, 0, 0.18));
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

/* --- Theme Logo Switching --- */
.logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.gradient-text {
  color: var(--color-accent-warm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text {
    color: transparent;
  }
}

.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(204, 78, 0, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(204, 78, 0, 0.5);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--color-teal-glow);
  background: var(--color-teal-muted);
  color: var(--color-teal);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header--scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
  height: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--sun {
  display: block;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  gap: 2px;
}

.lang-toggle__btn {
  min-width: 38px;
  height: 34px;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border-radius: calc(var(--radius-sm) - 2px);
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.lang-toggle__btn:hover,
.lang-toggle__btn:focus-visible {
  color: var(--color-text);
}

.lang-toggle__btn.is-active {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 2px 10px rgba(204, 78, 0, 0.3);
}

.logo--header .logo__img--header,
.logo__img--header {
  width: auto;
  height: clamp(44px, 7vw, 62px);
  max-width: min(280px, 62vw);
  filter: var(--logo-glow);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: auto;
  object-fit: contain;
}

.logo__img--full {
  width: auto;
  height: clamp(40px, 6.5vw, 56px);
  max-width: min(260px, 58vw);
  filter: var(--logo-glow);
}

.logo__img--icon {
  display: none;
  width: clamp(40px, 9vw, 48px);
  height: clamp(40px, 9vw, 48px);
  filter: var(--logo-glow);
}

.footer__logo {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.footer__logo-img {
  width: auto;
  height: clamp(56px, 9vw, 80px);
  max-width: 380px;
  filter: var(--logo-glow);
}

.nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.125rem, 0.4vw, 0.25rem);
}

.nav__list > li {
  flex-shrink: 0;
}

.nav__link {
  padding: 0.5rem clamp(0.5rem, 0.85vw, 1rem);
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.875rem);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav__link--cta {
  margin-left: clamp(0.25rem, 0.6vw, 0.5rem);
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 0.5rem clamp(0.75rem, 1.1vw, 1.25rem);
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  color: #fff !important;
  background: var(--gradient-primary);
  box-shadow: 0 4px 16px rgba(204, 78, 0, 0.4);
}

[data-theme="light"] .nav__link--cta:hover,
[data-theme="light"] .nav__link--cta:focus-visible {
  background: linear-gradient(135deg, #b84400 0%, #cc4e00 50%, #e06510 100%);
  box-shadow: 0 4px 14px rgba(153, 56, 0, 0.3);
}

.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.nav__dropdown-toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.nav__item--dropdown.nav__item--open .nav__dropdown-toggle::after {
  transform: rotate(-135deg) translateY(1px);
}

.nav__dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__dropdown-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  color: var(--color-text);
  background: var(--color-surface);
}

@media (min-width: 769px) {
  .nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .nav__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    padding: 0.5rem;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 1001;
  }

  .nav__item--dropdown.nav__item--open .nav__dropdown,
  .nav__item--dropdown:hover .nav__dropdown,
  .nav__item--dropdown:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__item--dropdown.nav__item--open .nav__dropdown-toggle,
  .nav__item--dropdown:hover .nav__dropdown-toggle,
  .nav__item--dropdown:focus-within .nav__dropdown-toggle {
    color: var(--color-text);
    background: var(--color-surface);
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .logo__img--header {
    height: clamp(38px, 4.5vw, 48px);
    max-width: min(190px, 28vw);
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero__brand {
  margin-bottom: 0.75rem;
}

.hero__tagline {
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  max-width: 28rem;
}

.hero__brand-img {
  width: auto;
  height: clamp(64px, 14vw, 110px);
  max-width: min(420px, 90vw);
  filter: var(--logo-glow);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.shape--1 {
  width: 400px;
  height: 400px;
  background: rgba(204, 78, 0, 0.15);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.shape--2 {
  width: 300px;
  height: 300px;
  background: rgba(232, 101, 26, 0.12);
  top: 50%;
  right: -5%;
  animation-delay: -5s;
}

.shape--3 {
  width: 250px;
  height: 250px;
  background: rgba(255, 140, 66, 0.1);
  bottom: 10%;
  left: 30%;
  animation-delay: -10s;
}

.shape--4 {
  width: 200px;
  height: 200px;
  background: rgba(204, 78, 0, 0.08);
  top: 30%;
  right: 25%;
  animation-delay: -15s;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 78, 0, 0.08), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.07), transparent 70%);
  bottom: 0;
  right: 10%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hero__subtitle--secondary {
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  min-height: 380px;
  transition: transform 0.15s ease-out;
}

/* Dashboard Illustration */
.dashboard {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background: var(--dashboard-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 0 60px rgba(204, 78, 0, 0.12);
  animation: dashboardFloat 6s ease-in-out infinite;
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.dashboard__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: var(--logo-glow);
}

.dashboard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard__dot--red { background: #ef4444; }
.dashboard__dot--yellow { background: #eab308; }
.dashboard__dot--green { background: #22c55e; }

.dashboard__title {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

.dashboard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

.chip--erp { background: rgba(204, 78, 0, 0.15); color: #ff8c42; border-color: rgba(204, 78, 0, 0.35); }
.chip--crm { background: var(--color-teal-muted); color: var(--color-teal-light); border-color: var(--color-teal-glow); }
.chip--b2b { background: rgba(255, 140, 66, 0.15); color: #ffb380; border-color: rgba(255, 140, 66, 0.35); }
.chip--report { background: rgba(34, 197, 94, 0.15); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }

.dashboard__chart {
  height: 80px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.chart-line {
  width: 100%;
  height: 100%;
}

.chart-stroke {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 2s ease forwards 0.5s;
}

.dashboard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-mini {
  padding: 0.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.stat-mini__label {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-mini__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--float-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.float-card svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.float-card--1 {
  top: -10px;
  right: -20px;
  animation: floatCard 5s ease-in-out infinite;
}

.float-card--2 {
  bottom: 60px;
  left: -30px;
  animation: floatCard 5s ease-in-out infinite -1.5s;
}

.float-card--3 {
  bottom: -10px;
  right: 40px;
  animation: floatCard 5s ease-in-out infinite -3s;
}

/* --- Sections --- */
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__header--left {
  text-align: left;
  margin-inline: 0;
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- Services --- */
.section--services {
  background: linear-gradient(180deg, transparent, var(--section-tint) 50%, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(204, 78, 0, 0.1);
  border: 1px solid rgba(204, 78, 0, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- Modules --- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.module-card {
  position: relative;
  padding: 1.75rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card--highlight {
  background: rgba(204, 78, 0, 0.06);
}

.module-card--highlight::before {
  opacity: 1;
  animation: borderPulse 3s ease-in-out infinite;
}

.module-card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.module-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.module-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Why Unidesire --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-list__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal-muted);
  border-radius: 50%;
  color: var(--color-teal);
}

.why-list__check svg {
  width: 14px;
  height: 14px;
}

.why-list__item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.why-list__item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.why-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-orbit {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.service-orbit__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(204, 78, 0, 0.22), transparent 70%);
  border-radius: 50%;
  animation: hubPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.service-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(204, 78, 0, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.service-orbit__ring--1 {
  width: 58%;
  height: 58%;
  animation: ringSpin 28s linear infinite;
}

.service-orbit__ring--2 {
  width: 78%;
  height: 78%;
  border-style: dashed;
  opacity: 0.5;
  animation: ringSpin 40s linear infinite reverse;
}

.service-orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.service-orbit__circle {
  transform-origin: 210px 210px;
  animation: ringDash 12s linear infinite;
}

.service-orbit__spoke {
  stroke: rgba(204, 78, 0, 0.2);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: spokePulse 2.5s ease-in-out infinite;
}

.service-orbit__spoke:nth-of-type(2) { animation-delay: -0.4s; }
.service-orbit__spoke:nth-of-type(3) { animation-delay: -0.8s; }
.service-orbit__spoke:nth-of-type(4) { animation-delay: -1.2s; }
.service-orbit__spoke:nth-of-type(5) { animation-delay: -1.6s; }
.service-orbit__spoke:nth-of-type(6) { animation-delay: -2s; }
.service-orbit__spoke:nth-of-type(7) { animation-delay: -2.4s; }

.service-orbit__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(204, 78, 0, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translate(-50%, -50%);
  animation: hubFloat 5s ease-in-out infinite;
}

.service-orbit__hub svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.service-orbit__hub span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  white-space: nowrap;
}

.orbit-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: orbitDrift 5s ease-in-out infinite;
}

.orbit-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
  z-index: 4;
  translate: 0 -4px;
}

.orbit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.orbit-card__icon svg {
  width: 18px;
  height: 18px;
}

.orbit-card__icon--erp { background: rgba(204, 78, 0, 0.15); color: #ff8c42; }
.orbit-card__icon--crm { background: rgba(232, 101, 26, 0.15); color: #e8651a; }
.orbit-card__icon--b2b { background: rgba(255, 140, 66, 0.15); color: #ffb380; }
.orbit-card__icon--admin { background: rgba(204, 78, 0, 0.12); color: #ff8c42; }
.orbit-card__icon--web { background: rgba(232, 101, 26, 0.12); color: #e8651a; }
.orbit-card__icon--api { background: rgba(255, 140, 66, 0.12); color: #ffb380; }

.orbit-card__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.orbit-card--1 {
  top: 4%;
  left: 2%;
  rotate: -8deg;
  animation-delay: 0s;
}

.orbit-card--2 {
  top: 8%;
  right: 0;
  rotate: 6deg;
  animation-delay: -0.8s;
}

.orbit-card--3 {
  top: 38%;
  left: -4%;
  rotate: 4deg;
  animation-delay: -1.6s;
}

.orbit-card--4 {
  top: 42%;
  right: -6%;
  rotate: -5deg;
  animation-delay: -2.4s;
}

.orbit-card--5 {
  bottom: 8%;
  left: 6%;
  rotate: -4deg;
  animation-delay: -3.2s;
}

.orbit-card--6 {
  bottom: 4%;
  right: 4%;
  rotate: 7deg;
  animation-delay: -4s;
}

.why-visual.reveal .orbit-card {
  opacity: 0;
  scale: 0.85;
}

.why-visual.reveal--visible .orbit-card {
  animation: orbitDrift 5s ease-in-out infinite, orbitCardIn 0.6s ease forwards;
}

.why-visual.reveal--visible .orbit-card--1 { animation-delay: 0.1s, 0.1s; }
.why-visual.reveal--visible .orbit-card--2 { animation-delay: -0.8s, 0.2s; }
.why-visual.reveal--visible .orbit-card--3 { animation-delay: -1.6s, 0.3s; }
.why-visual.reveal--visible .orbit-card--4 { animation-delay: -2.4s, 0.4s; }
.why-visual.reveal--visible .orbit-card--5 { animation-delay: -3.2s, 0.5s; }
.why-visual.reveal--visible .orbit-card--6 { animation-delay: -4s, 0.6s; }

.why-visual.reveal--visible .service-orbit__hub {
  animation: hubFloat 5s ease-in-out infinite, orbitCardIn 0.7s ease 0.05s forwards;
}

.why-visual.reveal .service-orbit__hub {
  opacity: 0;
  scale: 0.9;
}

/* --- Process Timeline --- */
.section--process {
  background: linear-gradient(180deg, transparent, var(--section-tint) 50%, transparent);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light), transparent);
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent);
  z-index: 1;
  box-shadow: 0 0 20px rgba(204, 78, 0, 0.2);
}

.timeline__content {
  flex: 1;
  padding: 1.5rem;
}

.timeline__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline__content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- Technologies --- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tech-tag {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  animation: tagFadeIn 0.5s ease backwards;
}

.tech-tag:nth-child(1) { animation-delay: 0.05s; }
.tech-tag:nth-child(2) { animation-delay: 0.1s; }
.tech-tag:nth-child(3) { animation-delay: 0.15s; }
.tech-tag:nth-child(4) { animation-delay: 0.2s; }
.tech-tag:nth-child(5) { animation-delay: 0.25s; }
.tech-tag:nth-child(6) { animation-delay: 0.3s; }
.tech-tag:nth-child(7) { animation-delay: 0.35s; }
.tech-tag:nth-child(8) { animation-delay: 0.4s; }

.tech-tag:hover {
  transform: translateY(-2px);
  color: var(--color-teal);
  border-color: var(--color-teal-glow);
  box-shadow: 0 4px 16px var(--color-teal-muted);
}

/* --- Intro --- */
.section--intro {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.intro-box {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.intro-box__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.intro-box__text {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.intro-box__text:last-child {
  margin-bottom: 0;
}

/* --- Why & Process (combined) --- */
.section--about {
  background: linear-gradient(180deg, transparent, rgba(45, 212, 191, 0.04) 50%, transparent);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.about-split__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-split__col + .about-split__col {
  border-left: 1px solid var(--color-border);
  padding-left: clamp(1.5rem, 3vw, 2rem);
}

.why-list--section {
  max-width: none;
  margin-inline: 0;
}

.why-list--section .why-list__item strong {
  font-size: 1.0625rem;
}

.why-list--section .why-list__item p {
  font-size: 0.9375rem;
}

/* --- Solutions --- */
.section--solutions {
  background: linear-gradient(180deg, transparent, var(--section-tint) 50%, transparent);
}

.platform-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  border-color: var(--color-border-glow);
}

.platform-banner__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.platform-banner__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.platform-banner__content p {
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.platform-banner__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.platform-banner__features li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.platform-banner__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.solutions-grid--visual {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.solution-card--visual {
  padding: 1.25rem;
  overflow: hidden;
}

.solution-card--visual .solution-card__title {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.solution-card--visual .solution-card__desc {
  margin-bottom: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Solution UI mockups */
.solution-mockup {
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--dashboard-bg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.solution-mockup__bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.solution-mockup__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.solution-mockup__dot--red { background: #ef4444; }
.solution-mockup__dot--yellow { background: #eab308; }
.solution-mockup__dot--green { background: #22c55e; }

.solution-mockup__bar-title {
  margin-left: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-dim);
  letter-spacing: 0.02em;
}

.solution-mockup__body {
  padding: 0.75rem;
  min-height: 130px;
}

/* Admin panel mock */
.solution-mockup__body--admin {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.625rem;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mock-sidebar__item {
  height: 8px;
  border-radius: 4px;
  background: var(--color-border);
}

.mock-sidebar__item--active {
  background: var(--color-accent);
  opacity: 0.7;
}

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mock-table__head {
  height: 10px;
  border-radius: 4px;
  background: rgba(204, 78, 0, 0.2);
  margin-bottom: 0.125rem;
}

.mock-table__row {
  display: flex;
  align-items: center;
  height: 14px;
  border-radius: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0 0.375rem;
}

.mock-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-badge--ok {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* SaaS mock */
.solution-mockup__body--saas {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.mock-tenants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}

.mock-tenant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mock-tenant--active {
  border-color: rgba(204, 78, 0, 0.45);
  background: rgba(204, 78, 0, 0.08);
}

.mock-tenant__avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-border);
}

.mock-tenant--active .mock-tenant__avatar {
  background: var(--color-accent);
  opacity: 0.6;
}

.mock-tenant__line {
  width: 70%;
  height: 5px;
  border-radius: 3px;
  background: var(--color-border);
}

.mock-chips {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.mock-chip {
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
}

.mock-chip--accent {
  background: rgba(204, 78, 0, 0.15);
  color: var(--color-accent-warm);
  border-color: rgba(204, 78, 0, 0.35);
}

/* B2B catalog mock */
.mock-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}

.mock-product {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mock-product__img {
  height: 36px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-border), transparent);
}

.mock-product__price {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-text);
}

.mock-product__btn {
  font-size: 0.5rem;
  font-weight: 700;
  text-align: center;
  padding: 0.2rem;
  border-radius: 4px;
  background: var(--color-accent);
  color: #fff;
}

/* Sales flow mock */
.solution-mockup__body--flow {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.mock-pipeline {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mock-pipeline__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.375rem 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mock-pipeline__step--done {
  border-color: rgba(34, 197, 94, 0.35);
}

.mock-pipeline__step--active {
  border-color: rgba(204, 78, 0, 0.45);
  background: rgba(204, 78, 0, 0.08);
}

.mock-pipeline__label {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-pipeline__count {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text);
}

.mock-pipeline__arrow {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-text-dim);
  border-right: 2px solid var(--color-text-dim);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.5;
}

.mock-stock-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 40px;
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .mock-stock-bars {
  background: rgba(15, 23, 42, 0.04);
}

.mock-stock-bars span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--color-accent-warm), var(--color-accent));
  opacity: 0.75;
}

/* Web app dashboard mock */
.mock-dash__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.mock-stat {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mock-stat em {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
}

.mock-stat strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
}

.mock-dash__chart {
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

[data-theme="light"] .mock-dash__chart {
  background: rgba(15, 23, 42, 0.04);
}

.mock-dash__chart svg {
  width: 100%;
  height: 100%;
}

/* Integration hub mock */
.solution-mockup__body--api {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-hub {
  position: relative;
  width: 100%;
  height: 110px;
}

.mock-hub__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 0 20px rgba(204, 78, 0, 0.35);
}

.mock-node {
  position: absolute;
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.mock-node--tl { top: 8px; left: 8px; }
.mock-node--tr { top: 8px; right: 8px; }
.mock-node--bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }

.mock-hub__line {
  position: absolute;
  background: var(--color-border);
  z-index: 1;
}

.mock-hub__line--1 {
  top: 28px;
  left: 52px;
  width: calc(50% - 70px);
  height: 1px;
  transform: rotate(25deg);
  transform-origin: left center;
}

.mock-hub__line--2 {
  top: 28px;
  right: 52px;
  width: calc(50% - 70px);
  height: 1px;
  transform: rotate(-25deg);
  transform-origin: right center;
}

.mock-hub__line--3 {
  bottom: 36px;
  left: 50%;
  width: 1px;
  height: 24px;
  transform: translateX(-50%);
}

.solutions-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.solution-card--compact {
  padding: 1.5rem;
}

.solution-card--compact .solution-card__desc {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.offerings-strip,
.industries-strip,
.capabilities-strip {
  margin-top: 2rem;
  text-align: center;
}

.offerings-strip__label,
.industries-strip__label,
.capabilities-strip__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.offerings-strip__tags,
.industries-strip__tags,
.capabilities-strip__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.industries-strip,
.capabilities-strip {
  margin-top: 1.25rem;
}

.section-anchor {
  display: block;
  position: relative;
  top: calc(-1 * var(--header-height));
  visibility: hidden;
  pointer-events: none;
}

/* --- UDT Platform (Product) --- */
.section--product {
  position: relative;
  overflow: hidden;
}

.section--product::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(204, 78, 0, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(45, 212, 191, 0.06), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(204, 78, 0, 0.05), transparent 65%);
  pointer-events: none;
}

[data-theme="light"] .section--product::before {
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(204, 78, 0, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(13, 148, 136, 0.06), transparent 65%);
}

.product-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(204, 78, 0, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .product-showcase {
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(204, 78, 0, 0.06),
    0 24px 60px rgba(20, 27, 45, 0.08);
}

.product-showcase__hero {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.product-showcase__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-text) 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-showcase__tagline {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Product demo frame — distinct outer stage */
.product-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(204, 78, 0, 0.65) 0%,
    rgba(45, 212, 191, 0.45) 50%,
    rgba(204, 78, 0, 0.35) 100%
  );
  box-shadow:
    0 0 40px rgba(204, 78, 0, 0.15),
    0 0 80px rgba(45, 212, 191, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .product-frame {
  background: linear-gradient(
    135deg,
    rgba(204, 78, 0, 0.5) 0%,
    rgba(13, 148, 136, 0.4) 50%,
    rgba(204, 78, 0, 0.3) 100%
  );
  box-shadow:
    0 0 32px rgba(204, 78, 0, 0.1),
    0 12px 40px rgba(20, 27, 45, 0.1);
}

.product-frame__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 1rem;
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
  background: linear-gradient(180deg, #1a2238 0%, #141b2d 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .product-frame__bar {
  background: linear-gradient(180deg, #2a3347 0%, #1e2738 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.product-frame__bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.product-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.product-frame__dot--red { background: #ef4444; }
.product-frame__dot--yellow { background: #eab308; }
.product-frame__dot--green { background: #22c55e; }

.product-frame__name {
  margin-left: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-frame__stage {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
  background:
    linear-gradient(180deg, #0d1117 0%, #121820 50%, #0f1419 100%);
  box-shadow: inset 0 2px 24px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .product-frame__stage {
  background:
    linear-gradient(180deg, #1a2030 0%, #151b28 50%, #121820 100%);
}

.product-frame__stage::before {
  content: '';
  position: absolute;
  inset: 2.5rem 0 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
}

.product-frame .platform-carousel {
  position: relative;
  z-index: 1;
}

.product-frame .platform-carousel__slide .demo-screen {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.product-frame .platform-carousel__controls {
  padding-top: 0.75rem;
}

.product-frame .platform-carousel__arrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.9);
}

.product-frame .platform-carousel__arrow:hover,
.product-frame .platform-carousel__arrow:focus-visible {
  background: rgba(204, 78, 0, 0.28);
  border-color: rgba(255, 140, 66, 0.55);
  color: #fff;
}

.product-frame .platform-carousel__dot {
  background: rgba(255, 255, 255, 0.32);
}

.product-frame .platform-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.product-frame .platform-carousel__dot.is-active {
  background: var(--color-accent-warm);
  box-shadow: 0 0 10px rgba(255, 140, 66, 0.45);
}

.product-showcase__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem;
}

.product-showcase__desc {
  flex: 1;
  min-width: min(100%, 280px);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.product-showcase__cta {
  flex-shrink: 0;
}

/* Platform demo carousel */
.platform-carousel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  --demo-screen-height: clamp(460px, 48vw, 520px);
}

.platform-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: var(--demo-screen-height);
}

.platform-carousel__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  height: 100%;
}

.platform-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 0.125rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.platform-carousel__slide .demo-screen {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.platform-carousel__caption {
  display: none;
}

.platform-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 0.25rem;
}

.platform-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.platform-carousel__arrow:hover,
.platform-carousel__arrow:focus-visible {
  color: var(--color-text);
  border-color: var(--color-border-glow);
  background: rgba(204, 78, 0, 0.08);
}

.platform-carousel__arrow svg {
  width: 18px;
  height: 18px;
}

.platform-carousel__dots {
  display: flex;
  gap: 0.5rem;
}

.platform-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  transition: transform var(--transition), background var(--transition);
}

.platform-carousel__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.25);
}

/* Demo screen mockup */
.demo-screen {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--dashboard-bg);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 80px rgba(204, 78, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.demo-screen__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  flex-shrink: 0;
}

.demo-screen__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.demo-screen__dot--red { background: #ef4444; }
.demo-screen__dot--yellow { background: #eab308; }
.demo-screen__dot--green { background: #22c55e; }

.demo-screen__url {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

.demo-screen__body {
  display: grid;
  grid-template-columns: 168px 1fr;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.125rem 0.875rem;
  border-right: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 0;
}

[data-theme="light"] .demo-sidebar {
  background: rgba(15, 23, 42, 0.025);
}

.demo-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.demo-sidebar__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.demo-sidebar__tenant {
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(204, 78, 0, 0.35);
  background: rgba(204, 78, 0, 0.1);
  font-size: 0.8125rem;
  min-height: 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.demo-sidebar__tenant-label {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-dim);
  margin-bottom: 0.125rem;
}

.demo-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.demo-nav-item {
  padding: 0.4rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.demo-nav-item--active {
  background: rgba(204, 78, 0, 0.15);
  color: var(--color-accent-warm);
  font-weight: 600;
}

.demo-screen__main {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.125rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.demo-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.demo-topbar strong {
  font-weight: 700;
}

.demo-topbar__sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-dim);
  margin-top: 0.125rem;
}

.demo-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.demo-badge--warn {
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.35);
}

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  flex-shrink: 0;
}

.demo-kpi {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.demo-kpi span {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
  margin-bottom: 0.2rem;
}

.demo-kpi strong {
  font-size: 1.25rem;
  font-weight: 700;
}

.demo-chart-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.1);
  min-height: 0;
}

[data-theme="light"] .demo-chart-block {
  background: rgba(15, 23, 42, 0.035);
}

.demo-chart-block__label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
}

.demo-chart-block svg {
  flex: 1;
  width: 100%;
  min-height: 64px;
}

.demo-activity {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex-shrink: 0;
}

.demo-activity li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.demo-activity__tag {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 100px;
  background: rgba(204, 78, 0, 0.15);
  color: var(--color-accent-warm);
}

.demo-activity em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.demo-table {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
  min-height: 0;
}

.demo-bars {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}

.demo-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr 0.8fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.75rem;
}

.demo-table__row--head {
  background: rgba(204, 78, 0, 0.1);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-dim);
}

.demo-pill {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 100px;
  text-align: center;
}

.demo-pill--ok { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.demo-pill--warn { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.demo-pill--bad { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.demo-bars__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
  margin-bottom: 0.5rem;
}

.demo-bars__items {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.demo-bar-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.demo-bar {
  height: 8px;
  border-radius: 100px;
  background: var(--color-border);
  overflow: hidden;
}

.demo-bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-warm));
}

.demo-bar--alt i {
  background: linear-gradient(90deg, var(--color-teal-deep), var(--color-teal));
}

.demo-mini-stats {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.demo-mini-stats em {
  display: block;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.demo-search {
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  flex-shrink: 0;
}

.demo-customers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
  align-content: stretch;
}

.demo-customer-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.75rem;
  min-height: 4.5rem;
  justify-content: space-between;
}

.demo-customer-card strong {
  font-size: 0.8125rem;
}

.demo-customer-card span {
  color: var(--color-text-dim);
}

.demo-customer-card em {
  margin-top: auto;
  font-style: normal;
  font-weight: 700;
  color: var(--color-accent-warm);
}

.demo-btn-mock {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: #fff;
}

.demo-cost-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  flex-shrink: 0;
}

.demo-cost-item {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.demo-cost-item span {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-dim);
  margin-bottom: 0.2rem;
}

.demo-cost-item strong {
  font-size: 1.125rem;
}

.demo-cost-item--accent {
  border-color: rgba(204, 78, 0, 0.35);
  background: rgba(204, 78, 0, 0.08);
}

.demo-cost-item--accent strong {
  color: var(--color-accent-warm);
}

.demo-cost-chart {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.demo-cost-rows {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.demo-cost-row {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.demo-cost-row em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.6875rem;
  text-align: right;
}

.product-showcase__main p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.product-showcase__lead {
  font-size: 1.0625rem !important;
  color: var(--color-text) !important;
  font-weight: 500;
}

.product-showcase__features-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.product-showcase__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.product-showcase__list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.product-showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.solution-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.solution-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.solution-card__desc {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.solution-card__scope-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.solution-card__scope {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.solution-card__scope li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.solution-card__scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* --- Process (compact) --- */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.process-steps--stack {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.process-steps--stack .process-step {
  padding: 1rem 1.25rem;
}

.process-steps--stack .process-step__num {
  margin-bottom: 0.5rem;
}

.process-steps--stack .process-step__title {
  font-size: 0.9375rem;
}

.process-steps--stack .process-step p {
  font-size: 0.875rem;
  line-height: 1.55;
}

.process-step {
  padding: 1.5rem;
}

.process-step__num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Contact FAQ --- */
.contact-faq {
  margin-top: 2.5rem;
  max-width: 820px;
  margin-inline: auto;
}

.contact-faq__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 1rem 1.5rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}

/* --- Contact --- */
.contact-box {
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204, 78, 0, 0.1), transparent 60%);
  pointer-events: none;
}

.contact-box__header {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-box__header .section__title {
  margin-bottom: 1rem;
}

.contact-box__lead {
  position: relative;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.contact-box__lead:last-of-type {
  margin-bottom: 0;
}

.contact-form {
  position: relative;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-field--full {
  grid-column: 1 / span 2;
}

.form-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-field__optional {
  font-weight: 400;
  color: var(--color-text-dim);
  font-size: 0.8125rem;
}

.form-field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field__input::placeholder {
  color: var(--color-text-dim);
}

.form-field__input:focus {
  outline: none;
  border-color: var(--color-border-glow);
  box-shadow: 0 0 0 3px rgba(204, 78, 0, 0.15);
}

.form-field__textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form__status {
  flex: 1;
  font-size: 0.9375rem;
  margin: 0;
  min-height: 1.25rem;
  text-align: left;
}

.contact-form__status--success {
  color: #4ade80;
}

.contact-form__status--error {
  color: #f87171;
}

.contact-form__status--sending {
  color: var(--color-text-muted);
}

.contact-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  text-align: left;
  flex: 0 1 auto;
  transition: transform var(--transition), border-color var(--transition);
}

a.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 78, 0, 0.1);
  border: 1px solid rgba(204, 78, 0, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.28);
  color: #25d366;
}

.contact-card__body {
  min-width: 0;
}

.contact-card__title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}

.contact-card__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

/* --- Footer --- */
.footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--section-tint);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.footer__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 400px;
  line-height: 1.65;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.footer__social-link {
  display: inline-flex;
  flex: 0 0 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--color-accent);
  border-color: var(--color-border-glow);
  background: rgba(204, 78, 0, 0.08);
  transform: translateY(-2px);
}

.footer__social-link--whatsapp:hover,
.footer__social-link--whatsapp:focus-visible {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.1);
}

.footer__social-link svg {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  pointer-events: none;
}

.footer__nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

html.js .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .hero .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.js .hero .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nested reveals: parent visible => children visible (Edge IO fix) */
html.js .reveal--visible .reveal {
  opacity: 1;
  transform: none;
}

.hero__content .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.17s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero__visual.reveal { transition-delay: 0.42s; }

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--gradient-hero);
}

.page-404__inner {
  max-width: 480px;
}

.page-404__logo {
  display: inline-flex;
  margin-bottom: 2rem;
}

.page-404__logo .logo__img--header {
  height: clamp(44px, 10vw, 64px);
  max-width: 280px;
  filter: var(--logo-glow);
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.page-404__code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-404__desc {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* --- Keyframes --- */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes hubPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes hubFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

@keyframes ringSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringDash {
  to { stroke-dashoffset: -32; }
}

@keyframes spokePulse {
  0%, 100% { stroke-opacity: 0.15; }
  50% { stroke-opacity: 0.45; }
}

@keyframes orbitDrift {
  0%, 100% { translate: 0 0; }
  33% { translate: 4px -6px; }
  66% { translate: -3px 5px; }
}

@keyframes orbitCardIn {
  from {
    opacity: 0;
    scale: 0.85;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__brand {
    display: flex;
    justify-content: center;
  }

  .hero__tagline {
    margin-inline: auto;
  }

  .hero__subtitle,
  .hero__subtitle--secondary {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .platform-banner,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .platform-carousel {
    --demo-screen-height: clamp(400px, 62vw, 460px);
  }

  .demo-screen__body {
    grid-template-columns: 140px 1fr;
  }

  .demo-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-customers {
    grid-template-columns: 1fr;
  }

  .product-showcase__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .product-frame__bar {
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
  }

  .product-frame__name {
    font-size: 0.75rem;
  }

  .product-showcase__cta {
    width: 100%;
  }

  .solutions-grid--visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-split__col + .about-split__col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 2.5rem;
  }

  .why-visual {
    min-height: 340px;
    max-width: 360px;
    margin-inline: auto;
    order: -1;
  }

  .orbit-card {
    padding: 0.5rem 0.75rem;
  }

  .orbit-card__label {
    font-size: 0.75rem;
  }

  .orbit-card--3 { left: 0; }
  .orbit-card--4 { right: 0; }

  .section__header--left {
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__desc {
    margin-inline: auto;
  }

  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav__item--dropdown {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .nav__dropdown {
    display: none;
    padding: 0.25rem 0 0.5rem 0.75rem;
  }

  .nav__item--dropdown.nav__item--open .nav__dropdown {
    display: block;
  }

  .nav__dropdown-link {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .menu-toggle {
    display: flex;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 998;
  }

  .overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  .float-card--1 { right: 0; }
  .float-card--2 { left: 0; }

  .timeline::before {
    left: 19px;
  }

  .timeline__marker {
    width: 40px;
    height: 40px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .logo__img--header {
    height: clamp(38px, 11vw, 48px);
    max-width: min(220px, 72vw);
  }

  .hero__brand-img {
    height: clamp(52px, 16vw, 72px);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: 1;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__footer .btn {
    width: 100%;
  }

  .solutions-grid--visual {
    grid-template-columns: 1fr;
  }

  .platform-carousel {
    --demo-screen-height: clamp(380px, 75vw, 440px);
  }

  .demo-screen__body {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0.875rem;
  }

  .demo-sidebar__brand {
    width: 100%;
  }

  .demo-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
  }

  .demo-table__row {
    grid-template-columns: 1fr 1fr;
    font-size: 0.6875rem;
  }

  .demo-table__row span:nth-child(3),
  .demo-table__row span:nth-child(4),
  .demo-table__row--head span:nth-child(3),
  .demo-table__row--head span:nth-child(4) {
    display: none;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .why-visual.reveal .orbit-card,
  .why-visual.reveal .service-orbit__hub {
    opacity: 1;
    scale: 1;
  }

  .hero__canvas {
    display: none;
  }

  .chart-stroke {
    stroke-dashoffset: 0;
  }
}

/* Backdrop-filter fallback (Edge / older browsers) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card,
  .contact-box {
    background: var(--color-bg-elevated);
  }

  @media (min-width: 769px) {
    .nav__dropdown {
      background: var(--color-bg-elevated);
    }
  }
}
