/* ============================================================================
   AutoCrop Studio — landing page
   ========================================================================= */

:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1524;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-solid: #131a2c;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2fb;
  --text-soft: #aab4ca;
  --text-dim: #7d8aa3;
  --accent: #2f8bff;
  --accent-2: #7c6cf8;
  --accent-ink: #ffffff;
  --good: #22c55e;
  --bad: #f59e0b;
  --grad: linear-gradient(120deg, #38b6ff 0%, #6d7bff 48%, #a463ff 100%);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
  --shadow-md: 0 20px 45px -20px rgba(0, 0, 0, 0.6);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Manrope", var(--font);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-soft: #eef2f9;
  --surface: rgba(15, 23, 42, 0.03);
  --surface-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #0d1424;
  --text-soft: #47536b;
  --text-dim: #6b7689;
  --accent: #0f6fe0;
  --accent-2: #6d5efc;
  --accent-ink: #ffffff;
  --shadow-lg: 0 40px 80px -34px rgba(20, 34, 61, 0.35);
  --shadow-md: 0 20px 40px -22px rgba(20, 34, 61, 0.28);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ambient background ---------- */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 78% 6%, rgba(109, 123, 255, 0.22), transparent 62%),
    radial-gradient(55% 40% at 12% 2%, rgba(56, 182, 255, 0.16), transparent 60%),
    radial-gradient(70% 60% at 50% 108%, rgba(164, 99, 255, 0.14), transparent 65%);
}

html[data-theme="light"] .page-glow {
  background:
    radial-gradient(60% 45% at 80% 4%, rgba(109, 123, 255, 0.16), transparent 62%),
    radial-gradient(55% 40% at 10% 0%, rgba(56, 182, 255, 0.14), transparent 60%),
    radial-gradient(70% 60% at 50% 106%, rgba(164, 99, 255, 0.1), transparent 65%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
}

html[data-theme="light"] .grain {
  opacity: 0.35;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

main,
.nav,
.footer {
  position: relative;
  z-index: 1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--grad);
  color: var(--accent-ink);
  box-shadow: 0 12px 30px -12px rgba(78, 122, 255, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -14px rgba(78, 122, 255, 0.95);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-solid);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}

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

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 20px -8px rgba(78, 122, 255, 0.8);
}

.brand b {
  color: var(--text-soft);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 14px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.18s ease, background 0.18s ease;
}

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

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

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle .sun,
.theme-toggle .moon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.theme-toggle .moon {
  opacity: 0;
  transform: rotate(-40deg);
}

html[data-theme="light"] .theme-toggle .sun {
  opacity: 0;
  transform: rotate(40deg);
}

html[data-theme="light"] .theme-toggle .moon {
  opacity: 1;
  transform: none;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 22px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  background: var(--surface);
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 8px;
  color: var(--accent-ink);
}

/* ---------- hero ---------- */
.hero {
  padding: 70px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr);
  gap: 54px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

