/* VideoImage AI — dark / futuristic */

:root {
  --void: #030306;
  --bg: #07080d;
  --surface: #0e1018;
  --surface-2: #141824;
  --card: #12151f;
  --border: #252a38;
  --border-strong: #343b4f;
  --muted: #98a3b8;
  --mid: #b8c0d0;
  --text: #e8eaef;
  --ink: #f8f9fc;

  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.12);
  --violet: #a78bfa;
  --violet-dim: rgba(167, 139, 250, 0.12);
  --emerald: #34d399;
  --emerald-dim: rgba(52, 211, 153, 0.12);
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.14);

  --grad-primary: linear-gradient(135deg, #22d3ee 0%, #6366f1 55%, #a78bfa 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(99, 102, 241, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0b10 0%, #07080d 45%, #050508 100%);

  --shadow-glow: 0 0 80px rgba(34, 211, 238, 0.08);
  --shadow-card: 0 24px 48px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;

  /* Shared vertical rhythm — hero gap is tightened; extra air distributed here */
  --section-y: clamp(52px, 6.5vw, 80px);
  --section-y-sm: clamp(40px, 5vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(34, 211, 238, 0.35);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.nav-logo-mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--void);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover {
  color: var(--cyan);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu-btn {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

.btn-nav-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--mid);
  padding: 7px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-nav-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-nav-primary {
  background: var(--grad-primary);
  border: none;
  color: var(--void);
  padding: 8px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 4px 24px rgba(34, 211, 238, 0.25);
}
.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  padding: clamp(20px, 2.8vw, 32px) clamp(20px, 5vw, 48px) clamp(20px, 3vw, 36px);
  background: var(--grad-hero);
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, black 25%, transparent 75%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow-1 {
  width: 520px;
  height: 520px;
  background: rgba(34, 211, 238, 0.15);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.12);
  bottom: 10%;
  right: -80px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  width: 100%;
  padding: 0 4px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 8px 16px 8px 10px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease both;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.eyebrow-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid rgba(34, 211, 238, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw + 0.5rem, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
  animation: fadeUp 0.6s 0.08s ease both;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  font-weight: 400;
  max-width: 36rem;
  margin: 20px auto 0;
  line-height: 1.7;
  animation: fadeUp 0.6s 0.16s ease both;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.24s ease both;
}

.btn-hero-primary {
  background: var(--grad-primary);
  border: none;
  color: var(--void);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 40px rgba(34, 211, 238, 0.25);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.35);
}

.btn-hero-ghost {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--mid);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-hero-ghost:hover {
  border-color: var(--border-strong);
  color: var(--ink);
  box-shadow: var(--shadow-glow);
}

.hero-trust {
  margin-top: clamp(36px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.32s ease both;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.trust-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 6px;
}
.trust-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Ticker */
.preview-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  overflow: hidden;
}

.preview-strip--under-nav {
  margin-top: 64px;
  border-top: none;
  position: relative;
  z-index: 100;
}

/* Big imagery below hero stats */
.visual-showcase {
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(34, 211, 238, 0.05), transparent 50%), var(--bg);
  border-bottom: 1px solid var(--border);
  padding: clamp(16px, 2.5vw, 28px) clamp(16px, 4vw, 48px) var(--section-y);
}

.visual-showcase-head {
  max-width: 40rem;
  margin: 0 auto clamp(20px, 3vw, 32px);
  text-align: center;
}

.visual-showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.visual-showcase-accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.visual-showcase-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.visual-showcase-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.88fr) minmax(0, 0.82fr);
  grid-template-rows: minmax(240px, 34vw) minmax(220px, 30vw);
  gap: clamp(14px, 2.2vw, 22px);
  min-height: 0;
}

.visual-panel {
  --panel-glow: rgba(34, 211, 238, 0.22);
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--void);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 100px var(--panel-glow);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.visual-panel--t2v {
  --panel-glow: rgba(34, 211, 238, 0.2);
}
.visual-panel--i2v {
  --panel-glow: rgba(56, 189, 248, 0.18);
}
.visual-panel--i2i {
  --panel-glow: rgba(167, 139, 250, 0.22);
}
.visual-panel--stills {
  --panel-glow: rgba(99, 102, 241, 0.2);
}

.visual-panel:hover {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 36px 96px rgba(0, 0, 0, 0.6),
    0 0 120px var(--panel-glow);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(to top, rgba(3, 3, 6, 0.92) 0%, rgba(3, 3, 6, 0.28) 40%, transparent 65%),
    radial-gradient(ellipse 100% 70% at 50% 15%, rgba(34, 211, 238, 0.06), transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, overlay;
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.visual-panel img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: saturate(1.1) contrast(1.04);
}

.visual-panel:hover img {
  transform: scale(1.055);
}

@media (prefers-reduced-motion: reduce) {
  .visual-panel:hover img {
    transform: none;
  }
}

.visual-panel--hero {
  grid-column: 1;
  grid-row: 1 / -1;
  min-height: min(560px, 62vw);
}

.visual-panel--tall {
  grid-column: 2;
  grid-row: 1;
}

.visual-panel--square {
  grid-column: 3;
  grid-row: 1;
}

.visual-panel--wide {
  grid-column: 2 / -1;
  grid-row: 2;
}

.visual-panel--hero img,
.visual-panel--tall img,
.visual-panel--square img,
.visual-panel--wide img {
  min-height: 100%;
}

.visual-panel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: clamp(18px, 3.5vw, 32px);
  padding-top: 48px;
  background: linear-gradient(to top, rgba(3, 3, 6, 0.98) 0%, rgba(3, 3, 6, 0.75) 35%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.visual-panel-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.95;
}

.visual-panel-tag {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}

.visual-panel-meta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid);
  line-height: 1.45;
  max-width: 28ch;
}

