/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #06060f;
  --bg-2: #0c0c1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8f0;
  --text-muted: #8888a8;
  --cyan: #00f0ff;
  --purple: #7c3aed;
  --magenta: #ff2d95;
  --gradient: linear-gradient(135deg, var(--cyan), var(--purple), var(--magenta));
  --font: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ===== Cursor Glow ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.14) 0%, rgba(124, 58, 237, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, width 0.3s, height 0.3s;
  opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

.cursor-glow.clicking {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 232, 255, 0.25) 0%, rgba(255, 45, 149, 0.1) 50%, transparent 70%);
}

/* ===== Particle Canvas ===== */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(6, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.logo-text--company {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== 3D Z brand image (neon scene) ===== */
.z-logo {
  display: block;
  object-fit: cover;
  object-position: 50% 42%;
  filter: drop-shadow(0 0 16px rgba(255, 45, 149, 0.4)) drop-shadow(0 0 24px rgba(0, 120, 255, 0.5));
  pointer-events: none;
}

.logo-img-nav {
  height: 37px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), filter 0.3s;
}

.logo--brand:hover .logo-img-nav {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(0, 120, 255, 0.35));
}

.z-logo--nav {
  width: 44px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), filter 0.3s;
}

.logo--brand:hover .z-logo--nav {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(255, 45, 149, 0.6)) drop-shadow(0 0 32px rgba(0, 120, 255, 0.7));
}

.z-logo--footer {
  width: 52px;
}

.z-logo--mark {
  width: 100%;
  height: 100%;
}

.z-logo--wm {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 80px);
  height: var(--size, 80px);
  opacity: 0.35;
  transform: rotate(var(--rot, 0deg));
  will-change: transform;
  border-radius: 18%;
}

/* ===== Z Brand Watermarks ===== */
.z-watermarks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.z-brand {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  overflow: hidden;
  border-radius: 22%;
}

.z-brand--section {
  width: 110px;
  height: 110px;
  left: -15px;
  top: 50%;
  margin-top: -55px;
  opacity: 0.4;
}

.z-brand--section.z-brand--right {
  left: auto;
  right: -15px;
}

.z-brand--cta {
  width: 150px;
  height: 150px;
  left: 10%;
  top: 25%;
  opacity: 0.45;
}

.z-brand--cta-sm {
  width: 85px;
  height: 85px;
  left: auto;
  right: 15%;
  top: 55%;
  opacity: 0.35;
}

.section-z-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  overflow: hidden;
  border-radius: 22%;
}

.cursor-float {
  will-change: transform;
  transition: transform 0.08s linear;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.nav-cta:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav.open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.6);
}

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

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.06);
  transform: translateY(-2px);
}

/* ===== Section Common ===== */
section {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top) + 2rem) 2rem calc(4rem + env(safe-area-inset-bottom));
  max-width: 1280px;
  margin: 0 auto;
  gap: 3rem;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(124, 58, 237, 0.25);
  top: -10%; right: 10%;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(0, 240, 255, 0.15);
  bottom: 10%; left: -5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(255, 45, 149, 0.15);
  top: 40%; left: 30%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.title-line { display: block; }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual — glass phone + 3D Z deco */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  height: 100%;
  max-height: 580px;
  perspective: 1100px;
}

.hero-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 520px;
  z-index: 2;
  transform-style: preserve-3d;
}

.hero-z-deco {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 340px;
  height: 340px;
  margin-left: -170px;
  margin-top: -170px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero-z-deco-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 24px;
  filter: drop-shadow(0 0 40px rgba(255, 45, 149, 0.35)) drop-shadow(0 0 60px rgba(0, 153, 255, 0.25));
}

.hero-platform {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 220px;
  height: 36px;
  margin-left: -110px;
  background: radial-gradient(ellipse at center, rgba(255, 45, 149, 0.55) 0%, rgba(255, 45, 149, 0.15) 45%, transparent 72%);
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  animation: platformPulse 3.5s ease-in-out infinite;
}

@keyframes platformPulse {
  0%, 100% { opacity: 0.75; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.08); }
}

.glass-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 470px;
  margin-left: -115px;
  margin-top: -235px;
  z-index: 3;
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-phone-glow {
  position: absolute;
  inset: -18px -14px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 153, 255, 0.35), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 45, 149, 0.4), transparent 60%);
  border-radius: 42px;
  filter: blur(18px);
  z-index: -1;
  animation: phoneGlow 4s ease-in-out infinite;
}

@keyframes phoneGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.glass-phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -8px 24px rgba(0, 0, 0, 0.35),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(255, 45, 149, 0.15),
    0 0 60px rgba(0, 153, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  overflow: hidden;
}

.glass-phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
  border-radius: 36px 36px 60% 60%;
  pointer-events: none;
  z-index: 2;
}

