/* ============================================================
   3D NITESH MASTER STUDIO CLOUD PRO — styles.css
   Professional Refinement v2.0
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg:         #050607;
  --panel:      #101216;
  --panel-2:    #171a20;
  --text:       #f6f2e7;
  --muted:      #b8b3a7;
  --dim:        #77766f;
  --gold:       #f5b642;
  --gold-2:     #ffdd7a;
  --gold-dark:  #d78b16;
  --line:       rgba(245, 182, 66, 0.22);
  --white-line: rgba(255, 255, 255, 0.1);
  --shadow:     rgba(0, 0, 0, 0.45);
  --radius:     8px;
  --section-px: clamp(20px, 5vw, 72px);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background:
    radial-gradient(circle at 14% 10%, rgba(245, 182, 66, 0.08), transparent 24%),
    radial-gradient(circle at 76% 18%, rgba(43, 119, 255, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  /* Page reveal */
  animation: pageReveal 0.55s ease forwards;
}

@keyframes pageReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

/* ── Focus Visible (Accessibility) ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 4.45vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif; /* fix: was Georgia */
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em; /* fix: was 0 */
  text-transform: uppercase;
}

/* ── Scroll-Reveal Animation System ────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered delay for grid children */
[data-reveal-group] > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group] > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-group] > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-group] > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-group] > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-group] > *:nth-child(6) { transition-delay: 0.4s; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--white-line);
  background: rgba(5, 6, 7, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(5, 6, 7, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ── Brand ──────────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #050607;
  box-shadow: 0 0 28px rgba(245, 182, 66, 0.22);
  animation: logoFloat 4s ease-in-out infinite;
  flex-shrink: 0;
}

.brand-mark video,
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.18;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.brand small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Primary Nav ────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav a.is-active {
  color: var(--gold-2);
}

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 211, 107, 0.22), rgba(215, 139, 22, 0.12));
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  background: linear-gradient(180deg, rgba(255, 211, 107, 0.34), rgba(215, 139, 22, 0.22));
  border-color: rgba(245, 182, 66, 0.46);
  box-shadow: 0 4px 20px rgba(215, 139, 22, 0.22);
}

/* ── Hamburger Menu ─────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--white-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Drawer ──────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 32px;
  background: rgba(5, 6, 7, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--white-line);
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  max-width: 320px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--white-line);
  transition: color var(--transition), background var(--transition);
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover {
  color: var(--gold-2);
  background: rgba(245, 182, 66, 0.07);
}

.mobile-drawer .drawer-cta {
  margin-top: 24px;
  min-height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffd36b, var(--gold-dark));
  color: #141006;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Floating WhatsApp ──────────────────────────────────────── */
.floating-contact {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(245, 182, 66, 0.3);
  border-radius: var(--radius);
  background: rgba(5, 6, 7, 0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(245, 182, 66, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.54), 0 0 32px rgba(245, 182, 66, 0.12);
}

.floating-contact a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--gold-2);
  font-size: 17px;
  font-weight: 700;
}

.floating-whatsapp {
  gap: 10px;
}

.wa-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.4));
  flex-shrink: 0;
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 100px clamp(24px, 5.4vw, 86px) 64px;
  border-bottom: 1px solid var(--white-line);
  perspective: 1200px;
}

.hero-orbit {
  position: absolute;
  right: 7vw;
  top: 9vh;
  width: min(620px, 46vw);
  height: min(620px, 46vw);
  border: 1px solid rgba(245, 182, 66, 0.15);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(245, 182, 66, 0.22), transparent 38%),
    radial-gradient(circle, rgba(245, 182, 66, 0.12), transparent 62%);
  opacity: 0.85;
  animation: slowSpin 18s linear infinite;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 42%, rgba(245, 182, 66, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(5,6,7,0.98) 0%, rgba(5,6,7,0.88) 40%, rgba(5,6,7,0.44) 78%, rgba(5,6,7,0.84) 100%),
    linear-gradient(180deg, rgba(5,6,7,0.25) 0%, #050607 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 3.3vw, 58px);
  row-gap: 32px;
  align-items: center;
  justify-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-copy {
  max-width: 620px;
  font-size: clamp(17px, 1.35vw, 21px);
  margin-bottom: 32px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.hero-actions,
.trust-row,
.footer-row,
.cta-panel,
.download-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative;
  overflow: hidden;
}

/* Ripple effect */
.primary-action::before,
.secondary-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  border-radius: inherit;
  transition: background 0.15s ease;
}

