/* ═══════════════════════════════════════════════════
   蒲風科技 — Main Stylesheet
   Fonts: Syne (display) / Plus Jakarta Sans (body)
   ═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-0:        #05050D;
  --bg-1:        #0C0C1E;
  --bg-2:        #13132A;
  --purple:      #7B2FFF;
  --purple-dim:  #5A1FCC;
  --cyan:        #00E5FF;
  --cyan-dim:    #00AABF;
  --white:       #EEE8FF;
  --white-dim:   #8A88AA;
  --border:      rgba(123,47,255,0.25);
  --glow-purple: rgba(123,47,255,0.35);
  --glow-cyan:   rgba(0,229,255,0.25);
  --grad:        linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  --grad-text:   linear-gradient(90deg, var(--purple), var(--cyan));
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h:       70px;
  --section-pad: clamp(80px, 12vw, 140px);
  --r: 12px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-0);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea {
  font-family: var(--font-body);
  font-size: inherit;
}
::selection { background: var(--purple); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }

/* ── Noise Overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s var(--ease-out), opacity 0.2s;
  mix-blend-mode: screen;
  transform: translate(-50%,-50%);
}
#cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
  transition: transform 0.05s;
}
body.cursor-hover #cursor { transform: translate(-50%,-50%) scale(1.6); border-color: var(--purple); }
@media (hover: none) { #cursor, #cursor-dot { display: none; } body { cursor: auto; } button { cursor: pointer; } }

/* ── Loader ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 8888;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-inner { text-align: center; }
.loader-logo { width: 200px; height: auto; margin: 0 auto 28px; }
.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--bg-2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  animation: loadFill 1.2s var(--ease-out) forwards;
}
@keyframes loadFill { from { width: 0 } to { width: 100% } }

/* ── Typography Helpers ── */
.accent-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 20px;
  opacity: 0.8;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title.centered { text-align: center; }
.section-sub {
  color: var(--white-dim);
  max-width: 520px;
  margin-bottom: 60px;
}
.section-sub.centered { text-align: center; margin: 0 auto 60px; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
#nav.scrolled {
  background: rgba(5,5,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { margin-right: auto; }
.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.logo-zh {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-en {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  opacity: 0.65;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--white-dim);
}
/* Footer logo size override */
.footer-brand .logo-zh { font-size: 1.1rem; }
.footer-brand .logo-en { font-size: 0.55rem; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-dim);
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 0 20px var(--glow-purple);
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-glow:hover {
  box-shadow: 0 0 35px var(--glow-purple), 0 0 60px var(--glow-cyan);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,5,13,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px clamp(20px,5vw,60px);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white-dim);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) clamp(20px,5vw,60px) 80px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(123,47,255,0.08);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  color: var(--cyan);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px var(--cyan); transform: scale(1); }
  50% { box-shadow: 0 0 20px var(--cyan), 0 0 30px var(--cyan); transform: scale(1.2); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
}
.title-line.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--white-dim);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 40px var(--glow-purple);
  transition: transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 60px var(--glow-purple); }
.cta-primary:hover::before { transform: translateX(100%); }
.cta-primary .arrow { transition: transform 0.2s; }
.cta-primary:hover .arrow { transform: translateX(4px); }
.cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--white-dim);
  font-weight: 500;
  font-size: 15px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cta-ghost:hover { border-color: var(--purple); color: var(--white); background: rgba(123,47,255,0.08); }

