/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #fbfaf8;
  --bg-alt: #f4f2ee;
  --ink: #16151a;
  --ink-soft: #55535f;
  --ink-faint: #8a8894;
  --line: #e7e4de;
  --white: #ffffff;
  --accent: #1a1a1f;
  --accent-2: #7c6ff0;
  --accent-3: #ff8a5c;
  --good: #1f8a55;
  --good-bg: #e9f7ef;
  --bad: #b5473a;
  --bad-bg: #fbeeec;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(20,18,30,0.06);
  --shadow-md: 0 12px 32px rgba(20,18,30,0.08);
  --shadow-lg: 0 24px 60px rgba(20,18,30,0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow { max-width: 760px; }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.ic {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }

p { color: var(--ink-soft); }

.text-gradient {
  background: linear-gradient(100deg, #7c6ff0, #ff8a5c 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary .price-tag {
  opacity: 0.6;
  font-weight: 500;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-nav {
  padding: 10px 18px;
  font-size: 13.5px;
}
.btn-nav .btn-price { opacity: 0.55; padding-left: 8px; border-left: 1px solid rgba(255,255,255,0.25); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,250,248,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.logo .dot { color: var(--accent-2); }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }

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

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 168px 0 100px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(124,111,240,0.16), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255,138,92,0.14), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 520px;
  margin: 22px 0 34px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-faint);
  font-weight: 500;
}
.trust-item .ic { width: 15px; height: 15px; color: var(--good); }

.hero-visual { position: relative; }
.hero-product-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #f2f0eb, #e9e6de);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  z-index: 1;
}
.hero-product-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s var(--ease);
}
.hero-visual:hover .hero-product-frame img { transform: scale(1.06); }

.hero-blob {
  position: absolute;
  width: 90%; height: 90%;
  top: 8%; left: 8%;
  background: linear-gradient(135deg, rgba(124,111,240,0.25), rgba(255,138,92,0.2));
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}
.badge-float {
  position: absolute;
  top: -18px; right: 12px;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-md);
  animation: float 4.5s ease-in-out infinite;
}
.badge-float .ic { width: 15px; height: 15px; fill: var(--accent-3); stroke: var(--accent-3); color: var(--accent-3); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}
.scroll-cue span {
  display: block;
  width: 1px; height: 46px;
  background: linear-gradient(var(--ink-faint), transparent);
  position: relative;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  top: 0; left: -2.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% { top: 0; opacity: 1; }
  90% { opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

@media (max-width: 900px) {
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto 20px; }
  .hero-sub { max-width: 100%; }
}

/* ============ MODEL STRIP ============ */
.model-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--white);
}
.model-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.model-strip .sep { color: var(--line); font-weight: 400; }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head p { font-size: 1.05rem; margin-top: 14px; }

section { padding: 110px 0; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.zoom-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
}
.zoom-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.35s ease;
}
.zoom-wrap:hover img { transform: scale(1.35); }
.zoom-hint {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  pointer-events: none;
}
.gallery-side { display: flex; flex-direction: column; gap: 16px; }
.gallery-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  aspect-ratio: 16/10;
  transition: border-color 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.active { border-color: var(--accent-2); }

@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-side { flex-direction: row; }
  .gallery-thumb { flex: 1; }
}

/* ============ HOW IT WORKS ============ */
.how { background: var(--bg-alt); }
.step-track { grid-column: 1 / -1; margin-bottom: 40px; }
.step-line {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.step-line-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 16.6%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
  transition: width 0.6s var(--ease);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  opacity: 0.55;
  transform: scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.step-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-alt);
}
.step-visual img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps-2 { grid-template-columns: 1fr; }
}

/* ============ WHY / FEATURE CARDS ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,111,240,0.14), rgba(255,138,92,0.14));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--accent-2); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }

.feature-card-cta {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-card-cta h3 { color: var(--white); }
.feature-card-cta p { color: rgba(255,255,255,0.65); margin-bottom: 22px; }
.feature-card-cta .btn-primary { background: var(--white); color: var(--ink); align-self: flex-start; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============ COMPARE ============ */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}
.compare-table th, .compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.compare-table thead th {
  font-size: 13px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.row-label { color: var(--ink-soft); font-weight: 500; width: 34%; }
.col-copilot { background: linear-gradient(180deg, rgba(124,111,240,0.05), rgba(124,111,240,0.02)); }
.col-badge {
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.col-badge .dot { color: var(--accent-2); }
.col-other { color: var(--ink-faint); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.03em; }
.compare-table tbody tr:last-child td { border-bottom: none; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.pill-good { background: var(--good-bg); color: var(--good); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }

/* ============ REVIEWS ============ */
.stars-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.stars { color: #f5b301; letter-spacing: 2px; font-size: 15px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-card p { font-size: 14px; margin: 14px 0 20px; color: var(--ink); }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: 13.5px; }
.t-author span { font-size: 12px; color: var(--ink-faint); }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.review-strip-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.review-strip {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollstrip 32s linear infinite;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.review-strip span { display: inline-flex; gap: 8px; }
@keyframes scrollstrip {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ FAQ ============ */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}
.acc-icon {
  width: 18px; height: 18px;
  fill: none; stroke: var(--ink-faint); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}
.acc-item.active .acc-icon { transform: rotate(180deg); color: var(--accent-2); stroke: var(--accent-2); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.acc-panel p { padding: 0 26px 24px; font-size: 14.5px; max-width: 560px; }
.acc-item.active .acc-panel { max-height: 200px; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, #17161c, #211f2b 60%, #1a1922);
  border-radius: var(--radius-lg);
  margin: 0 28px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0;
}
.final-cta-inner {
  padding: 72px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.final-cta-inner h2 { color: var(--white); margin: 6px 0 10px; }
.final-cta-inner p { color: rgba(255,255,255,0.6); font-size: 1.02rem; }
.final-cta .btn-primary { background: var(--white); color: var(--ink); flex-shrink: 0; }

/* ============ FOOTER ============ */
.footer { padding: 70px 0 40px; }
.footer-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.f-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.f-badge .ic { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.logo-sm { font-size: 1.05rem; }
.footer-bottom p { font-size: 12.5px; color: var(--ink-faint); }

/* ============ BUY BAR ============ */
.buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: -100px;
  z-index: 90;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.06);
  transition: bottom 0.4s var(--ease);
  padding: 14px 0;
}
.buy-bar.visible { bottom: 0; }
.buy-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.buy-bar-product { display: flex; align-items: center; gap: 12px; }
.buy-bar-product img {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.buy-bar-product strong { display: block; font-size: 14px; }
.buy-bar-product span { font-size: 12.5px; color: var(--ink-faint); }
.buy-bar-right { display: flex; align-items: center; gap: 18px; }
.price-tag-lg { font-size: 16px; font-weight: 700; }

@media (max-width: 560px) {
  .buy-bar-product span { display: none; }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 200;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast .ic { color: #6ee7a0; }

#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 199;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE MISC ============ */
@media (max-width: 620px) {
  section { padding: 72px 0; }
  .final-cta { margin: 0 16px; }
  .final-cta-inner { padding: 48px 28px; }
  .compare-table th, .compare-table td { padding: 14px 16px; }
}