.primary-action:hover::before {
  background: rgba(255, 255, 255, 0.08);
}

.primary-action {
  background: linear-gradient(180deg, #ffd36b, var(--gold-dark));
  color: #141006;
  box-shadow: 0 8px 24px rgba(215, 139, 22, 0.32);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(215, 139, 22, 0.44);
}

.primary-action:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.hero .primary-action {
  min-height: 60px;
  padding: 0 28px;
  gap: 14px;
  border: 1px solid rgba(255, 221, 122, 0.58);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 800;
  box-shadow:
    0 16px 48px rgba(215, 139, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.hero .primary-action::after {
  content: "↓";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 16, 6, 0.14);
  font-size: 20px;
  line-height: 1;
}

/* Download CTA */
.download-cta {
  position: relative;
  min-width: 210px;
  min-height: 62px;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 52px 12px 22px;
  border: 1px solid rgba(255, 221, 122, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 243, 194, 0.42), transparent 38%),
    linear-gradient(180deg, #ffd876, #e49a1e);
  box-shadow:
    0 12px 32px rgba(215, 139, 22, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  line-height: 1.05;
  transition: transform var(--transition), box-shadow var(--transition);
}

.download-cta::after {
  content: "↓";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 16, 6, 0.14);
  transform: translateY(-50%);
  font-size: 17px;
}

.download-cta span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.download-cta strong {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
}

.download-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 60px rgba(215, 139, 22, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.secondary-action {
  border: 1px solid var(--white-line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Plan CTA */
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--white-line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

.plan-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.featured-plan .plan-cta {
  border-color: rgba(245, 182, 66, 0.55);
  background: linear-gradient(180deg, rgba(255, 211, 107, 0.22), rgba(215, 139, 22, 0.12));
  color: var(--gold-2);
}

.featured-plan .plan-cta:hover {
  background: linear-gradient(180deg, rgba(255, 211, 107, 0.34), rgba(215, 139, 22, 0.22));
  border-color: rgba(245, 182, 66, 0.78);
}

/* ── Phone Strip ────────────────────────────────────────────── */
.phone-strip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid rgba(245, 182, 66, 0.26);
  border-radius: 6px;
  background: rgba(245, 182, 66, 0.07);
  color: var(--gold-2);
  font-weight: 700;
}

/* ── Trust Row Badges ───────────────────────────────────────── */
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 18, 22, 0.72);
  color: var(--gold-2);
  font-size: 13px;
}

/* ── Hero Stat Grid ─────────────────────────────────────────── */
.hero-stat-grid {
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hero-stat-grid > span {
  min-height: 160px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(245, 182, 66, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 22% 28%, rgba(245, 182, 66, 0.12), transparent 32%),
    rgba(12, 13, 16, 0.72);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  line-height: 1.35;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.hero-stat-grid > span:hover {
  border-color: rgba(245, 182, 66, 0.5);
  background:
    radial-gradient(circle at 22% 28%, rgba(245, 182, 66, 0.18), transparent 38%),
    rgba(12, 13, 16, 0.82);
  transform: translateY(-2px);
}

.hero-stat-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(22px, 1.8vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 5px;
}

.stat-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.stat-copy small {
  display: block;
  color: rgba(246, 242, 231, 0.78);
  font-size: 16px;
  line-height: 1.35;
}

/* SVG Icons for stat grid */
.stat-icon {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(245, 182, 66, 0.35));
}

/* ── Hero Trust Strip ───────────────────────────────────────── */
.hero-trust-strip {
  z-index: 2;
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  margin-top: 8px;
}

.hero-trust-strip span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 242, 231, 0.86);
  font-size: 15px;
  font-weight: 500;
}

.hero-trust-strip span svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(245, 182, 66, 0.3));
  flex-shrink: 0;
}