/* Hero Stats floating bottom-right */
.hero-stats {
  position: absolute;
  bottom: 60px; right: clamp(20px,5vw,60px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
  opacity: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono);
}
.stat-item strong {
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-item span {
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.1em;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px; left: clamp(20px,5vw,60px);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  font-family: var(--font-mono);
  opacity: 0;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ── ABOUT ── */
#about {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.about-text {}
.about-desc {
  color: var(--white-dim);
  margin-bottom: 20px;
  max-width: 460px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 0.06em;
  background: rgba(0,229,255,0.05);
  transition: background 0.2s, border-color 0.2s;
}
.tag:hover { background: rgba(0,229,255,0.12); border-color: var(--cyan); }

/* Visual Card */
.about-visual { display: flex; justify-content: center; }
.visual-card {
  width: 320px; height: 320px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(12,12,30,0.8);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  filter: blur(20px);
}
.visual-card:hover .card-glow { opacity: 0.4; }
.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}
.vc-ring {
  position: absolute;
  width: 100px; height: 100px;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }
.vc-icon { width: 64px; height: 64px; position: relative; z-index: 1; }
.vc-icon svg { width: 100%; height: 100%; }
.vc-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--white-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border);
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  background: var(--bg-1);
  transition: background 0.2s;
}
.stat-block:hover { background: var(--bg-2); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--white-dim);
  vertical-align: super;
  font-size: 0.75rem;
}
.stat-label {
  font-size: 12px;
  color: var(--white-dim);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ── FEATURES ── */
#features {
  padding: var(--section-pad) 0;
  position: relative;
}
#features::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  position: relative;
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-1);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: default;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(123,47,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feat-card:hover::before { opacity: 1; }
.feat-card:hover { border-color: rgba(123,47,255,0.5); }
.feat-card.featured {
  border-color: var(--purple);
  background: linear-gradient(135deg, rgba(123,47,255,0.12), rgba(0,229,255,0.06));
  box-shadow: 0 0 40px rgba(123,47,255,0.2);
}
.feat-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  background: var(--grad);
  border-radius: 100px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.feat-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
}
.feat-icon svg { width: 100%; height: 100%; }
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feat-card p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.feat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--purple);
  letter-spacing: 0.14em;
  opacity: 0.7;
}

/* ── SHOWCASE ── */
#showcase {
  padding: var(--section-pad) 0;
  overflow: hidden;
}
#showcase .section-inner { margin-bottom: 48px; }
.showcase-track-wrapper {
  overflow: hidden;
  padding: 20px 0 40px;
  position: relative;
}
.showcase-track {
  display: flex;
  gap: 24px;
  padding: 0 clamp(20px,5vw,60px);
  transition: transform 0.5s var(--ease-out);
}
.showcase-card {
  flex: 0 0 clamp(280px, 30vw, 400px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(123,47,255,0.25);
}
.sc-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.sc-ui-mock { width: 80%; max-width: 240px; }

/* Mock UI elements */
.mock-bar { height: 8px; background: var(--grad); border-radius: 4px; margin-bottom: 20px; opacity: 0.7; }
.mock-wave { display: flex; align-items: center; gap: 6px; justify-content: center; height: 60px; }
.mock-wave span {
  display: block; width: 6px;
  background: linear-gradient(to top, var(--purple), var(--cyan));
  border-radius: 3px;
  animation: wave 1.4s ease-in-out infinite;
}
.mock-wave span:nth-child(1) { height: 30px; animation-delay: 0s; }
.mock-wave span:nth-child(2) { height: 50px; animation-delay: 0.15s; }
.mock-wave span:nth-child(3) { height: 70px; animation-delay: 0.3s; }
.mock-wave span:nth-child(4) { height: 50px; animation-delay: 0.45s; }
.mock-wave span:nth-child(5) { height: 30px; animation-delay: 0.6s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
.mock-chat { display: flex; flex-direction: column; gap: 12px; }
.mc-bubble {
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.mc-bubble.right { width: 70%; align-self: flex-end; background: rgba(123,47,255,0.4); }
.mc-bubble.left { width: 55%; }
.mc-bubble.short { width: 35%; align-self: flex-end; background: rgba(123,47,255,0.4); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mg-cell { height: 60px; border-radius: 8px; background: rgba(255,255,255,0.06); }
.mg-cell.active { background: rgba(123,47,255,0.4); }
.mock-dashboard { display: flex; flex-direction: column; gap: 12px; }
.md-line { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.md-line.short { width: 60%; }
.md-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 4px; }
.md-chart span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--purple), var(--cyan)); opacity: 0.7; }
.mock-settings { display: flex; flex-direction: column; gap: 14px; }
.ms-row { height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; }
.ms-row.short { width: 50%; }
.ms-toggle {
  width: 44px; height: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.1);
  position: relative;
}
.ms-toggle.active { background: var(--purple); }
.ms-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.ms-toggle.active::after { left: 25px; }
.ms-toggle:not(.active)::after { left: 3px; }

