/* Image2Video Studio — website styles */

:root {
  /* Brand */
  --brand: #1F6FB8;
  --brand-dark: #15568F;
  --brand-darker: #0F3F6E;
  --brand-light: #E8F1FA;
  --brand-mist: #F4F8FC;

  /* Accents */
  --accent-warm: #E89060;
  --accent-mint: #4FB89A;
  --accent-violet: #6E5BC3;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-deep: #0E1726;
  --bg-deeper: #060B14;

  /* Text */
  --text: #1A1F2B;
  --text-soft: #3B4658;
  --text-muted: #5A6577;
  --text-faint: #8B95A6;
  --text-on-dark: #FFFFFF;
  --text-on-dark-soft: #C8D2E0;
  --text-on-dark-muted: #8B95A6;

  /* Borders */
  --border: #E2E6EE;
  --border-soft: #EFF2F8;
  --border-on-dark: rgba(255, 255, 255, 0.1);

  /* States */
  --warn: #B8451F;
  --warn-bg: #FDF1EC;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 30, 50, 0.04);
  --shadow-md: 0 1px 2px rgba(20, 30, 50, 0.04), 0 4px 16px rgba(20, 30, 50, 0.06);
  --shadow-lg: 0 4px 8px rgba(20, 30, 50, 0.05), 0 16px 40px rgba(20, 30, 50, 0.12);
  --shadow-xl: 0 20px 50px rgba(15, 63, 110, 0.18);

  /* Timing */
  --t-fast: 0.12s;
  --t-base: 0.2s;
  --t-slow: 0.4s;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: 3.2rem; }
h2 { font-size: 2.2rem; margin-top: 2em; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; margin-top: 1.5em; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin: .3em 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }

code, pre {
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ---------- Layout ---------- */

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.narrow    { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--brand); }
.brand svg.logomark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

nav.site a {
  color: var(--text-muted);
  margin-left: 24px;
  font-size: 0.95rem;
  transition: color var(--t-fast) ease;
}
nav.site a:hover { color: var(--brand); text-decoration: none; }
nav.site a.cta {
  color: #fff;
  background: var(--brand);
  padding: 8px 16px;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: background var(--t-base) ease, transform var(--t-fast) ease;
}
nav.site a.cta:hover { background: var(--brand-dark); color: #fff; }
nav.site a.cta:active { transform: translateY(1px); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(31, 111, 184, 0.10), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(110, 91, 195, 0.08), transparent 50%),
    linear-gradient(180deg, var(--brand-light) 0%, var(--bg) 70%);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 3.6rem;
  max-width: 880px;
  margin: 0 auto 0.5em;
  line-height: 1.05;
}
.hero p.lede {
  font-size: 1.25rem;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 2em;
  line-height: 1.55;
}
.hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(31, 111, 184, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* App preview screenshot in hero */
.app-preview {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid rgba(15, 38, 73, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 16px rgba(15, 38, 73, 0.08),
    0 24px 48px rgba(15, 38, 73, 0.16),
    0 56px 110px rgba(15, 38, 73, 0.14);
  transform: perspective(2400px) rotateX(2deg);
  transition: transform var(--t-slow) ease, box-shadow var(--t-slow) ease;
}
.app-preview:hover {
  transform: perspective(2400px) rotateX(0deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 24px rgba(15, 38, 73, 0.10),
    0 32px 64px rgba(15, 38, 73, 0.20),
    0 72px 140px rgba(15, 38, 73, 0.16);
}

.image-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 56px auto 0;
  max-width: 720px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast) ease, background var(--t-base) ease, border-color var(--t-base) ease, box-shadow var(--t-base) ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 111, 184, 0.30);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 6px 20px rgba(31, 111, 184, 0.40); }
.btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-light); }
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
}
.btn-ghost:hover { color: var(--brand); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section.alt { background: var(--bg-soft); }
section.dark {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}
section.dark h1, section.dark h2, section.dark h3 { color: var(--text-on-dark); }
section.dark p { color: var(--text-on-dark-soft); }

section h2 { text-align: center; margin-top: 0; }
section p.subhead {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: -0.6em auto 3em;
  font-size: 1.1rem;
}
section.dark p.subhead { color: var(--text-on-dark-soft); }

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1em;
}
section.dark .section-eyebrow { color: var(--accent-warm); }

