/* =========================================================
   Albook website — design tokens mirror the desktop app
   (index-Do4tHNop.css :root.theme-dark)
   ========================================================= */
:root {
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-active: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-glow: rgba(245, 158, 11, 0.35);
  --on-accent: #141518;

  --bg: #141518;
  --bg-deep: #0e0f12;
  --panel: #1a1c22;
  --panel-2: #22242c;
  --surface-3: #2a2d37;

  --text-header: #ffffff;
  --text: #cbd5e1;
  --text-2: #94a3b8;
  --dim: #71717a;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-gold: rgba(245, 158, 11, 0.35);

  --success: #22c55e;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 30px 80px rgba(0, 0, 0, 0.55);

  --font: "Segoe UI Variable Text", "Segoe UI", "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  color: var(--text-header);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p {
  margin: 0;
}
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--accent-hover);
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.container.narrow {
  width: min(820px, calc(100% - 48px));
}
.ico {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Buttons (font-weight 400, like the app) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.16s, box-shadow 0.16s;
}
.btn:focus-visible,
.nav-links a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-lg {
  height: 50px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 8px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 20px -6px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px var(--accent-glow);
}
.btn-primary:active {
  background: var(--accent-active);
  transform: none;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text-header);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-dark {
  background: var(--bg);
  color: var(--text-header);
  border-color: rgba(0, 0, 0, 0.2);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 21, 24, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(20, 21, 24, 0.9);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-header);
  letter-spacing: -0.01em;
}
.brand img {
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-header);
  background: rgba(255, 255, 255, 0.05);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text-header);
  transition: transform 0.2s, top 0.2s;
}
.nav-toggle span:first-child {
  top: 14px;
}
.nav-toggle span:last-child {
  top: 22px;
}
.nav.open .nav-toggle span:first-child {
  top: 18px;
  transform: rotate(45deg);
}
.nav.open .nav-toggle span:last-child {
  top: 18px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  background:
    radial-gradient(600px 340px at 72% 30%, rgba(245, 158, 11, 0.16), transparent 70%),
    radial-gradient(520px 300px at 18% 10%, rgba(245, 158, 11, 0.07), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: var(--accent-soft);
  color: #fcd34d;
  font-size: 13px;
}
.pill b {
  font-weight: 500;
  color: var(--text-header);
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.accent-text {
  background: linear-gradient(92deg, #fcd34d 0%, #f59e0b 55%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-2);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta .ico {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ---------- App window mockup ---------- */
.hero-visual {
  position: relative;
}
.app-window {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: perspective(1800px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  font-size: 10px;
  user-select: none;
}
.hero-visual:hover .app-window {
  transform: perspective(1800px) rotateY(-2deg) rotateX(1deg);
}
.aw-titlebar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: #17181d;
  border-bottom: 1px solid var(--border);
}
.aw-menu,
.aw-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
}
.aw-pill {
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--border-gold);
  background: var(--accent-soft);
  color: #fcd34d;
}
.aw-btn {
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.aw-btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.aw-body {
  display: grid;
  grid-template-columns: 22% 1fr 20%;
  height: 360px;
}
.aw-side,
.aw-panel {
  background: var(--panel);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.aw-side {
  border-right: 1px solid var(--border);
}
.aw-panel {
  border-left: 1px solid var(--border);
}
.aw-tabs {
  display: flex;
  gap: 2px;
  padding: 2px;
  border-radius: 6px;
  background: var(--bg-deep);
}
.aw-tabs span {
  flex: 1;
  text-align: center;
  padding: 3px 0;
  border-radius: 4px;
  color: var(--text-2);
}
.aw-tabs .on {
  background: var(--panel-2);
  color: var(--text-header);
}
.aw-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.aw-thumbs i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(145deg, hsl(var(--h) 45% 72%), hsl(calc(var(--h) + 30) 35% 42%));
  opacity: 0.92;
}
.aw-canvas {
  position: relative;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  min-width: 0;
}
.aw-toolbar {
  display: flex;
  gap: 6px;
}
.aw-chip {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-2);
}
.aw-chip-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.aw-spread {
  position: relative;
  width: 92%;
  aspect-ratio: 2 / 1.04;
  display: grid;
  grid-template-columns: 1fr 6px 1fr;
  background: #f4f1ec;
  border-radius: 2px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
.aw-page {
  position: relative;
}
.aw-fold {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12));
}
.ph {
  position: absolute;
  border-radius: 1px;
  transition: all 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  background-size: cover;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}
/* warm wedding-photo tones (no real photos used) */
.ph.p1 { background: radial-gradient(60% 50% at 55% 40%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(160deg, #e9c9a8, #b98a66 60%, #6f4d3a); }
.ph.p2 { background: radial-gradient(50% 50% at 40% 35%, rgba(255, 255, 255, 0.3), transparent 70%), linear-gradient(170deg, #c9d8cf, #8fae9c 55%, #4f6f5e); }
.ph.p3 { background: radial-gradient(50% 50% at 50% 40%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(180deg, #d9c2c7, #a98490 60%, #6b4b56); }
.ph.p4 { background: radial-gradient(60% 50% at 50% 30%, rgba(255, 255, 255, 0.45), transparent 70%), linear-gradient(180deg, #bcd6ea, #86aac6 50%, #e8d7bf 51%, #c9a77e); }
.ph.p5 { background: radial-gradient(50% 50% at 50% 40%, rgba(255, 255, 255, 0.3), transparent 70%), linear-gradient(160deg, #f0dcc0, #d2a877 60%, #8d6438); }
.ph.p6 { background: radial-gradient(50% 50% at 45% 35%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(170deg, #d8d2e6, #a49cbf 60%, #625a7e); }

/* Layout A */
[data-layout="a"] .p1 { left: 8%; top: 8%; width: 84%; height: 54%; }
[data-layout="a"] .p2 { left: 8%; top: 64%; width: 41%; height: 28%; }
[data-layout="a"] .p3 { left: 51%; top: 64%; width: 41%; height: 28%; }
[data-layout="a"] .p4 { left: 8%; top: 8%; width: 52%; height: 84%; }
[data-layout="a"] .p5 { left: 62%; top: 8%; width: 30%; height: 41%; }
[data-layout="a"] .p6 { left: 62%; top: 51%; width: 30%; height: 41%; }
/* Layout B */
[data-layout="b"] .p1 { left: 8%; top: 8%; width: 41%; height: 84%; }
[data-layout="b"] .p2 { left: 51%; top: 8%; width: 41%; height: 41%; }
[data-layout="b"] .p3 { left: 51%; top: 51%; width: 41%; height: 41%; }
[data-layout="b"] .p4 { left: 0%; top: 0%; width: 100%; height: 62%; }
[data-layout="b"] .p5 { left: 8%; top: 66%; width: 41%; height: 26%; }
[data-layout="b"] .p6 { left: 51%; top: 66%; width: 41%; height: 26%; }
/* Layout C */
[data-layout="c"] .p1 { left: 12%; top: 14%; width: 76%; height: 72%; }
[data-layout="c"] .p2 { left: 120%; top: 14%; width: 0%; height: 72%; opacity: 0; }
[data-layout="c"] .p3 { left: 120%; top: 50%; width: 0%; height: 36%; opacity: 0; }
[data-layout="c"] .p4 { left: 8%; top: 8%; width: 41%; height: 41%; }
[data-layout="c"] .p5 { left: 51%; top: 8%; width: 41%; height: 41%; }
[data-layout="c"] .p6 { left: 8%; top: 51%; width: 84%; height: 41%; }

.aw-strip {
  display: flex;
  gap: 6px;
}
.aw-strip i {
  width: 34px;
  height: 18px;
  border-radius: 3px;
  background: var(--panel-2);
  border: 1px solid var(--border);
}
.aw-strip i.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.aw-panel-title {
  color: var(--text-2);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.aw-layouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.aw-layouts i {
  aspect-ratio: 2 / 1.1;
  border-radius: 4px;
  background: #ece8e1;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.aw-layouts i::before,
.aw-layouts i::after {
  content: "";
  position: absolute;
  background: #b8a99a;
  border-radius: 1px;
}
.aw-layouts .l1::before { left: 8%; top: 12%; width: 40%; height: 76%; }
.aw-layouts .l1::after { left: 52%; top: 12%; width: 40%; height: 76%; }
.aw-layouts .l2::before { left: 8%; top: 12%; width: 84%; height: 44%; }
.aw-layouts .l2::after { left: 8%; top: 60%; width: 84%; height: 28%; }
.aw-layouts .l3::before { left: 8%; top: 12%; width: 56%; height: 76%; }
.aw-layouts .l3::after { left: 68%; top: 12%; width: 24%; height: 76%; }
.aw-layouts .l4::before { left: 20%; top: 18%; width: 60%; height: 64%; }
.aw-layouts .l4::after { display: none; }
.aw-layouts i.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.aw-layers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aw-layers i {
  height: 14px;
  border-radius: 3px;
  background: var(--panel-2);
}
.aw-layers i:first-child {
  background: var(--accent-soft);
  border: 1px solid var(--border-gold);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 12px;
  background: rgba(34, 36, 44, 0.86);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  font-size: 13px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card b {
  display: block;
  color: var(--text-header);
  font-weight: 500;
}
.float-card small {
  color: var(--text-2);
  font-size: 12px;
}
.fc-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border-gold);
}
.fc-1 {
  left: -28px;
  bottom: 54px;
}
.fc-2 {
  right: 28px;
  bottom: -26px;
  animation-delay: -3s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Ticker ---------- */
.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.ticker li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 14px;
}
.nowrap {
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.section {
  padding: 104px 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--bg-deep), #111216);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2,
.spot-copy h2,
.download h2,
.cta-inner h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-2);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 160px at var(--mx, 50%) var(--my, 0%), rgba(245, 158, 11, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.feature:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}
.feature:hover::before {
  opacity: 1;
}
.f-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-gold);
  margin-bottom: 18px;
}
.f-ico .ico {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 15px;
  color: var(--text-2);
}

/* ---------- Spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.spot-copy p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text);
}
.checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--text-2);
  font-size: 15.5px;
}
.checks li b {
  color: var(--text-header);
  font-weight: 500;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--border-gold);
}

.clone-demo {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #12141a;
  box-shadow: var(--shadow-3);
}
.cd-head {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #181b23;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.cd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3d48;
}
.cd-title {
  margin-left: 8px;
  color: var(--text-header);
}
.cd-status {
  margin-left: auto;
  font-size: 12px;
  color: #fcd34d;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cd-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.clone-demo.done .cd-status {
  color: #4ade80;
}
.cd-stage {
  padding: 26px;
  background-color: #0f1116;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.cd-sample {
  position: relative;
  aspect-ratio: 1.55;
  background: #fbf8f3;
  border-radius: 3px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.cd-ph {
  position: absolute;
  border-radius: 1px;
}
.cd-ph::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1.5px solid #2ecc71;
  border-radius: 2px;
  background: rgba(46, 204, 113, 0.08);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.35s, transform 0.35s;
}
.cd-ph.hero::after {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
}
.cd-ph em {
  position: absolute;
  left: -3px;
  top: -3px;
  z-index: 2;
  padding: 1px 5px;
  font-size: 10px;
  font-style: normal;
  color: #fff;
  background: #15803d;
  border-radius: 2px 0 2px 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.cd-ph.hero em {
  background: #b45309;
}
.cd-ph.found::after {
  opacity: 1;
  transform: none;
}
.cd-ph.found em {
  opacity: 1;
}
.c1 { left: 5%; top: 8%; width: 22%; height: 38%; background: linear-gradient(160deg, #e9c9a8, #8d6448); }
.c2 { left: 5%; top: 50%; width: 22%; height: 30%; background: linear-gradient(170deg, #c9d8cf, #587a68); }
.c3 { left: 30%; top: 8%; width: 40%; height: 72%; background: radial-gradient(50% 40% at 50% 35%, rgba(255, 255, 255, 0.35), transparent 70%), linear-gradient(180deg, #f2c58f, #d98b4e 55%, #6d4a35); }
.c4 { left: 73%; top: 8%; width: 22%; height: 22%; background: linear-gradient(170deg, #d9c2c7, #8e6874); }
.c5 { left: 73%; top: 33%; width: 22%; height: 22%; background: linear-gradient(170deg, #bcd6ea, #6b8fae); }
.c6 { left: 73%; top: 58%; width: 22%; height: 22%; background: linear-gradient(170deg, #d8d2e6, #7d7598); }
.cd-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  text-align: center;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(14px, 1.8vw, 20px);
  color: #3a3330;
}
.cd-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.22), transparent);
  animation: scan 2.4s linear infinite;
}
.clone-demo.done .cd-scan {
  display: none;
}
@keyframes scan {
  to { top: 100%; }
}
.cd-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #181b23;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.cd-chip {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.cd-apply {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  opacity: 0.45;
  transition: opacity 0.3s;
}
.clone-demo.done .cd-apply {
  opacity: 1;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}
.step {
  position: relative;
  padding: 0 8px;
  text-align: center;
}
.step-n {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 500;
  color: var(--accent);
  background: var(--panel);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-2);
}

/* ---------- Download ---------- */
.download {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px 48px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 260px at 85% 0%, rgba(245, 158, 11, 0.12), transparent 70%),
    var(--panel);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-2);
}
.dl-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.dl-icon {
  border-radius: 20px;
  box-shadow: 0 12px 30px -8px var(--accent-glow);
}
.dl-meta {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}
.dl-meta b {
  color: var(--text-header);
  font-weight: 500;
}
.dl-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dl-secondary {
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
}
.dl-secondary:hover {
  color: var(--accent-hover);
}
.dl-req {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
}
.dl-req > div {
  padding: 14px 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dl-req span {
  font-size: 12.5px;
  color: var(--dim);
}
.dl-req b {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-header);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.faq details[open] {
  border-color: var(--border-gold);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-header);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--text-2);
  border-bottom: 1.8px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--accent);
}
.faq details p {
  padding: 0 20px 20px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 88px 0;
  background:
    radial-gradient(500px 240px at 20% 0%, rgba(255, 255, 255, 0.25), transparent 70%),
    linear-gradient(120deg, #fbbf24, #f59e0b 55%, #ea8a0a);
  color: var(--on-accent);
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  color: var(--on-accent);
}
.cta-inner p {
  margin: 12px 0 28px;
  font-size: 17px;
  color: rgba(20, 21, 24, 0.78);
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 28px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 300px;
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-cols h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-header);
  margin-bottom: 4px;
}
.footer-cols a {
  font-size: 14.5px;
  color: var(--text-2);
}
.footer-cols a:hover {
  color: var(--accent-hover);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--dim);
}
.footer-bottom a:hover {
  color: var(--text);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner,
  .spotlight {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    text-align: center;
  }
  .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-meta {
    justify-content: center;
  }
  .app-window {
    transform: none;
  }
  .hero-visual:hover .app-window {
    transform: none;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .download {
    grid-template-columns: 1fr;
  }
  .dl-req {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 20px;
    background: #141518;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.open {
    background: #141518;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.open .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 12px;
    font-size: 16px;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav-cta {
    margin-left: auto;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
  .steps::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .aw-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .aw-side,
  .aw-panel {
    display: none;
  }
  .aw-canvas {
    padding: 18px 10px;
  }
  .aw-menu span:not(.aw-pill) {
    display: none;
  }
  .float-card {
    display: none;
  }
  .download {
    padding: 26px;
  }
  .dl-left {
    flex-direction: column;
    text-align: center;
  }
  .dl-req {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .nav-cta .btn-sm {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