.hero-trust-strip span + span::after {
  content: "";
  position: absolute;
  left: clamp(-48px, -3.5vw, -22px);
  top: 50%;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

/* ── Hero Architecture Image ────────────────────────────────── */
.hero-architecture {
  position: relative;
  z-index: 1;
  min-height: 520px;
  align-self: center;
  display: grid;
  place-items: center;
  overflow: visible;
}

.hero-architecture img {
  width: min(110%, 860px);
  max-width: none;
  object-fit: contain;
  transform: translateX(2%);
  filter:
    drop-shadow(0 32px 56px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 24px rgba(245, 182, 66, 0.1));
  animation: architectureFloat 7s ease-in-out infinite;
}

/* ── Hero Video Card ────────────────────────────────────────── */
.hero-video-card {
  position: relative;
  width: min(380px, 100%);
  justify-self: center;
  transform: rotateY(-10deg) rotateX(3deg);
  transform-style: preserve-3d;
  animation: deviceFloat 5s ease-in-out infinite;
}

.hero-video-card::before {
  content: "";
  position: absolute;
  inset: 8% -18% 10%;
  z-index: -1;
  background: linear-gradient(140deg, rgba(245, 182, 66, 0.32), rgba(38, 109, 255, 0.16));
  filter: blur(48px);
  opacity: 0.82;
}

.video-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(145deg, #111318, #050607);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.58);
  overflow: hidden;
}

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 16px;
  background: #111;
}

.video-caption {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  background: rgba(16, 18, 22, 0.72);
}

.video-caption span {
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.hero-metrics span {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.hero-metrics strong {
  display: block;
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 700;
}

/* ── Tagline Pills ──────────────────────────────────────────── */
.tagline-stack,
.mini-taglines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tagline-stack span,
.mini-taglines span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--white-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
}

/* ── Section Foundations ────────────────────────────────────── */
.section {
  padding: 80px var(--section-px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

/* ── Download Band ──────────────────────────────────────────── */
.download-band {
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(90deg, rgba(245, 182, 66, 0.08), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid var(--white-line);
}

.download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(245, 182, 66, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(245, 182, 66, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(10, 11, 14, 0.94), rgba(5, 6, 7, 0.82));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.download-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.8vw, 40px);
}

.download-panel p {
  margin-bottom: 0;
  max-width: 620px;
}

/* ── Intro Band ─────────────────────────────────────────────── */
.intro-band {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #0a0b0e;
  border-bottom: 1px solid var(--white-line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.intro-grid h2 {
  margin-bottom: 0;
}

/* ── Feature Grid ───────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.plan,
.cta-panel {
  border: 1px solid var(--white-line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  box-shadow: 0 16px 48px var(--shadow);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.feature,
.plan {
  min-height: 240px;
  padding: 24px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding-bottom: 90px;
  cursor: default;
}

.feature:hover {
  border-color: rgba(245, 182, 66, 0.38);
  background: linear-gradient(180deg, rgba(245, 182, 66, 0.09), rgba(255, 255, 255, 0.025));
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 182, 66, 0.12);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(245, 182, 66, 0.1);
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

/* ── Feature Previews ───────────────────────────────────────── */
.feature-preview {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 56px;
  border: 1px solid rgba(245, 182, 66, 0.16);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #111319, #090a0d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.preview-catalog {
  background:
    linear-gradient(90deg, rgba(245,182,66,0.48) 0 15%, transparent 15% 19%, rgba(255,255,255,0.14) 19% 34%, transparent 34% 38%, rgba(255,255,255,0.1) 38% 53%, transparent 53% 57%, rgba(245,182,66,0.3) 57% 72%, transparent 72% 76%, rgba(255,255,255,0.08) 76% 91%, transparent 91%),
    #0b0d11;
  background-size: 118% 100%;
  animation: catalogSlide 4.8s ease-in-out infinite;
}

.preview-catalog::after,
.preview-image::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(245, 182, 66, 0.14), transparent);
  animation: scannerSweep 3.6s ease-in-out infinite;
}

.preview-search {
  background:
    radial-gradient(circle at 10% 50%, rgba(245,182,66,0.92) 0 5px, transparent 6px),
    radial-gradient(circle at 13% 58%, rgba(245,182,66,0.7) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,0.13) 34px 88%, transparent 88%),
    #0b0d11;
}

.preview-search::after {
  content: "Sofa";
  position: absolute;
  left: 54px;
  top: 18px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  animation: searchType 3.8s steps(4, end) infinite;
  overflow: hidden;
  white-space: nowrap;
}

.preview-image {
  background:
    linear-gradient(90deg, rgba(245,182,66,0.44) 0 9%, transparent 9% 12%, rgba(245,182,66,0.24) 12% 21%, transparent 21% 24%, rgba(255,255,255,0.14) 24% 33%, transparent 33% 36%, rgba(255,255,255,0.08) 36% 45%, transparent 45% 48%, rgba(255,255,255,0.14) 48% 57%, transparent 57% 60%, rgba(255,255,255,0.08) 60% 69%, transparent 69% 72%, rgba(255,255,255,0.11) 72% 81%, transparent 81% 84%, rgba(255,255,255,0.14) 84% 93%, transparent 93%),
    #0b0d11;
}

.preview-download { background: #0b0d11; }

.preview-download::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 42%;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(245,182,66,0.72), rgba(245,182,66,0.38));
  animation: downloadPulse 3.4s ease-in-out infinite;
}

.preview-download::after {
  content: "42%";
  position: absolute;
  left: calc(42% + 12px);
  top: 19px;
  color: rgba(255, 221, 122, 0.86);
  font-size: 11px;
  font-weight: 700;
}

.preview-fav { background: #0b0d11; }

.preview-fav::after {
  content: "♥";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 30px;
  animation: heartBeat 2.3s ease-in-out infinite;
}

.preview-merge {
  background:
    linear-gradient(90deg, rgba(245,182,66,0.42), transparent 34%),
    linear-gradient(135deg, transparent 0 45%, rgba(255,255,255,0.18) 46% 48%, transparent 49%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    #0b0d11;
  background-size: auto, auto, 22px 22px, 22px 22px, auto;
  animation: mergeGlow 4s ease-in-out infinite;
}

.preview-merge::after {
  content: "";
  position: absolute;
  left: 10%; top: 19px;
  width: 30px; height: 17px;
  border-radius: 4px;
  background: var(--gold);
  animation: miniMerge 3.2s ease-in-out infinite;
}

.preview-merge::before {
  content: "";
  position: absolute;
  left: 14%; top: 50%;
  width: 64%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,182,66,0.9), transparent);
  filter: drop-shadow(0 0 10px rgba(245,182,66,0.55));
  transform: translateY(-50%);
  animation: mergeBeam 3.2s ease-in-out infinite;
}

/* ── Visual Section ─────────────────────────────────────────── */
.visual-section {
  background:
    radial-gradient(circle at 84% 46%, rgba(245, 182, 66, 0.1), transparent 28%),
    #08090b;
  overflow: hidden;
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.workflow-video-card {
  width: min(360px, 100%);
  justify-self: end;
  transform: rotateY(-7deg) rotateX(2deg);
}

.workflow-video-card .video-shell {
  padding: 10px;
}

.workflow-video-card .video-shell video {
  max-height: 600px;
}

/* ── Category Section ───────────────────────────────────────── */
.category-section {
  border-top: 1px solid var(--white-line);
  background:
    linear-gradient(180deg, #07080a, #050607),
    radial-gradient(circle at 82% 18%, rgba(245, 182, 66, 0.08), transparent 28%);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 136px;
  overflow: hidden;
  border: 1px solid rgba(245, 182, 66, 0.36);
  border-radius: 12px;
  background:
    radial-gradient(circle at 76% 18%, rgba(245, 182, 66, 0.15), transparent 30%),
    linear-gradient(180deg, #121317, #060708 72%);
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.022);
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto 0 136px;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 7, 0.96));
  z-index: 1;
  pointer-events: none;
}

/* Old ::after arrow removed — replaced with .cat-arrow SVG element */

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 221, 122, 0.7);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(245, 182, 66, 0.1);
}

