/* ============================================================================
   Vibe Video by codingmom.ai — Neo-Precision Editorial Futurism
   ============================================================================ */

:root,
html[data-theme="dark"] {
  --bg: #07090f;
  --bg-elevated: #0d121d;
  --surface: rgba(16, 22, 35, 0.78);
  --surface-solid: #111827;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f6fb;
  --text-muted: #9aa7bd;
  --accent: #c8ff2e;
  --accent-ink: #07090f;
  --accent-soft: rgba(200, 255, 46, 0.13);
  --cyan: #38f2ff;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
  --font-display: "Space Grotesk", "Ubuntu", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Ubuntu", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.2);
  --text: #0b1220;
  --text-muted: #4b5563;
  --accent-ink: #07090f;
  --accent-soft: rgba(200, 255, 46, 0.24);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

html[data-accent="lime"] { --accent: #c8ff2e; --accent-soft: rgba(200, 255, 46, 0.15); }
html[data-accent="cyan"] { --accent: #38f2ff; --accent-soft: rgba(56, 242, 255, 0.15); }
html[data-accent="amber"] { --accent: #ffb830; --accent-soft: rgba(255, 184, 48, 0.16); }
html[data-accent="rose"] { --accent: #ff4d8d; --accent-soft: rgba(255, 77, 141, 0.15); }
html[data-accent="violet"] { --accent: #a78bfa; --accent-soft: rgba(167, 139, 250, 0.16); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img, video { max-width: 100%; display: block; }

.container {
  width: min(1160px, calc(100% - 2.25rem));
  margin: 0 auto;
}

.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }

.mobile-menu-btn { display: none; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--text-muted);
}
.mobile-nav a:hover { background: var(--surface); color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.btn-secondary {
  background: var(--surface-solid);
  color: var(--text);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}

/* Accent Dots */
.accent-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}
.accent-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.accent-dot.is-active {
  border-color: var(--text);
  transform: scale(1.15);
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 25%, var(--accent-soft), transparent 55%),
              linear-gradient(180deg, transparent 55%, var(--bg) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 1.2rem;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 0 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.metric-card {
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.metric-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.metric-lbl {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  max-width: 24ch;
}
.section-lead {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  padding: 1.45rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  margin: 0 0 0.55rem;
  line-height: 1.3;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Video Phone Showcase */
.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}
.video-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.phone-frame {
  position: relative;
  width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  background: #000;
}
.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.45rem 0 0.6rem;
}
.video-meta p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text-muted);
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}

.niche-meta {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 1.65rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.pricing-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 45%);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0.65rem 0 0.25rem;
}
.price-main {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--text);
}
.price-strike {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-cycle {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.89rem;
  color: var(--text-muted);
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq-a {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}
.faq-a[hidden] { display: none; }

/* CTA Banner & Footer */
.cta-box {
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface) 60%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer {
  padding: 2.5rem 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--accent); }

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: grid; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .video-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
}