.glass-phone-bezel {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 72px;
  height: 22px;
  margin-left: -36px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 14px;
  z-index: 4;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.08);
}

.glass-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a12;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* TikTok Shop UI inside phone */
.tt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 12px 6px;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  z-index: 3;
  flex-shrink: 0;
}

.tt-time {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tt-tabs {
  display: flex;
  gap: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.tt-tabs .active {
  color: #fff;
  position: relative;
}

.tt-tabs .active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  background: #fff;
  border-radius: 2px;
}

.tt-search {
  font-size: 0.7rem;
  opacity: 0.8;
}

.tt-feed {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.tt-video {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, #1a0a2e 0%, #2d1b4e 25%, #0f3460 55%, #16213e 100%);
  animation: ttVideoShift 8s ease-in-out infinite alternate;
}

@keyframes ttVideoShift {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(15deg) brightness(1.08); }
}

.tt-video-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 45, 149, 0.25), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(0, 153, 255, 0.2), transparent 45%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.5) 100%);
}

.tt-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  background: #fe2c55;
  border-radius: 4px;
  letter-spacing: 0.05em;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.tt-product-card {
  position: absolute;
  left: 10px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  max-width: 150px;
  animation: productBounce 3s ease-in-out infinite;
}

@keyframes productBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.tt-product-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff2d95, #0099ff);
  flex-shrink: 0;
}

.tt-product-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.48rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

.tt-product-info strong {
  color: #fff;
  font-size: 0.52rem;
}

.tt-actions {
  position: absolute;
  right: 8px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.tt-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-size: 0.45rem;
}

.tt-action-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
}

.tt-action-z {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.4);
}

.tt-action-z img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.tt-caption {
  position: absolute;
  left: 10px;
  right: 56px;
  bottom: 44px;
  z-index: 2;
  font-size: 0.48rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.tt-caption strong {
  display: block;
  font-size: 0.52rem;
  margin-bottom: 2px;
}

.tt-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.tt-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 6px 12px;
  background: rgba(0, 0, 0, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  z-index: 3;
}

.tt-nav .active {
  color: #fff;
  font-weight: 600;
}

.tt-nav-plus {
  width: 28px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
}

.floating-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.1);
  z-index: 3;
}

.fi-1 { top: 8%; right: 5%; }
.fi-2 { bottom: 18%; left: 0; }
.fi-3 { top: 45%; right: 0; }

.stats, .pillars, .services, .tiktok, .products, .cta {
  position: relative;
  overflow: hidden;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ===== Stats ===== */
.stats {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.05), transparent);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
}

.stat-number {
  display: inline;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  display: inline;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
}

.stat-label {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Pillars ===== */
.pillars {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.4);
}

.pillar-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.5s;
}

.pillar-card:hover .pillar-bg { opacity: 0.06; }

.pillar-icon {
  width: 56px;
  height: 56px;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: transform 0.5s var(--ease);
}

.pillar-card:hover .pillar-icon { transform: scale(1.1); }

.pillar-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pillar-en {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.pillar-line {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar-card:hover .pillar-line { transform: scaleX(1); }

.pillars-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pillar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.pillar-dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}

/* ===== Services ===== */
.services {
  padding: 6rem 2rem;
  background: var(--bg-2);
}

.services-track {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.service-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.05);
}

.service-num {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}

.service-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.service-tags span {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  color: var(--purple);
}

.service-visual {
  width: 80px;
  height: 80px;
  position: relative;
}

.service-ring {
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: ringSpin 3s linear infinite;
}

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

/* ===== TikTok Section ===== */
.tiktok {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.tiktok-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
}

.tiktok-text { grid-column: 1; grid-row: 1; align-self: center; }
.tiktok-visual { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; }
.tiktok-features {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tiktok-hex {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: hexPulse 4s ease-in-out infinite;
}

.hex-ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(0, 240, 255, 0.2);
}

.hex-ring-2 {
  width: 75%; height: 75%;
  border-color: rgba(124, 58, 237, 0.3);
  animation-delay: -1.3s;
}

.hex-ring-3 {
  width: 50%; height: 50%;
  border-color: rgba(255, 45, 149, 0.3);
  animation-delay: -2.6s;
}

@keyframes hexPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hex-core {
  width: 80px;
  height: 80px;
  color: var(--text);
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(0,240,255,0.5));
  animation: coreGlow 3s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0,240,255,0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(255,45,149,0.6)); }
}

.hex-core svg { width: 100%; height: 100%; }

.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 149, 0.3);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Products ===== */
.products {
  padding: 6rem 2rem;
  background: var(--bg-2);
}

.products-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
}

.product-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover .product-glow { opacity: 1; }

.product-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  background: var(--gradient);
  border-radius: 12px;
  color: #fff;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-link {
  font-size: 0.8rem;
  color: var(--cyan);
  transition: gap 0.3s;
}