.hero h1 {
  font-size: clamp(2.15rem, 3.9vw, 3.15rem);
  font-weight: 800;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 33em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-cta.center {
  justify-content: center;
}

.hero-stats {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats b {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ---------- app frame (screenshot chrome) ---------- */
.app-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: color-mix(in srgb, var(--surface-solid) 80%, var(--bg));
  border-bottom: 1px solid var(--border);
}

.app-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

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

.app-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.app-frame img {
  width: 100%;
  height: auto;
}

.hero-visual {
  position: relative;
}

.hero-visual .app-frame {
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover .app-frame {
  transform: perspective(1600px) rotateY(-3deg) rotateX(1deg);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  animation: floaty 5.5s ease-in-out infinite;
}

.float-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-card b {
  font-size: 13.5px;
  font-weight: 600;
}

.float-card small {
  font-size: 11.5px;
  color: var(--text-dim);
}

.fc-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: rgba(34, 197, 94, 0.16);
  color: var(--good);
}

.grad-ico {
  background: rgba(109, 92, 252, 0.18);
  color: #8f80ff;
}

.float-a {
  left: -30px;
  top: 16%;
}

.float-b {
  right: -22px;
  bottom: 12%;
  animation-delay: -2.6s;
}

@keyframes floaty {
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- trust ---------- */
.trust {
  margin-top: 66px;
  text-align: center;
}

.trust > span {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.trust-row span {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

/* ---------- sections ---------- */
.section {
  padding: 100px 0;
}

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

.section-head.left {
  margin: 0 0 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ---------- compare ---------- */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.compare-pane {
  margin: 0;
}

.compare-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 11;
}

.compare-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(6px);
}

.tag-bad {
  background: rgba(245, 158, 11, 0.92);
}

.tag-good {
  background: rgba(34, 197, 94, 0.92);
}

.compare-pane figcaption {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compare-pane figcaption b {
  font-size: 15.5px;
}

.compare-pane figcaption small {
  color: var(--text-dim);
  font-size: 13.5px;
}

.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.compare-arrow svg {
  width: 44px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.25s ease;
}

.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  margin: 10px 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.step p {
  color: var(--text-soft);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.step-shot {
  margin: auto -24px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.step-shot img {
  width: 100%;
  transform: translateY(0);
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.25s ease, background 0.2s ease;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  background: var(--surface-solid);
}

.feature-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 40px;
  padding: 34px 34px 34px 38px;
}

.feature-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 12px 26px -12px rgba(78, 122, 255, 0.9);
}

.feature-ico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 9px;
}

.feature p {
  color: var(--text-soft);
  font-size: 14.5px;
}

.feature-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  background: var(--surface-solid);
}

.feature-media img {
  width: 100%;
  height: auto;
}

/* ---------- spotlight ---------- */
.spotlight {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-soft) 70%, transparent), transparent);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.spotlight-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
}

.spotlight-copy > p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text-soft);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- privacy ---------- */
.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 52px;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(70% 120% at 90% 0%, rgba(109, 123, 255, 0.14), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.privacy-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
}

.privacy-copy p {
  margin-top: 16px;
  color: var(--text-soft);
}

.privacy-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-points li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.pp-ico {
  font-size: 20px;
  line-height: 1.3;
}

.privacy-points b {
  display: block;
  font-size: 15px;
}

.privacy-points small {
  color: var(--text-dim);
  font-size: 13.5px;
}

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--border-strong);
  background: var(--surface-solid);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  padding-right: 52px;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8aa3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--text-soft);
  font-size: 14.5px;
  animation: faqIn 0.3s ease;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* ---------- cta ---------- */
.cta {
  position: relative;
  padding: 66px 40px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-align: center;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}

.cta-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(56, 182, 255, 0.35), transparent 60%),
    radial-gradient(45% 55% at 72% 68%, rgba(164, 99, 255, 0.32), transparent 62%);
  filter: blur(30px);
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate3d(4%, -4%, 0) scale(1.08);
  }
}

.cta-inner {
  position: relative;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
}

.cta p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.cta .hero-cta {
  margin-top: 32px;
}

.cta-note {
  margin-top: 20px !important;
  font-size: 13.5px !important;
  color: var(--text-dim) !important;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 46px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}

.footer-inner .brand {
  font-size: 16px;
}

.footer-inner p {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 40em;
}

.footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.18s ease;
}

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

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-card,
  .cta-glow,
  .pill-dot {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .hero-grid,
  .spotlight-grid,
  .privacy-card,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-visual .app-frame {
    transform: none;
  }

  .float-a {
    left: -12px;
  }

  .float-b {
    right: -12px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-shot {
    max-height: 340px;
  }

  .step-shot img {
    object-fit: cover;
    object-position: top;
  }

  .privacy-card {
    padding: 36px;
  }

  .faq-grid .section-head.left {
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .nav.open .burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav.open .burger span:nth-child(2) {
    opacity: 0;
  }

  .nav.open .burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .section {
    padding: 74px 0;
  }

  .compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .compare-arrow {
    transform: rotate(90deg);
  }

  .feature-wide {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 26px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 46px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .float-card {
    display: none;
  }

  .cta {
    padding: 46px 22px;
  }

  .privacy-card {
    padding: 26px;
  }

  .container {
    padding: 0 18px;
  }
}