/* ---------- Feature grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) ease, box-shadow var(--t-base) ease, border-color var(--t-base) ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 184, 0.30);
}
.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(31, 111, 184, 0.12) 0%, rgba(110, 91, 195, 0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
}
.feature-card .icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
.feature-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Step list ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 0 12px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(31, 111, 184, 0.28);
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p  { color: var(--text-muted); margin: 0; }

/* ---------- Comparison ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 auto;
  max-width: 920px;
}
.compare .col {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  background: var(--bg);
}
.compare .col.ours {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, rgba(31, 111, 184, 0.04) 0%, var(--bg) 50%);
  position: relative;
}
.compare .col.ours::before {
  content: "Image2Video Studio";
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.compare .col.theirs::before {
  content: "Cloud AI services";
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--text-faint);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.compare .col.theirs { position: relative; }
.compare .col h3 { margin: 8px 0 16px; font-size: 1.3rem; }
.compare .col ul { list-style: none; padding: 0; margin: 0; }
.compare .col ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
  font-size: 0.98rem;
}
.compare .col ul li:last-child { border-bottom: none; }
.compare .col.ours ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 7px;
  height: 13px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
}
.compare .col.theirs ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--text-faint);
  border-radius: 2px;
}

/* ---------- Pricing card ---------- */

.price-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  border: 2px solid var(--brand);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.price-card .price {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--brand-darker);
  margin: 0;
  letter-spacing: -0.03em;
}
.price-card .price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}
.price-card .trial {
  background: var(--brand-light);
  color: var(--brand-dark);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.price-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.price-card ul li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-soft);
}
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 7px;
  height: 13px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
}

/* ---------- Callouts ---------- */

.callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  padding: 18px 22px;
  border-radius: 4px;
  margin: 1.5em 0;
}
.callout.warn {
  background: var(--warn-bg);
  border-left-color: var(--warn);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */

.cta-section {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 50%, var(--accent-violet) 100%);
  color: #fff;
  text-align: center;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.15), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.08), transparent 50%);
  pointer-events: none;
}
.cta-section .container { position: relative; }
.cta-section h2 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 0.4em;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 2em;
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.20);
}
.cta-section .btn-primary:hover {
  background: var(--brand-light);
  color: var(--brand-darker);
}
.cta-section .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ---------- Waitlist form ---------- */

.waitlist-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.waitlist-card h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  text-align: center;
}
.waitlist-card p.subhead {
  text-align: center;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
}
.waitlist-form .field {
  display: block;
  margin-bottom: 16px;
}
.waitlist-form .field > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.waitlist-form .field .muted {
  font-weight: 400;
  color: var(--text-faint);
}
.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.waitlist-form input[type="email"]:focus,
.waitlist-form input[type="text"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 111, 184, 0.15);
}
.waitlist-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.waitlist-form button { margin-top: 6px; }
.waitlist-success {
  background: linear-gradient(135deg, rgba(79, 184, 154, 0.10), rgba(31, 111, 184, 0.08));
  border: 1px solid rgba(79, 184, 154, 0.30);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.waitlist-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}
.waitlist-success h2 { margin: 0 0 10px; font-size: 1.6rem; }
.waitlist-success p { color: var(--text-soft); margin: 0; }
.waitlist-error {
  background: var(--warn-bg);
  border: 1px solid rgba(184, 69, 31, 0.30);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--warn);
}
.waitlist-error p { margin: 0; }
.waitlist-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 18px;
}

/* ---------- Hardware card on download ---------- */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto;
  max-width: 880px;
}
.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.spec-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.spec-card.recommended h3 .badge {
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
}
.spec-card ul { margin: 0; padding-left: 1.2em; }
.spec-card li { color: var(--text-soft); margin: 4px 0; }
.spec-card.recommended { border-color: var(--brand); background: linear-gradient(180deg, rgba(31, 111, 184, 0.03), var(--bg) 60%); }

/* ---------- Legal pages ---------- */

.legal h1 { margin-bottom: 0.2em; font-size: 2.4rem; }
.legal .meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5em;
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.05rem; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--bg-deep);
  color: var(--text-on-dark-soft);
  padding: 56px 0 40px;
  margin-top: 0;
  font-size: 0.92rem;
}
footer.site .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
footer.site .brand-block .brand {
  color: var(--text-on-dark);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
footer.site .brand-block p {
  color: var(--text-on-dark-muted);
  margin: 0;
  max-width: 360px;
  font-size: 0.92rem;
}
footer.site .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: flex-end;
}
footer.site .links a {
  color: var(--text-on-dark-soft);
  transition: color var(--t-fast) ease;
}
footer.site .links a:hover { color: #fff; }
footer.site .bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-on-dark);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site .copyright { color: var(--text-on-dark-muted); }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 2.4rem; }
  .hero p.lede { font-size: 1.08rem; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  section { padding: 64px 0; }

  .grid-3, .steps, .specs-grid, .compare { grid-template-columns: 1fr; }
  .app-preview { transform: none; }

  nav.site a { margin-left: 14px; font-size: 0.92rem; }
  nav.site a:not(.cta) { display: none; }

  footer.site .container { grid-template-columns: 1fr; }
  footer.site .links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .container, .narrow { padding: 0 20px; }
  .hero h1 { font-size: 2rem; }
  .price-card { padding: 28px 22px; }
  .waitlist-card { padding: 26px 22px; }
}

/* ---------- Reusable bits ---------- */

.center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
