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

:root {
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --text-dark: #0f172a;
  --text-light: #f1f5f9;
  --text-muted-dark: #94a3b8;
  --text-muted-light: #64748b;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.12), 0 8px 32px rgba(0,0,0,0.08);
  --font: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Utility ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  max-width: 520px;
  line-height: 1.7;
}

/* ===== Fade-up Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13,148,136,0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(13,148,136,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(13,148,136,0.06);
  box-shadow: 0 2px 8px rgba(13,148,136,0.12);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: var(--radius);
}

/* Mobile menu — default hidden on desktop */
.nav-mobile-menu { display: none; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s;
}

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

/* ===== Hero ===== */
.hero {
  background: var(--bg-dark);
  min-height: clamp(640px, 100vh, 860px);
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-30%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: #2dd4bf;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-meta-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-meta-item::before {
  content: '✓';
  color: #4ade80;
  font-size: 0.75rem;
}

/* Mock App Window */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mock-window {
  width: 100%;
  max-width: 480px;
  background: #1e293b;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  overflow: hidden;
}

.mock-titlebar {
  background: #162032;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot-red { background: #ff5f57; }
.mock-dot-yellow { background: #febc2e; }
.mock-dot-green { background: #28c840; }

.mock-titlebar-text {
  margin-left: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.mock-body {
  display: flex;
  height: 320px;
}

.mock-sidebar {
  width: 148px;
  background: #162032;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
  flex-shrink: 0;
}

.mock-sidebar-item {
  padding: 7px 16px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: background 0.15s;
}

.mock-sidebar-item.active {
  background: rgba(13,148,136,0.2);
  color: #5eead4;
}

.mock-sidebar-item .icon {
  font-size: 0.85rem;
}

.mock-content {
  flex: 1;
  padding: 16px;
  overflow: hidden;
}

.mock-content-title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-weight: 600;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-tool-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
  cursor: default;
}

.mock-tool-card:hover {
  background: rgba(255,255,255,0.07);
}

.mock-tool-icon {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.mock-tool-name {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.3;
}

/* ===== Stats Bar ===== */
.stats {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stats-item {
  padding: 16px 24px;
  position: relative;
}

.stats-item + .stats-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--border);
}

.stats-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-num span {
  color: var(--primary);
}

.stats-label {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  font-weight: 500;
}

/* ===== Features ===== */
.features {
  padding: 96px 0;
  background: var(--bg-light);
}

.features-header {
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(13,148,136,0.25);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted-light);
  line-height: 1.65;
}

/* ===== Tools ===== */
.tools {
  padding: 96px 0;
  background: #fff;
}

.tools-header {
  margin-bottom: 48px;
}

.tools-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.tools-categories {
  list-style: none;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tools-cat-item {
  padding: 12px 18px;
  font-size: 0.875rem;
  color: var(--text-muted-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.tools-cat-item:last-child {
  border-bottom: none;
}

.tools-cat-item:hover {
  background: #fff;
  color: var(--text-dark);
}

.tools-cat-item.active {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  border-right: 2px solid var(--primary);
}

.tools-cat-item .cat-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.tools-cat-item .cat-count {
  margin-left: auto;
  font-size: 0.75rem;
  background: var(--border);
  padding: 1px 6px;
  border-radius: 10px;
  color: var(--text-muted-light);
}

.tools-cat-item.active .cat-count {
  background: rgba(13,148,136,0.1);
  color: var(--primary);
}

.tools-panel {
  min-height: 360px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.tools-grid.fade-out {
  opacity: 0;
}

.tool-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: default;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
}

.tool-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(13,148,136,0.25);
}

.tool-emoji {
  font-size: 1.6rem;
  margin-bottom: 8px;
  display: block;
}

.tool-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.tool-desc {
  font-size: 0.72rem;
  color: var(--text-muted-light);
  line-height: 1.45;
}

/* Mobile tools select */
.tools-mobile-select {
  display: none;
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  cursor: pointer;
  outline: none;
}

/* ===== Float Ball ===== */
.floatball {
  padding: 96px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.floatball::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.floatball-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.floatball-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2dd4bf;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.floatball-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.floatball-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 32px;
}

.floatball-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floatball-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.floatball-feature-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.floatball-feature strong {
  color: rgba(255,255,255,0.9);
}

/* Mock Float Ball */
.floatball-demo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fb-scene {
  position: relative;
  width: 280px;
  height: 280px;
}

.fb-ball {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(13,148,136,0.5), 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  font-size: 1.4rem;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

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

.fb-menu {
  position: absolute;
  right: 90px;
  bottom: 16px;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.fb-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  cursor: default;
  transition: background 0.15s;
}

.fb-menu-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.fb-menu-item .fb-icon {
  font-size: 1rem;
}

.fb-line {
  position: absolute;
  right: 50px;
  bottom: 50px;
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* ===== Download ===== */
.download {
  padding: 96px 0;
  background: var(--bg-light);
}

.download-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.download-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.download-subtitle {
  font-size: 1rem;
  color: var(--text-muted-light);
  margin-bottom: 40px;
}

.download-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.download-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(13,148,136,0.4);
  text-decoration: none;
}

.download-main-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.5);
}

.download-main-btn .dl-icon {
  font-size: 1.2rem;
}

.download-meta {
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

.download-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.download-meta span + span::before {
  content: '·';
  margin: 0 8px;
}

.download-req {
  margin-top: 24px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted-light);
  text-align: left;
  max-width: 380px;
}

.download-req strong {
  color: var(--text-dark);
  font-weight: 600;
}

.github-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

.github-note a {
  color: var(--primary);
  font-weight: 500;
}

.github-note a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
}

.footer-built {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.4rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }

  /* Mobile menu */
  .nav-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.97);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }

  .nav-mobile-menu.open { display: block; }

  .nav-mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 16px;
  }

  .nav-mobile-menu .nav-links li {
    width: 100%;
  }

  .nav-mobile-menu .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
  }

  .nav-mobile-menu .nav-actions {
    display: flex;
    gap: 10px;
    padding-top: 4px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0;
    text-align: center;
  }

  .hero-title { font-size: 2rem; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }

  .mock-window { max-width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item + .stats-item::before { display: none; }
  .stats-item { border-bottom: 1px solid var(--border); }

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

  .tools-layout { grid-template-columns: 1fr; }
  .tools-categories { display: none; }
  .tools-mobile-select { display: block; }

  .floatball-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .floatball-features { align-items: flex-start; }
  .floatball-demo { order: -1; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section-title { font-size: 1.6rem; }
  .floatball-title { font-size: 1.6rem; }
  .download-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
}
