/* ===== Variables ===== */
:root {
  --bg: #120e0e;
  --bg-card: rgba(30, 28, 32, 0.04);
  --bg-card-hover: rgba(38, 36, 42, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --gold: #2de66a;
  --gold-light: #74e6a3;
  --gold-glow: rgba(45, 230, 106, 0.27);
  --green: #d757c0;
  --green-glow: rgba(215, 87, 192, 0.25);
  --emerald: #960c7d;
  --accent: #bb4359;
  --text: #e6e4e4;
  --text-muted: #a39393;
  --radius: 8px;
  --radius-sm: 6px;
  --font: system-ui, -apple-system, 'Noto Sans SC', sans-serif;
}

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

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

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

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

/* ===== Background Effects ===== */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.bg-glow--1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -10%;
  right: -10%;
  animation: glow-drift 12s ease-in-out infinite;
}

.bg-glow--2 {
  width: 400px;
  height: 400px;
  background: var(--green);
  bottom: 10%;
  left: -15%;
  animation: glow-drift 15s ease-in-out infinite reverse;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

.floating-cards {
  position: absolute;
  inset: 0;
}

.fc {
  position: absolute;
  font-size: 3rem;
  opacity: 0.06;
  animation: float-card 20s ease-in-out infinite;
}

.fc-1 { top: 15%; left: 8%; color: #fff; animation-delay: 0s; }
.fc-2 { top: 60%; left: 5%; color: #ef4444; animation-delay: -3s; }
.fc-3 { top: 30%; right: 10%; color: #ef4444; animation-delay: -6s; }
.fc-4 { bottom: 20%; right: 15%; color: #fff; animation-delay: -9s; }
.fc-5 { top: 45%; left: 20%; color: #ef4444; animation-delay: -12s; font-size: 2rem; }
.fc-6 { bottom: 35%; left: 40%; color: #fff; animation-delay: -15s; font-size: 2.5rem; }

@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  75% { transform: translateY(15px) rotate(-5deg); }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo img:first-child {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.header__logo-text {
  height: 22px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

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

.header__nav a:hover { color: var(--gold); }

.header__cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.header__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.header__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

/* ===== Main Layout ===== */
main {
  position: relative;
  z-index: 1;
}

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 40px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--green-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero__title {
  margin-bottom: 12px;
}

.hero__brand {
  display: block;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero__zh {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero__desc {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat__num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat__unit {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn svg { width: 22px; height: 22px; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.btn--green {
  background: linear-gradient(135deg, var(--emerald), var(--green));
  color: #fff;
  box-shadow: 0 4px 24px var(--green-glow);
}

.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--green-glow);
}

/* Phone mockup */
.hero__phone {
  position: relative;
  perspective: 1000px;
}

.phone-frame {
  position: relative;
  width: 260px;
  margin: 0 auto;
  padding: 12px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 36px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 40px var(--gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateX(5deg);
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: rotateX(5deg) translateY(0); }
  50% { transform: rotateX(5deg) translateY(-12px); }
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: #111;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 8px;
}

.phone-frame img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 9/19;
  object-fit: cover;
}

.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* ===== Download Cards ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.dl-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(45, 230, 106, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.dl-card--featured {
  border-color: rgba(45, 230, 106, 0.4);
  background: linear-gradient(135deg, rgba(45, 230, 106, 0.08), rgba(255, 255, 255, 0.04));
}

.dl-card--web {
  grid-column: span 2;
  flex-direction: row;
  text-align: left;
  gap: 20px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(215, 87, 192, 0.1), rgba(255, 255, 255, 0.04));
  border-color: rgba(215, 87, 192, 0.3);
}

.dl-card__ribbon,
.dl-card__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
}

.dl-card__ribbon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
}

.dl-card__tag {
  background: rgba(215, 87, 192, 0.2);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.dl-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 16px;
}

.dl-card--web .dl-card__icon { margin-bottom: 0; flex-shrink: 0; }

.dl-card__icon svg { width: 28px; height: 28px; }

.dl-card__icon--ios {
  background: linear-gradient(135deg, #333, #555);
  color: #fff;
}

.dl-card__icon--android {
  background: linear-gradient(135deg, var(--emerald), var(--green));
  color: #fff;
}

.dl-card__icon--shield {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}

.dl-card__icon--web {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
}

.dl-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.dl-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.dl-card--web p { margin-bottom: 0; }

.dl-card__btn {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  transition: box-shadow 0.2s;
}

.dl-card:hover .dl-card__btn {
  box-shadow: 0 4px 16px var(--gold-glow);
}

.dl-card__btn--web {
  background: linear-gradient(135deg, var(--emerald), var(--green));
  color: #fff;
  margin-left: auto;
  flex-shrink: 0;
}

.dl-card--web .dl-card__btn--web:hover {
  box-shadow: 0 4px 16px var(--green-glow);
}

.download-tip {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ===== Carousel ===== */
.carousel {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--gold-glow);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel__slide {
  flex: 0 0 100%;
}

.carousel__slide img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 9/19;
  object-fit: cover;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.carousel__arrow:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.carousel__arrow--prev { left: -56px; }
.carousel__arrow--next { right: -56px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.carousel__dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===== About ===== */
.section-head--left {
  text-align: left;
  margin-bottom: 28px;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.about__text {
  margin-bottom: 28px;
}

.about__lead {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__lead strong {
  color: var(--gold-light);
}

.about__text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.about__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s;
}

.about__highlight:hover {
  border-color: rgba(45, 230, 106, 0.3);
}

.about__highlight-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.about__highlight-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.about__tag {
  padding: 5px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}

.about__tag:hover {
  color: var(--gold);
  border-color: rgba(45, 230, 106, 0.27);
}

.about__visual {
  position: sticky;
  top: 100px;
}

.about__card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(160deg, rgba(45, 230, 106, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(45, 230, 106, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  text-align: center;
  overflow: hidden;
}

.about__card-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.about__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 16px;
  position: relative;
}

.about__card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about__list {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.about__list li:last-child {
  border-bottom: none;
}

.about__list-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 230, 106, 0.12);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--gold);
}

.about__list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about__list li strong {
  font-size: 0.88rem;
  color: var(--text);
}

.about__list li span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about__cta {
  display: inline-block;
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--gold-glow);
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 230, 106, 0.25);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--gold-light);
}

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

/* ===== Guide ===== */
.guide-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}

.guide-tab {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.guide-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  border-color: transparent;
  font-weight: 600;
}

.guide-panel { display: none; }
.guide-panel.active { display: block; }

.guide-notice {
  padding: 16px 20px;
  background: rgba(45, 230, 106, 0.08);
  border: 1px solid rgba(45, 230, 106, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.guide-steps {
  display: grid;
  gap: 12px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.guide-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.guide-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-top: 4px;
}

/* ===== FAQ ===== */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq summary {
  padding: 18px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details[open] summary {
  color: var(--gold-light);
}

.faq p {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  margin-top: 20px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer__brand strong {
  display: block;
  font-size: 0.95rem;
}

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

.footer__links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

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

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

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ===== Back to Top ===== */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 99;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top svg { width: 20px; height: 20px; }

.back-top:hover { transform: translateY(-3px); }

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    border-bottom: 1px solid var(--border);
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .header__cta { display: none; }
  .header__menu { display: flex; margin-left: auto; }

  .hero__stats { gap: 24px; }
  .stat__num { font-size: 1.4rem; }

  .download-grid { grid-template-columns: 1fr; }
  .dl-card--web {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
  }
  .dl-card--web .dl-card__btn--web { margin-left: 0; }

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

  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__visual {
    position: static;
  }

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

  .section-head--left {
    text-align: center;
  }

  .carousel__arrow--prev { left: -12px; }
  .carousel__arrow--next { right: -12px; }
  .carousel__arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .footer__links { margin-left: 0; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; max-width: 280px; }
  .btn { width: 100%; justify-content: center; }
  .phone-frame { width: 220px; }
}

/* === Generated layout overrides === */
.layout-hero-split .hero,
.layout-hero-reverse .hero {
  min-height: auto;
  padding-top: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.layout-hero-split .hero__phone,
.layout-hero-reverse .hero__phone { order: 2; }
.layout-hero-reverse .hero__phone { order: -1; }
.layout-hero-split .hero__actions,
.layout-hero-reverse .hero__actions { justify-content: flex-start; }
.layout-hero-split .hero__stats,
.layout-hero-reverse .hero__stats { justify-content: flex-start; }
.hero--split .hero__badge,
.hero--split .hero__title,
.hero--split .hero__subtitle,
.hero--split .hero__desc { text-align: left; }
.hero--split .hero__stats { justify-content: flex-start; }
.hero--split .hero__actions { justify-content: flex-start; }
.hero--compact { min-height: 70vh; padding-top: 90px; }
.hero--compact .hero__phone { display: none; }
.hero--minimal .hero__phone,
.hero--minimal .hero__stats { display: none; }
.about--reverse .about__inner { direction: rtl; }
.about--reverse .about__inner > * { direction: ltr; }
.dl-grid-1 .download-grid { grid-template-columns: 1fr; }
.dl-grid-1 .dl-card--web { grid-column: span 1; flex-direction: column; text-align: center; }
.dl-grid-4 .download-grid { grid-template-columns: repeat(4, 1fr); }
.dl-grid-4 .dl-card--web { grid-column: span 4; flex-direction: row; }
.feat-cols-2 .features-grid { grid-template-columns: repeat(2, 1fr); }
.feat-cols-1 .features-grid { grid-template-columns: 1fr; }
.style-flat .dl-card,
.style-flat .feature-card,
.style-flat .about__card { background: var(--bg-card); box-shadow: none; }
.style-bordered .dl-card,
.style-bordered .feature-card,
.style-bordered .about__card { border-width: 2px; }
.style-gradient .dl-card { background: linear-gradient(145deg, var(--bg-card-hover), var(--bg-card)); }
.style-gradient .feature-card { background: linear-gradient(160deg, var(--bg-card), transparent); }
.style-glass .dl-card,
.style-glass .feature-card,
.style-glass .about__card { backdrop-filter: blur(20px); }
.header--solid.scrolled,
.header--solid { background: var(--bg); }
.header--solid .header__inner { border-bottom: 1px solid var(--border); }
.no-particles #particle-canvas { display: none; }
.no-float .floating-cards { display: none; }
.section-order-b .download { order: 2; }
@media (max-width: 768px) {
  .layout-hero-split .hero,
  .layout-hero-reverse .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero--split .hero__badge,
  .hero--split .hero__title,
  .hero--split .hero__subtitle,
  .hero--split .hero__desc { text-align: center; }
  .hero--split .hero__stats,
  .hero--split .hero__actions { justify-content: center; }
  .dl-grid-4 .download-grid { grid-template-columns: 1fr; }
  .dl-grid-4 .dl-card--web { grid-column: span 1; flex-direction: column; }
}

body { background: #120e0e; }
meta.theme-color { content: '#120e0e'; }