/* ===== Partners Marquee ===== */
.partners {
  padding: 4rem 0;
  overflow: hidden;
}

.partners .section-header { padding: 0 2rem; }

.marquee-wrapper {
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}

.marquee span:hover {
  opacity: 1;
  color: var(--text);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== News ===== */
.news {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
}

.news-date {
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.news-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

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

.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 10s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo { margin-bottom: 1.5rem; }

.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-contact strong {
  color: var(--text);
  margin-right: 0.5rem;
}

.footer-contact a {
  color: var(--cyan);
  transition: opacity 0.3s;
}

.footer-contact a:hover { opacity: 0.8; }

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal.open.closing {
  opacity: 0;
  transition: opacity 0.5s 0.3s, visibility 0.5s 0.3s;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 12, 0.88);
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.8s var(--ease);
}

.modal.open .modal-backdrop {
  backdrop-filter: blur(12px);
}

.modal-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.modal-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-frame {
  position: relative;
  width: min(63vw, 490px);
  max-height: 63vh;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,240,255,0.5), rgba(124,58,237,0.5), rgba(255,45,149,0.3));
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.1),
    0 0 60px rgba(124, 58, 237, 0.25),
    0 25px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  filter: blur(28px);
  transform: scale(0.55);
  transition: none;
}

.modal.open .modal-frame.assembling {
  animation: modalAssemble 1.1s var(--ease) forwards;
}