.category-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 22px 22px 0;
  background:
    radial-gradient(circle at 50% 75%, rgba(245, 182, 66, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.025), transparent 65%);
}

/* ── Cat Arrow SVG Button (image2 design) ───────────────────── */
.cat-arrow {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a96e; /* warm gold tone matching image2 */
  transition: color var(--transition), transform var(--transition), filter var(--transition);
  pointer-events: none;
}

.cat-arrow svg {
  width: 54px;
  height: 54px;
  display: block;
}

.category-card:hover .cat-arrow {
  color: var(--gold-2);
  transform: translateX(3px);
  filter: drop-shadow(0 0 10px rgba(245, 182, 66, 0.45));
}

.category-visual img {
  display: block;
  width: min(100%, 300px);
  max-height: 270px;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 16px rgba(245, 182, 66, 0.14));
  animation: modelTurn 6s ease-in-out infinite;
  transform-origin: center bottom;
}

.category-info {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 72px 24px 22px;
  border-top: 1px solid rgba(245, 182, 66, 0.18);
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.55), rgba(5, 6, 7, 0.94));
}

.category-info > span:first-child {
  position: absolute;
  left: 20px;
  top: -28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 182, 66, 0.5);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 211, 107, 0.28), rgba(126, 82, 13, 0.56));
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.category-info h3 {
  margin-bottom: 0;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif; /* fix: was Georgia */
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.category-info strong {
  color: var(--gold-2);
  font-size: 17px;
  font-weight: 700;
}

.category-note {
  margin: 20px 0 0;
  color: var(--dim);
  font-size: 13px;
}

/* ── Merge Section ──────────────────────────────────────────── */
.merge-section {
  background:
    linear-gradient(180deg, #050607, #090a0d),
    radial-gradient(circle at 65% 45%, rgba(245, 182, 66, 0.12), transparent 30%);
  border-top: 1px solid var(--white-line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 14px rgba(245, 182, 66, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpolyline points='4,9 7.5,12.5 14,6' fill='none' stroke='%23f5b642' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.poster-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #090a0c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── 3ds Max Stage ──────────────────────────────────────────── */
.max-stage {
  position: relative;
  min-height: 440px;
  border: 1px solid rgba(245, 182, 66, 0.26);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #11141a, #050607);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  transform: rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
}

.max-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--white-line);
  background: #191c22;
  color: var(--text);
  font-size: 13px;
}

.max-topbar em {
  color: var(--gold);
  font-style: normal;
}

.viewport-grid {
  position: relative;
  min-height: 338px;
  margin: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(circle at 46% 56%, rgba(245, 182, 66, 0.11), transparent 30%),
    #0d1015;
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.room-floor {
  position: absolute;
  left: 12%; right: 12%; bottom: 38px;
  height: 108px;
  transform: perspective(500px) rotateX(62deg);
  background:
    linear-gradient(90deg, rgba(245,182,66,0.18), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.09) 0 1px, transparent 1px 46px);
  border: 1px solid rgba(245, 182, 66, 0.2);
}

.merge-object {
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(145deg, #b58d58, #3c2b19);
  box-shadow: 0 18px 36px rgba(0,0,0,0.44), inset 0 0 16px rgba(255,221,122,0.14);
}

.sofa-a {
  left: 42%; bottom: 96px;
  width: 118px; height: 50px;
  animation: sofaMerge 4.8s ease-in-out infinite;
}

.sofa-a::before,
.sofa-a::after {
  content: "";
  position: absolute;
  bottom: 34px;
  width: 48px; height: 36px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(145deg, #c6a06b, #4a3420);
}

.sofa-a::before { left: 8px; }
.sofa-a::after  { right: 8px; }

.chair-a {
  right: 19%; bottom: 88px;
  width: 46px; height: 54px;
  animation: chairMerge 4.8s ease-in-out infinite;
}

.merge-beam {
  position: absolute;
  left: 12%; top: 40%;
  width: 58%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  filter: drop-shadow(0 0 12px var(--gold));
  animation: beamMove 4.8s ease-in-out infinite;
}

.model-card {
  position: absolute;
  left: 20px;
  width: 110px;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(245, 182, 66, 0.1);
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.32);
}

.card-a { top: 48px;  animation: cardFly 4.8s ease-in-out infinite; }
.card-b { top: 104px; animation: cardFly 4.8s ease-in-out 0.8s infinite; }
.card-c { top: 160px; animation: cardFly 4.8s ease-in-out 1.6s infinite; }

.max-status {
  margin: 0 16px 16px;
  padding: 12px;
  border: 1px solid var(--white-line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
}

/* ── Pricing Section ────────────────────────────────────────── */
.pricing-section {
  border-top: 1px solid var(--white-line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.featured-plan {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(245, 182, 66, 0.14), rgba(255,255,255,0.03));
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,182,66,0.18);
}

.featured-plan:hover {
  border-color: rgba(245,182,66,0.6);
}

/* "Most Popular" badge */
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd36b, var(--gold-dark));
  color: #141006;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(215, 139, 22, 0.4);
}

.price {
  margin: 12px 0 14px;
  color: var(--gold-2);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.price sub {
  font-size: 14px;
  font-weight: 600;
  vertical-align: baseline;
  color: var(--muted);
}

.price-period {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  margin-top: 6px;
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

.cta-panel {
  justify-content: space-between;
  padding: 36px 40px;
  border-color: var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 40%, rgba(245,182,66,0.1), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
}

.cta-panel p {
  margin-bottom: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 48px var(--section-px) 32px;
  border-top: 1px solid var(--white-line);
  background: #07080a;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  width: min(1180px, 100%);
  margin: 0 auto 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.footer-brand-logo strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand-logo small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer-brand img {
  width: 40px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.footer-desc {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 182, 66, 0.22);
  border-radius: 6px;
  background: rgba(245, 182, 66, 0.06);
  color: var(--gold-2) !important;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
  width: fit-content;
}

.footer-contact-item:hover {
  background: rgba(245, 182, 66, 0.12);
  border-color: rgba(245, 182, 66, 0.42);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--dim);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--white-line);
  width: min(1180px, 100%);
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

.footer-bottom strong {
  color: var(--text);
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-2);
}

/* ── Keyframe Animations ────────────────────────────────────── */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50%       { transform: translateY(-3px) rotateY(14deg); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes architectureFloat {
  0%, 100% { transform: translateX(2%) translateY(0) scale(1); }
  50%       { transform: translateX(2%) translateY(-10px) scale(1.012); }
}

@keyframes deviceFloat {
  0%, 100% { transform: rotateY(-10deg) rotateX(3deg) translateY(0); }
  50%       { transform: rotateY(-5deg) rotateX(5deg) translateY(-12px); }
}

/* Improved cardFly - less abrupt, shorter range */
@keyframes cardFly {
  0%, 50%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate3d(140px, 70px, 0) scale(0.75);
    opacity: 0.2;
  }
}

@keyframes beamMove {
  0%, 38%, 100% { opacity: 0; transform: translateX(-40px); }
  56%, 70%      { opacity: 1; transform: translateX(54px); }
}

@keyframes sofaMerge {
  0%, 52% { transform: translateY(20px) scale(0.74); opacity: 0.35; }
  76%, 100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes chairMerge {
  0%, 62% { transform: translateY(28px) scale(0.7); opacity: 0.2; }
  82%, 100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes downloadPulse {
  0%, 100% { opacity: 0.76; transform: scaleX(0.94); }
  50%       { opacity: 1;    transform: scaleX(1); }
}

@keyframes mergeGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(245,182,66,0)); }
  50%       { filter: drop-shadow(0 0 12px rgba(245,182,66,0.42)); }
}

@keyframes catalogSlide {
  0%, 100% { background-position: 0 0; }
  50%       { background-position: 36px 0; }
}

@keyframes searchType {
  0%       { width: 0; }
  42%, 78% { width: 34px; }
  100%     { width: 0; }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.2); opacity: 1; }
}

@keyframes miniMerge {
  0%, 100% { transform: translateX(0) scale(0.8); opacity: 0.38; }
  55%       { transform: translateX(170px) scale(1); opacity: 1; }
}

@keyframes scannerSweep {
  0%, 100% { transform: translateX(-120%); opacity: 0; }
  42%, 62%  { opacity: 1; }
  78%       { transform: translateX(300%); opacity: 0; }
}

@keyframes mergeBeam {
  0%, 100% { opacity: 0.12; transform: translateY(-50%) scaleX(0.45); }
  52%       { opacity: 1;    transform: translateY(-50%) scaleX(1); }
}

@keyframes modelTurn {
  0%, 100% { transform: rotateY(-10deg) translateY(0); }
  50%       { transform: rotateY(10deg) translateY(-8px); }
}

/* ── Responsive Breakpoints ─────────────────────────────────── */

/* Tablet & smaller desktop */
@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile landscape & large mobile */
@media (max-width: 920px) {
  .site-header {
    position: sticky;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(5,6,7,0.86), #050607 86%);
  }

  .intro-grid,
  .split,
  .visual-grid,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    width: min(720px, 100%);
  }

  .hero-architecture {
    min-height: 400px;
    width: 100%;
  }

  .hero-architecture img {
    width: min(100%, 740px);
    transform: none;
  }

  .hero-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-trust-strip {
    flex-wrap: wrap;
    gap: 18px 28px;
    justify-content: flex-start;
  }

  .hero-trust-strip span + span::after {
    display: none;
  }

  .hero-video-card,
  .max-stage {
    transform: none;
  }

  .workflow-video-card {
    justify-self: center;
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Mobile portrait */
@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }

  .nav-cta {
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-inline: 18px;
  }

  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
  }

  .floating-contact a {
    flex: 1;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-grid > span {
    min-height: 120px;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .hero-architecture {
    min-height: 300px;
  }

  .hero-architecture img {
    width: min(112%, 500px);
  }

  .feature-grid,
  .pricing-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .plan {
    padding: 20px;
  }

  .cta-panel {
    padding: 24px;
  }

  .category-card {
    min-height: 320px;
  }

  .category-visual {
    min-height: 210px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .mobile-drawer {
    max-width: 100%;
    border-right: none;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  body {
    animation: none;
  }
}
