/* ===== 基础变量 ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-hover: rgba(16, 185, 129, 0.5);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --cyan: #0891b2;
  --cyan-glow: rgba(8, 145, 178, 0.08);
  --emerald: #059669;
  --emerald-light: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.08);
  --violet: #7c3aed;
  --amber: #d97706;
  --sky: #0284c7;
  --rose: #e11d48;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Canvas 粒子 ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.65rem 0;
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-icon {
  font-size: 1.5rem;
  color: var(--emerald);
  line-height: 1;
}
.accent { color: var(--emerald); }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
.btn-primary:hover {
  background: var(--emerald-light);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-glow);
}
.btn-ghost {
  background: var(--bg-alt);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 5rem;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(16,185,129,0.06) 0%, rgba(8,145,178,0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid rgba(16,185,129,0.25);
  background: rgba(16,185,129,0.06);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 2.5rem;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald);
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-dim);
  border-radius: 2px;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===== Section Common ===== */
.section {
  position: relative;
  padding: 7rem 0;
  z-index: 1;
}
.section-alt {
  background: var(--bg-alt);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  border: 1.5px solid rgba(16,185,129,0.2);
  background: rgba(16,185,129,0.06);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.015em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-cyan { background: var(--cyan-glow); color: var(--cyan); }
.icon-emerald { background: var(--emerald-glow); color: var(--emerald); }
.icon-violet { background: rgba(124, 58, 237, 0.08); color: var(--violet); }
.icon-amber { background: rgba(217, 119, 6, 0.08); color: var(--amber); }
.icon-sky { background: rgba(2, 132, 199, 0.08); color: var(--sky); }
.icon-rose { background: rgba(225, 29, 72, 0.08); color: var(--rose); }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* ===== Scenarios ===== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.scenario-card {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.scenario-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.scenario-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1;
}
.scenario-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.scenario-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Showcase ===== */
.showcase-desktop { margin-bottom: 5rem; }
.showcase-subtitle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.showcase-subtitle svg { opacity: 0.6; }

/* Desktop Gallery Carousel */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.carousel-viewport {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0f1a;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.1),
    0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}
.mac-window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  flex-shrink: 0;
}
.mac-window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mac-window-bar i:first-child { background: #ff5f57; }
.mac-window-bar i:nth-child(2) { background: #febc29; }
.mac-window-bar i:nth-child(3) { background: #28c840; }
.carousel-track {
  display: flex;
  flex: 1;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 3;
  opacity: 0;
}
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

/* Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.carousel-dot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.carousel-dot span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.carousel-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot:hover {
  border-color: var(--border-hover);
}
.carousel-dot.active {
  border-color: var(--emerald);
  background: var(--emerald-glow);
}
.carousel-dot.active::before {
  background: var(--emerald);
  transform: scale(1.3);
}
.carousel-dot.active span { color: var(--emerald); }

/* Mobile Gallery */
.mobile-gallery {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}
.phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.phone-frame {
  position: relative;
  width: 172px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  padding: 6px;
  transition: var(--transition);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 8px 30px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.06);
}
.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 20px 50px rgba(0,0,0,0.18),
    0 4px 12px rgba(0,0,0,0.08);
}
.phone-screen {
  position: relative;
  border-radius: 19px;
  overflow: hidden;
  background: #0f172a;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-notch::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1a2e;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
}
.phone-frame img {
  width: 100%;
  aspect-ratio: 9/19.5;
  object-fit: cover;
  display: block;
}
.phone-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ===== Tech Stack ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tech-group {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.tech-group:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.tech-group h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}
.tech-items { display: flex; flex-direction: column; gap: 0.65rem; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 0.35rem 0;
}
.tech-item:hover { color: var(--text); }
.tech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--emerald);
  opacity: 0.2;
  line-height: 1;
  min-width: 2.5rem;
  text-align: right;
  padding-top: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
}
.step-content { flex: 1; }
.step-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.code-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #1e293b;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}
.code-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}
.code-dots {
  display: flex;
  gap: 5px;
}
.code-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dots i:first-child { background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc29; }
.code-dots i:nth-child(3) { background: #28c840; }
.code-title {
  font-size: 0.75rem;
  color: #94a3b8;
}
.code-block pre {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.8;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.code-block code { color: #cbd5e1; }
.c-comment { color: #64748b; }
.c-cmd { color: #22d3ee; }
.c-str { color: #34d399; }

/* ===== Community ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.community-card {
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.community-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.community-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.community-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}
.community-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  flex-shrink: 0;
}
.community-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.qr-img {
  max-width: 160px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border);
  background: #0f172a;
  color: #f8fafc;
}
.footer .logo {
  color: #f8fafc;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-col.brand-col {
  padding-right: 2rem;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}
.footer-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-top: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1.5rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
}
.footer-col a:hover {
  color: var(--emerald-light);
  transform: translateX(4px);
}

/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }
  .container { padding: 0 1.25rem; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 1.25rem; padding: 0.85rem 1.5rem; }
  .hero-scroll-hint { display: none; }
  .section { padding: 4.5rem 0; }
  .section-header { margin-bottom: 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-arrow { opacity: 1; width: 36px; height: 36px; }
  .carousel-indicators { gap: 0.4rem; flex-wrap: wrap; }
  .carousel-dot { padding: 0.3rem 0.7rem; }
  .carousel-dot span { font-size: 0.72rem; }
  .mobile-gallery { gap: 1.25rem; flex-wrap: wrap; }
  .phone-frame { width: 130px; }
  .tech-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 0.5rem; }
  .step-number { text-align: left; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; text-align: left; }
  .footer-col.brand-col { padding-right: 0; }
}
@media (max-width: 480px) {
  .phone-frame { width: 110px; border-radius: 18px; padding: 4px; }
  .phone-screen { border-radius: 15px; }
  .phone-notch { height: 16px; width: 50px; border-radius: 0 0 10px 10px; }
  .phone-notch::after { width: 6px; height: 6px; top: 5px; }
}