.modal.open .modal-frame.assembled {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.modal.open.closing .modal-frame {
  animation: modalDisperse 0.7s var(--ease) forwards;
}

@keyframes modalAssemble {
  0% {
    opacity: 0;
    filter: blur(32px);
    transform: scale(0.5);
  }
  35% {
    opacity: 0.35;
    filter: blur(18px);
    transform: scale(0.72);
  }
  65% {
    opacity: 0.75;
    filter: blur(6px);
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes modalDisperse {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(24px);
    transform: scale(0.6);
  }
}

.modal-corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.4s 0.9s;
  z-index: 3;
}

.modal.open .modal-frame.assembled .modal-corners span {
  opacity: 1;
}

.modal-corners span:nth-child(1) { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.modal-corners span:nth-child(2) { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.modal-corners span:nth-child(3) { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.modal-corners span:nth-child(4) { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.modal-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 20px var(--cyan);
  top: 0;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

.modal.open .modal-frame.assembling .modal-scanline {
  animation: scanSweep 1s 0.4s var(--ease) forwards;
}

@keyframes scanSweep {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.modal-grain {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

.modal.open .modal-frame.assembling .modal-grain {
  animation: grainFade 1.1s var(--ease) forwards;
}

@keyframes grainFade {
  0%, 40% { opacity: 0.45; }
  100% { opacity: 0; }
}

.modal-content {
  position: relative;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(160deg, #0e0e1c 0%, #12122a 100%);
}

.modal-header {
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.modal-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.modal-content img {
  width: 100%;
  height: auto;
  display: block;
  max-height: calc(63vh - 80px);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  opacity: 0;
}

.modal.open .modal-frame.assembled .modal-close {
  opacity: 1;
  transition-delay: 0.2s;
}

.modal-close:hover {
  background: rgba(255, 45, 149, 0.75);
  border-color: var(--magenta);
  transform: rotate(90deg);
}

/* ===== Responsive ===== */

/* Large tablet / small laptop */
@media (max-width: 1200px) {
  .nav-inner { padding: 0 1.5rem; gap: 1.25rem; }
  .hero { padding-left: 1.5rem; padding-right: 1.5rem; gap: 2rem; }
  .stats, .pillars, .services, .tiktok, .products, .news, .cta, .footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .partners .section-header { padding: 0 1.5rem; }
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --nav-h: 64px; }

  .nav-links a { padding: 0.45rem 0.75rem; font-size: 0.8125rem; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.8125rem; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 1.5rem);
    padding-bottom: 3rem;
    gap: 2rem;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual {
    min-height: 320px;
    max-height: none;
    order: -1;
    width: 100%;
  }

  .hero-scene { max-width: 360px; height: 460px; margin: 0 auto; }
  .glass-phone { width: 200px; height: 410px; margin-left: -100px; margin-top: -205px; }
  .hero-z-deco { width: 280px; height: 280px; margin-left: -140px; margin-top: -140px; }

  .section-header { margin-bottom: 3rem; }
  .pillars, .services, .tiktok, .products, .news, .cta { padding-top: 4.5rem; padding-bottom: 4.5rem; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .tiktok-inner { grid-template-columns: 1fr; }
  .tiktok-text { grid-column: 1; grid-row: 1; text-align: center; }
  .tiktok-visual { grid-column: 1; grid-row: 2; }
  .tiktok-features { grid-column: 1; grid-row: 3; }
  .tiktok-hex { width: 280px; height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .z-brand--section { opacity: 0.25; }
}

/* Tablet portrait — mobile nav */
@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 0 1.25rem;
    gap: 0;
  }

  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    margin: 0;
    padding: 0.75rem 0 0.5rem;
    gap: 0.25rem;
    background: transparent;
    border: none;
  }

  .nav.open .nav-links a {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav.open .nav-cta {
    display: inline-flex;
    order: 4;
    width: calc(100% - 2.5rem);
    margin: 0.5rem 1.25rem 1.25rem;
    justify-content: center;
    min-height: 44px;
    align-items: center;
  }

  .nav.open {
    background: rgba(6, 6, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: auto;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .nav.open .nav-inner {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Phone */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-badge { font-size: 0.72rem; padding: 0.35rem 0.85rem; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-visual { min-height: 280px; }
  .hero-scene { max-width: 320px; height: 420px; }
  .glass-phone { width: 185px; height: 378px; margin-left: -92.5px; margin-top: -189px; }
  .hero-z-deco { width: 250px; height: 250px; margin-left: -125px; margin-top: -125px; opacity: 0.45; }

  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .fi-1 { top: 4%; right: 2%; }
  .fi-2 { bottom: 12%; left: 2%; }
  .fi-3 { top: 42%; right: 0; }

  .scroll-indicator { display: none; }

  .stat-number { font-size: 2.25rem; }
  .stat-suffix { font-size: 1.5rem; }
  .stat-card { padding: 1.5rem 1rem; }

  .pillar-card { padding: 2rem 1.5rem; }
  .service-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.75rem;
    text-align: center;
  }

  .service-num { font-size: 2.25rem; }
  .service-tags { justify-content: center; }
  .service-visual { display: none; }

  .tiktok-features { grid-template-columns: 1fr; }
  .tiktok-hex { width: 240px; height: 240px; }

  .news-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { padding: 1.5rem; }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.25rem); }
  .section-desc { font-size: 0.95rem; }

  .z-brand--section,
  .z-brand--cta { display: none; }

  .z-watermarks .z-logo--wm { opacity: 0.2; --size: 60px !important; }

  .modal-wrapper { padding: 1rem; align-items: flex-end; }
  .modal-frame {
    width: min(94vw, 420px);
    max-height: 78dvh;
    border-radius: 20px 20px 16px 16px;
  }

  .marquee { gap: 2rem; }
  .marquee span { font-size: 1rem; }
}

/* Small phone */
@media (max-width: 480px) {
  :root { --nav-h: 60px; }

  .nav-inner { padding: 0 1rem; }
  .logo-img-nav { height: 32px; }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
  }

  .hero-visual { min-height: 250px; }
  .hero-scene {
    max-width: 280px;
    height: 380px;
    transform: scale(0.92);
    transform-origin: center center;
  }

  .stats, .pillars, .services, .tiktok, .products, .news, .cta, .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .stats { padding-top: 3rem; padding-bottom: 3rem; }
  .pillars, .services, .tiktok, .products, .news, .cta {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header { margin-bottom: 2.5rem; }

  .stat-number { font-size: 2rem; }
  .stats-inner { gap: 0.75rem; }

  .floating-icon { display: none; }
  .z-watermarks { display: none; }

  .hero-orb-1 { width: 280px; height: 280px; }
  .hero-orb-2 { width: 220px; height: 220px; }
  .hero-orb-3 { width: 180px; height: 180px; }

  .partners { padding: 3rem 0; }
  .partners .section-header { padding: 0 1rem; }

  .modal-frame {
    width: 100%;
    max-height: 85dvh;
    border-radius: 20px 20px 0 0;
  }

  .modal-header { padding: 1rem 1.25rem 0.5rem; }
  .modal-header h3 { font-size: 1rem; }
}

/* Very small phone */
@media (max-width: 380px) {
  .hero-title { font-size: 1.55rem; }
  .hero-scene { transform: scale(0.84); height: 350px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-card { padding: 1.25rem 1rem; }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 1rem);
    padding-bottom: 2rem;
  }

  .hero-visual { min-height: 220px; order: 0; }
  .hero-scene { height: 300px; transform: scale(0.75); }
  .scroll-indicator { display: none; }
}

/* Touch devices — reduce hover-only effects */
@media (hover: none) and (pointer: coarse) {
  .cursor-glow { display: none !important; }
  body:hover .cursor-glow { opacity: 0 !important; }

  .btn:hover,
  .pillar-card:hover,
  .stat-card:hover,
  .service-card:hover,
  .product-card:hover,
  .news-card:hover,
  .feature-card:hover {
    transform: none;
  }

  .btn-primary:active { transform: scale(0.98); }
}

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

  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; }
  .cursor-float { transition: none; }
}