*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0B0B0B;
  --surface: #131313;
  --surface-alt: #1A1A1A;
  --text: #FFFFFF;
  --text-secondary: #ABABAB;
  --text-muted: #6B6B6B;
  --accent: #FFB100;
  --accent-soft: rgba(255, 177, 0, 0.06);
  --accent-glow: rgba(255, 177, 0, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 177, 0, 0.06);
  --max-w: 1160px;
  --nav-h: 68px;
  --section-space: 100px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== TYPE ========== */
.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 177, 0, 0.35), rgba(255, 177, 0, 0.5), rgba(255, 177, 0, 0.35), transparent);
}

.section--alt {
  background: var(--surface);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text--yellow {
  color: var(--accent);
}

.accent-dash {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  text-decoration: none;
  border: none;
  line-height: 1;
  will-change: transform;
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 4px 20px rgba(255, 177, 0, 0.25);
}

.btn--primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 32px rgba(255, 177, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn--nav {
  padding: 9px 22px;
  font-size: 0.85rem;
  background: var(--accent);
  color: #000;
}

.btn--nav:hover {
  opacity: 0.88;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1.5px solid rgba(255, 177, 0, 0.4);
}

.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1.5px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.nav__center {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 24px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 40% at 65% 50%, rgba(255, 209, 0, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 30% 70%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
}

/* 3D abstract scene */
.hero__scene {
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 0;
  width: min(56%, 640px);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: 0.85;
  animation: heroSceneFloat 11s ease-in-out infinite alternate;
}

.hero__scene-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__scene .hs-glow {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.hero__scene .hs-glow {
  animation: heroPulse 8s ease-in-out infinite alternate;
}

/* single yellow sphere crossing the hero left to right */
.hero__orb {
  position: absolute;
  top: 52%;
  left: -90px;
  width: 90px;
  height: 90px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE9B0 0%, #FFC94D 40%, #FFB100 60%, rgba(255, 177, 0, 0) 75%);
  filter: blur(1px);
  will-change: transform, opacity;
  animation: heroOrbCross 22s ease-in-out infinite;
}

@keyframes heroOrbCross {
  0%   { transform: translateX(0) translateY(0); opacity: 0; }
  6%   { opacity: 0.9; }
  30%  { transform: translateX(34vw) translateY(-18px); opacity: 0.9; }
  55%  { transform: translateX(58vw) translateY(12px); opacity: 0.75; }
  80%  { transform: translateX(82vw) translateY(-14px); opacity: 0.55; }
  100% { transform: translateX(110vw) translateY(8px); opacity: 0; }
}

@keyframes heroSceneFloat {
  0%   { transform: translateY(0) translateX(0); }
  100% { transform: translateY(10px) translateX(-6px); }
}
@keyframes heroPulse {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scene,
  .hero__scene .hs-glow {
    animation: none;
  }
  .hero__orb {
    display: none;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 520px;
}

.hero__logo {
  display: block;
  max-width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__stats {
  display: flex;
  gap: 36px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat-num {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero__stat-suffix {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* ===== CHAT MOCKUP ===== */
.hero__mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup {
  width: 100%;
  max-width: 360px;
  background: #0D0D0D;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.mockup__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
}

.mockup__dots {
  display: flex;
  gap: 6px;
}

.mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.mockup__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.mockup__avatar svg {
  width: 16px;
  height: 16px;
}

.mockup__info {
  flex: 1;
}

.mockup__name {
  font-size: 0.82rem;
  font-weight: 600;
}

.mockup__status {
  font-size: 0.65rem;
  color: #25d366;
  font-weight: 500;
}

.mockup__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 340px;
  background: rgba(255, 255, 255, 0.015);
}

.mockup__msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  line-height: 1.5;
}

.mockup__msg--in {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.mockup__msg--out {
  background: var(--accent);
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.mockup__msg--sys {
  background: rgba(255, 209, 0, 0.08);
  color: var(--accent);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  font-weight: 500;
  font-size: 0.75rem;
}

.mockup__time {
  font-size: 0.58rem;
  opacity: 0.35;
  margin-top: 3px;
  display: block;
  text-align: right;
}

.mockup__msg--out .mockup__time {
  color: rgba(0, 0, 0, 0.4);
}

.mockup__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup__input {
  flex: 1;
  height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
}

.mockup__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

/* ========== PROCESS STEPS ========== */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.3s var(--ease);
  position: relative;
}

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.35), 0 0 100px rgba(255, 177, 0, 0.15);
}

.process-step::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 177, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step:hover::before {
  opacity: 1;
}

.process-step > * {
  position: relative;
  z-index: 1;
}

.process-step__tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.process-step__num {
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255, 177, 0, 0.35);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.process-step__title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.process-step__desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .process__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== SERVICES ========== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.35), 0 0 100px rgba(255, 177, 0, 0.15), 0 16px 40px rgba(0, 0, 0, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 177, 0, 0.25) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card__icon-box {
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover .service-card__icon-box {
  transform: translateY(-3px);
  background: rgba(255, 177, 0, 0.14);
  box-shadow: 0 8px 20px rgba(255, 177, 0, 0.18);
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 16px;
}

.service-card__icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 16px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== STEPS ========== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.35), 0 0 100px rgba(255, 177, 0, 0.15);
}

.step-card__num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.step-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== STAGGER REVEAL ========== */
.services__grid--4 .service-card,
.process__grid .process-step,
.usecases__grid .usecase-card,
.benefits__grid .benefit-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.services__grid--4.in .service-card,
.process__grid.in .process-step,
.usecases__grid.in .usecase-card {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1),
.process-step:nth-child(1),
.usecase-card:nth-child(1) { transition-delay: 0.02s; }
.service-card:nth-child(2),
.process-step:nth-child(2),
.usecase-card:nth-child(2) { transition-delay: 0.06s; }
.service-card:nth-child(3),
.process-step:nth-child(3),
.usecase-card:nth-child(3) { transition-delay: 0.1s; }
.service-card:nth-child(4),
.process-step:nth-child(4),
.usecase-card:nth-child(4) { transition-delay: 0.14s; }
.process-step:nth-child(5),
.usecase-card:nth-child(5) { transition-delay: 0.18s; }
.process-step:nth-child(6),
.usecase-card:nth-child(6) { transition-delay: 0.22s; }
.process-step:nth-child(7) { transition-delay: 0.26s; }
.process-step:nth-child(8) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .services__grid--4 .service-card,
  .process__grid .process-step,
  .usecases__grid .usecase-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== CTA ========== */
.cta {
  padding: var(--section-space) 0 var(--section-space);
}

.cta__box {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.cta__box:hover {
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.2), 0 0 100px rgba(255, 177, 0, 0.1);
  transform: translateY(-2px);
}

.cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(255, 177, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta__box:hover::before {
  opacity: 1;
}

.cta__box > * {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  padding: 56px 0 28px;
  border-top: none;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 0.8fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  margin-left: -16px;
}

.footer__brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.6;
}

.footer__heading {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.footer__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 14px;
  height: 14px;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer__bottom--flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__credit-heart {
  font-size: 0.8rem;
  line-height: 1;
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 3px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.lang-toggle:hover {
  border-color: rgba(255, 177, 0, 0.3);
  box-shadow: 0 0 12px rgba(255, 177, 0, 0.06);
}

.lang-toggle__option {
  padding: 5px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.4);
}

.lang-toggle__option--active {
  background: var(--accent);
  color: #000;
  box-shadow: 0 1px 6px rgba(255, 177, 0, 0.25);
}

.lang-toggle--nav .lang-toggle__option {
  padding: 4px 10px;
}

/* ========== THEME TOGGLE ========== */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease);
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.theme-toggle__icon {
  display: none;
}

.theme-toggle__icon--dark {
  display: block;
}

[data-theme="light"] .theme-toggle__icon--dark {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--light {
  display: block;
}

/* ========== LIGHT MODE ========== */
[data-theme="light"] {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-alt: #F2F2F2;
  --surface-hover: #E8E8E8;
  --text: #0F0F0F;
  --text-secondary: #4A4A4A;
  --text-muted: #777777;
  --border: rgba(0, 0, 0, 0.07);
  --border-strong: rgba(0, 0, 0, 0.14);
  --accent-soft: rgba(255, 177, 0, 0.08);
  --accent-glow: rgba(255, 177, 0, 0.15);
  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.03) inset, 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 177, 0, 0.08);
  --shadow-nav: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] body {
  color: var(--text);
  background: var(--bg);
}

/* Nav light */
[data-theme="light"] .nav {
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .nav--scrolled {
  background: rgba(250, 250, 250, 0.92);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav__center.open {
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Hero light */
[data-theme="light"] .hero__bg::before {
  background:
    radial-gradient(ellipse 60% 40% at 65% 50%, rgba(255, 209, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 30% 70%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
}

[data-theme="light"] .hero__scene .hs-ring {
  fill: url(#hs-sphere-light);
}

[data-theme="light"] .hero__title {
  color: #0A0A0A;
}

/* Section light */
[data-theme="light"] .section--alt {
  background: var(--surface-alt);
}

[data-theme="light"] .section__title {
  color: #000000;
  font-weight: 800;
}

[data-theme="light"] .section__desc {
  color: #333333;
}

/* Tag light */
[data-theme="light"] .tag {
  background: rgba(255, 177, 0, 0.08);
  border-color: rgba(255, 177, 0, 0.2);
}

/* Cards light */
[data-theme="light"] .service-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(255, 177, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover {
  background: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.30), 0 0 100px rgba(255, 177, 0, 0.12), 0 16px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-card__icon-box {
  background: rgba(255, 177, 0, 0.12);
  border-color: rgba(255, 177, 0, 0.2);
}

[data-theme="light"] .benefit-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .benefit-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.30), 0 0 100px rgba(255, 177, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .benefit-card__value {
  color: var(--accent);
}

[data-theme="light"] .benefit-card__label {
  color: #444444;
}

[data-theme="light"] .process-step {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(255, 177, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .process-step:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(255, 177, 0, 0.25), 0 0 80px rgba(255, 177, 0, 0.10);
}

[data-theme="light"] .usecase-card::before {
  opacity: 0;
}

[data-theme="light"] .usecase-card:hover::before {
  opacity: 0.15;
}

[data-theme="light"] .usecase-card:hover {
  border-color: var(--accent);
}

/* CTA light - only yellow border */
[data-theme="light"] .cta__box {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(255, 177, 0, 0.15), 0 4px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .cta__box:hover {
  box-shadow: 0 0 40px rgba(255, 177, 0, 0.25), 0 8px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cta__title {
  color: #0A0A0A;
}

[data-theme="light"] .cta__desc {
  color: var(--text-secondary);
}

/* Buttons light */
[data-theme="light"] .btn--primary {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 4px 20px rgba(255, 177, 0, 0.3);
}

[data-theme="light"] .btn--primary:hover {
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset, 0 12px 32px rgba(255, 177, 0, 0.4);
}

[data-theme="light"] .btn--ghost {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text);
}

[data-theme="light"] .btn--ghost:hover {
  background: rgba(255, 177, 0, 0.08);
  border-color: rgba(255, 177, 0, 0.3);
  color: #B8860B;
}

[data-theme="light"] .btn--nav {
  background: var(--accent);
  color: #000;
}

/* Hero visual nodes light */
[data-theme="light"] .hero__visual-node {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Footer light */
[data-theme="light"] .footer {
  background: var(--surface-alt);
  border-top: none;
}

[data-theme="light"] .footer::before {
  background: var(--accent);
}

[data-theme="light"] .footer__heading {
  color: #0A0A0A;
}

[data-theme="light"] .footer__links a {
  color: var(--text-secondary);
}

[data-theme="light"] .footer__links a:hover {
  color: var(--accent);
}

[data-theme="light"] .footer__bottom p {
  color: var(--text-muted);
}

/* Theme toggle light */
[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 177, 0, 0.08);
}

/* Lang toggle light */
[data-theme="light"] .lang-toggle {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .lang-toggle:hover {
  border-color: rgba(255, 177, 0, 0.4);
  background: rgba(255, 177, 0, 0.06);
}

[data-theme="light"] .lang-toggle__option {
  color: #555555;
}

[data-theme="light"] .lang-toggle__option--active {
  color: #0A0A0A;
}

/* Selection light */
[data-theme="light"] ::selection {
  background: rgba(255, 177, 0, 0.2);
}

/* WhatsApp light */
[data-theme="light"] .float-wa__btn {
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

/* Grid pattern light */
[data-theme="light"] .hero::after {
  opacity: 0.3;
}

/* Separator lines light - darker for visibility */
[data-theme="light"] .section::after {
  display: none;
}

[data-theme="light"] .footer::before {
  background: rgba(0, 0, 0, 0.15);
  height: 1px;
}

[data-theme="light"] .hero__divider {
  background: rgba(0, 0, 0, 0.1);
}

/* Architecture section light mode */
[data-theme="light"] .arch-node__box {
  background: color-mix(in srgb, var(--node-color, #38bdf8) 30%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--node-color, #38bdf8) 55%, transparent);
}

[data-theme="light"] .arch-node__box:hover {
  background: color-mix(in srgb, var(--node-color, #38bdf8) 45%, transparent);
  border-color: var(--node-color, #38bdf8);
  box-shadow: 0 0 40px color-mix(in srgb, var(--node-color, #38bdf8) 35%, transparent), 0 0 80px color-mix(in srgb, var(--node-color, #38bdf8) 15%, transparent);
}

[data-theme="light"] .arch-node__short {
  color: color-mix(in srgb, var(--node-color, #38bdf8) 90%, #000);
}

[data-theme="light"] .arch-node__box:hover .arch-node__short {
  color: var(--node-color, #38bdf8);
}

[data-theme="light"] .arch-node__name {
  color: #1A1A1A;
}

[data-theme="light"] .arch-node__desc {
  color: #555555;
}

[data-theme="light"] .arch-flow__arrow {
  color: var(--accent);
  opacity: 0.6;
}

[data-theme="light"] .arch-flow__arrow svg {
  filter: drop-shadow(0 0 4px rgba(255, 177, 0, 0.3));
}

[data-theme="light"] .arch-node__box.active {
  background: color-mix(in srgb, var(--node-color, #38bdf8) 45%, transparent) !important;
  border-color: var(--node-color, #38bdf8) !important;
  box-shadow: 0 0 20px color-mix(in srgb, var(--node-color, #38bdf8) 30%, transparent), 0 0 40px color-mix(in srgb, var(--node-color, #38bdf8) 12%, transparent);
}

/* ========== WHATSAPP FLOATING ========== */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.float-wa__btn {
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.float-wa__btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.float-wa__btn svg {
  width: 24px;
  height: 24px;
}

/* ========== SCROLL REVEAL ========== */
[data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-r].in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-r] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== HERO GLOW ========== */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__glow::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 177, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__glow::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 177, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__inner--center {
  grid-template-columns: 1fr !important;
  text-align: center;
}

.hero__content--center {
  max-width: 700px;
  margin: 0 auto;
}

.hero__content--center .hero__title {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}

.hero__content--center .hero__subtitle {
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero__content--center .hero__actions {
  justify-content: center;
}

/* ========== BLUE BUTTON ========== */
.btn--blue {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(56, 189, 248, 0.25);
}

.btn--blue:hover {
  box-shadow: 0 8px 40px rgba(56, 189, 248, 0.4) !important;
  opacity: 1 !important;
}

/* ========== TICKER ========== */
.ticker {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  background: var(--surface);
  border-top: 2px solid rgba(255, 177, 0, 0.4);
  border-bottom: 2px solid rgba(255, 177, 0, 0.4);
  position: relative;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 100%);
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface) 0%, transparent 100%);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
}

.ticker__content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.ticker__item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  padding: 0 8px;
  letter-spacing: -0.01em;
}

.ticker__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 177, 0, 0.6);
  margin: 0 14px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

@media (max-width: 768px) {
  .ticker {
    padding: 16px 0;
  }

  .ticker__item {
    font-size: 0.8rem;
  }

  .ticker__dot {
    margin: 0 8px;
  }

  .ticker::before,
  .ticker::after {
    width: 60px;
  }
}

/* Light mode ticker */
[data-theme="light"] .ticker {
  background: var(--surface-alt);
  border-top-color: rgba(255, 177, 0, 0.45);
  border-bottom-color: rgba(255, 177, 0, 0.45);
}

[data-theme="light"] .ticker::before {
  background: linear-gradient(90deg, var(--surface-alt) 0%, transparent 100%);
}

[data-theme="light"] .ticker::after {
  background: linear-gradient(270deg, var(--surface-alt) 0%, transparent 100%);
}

[data-theme="light"] .ticker__item {
  color: #B8860B;
}

/* ========== ARCHITECTURE FLOW ========== */
.arch-flow {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.arch-flow__nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arch-node__box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--node-color, #38bdf8) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--node-color, #38bdf8) 20%, transparent);
  backdrop-filter: blur(12px);
  cursor: default;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.arch-node__box:hover {
  border-color: var(--node-color, #38bdf8) !important;
  background: color-mix(in srgb, var(--node-color, #38bdf8) 30%, transparent) !important;
  box-shadow: 0 0 50px color-mix(in srgb, var(--node-color, #38bdf8) 50%, transparent), 0 0 100px color-mix(in srgb, var(--node-color, #38bdf8) 22%, transparent) !important;
  transform: translateY(-2px) scale(1.08) !important;
}

.arch-node__short {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--node-color, #fff);
  transition: color 0.3s;
}

.arch-node__box:hover .arch-node__short {
  color: #fff;
}

.arch-node__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 12px;
  letter-spacing: 0.01em;
}

.arch-node__desc {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  display: none;
  margin-top: 4px;
}

.arch-flow__arrow {
  display: flex;
  justify-content: center;
  color: var(--accent);
  opacity: 0.5;
  transform: rotate(90deg);
}

.arch-flow__arrow svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px rgba(255, 177, 0, 0.4));
}

/* Architecture sequential animation */
.arch-node__box.active {
  border-color: var(--node-color, #38bdf8) !important;
  background: color-mix(in srgb, var(--node-color, #38bdf8) 30%, transparent) !important;
  box-shadow: 0 0 50px color-mix(in srgb, var(--node-color, #38bdf8) 50%, transparent), 0 0 100px color-mix(in srgb, var(--node-color, #38bdf8) 22%, transparent) !important;
  transform: scale(1.08) !important;
}

.arch-node__box.active .arch-node__short {
  color: #fff !important;
}

.arch-flow__arrow.active svg {
  filter: drop-shadow(0 0 10px rgba(255, 177, 0, 0.8)) drop-shadow(0 0 20px rgba(255, 177, 0, 0.4));
  opacity: 1;
}

.arch-flow__arrow.pulse svg {
  animation: arrow-pulse 0.6s ease-out;
}

@keyframes arrow-pulse {
  0% { filter: drop-shadow(0 0 4px rgba(255, 177, 0, 0.3)); opacity: 0.5; }
  50% { filter: drop-shadow(0 0 14px rgba(255, 177, 0, 0.9)) drop-shadow(0 0 28px rgba(255, 177, 0, 0.5)); opacity: 1; }
  100% { filter: drop-shadow(0 0 6px rgba(255, 177, 0, 0.4)); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .arch-node__box.active {
    transform: none;
  }
  .arch-flow__arrow.pulse svg {
    animation: none;
  }
}

@media (min-width: 769px) {
  .arch-flow__nodes {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .arch-node {
    flex: 1;
  }

  .arch-node__box {
    width: 56px;
    height: 56px;
  }

  .arch-node__desc {
    display: block;
  }

  .arch-flow__arrow {
    transform: rotate(0deg);
    align-items: center;
    height: 56px;
    padding-top: 0;
  }
}

/* ========== 4-COL SERVICES GRID ========== */
.services__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card__icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 209, 0, 0.08);
  color: var(--accent);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 209, 0, 0.12);
  backdrop-filter: blur(8px);
}

.service-card__icon-box svg {
  width: 16px;
  height: 16px;
}

.service-card__icon-box svg {
  width: 18px;
  height: 18px;
}

/* ========== SERVICES LIST ========== */
.services__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.services__list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.services__list-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(255, 177, 0, 0.20), 0 0 80px rgba(255, 177, 0, 0.08);
}

.services__list-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 209, 0, 0.08);
  border: 1px solid rgba(255, 209, 0, 0.15);
  border-radius: var(--radius);
  color: var(--accent);
}

.services__list-icon svg {
  width: 18px;
  height: 18px;
}

.services__list-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.services__list-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .services__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services__list {
    grid-template-columns: 1fr;
  }
}

/* ========== METHODOLOGY ========== */
.meth__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.meth-card {
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.meth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.meth-card:hover::before {
  opacity: 0.22;
}

.meth-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.meth-card__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.9;
}

.meth-card__step {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.meth-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

[data-theme="light"] .meth-card::before {
  opacity: 0;
}

[data-theme="light"] .meth-card:hover::before {
  opacity: 0.15;
}

[data-theme="light"] .meth-card:hover {
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .meth__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .meth__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== BENEFITS ========== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
  padding: 44px 24px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.benefit-card:hover {
  box-shadow: 0 0 50px rgba(255, 177, 0, 0.35), 0 0 100px rgba(255, 177, 0, 0.15), 0 16px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 177, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
  opacity: 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 177, 0, 0.25) 0%, transparent 60%);
}

.benefit-card > * {
  position: relative;
  z-index: 1;
}

.benefit-card__value {
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.benefit-card__value--indicator {
  height: 44px;
}

.ascend-dots {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 40px;
}

.ascend-dots__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.ascend-dots__dot--1 {
  height: 10px;
  opacity: 0.35;
}

.ascend-dots__dot--2 {
  height: 16px;
  opacity: 0.5;
}

.ascend-dots__dot--3 {
  height: 24px;
  opacity: 0.7;
}

.ascend-dots__dot--4 {
  height: 32px;
  opacity: 1;
}

.benefit-card:hover .ascend-dots__dot {
  opacity: 1;
}

.benefit-card__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
  }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 320px;
  }

  .benefit-card {
    padding: 32px 20px;
    min-height: 140px;
  }
}

/* Scroll animation */
.benefits__grid .benefit-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.benefits__grid.in .benefit-card {
  opacity: 1;
  transform: translateY(0);
}

.benefits__grid.in .benefit-card:nth-child(1) { transition-delay: 0s; }
.benefits__grid.in .benefit-card:nth-child(2) { transition-delay: 0.08s; }
.benefits__grid.in .benefit-card:nth-child(3) { transition-delay: 0.16s; }
.benefits__grid.in .benefit-card:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .benefits__grid .benefit-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== USE CASES ========== */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.usecase-card {
  display: block;
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.usecase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.usecase-card:hover::before {
  opacity: 0.22;
}

.usecase-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.usecase-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.usecase-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {

  .services__grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .usecases__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .arch-node__box {
    width: 52px;
    height: 52px;
  }

  .arch-node__short {
    font-size: 0.85rem;
  }

  .benefits__grid {
    max-width: 100%;
  }

  .services__grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    aspect-ratio: auto;
    padding: 24px;
  }

  .usecases__grid {
    grid-template-columns: 1fr 1fr;
  }

  .container {
    padding: 0 20px;
  }

  :root {
    --section-space: 60px;
  }

  .nav__center {
    display: none;
  }

  .nav__right .btn--nav,
  .nav__right .lang-toggle--nav {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__center.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
  }

  .nav__center.open .nav__links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav__center.open .btn--nav {
    display: inline-flex;
  }

  .hero__inner {
    gap: 36px;
  }

  .hero__scene {
    width: 92%;
    right: 4%;
    top: 8px;
    opacity: 0.32;
  }

  .hero__orb {
    width: 60px;
    height: 60px;
    top: 58%;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .mockup {
    max-width: 300px;
  }

  .mockup__body {
    min-height: 280px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px 24px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 28px 24px;
  }

  .cta__box {
    padding: 48px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin: 0 auto;
  }

  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .services__grid--4 {
    grid-template-columns: 1fr;
  }

  .usecases__grid {
    grid-template-columns: 1fr;
  }

  .hero__content--center .hero__title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .hero__stat {
    align-items: center;
  }
}