.sc-info { padding: 20px 24px; }
.sc-info h4 { font-family: var(--font-display); font-weight: 700; margin-bottom: 6px; }
.sc-info p { font-size: 13px; color: var(--white-dim); }

.showcase-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 clamp(20px,5vw,60px);
}
.sc-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.sc-btn:hover {
  border-color: var(--purple);
  background: rgba(123,47,255,0.12);
  box-shadow: 0 0 20px var(--glow-purple);
}
.sc-dots { display: flex; gap: 8px; }
.sc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.sc-dot.active { background: var(--purple); transform: scale(1.3); }

/* ── TESTIMONIALS ── */
#testimonials {
  padding: var(--section-pad) 0;
  position: relative;
}
#testimonials::before {
  content: '';
  position: absolute;
  top: 50%; left: -200px;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,47,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.testi-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(12,12,30,0.6);
  backdrop-filter: blur(10px);
  position: relative;
  transform-style: preserve-3d;
}
.testi-card.highlight {
  border-color: var(--purple);
  background: linear-gradient(135deg, rgba(123,47,255,0.1), rgba(0,229,255,0.05));
  box-shadow: 0 0 40px rgba(123,47,255,0.15);
}
.testi-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--purple);
  opacity: 0.5;
  margin-bottom: 20px;
}
.testi-card > p {
  color: var(--white-dim);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; font-weight: 600; }
.testi-author span { font-size: 0.78rem; color: var(--white-dim); }

/* ── CONTACT ── */
#contact {
  padding: var(--section-pad) 0;
  position: relative;
}
#contact::before {
  content: '';
  position: absolute;
  top: 50%; right: -100px;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-desc {
  color: var(--white-dim);
  margin: 20px 0 40px;
  max-width: 380px;
}
.contact-methods { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.cm-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cm-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(123,47,255,0.06);
  flex-shrink: 0;
}
.cm-item strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.cm-item span { font-size: 13px; color: var(--white-dim); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--white-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--purple);
  color: var(--white);
  background: rgba(123,47,255,0.12);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,136,170,0.5); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,47,255,0.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #FF4757; }
.field-error {
  font-size: 12px;
  color: #FF4757;
  min-height: 18px;
  display: block;
}
.btn-submit {
  position: relative;
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 8px 30px var(--glow-purple);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 50px var(--glow-purple); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-ripple {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.5s, opacity 0.5s;
  opacity: 0;
}
.btn-submit:active .btn-ripple { transform: scale(2); opacity: 0; }
.form-success {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--cyan);
  font-size: 13px;
  display: none;
}
.form-success.show { display: block; }

/* ── FOOTER ── */
#footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,60px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--white-dim); font-size: 14px; margin-top: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fl-col { display: flex; flex-direction: column; gap: 12px; }
.fl-col strong { font-size: 13px; letter-spacing: 0.06em; color: var(--white); margin-bottom: 4px; }
.fl-col a { font-size: 13px; color: var(--white-dim); transition: color 0.2s; }
.fl-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(20px,5vw,60px) 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--white-dim);
}
#backToTop {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  transition: color 0.2s;
  padding: 6px 0;
  cursor: pointer;
}
#backToTop:hover { color: var(--cyan); }

/* ── Scroll Animation Initial States ── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.9); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-glow { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
  .scroll-indicator { display: none; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .cta-primary, .cta-ghost { text-align: center; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ── Reduce Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #three-canvas { display: none; }
  #hero { background: linear-gradient(135deg, #0a0520 0%, #050d20 100%); }
}
