:root {
  --bg: #030712;
  --surface: #0f172a;
  --surface-2: #111827;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(99, 102, 241, 0.45);
  --text: #f8fafc;
  --muted: #94a3b8;
  --indigo: #6366f1;
  --indigo-bright: #818cf8;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --rose: #f43f5e;
  --amber: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top glow */
.hero-glow {
  position: fixed;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.22), rgba(34, 211, 238, 0.08) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(3, 7, 18, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

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

.lang-btn {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.lang-btn:hover {
  border-color: var(--border-strong);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6366f1, #818cf8);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  border-color: var(--border);
  color: #e2e8f0;
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.85);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 76px 0 56px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 820px;
  margin: 0 auto 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #a5b4fc 55%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.browser-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 44px;
}

.browser-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Interactive Demo Showcase */
.showcase {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  text-align: left;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.85);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  display: block;
}

.tab-group {
  display: flex;
  gap: 6px;
  background: #0f172a;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.demo-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}

.demo-tab.active {
  background: var(--indigo);
  color: #fff;
}

.showcase-body {
  padding: 28px;
  background: radial-gradient(#1e293b 1px, transparent 1px);
  background-size: 20px 20px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-panel {
  display: none;
  width: 100%;
  max-width: 780px;
}

.demo-panel.active {
  display: block;
}

/* Mockup: Image Editor */
.mock-card {
  border-radius: 14px;
  padding: 24px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.mock-screen {
  position: relative;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px;
  overflow: hidden;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.75);
  margin-bottom: 10px;
  font-size: 13px;
}

.mock-badge-step {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #ef4444;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mock-highlight {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(250, 204, 21, 0.28);
  border: 1px solid #facc15;
  color: #fef08a;
  font-weight: 600;
}

.mock-blur {
  filter: blur(5px);
  user-select: none;
  color: #94a3b8;
}

/* Mockup: Hollow Region GIF Frame */
.mock-hollow {
  border-radius: 10px;
  overflow: hidden;
  border: 6px solid #09090b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  background: #09090b;
}

.mock-hollow-top,
.mock-hollow-bottom {
  background: #09090b;
  color: #e2e8f0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mock-hollow-inner {
  background: #ffffff;
  color: #0f172a;
  padding: 28px 24px;
  position: relative;
}

.mock-ripple {
  position: absolute;
  right: 92px;
  top: 46px;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 3px solid #6366f1;
  background: rgba(99, 102, 241, 0.2);
}

/* Mockup: GIF Studio */
.mock-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.mock-frame {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #020617;
  padding: 8px;
  font-size: 11px;
  color: var(--muted);
}

.mock-frame.selected {
  border-color: var(--indigo-bright);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35);
}

.mock-frame-thumb {
  height: 44px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.25));
  margin-bottom: 6px;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-kicker {
  color: var(--indigo-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 15px;
}

/* Bento Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.68);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.16);
  color: var(--indigo-bright);
  font-size: 18px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  font-size: 13.5px;
  color: var(--muted);
}

/* Privacy Strip */
.privacy-banner {
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(15, 23, 42, 0.9));
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
}

.privacy-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-box {
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border);
  padding: 16px;
}

.stat-val {
  font-size: 24px;
  font-weight: 800;
  color: #34d399;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

/* Pricing */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.billing-toggle {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 4px;
}

.billing-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}

.billing-btn.active {
  background: #334155;
  color: #fff;
}

.save-pill {
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 6px 12px;
  border-radius: 8px;
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.82);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured-premium {
  border-color: rgba(226, 232, 240, 0.55);
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.35), rgba(15, 23, 42, 0.94));
}

.price-card.featured-gold {
  border-color: rgba(234, 179, 8, 0.72);
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.12), rgba(15, 23, 42, 0.95));
  box-shadow: 0 20px 50px rgba(234, 179, 8, 0.12);
}

.plan-top-icon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

.plan-top-icon.gold {
  border-color: rgba(234, 179, 8, 0.75);
  color: #facc15;
}

.plan-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.plan-title.gold {
  color: #facc15;
}

.recommend-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 3px 10px;
  border-radius: 9999px;
}

.plan-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}

.price-tag {
  margin: 14px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
}

.price-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.billing-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 16px;
  min-height: 22px;
}

.save-badge-sm {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 24px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.check-list li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 700;
  margin-right: 8px;
}

.check-list.gold-checks li::before {
  color: #facc15;
}

.plan-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trial-hint {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-light {
  background: #f8fafc;
  color: #0f172a;
}

.btn-light:hover {
  background: #e2e8f0;
}

.btn-gold {
  background: #ca9a1c;
  color: #0f172a;
}

.btn-gold:hover {
  background: #eab308;
}

@media (max-width: 900px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: "+";
  color: var(--indigo-bright);
  font-size: 18px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* Privacy Policy Doc */
.doc-wrap {
  max-width: 800px;
  margin: 48px auto 80px;
  padding: 36px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
}

.doc-wrap h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.doc-wrap h2 {
  font-size: 19px;
  margin: 28px 0 10px;
  color: #e0e7ff;
}

.doc-wrap p,
.doc-wrap li {
  color: #cbd5e1;
  font-size: 14.5px;
  margin-bottom: 8px;
}

.doc-wrap ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.doc-wrap code {
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: #64748b;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

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

@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .privacy-banner {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mock-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}