.strip-track {
  display: flex;
  animation: scroll 32s linear infinite;
  width: max-content;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.strip-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.strip-i1 {
  background: var(--blue-dim);
}
.strip-i2 {
  background: var(--cyan-dim);
}
.strip-i3 {
  background: var(--violet-dim);
}
.strip-i4 {
  background: var(--emerald-dim);
}

/* Sections */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-y) clamp(20px, 4vw, 48px);
}
.section-wrap-tight {
  padding-bottom: var(--section-y-sm);
}
.section-wrap-cta {
  padding-top: 0;
  padding-bottom: var(--section-y-sm);
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.section-head-row > * {
  min-width: 0;
}

.section-center {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 4px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 1px;
}
.section-label-center {
  justify-content: center;
}
.section-label-center::before {
  display: none;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw + 0.5rem, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 28rem;
  line-height: 1.7;
}
.section-sub-right {
  margin-top: 0;
}
.section-sub-center {
  margin-left: auto;
  margin-right: auto;
}

/* Tool cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 4vw, 48px);
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}

.tool-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity 0.22s;
}
.tool-card.blue::after {
  background: var(--grad-primary);
}
.tool-card.sky::after {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.tool-card.violet::after {
  background: linear-gradient(90deg, #6366f1, var(--violet));
}
.tool-card.emerald::after {
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.tool-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.tool-card:hover::after {
  opacity: 1;
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tool-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.tool-card.blue .tool-badge {
  color: var(--cyan);
  background: var(--cyan-dim);
  border-color: rgba(34, 211, 238, 0.25);
}
.tool-card.sky .tool-badge {
  color: var(--blue);
  background: var(--blue-dim);
}
.tool-card.violet .tool-badge {
  color: var(--violet);
  background: var(--violet-dim);
}
.tool-card.emerald .tool-badge {
  color: var(--emerald);
  background: var(--emerald-dim);
}

.tool-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid var(--border);
}
.tool-card.blue .tool-icon-wrap {
  background: var(--blue-dim);
}
.tool-card.sky .tool-icon-wrap {
  background: var(--cyan-dim);
}
.tool-card.violet .tool-icon-wrap {
  background: var(--violet-dim);
}
.tool-card.emerald .tool-icon-wrap {
  background: var(--emerald-dim);
}

.tool-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.tool-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 100px;
  font-family: var(--font-body);
}

.tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: gap 0.18s;
  color: var(--cyan);
}
.tool-card.sky .tool-cta {
  color: var(--cyan);
}
.tool-card.violet .tool-cta {
  color: var(--violet);
}
.tool-card.emerald .tool-cta {
  color: var(--emerald);
}
.tool-card:hover .tool-cta {
  gap: 10px;
}

.tool-preview-area {
  margin-top: 24px;
  border-radius: 12px;
  height: 120px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--void);
}

.preview-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.bar {
  width: 3px;
  border-radius: 2px;
  animation: barAnim 1.4s ease-in-out infinite;
  background: rgba(34, 211, 238, 0.35);
}
.tool-card.sky .bar {
  background: rgba(59, 130, 246, 0.4);
}
.tool-card.violet .bar {
  background: rgba(167, 139, 250, 0.4);
}
.tool-card.emerald .bar {
  background: rgba(52, 211, 153, 0.4);
}

/* How */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(36px, 4vw, 48px);
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), rgba(34, 211, 238, 0.4), var(--border-strong), transparent);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--cyan);
  transition: all 0.2s;
}

.step:hover .step-circle {
  background: var(--grad-primary);
  color: var(--void);
  border-color: transparent;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.step-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 4vw, 48px);
}

.feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.2s;
}
.feat:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.feat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feat-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.feat-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Pricing */
.pricing-bg {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 4vw, 48px);
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: transform 0.2s;
}
.price-card:hover {
  transform: translateY(-3px);
}

.price-card.featured {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.15), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.pop-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: var(--void);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}

.tier {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.price-amount sup {
  font-size: 20px;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}
.price-amount sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.price-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin: 12px 0 26px;
  line-height: 1.6;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  margin-bottom: 0;
  min-height: 0;
}

.price-card > .btn-price-outline,
.price-card > .btn-price-primary {
  margin-top: 28px;
  flex-shrink: 0;
}
.price-features li {
  font-size: 13.5px;
  color: var(--mid);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.price-features li .check {
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-features li.off {
  color: var(--muted);
}
.price-features li.off .check {
  color: var(--border-strong);
}

.btn-price-outline {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--mid);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-price-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-price-primary {
  width: 100%;
  padding: 12px;
  background: var(--grad-primary);
  border: none;
  color: var(--void);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.2);
}
.btn-price-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 36px rgba(99, 102, 241, 0.3);
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
  right: -100px;
  top: -120px;
  pointer-events: none;
}

.cta-text {
  position: relative;
  z-index: 1;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.cta-text p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 24rem;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.btn-cta-solid {
  background: var(--grad-primary);
  border: none;
  color: var(--void);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn-cta-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.25);
}

.btn-cta-outline {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn-cta-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Footer */
.footer {
  background: var(--void);
  padding: var(--section-y) clamp(24px, 4vw, 48px) 36px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--void);
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(3, 3, 6, 0.75);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.18s ease;
}

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow-y: auto;
  animation: scaleIn 0.22s ease;
  box-shadow: var(--shadow-card);
}

.modal-head {
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(18, 21, 31, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.modal-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border: 1px solid var(--border);
}
.modal-icon-blue {
  background: var(--blue-dim);
}
.modal-icon-sky {
  background: var(--cyan-dim);
}
.modal-icon-violet {
  background: var(--violet-dim);
}
.modal-icon-emerald {
  background: var(--emerald-dim);
}

.modal-head-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.modal-head-sub {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.modal-close-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
}

.modal-body {
  padding: 28px 32px 32px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.studio-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.studio-input {
  width: 100%;
  background: var(--void);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.18s;
}
.studio-input:focus {
  border-color: rgba(34, 211, 238, 0.5);
}
.studio-input::placeholder {
  color: var(--muted);
}

.studio-select {
  width: 100%;
  background: var(--void);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.18s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2398a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.studio-select:focus {
  border-color: rgba(34, 211, 238, 0.5);
}

.settings-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.upload-box {
  background: var(--void);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
}
.upload-box:hover,
.upload-box.drag {
  border-color: var(--cyan);
  background: var(--cyan-dim);
}
.upload-box .ub-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.upload-box .ub-text {
  font-size: 13.5px;
  color: var(--mid);
  font-weight: 500;
}
.upload-box .ub-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.output-box {
  background: var(--void);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.output-tall {
  min-height: 260px;
}

.out-placeholder {
  text-align: center;
  padding: 20px;
}
.out-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}
.out-text {
  font-size: 13.5px;
  color: var(--muted);
}
.out-sub {
  font-size: 12px;
  color: var(--border-strong);
  margin-top: 4px;
}

.api-callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--mid);
  grid-column: 1 / -1;
  line-height: 1.55;
}
.api-callout strong {
  color: var(--cyan);
}
.api-callout code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  word-break: break-all;
}

.gen-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  color: var(--void);
}

.gen-btn.blue {
  background: var(--grad-primary);
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.2);
}
.gen-btn.sky {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 6px 28px rgba(59, 130, 246, 0.2);
}
.gen-btn.violet {
  background: linear-gradient(135deg, #6366f1, var(--violet));
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.25);
}
.gen-btn.emerald {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  box-shadow: 0 6px 28px rgba(52, 211, 153, 0.2);
}

.gen-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-small-ghost {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--mid);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-small-ghost:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.spinner.blue,
.spinner.sky {
  border-top-color: var(--cyan);
}
.spinner.violet {
  border-top-color: var(--violet);
}
.spinner.emerald {
  border-top-color: var(--emerald);
}

/* Nav mobile open */
.nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 24px;
  gap: 16px;
  z-index: 199;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes barAnim {
  0%,
  100% {
    height: 8px;
  }
  50% {
    height: 44px;
  }
}
@keyframes progFill {
  0% {
    width: 0%;
  }
  40% {
    width: 50%;
  }
  75% {
    width: 78%;
  }
  95% {
    width: 90%;
  }
}

@media (max-width: 900px) {
  .nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr 1fr;
  }
  .steps-row::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-wrap {
    padding: var(--section-y-sm) clamp(16px, 5vw, 28px);
  }
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cta-text {
    text-align: center;
  }
  .cta-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-actions {
    justify-content: center;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 48px 24px 28px;
  }

  .visual-showcase {
    padding: var(--section-y-sm) clamp(16px, 4vw, 28px);
  }

  .visual-showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .visual-panel--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .visual-panel--tall {
    grid-column: 1;
    grid-row: auto;
    min-height: 220px;
  }

  .visual-panel--square {
    grid-column: 2;
    grid-row: auto;
    min-height: 220px;
  }

  .visual-panel--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 200px;
  }
}

@media (max-width: 520px) {
  .visual-showcase-grid {
    grid-template-columns: 1fr;
  }

  .visual-panel--tall,
  .visual-panel--square,
  .visual-panel--wide {
    grid-column: 1;
    min-height: 200px;
  }

  .visual-panel--hero {
    min-height: 220px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
