*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", system-ui, sans-serif;
  background: #faf9f6;
  color: #1a1814;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: "Playfair Display", Georgia, serif;
}

/* ===== TOKENS ===== */
:root {
  --rose: #c97b84;
  --rose-light: #f4e8ea;
  --rose-dark: #9b545c;
  --charcoal: #1a1814;
  --taupe: #8c7b6e;
  --warm-white: #faf9f6;
  --surface: #f3f1ec;
  --border: rgba(26, 24, 20, 0.1);
  --border-strong: rgba(26, 24, 20, 0.18);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 60px;
}
.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.brand-mark {
  border-radius: 10px;
  flex: 0 0 auto;
  height: 2.25rem;
  width: 2.25rem;
}
.brand em {
  font-style: italic;
  color: var(--rose);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.site-nav a:hover {
  color: var(--charcoal);
}
.nav-cta {
  background: var(--charcoal) !important;
  color: var(--warm-white) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 500;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: #333 !important;
}

/* ===== HERO ===== */
.hero {
  min-height: 60vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 5vw 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-dark);
  background: var(--rose-light);
  border: 0.5px solid rgba(201, 123, 132, 0.3);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow span {
  font-size: 16px;
}
.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--rose);
}
.hero-sub {
  font-size: 17px;
  color: var(--taupe);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}
.btn-primary svg {
  flex-shrink: 0;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--taupe);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.2s;
}
.btn-ghost:hover {
  color: var(--charcoal);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.75rem;
  font-size: 13px;
  color: var(--taupe);
}
.hero-trust-stars {
  color: var(--rose);
  letter-spacing: 1px;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-card {
  background: #fff;
  border: 0.5px solid var(--border-strong);
  border-radius: 18px;
  padding: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 2px 40px rgba(26, 24, 20, 0.07);
}
.scanner-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.scanner-dots {
  display: flex;
  gap: 5px;
}
.scanner-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.d1 {
  background: #e57373;
}
.d2 {
  background: #ffb74d;
}
.d3 {
  background: #81c784;
}
.scanner-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--taupe);
  flex: 1;
  text-align: center;
}
.palette-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.palette-label {
  font-size: 11px;
  color: var(--taupe);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 2px;
}
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
  transition: transform 0.15s;
}
.swatch.active {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--charcoal);
}
.scanner-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 10px;
  border: 0.5px solid var(--border);
  transition: border-color 0.3s;
}
.result-item.highlight {
  border-color: var(--rose);
  background: var(--rose-light);
}
.result-swatch {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.result-info {
  flex: 1;
  min-width: 0;
}
.result-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.result-store {
  font-size: 11px;
  color: var(--taupe);
}
.result-match {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--rose-light);
  color: var(--rose-dark);
  white-space: nowrap;
}
.result-item.highlight .result-match {
  background: var(--rose);
  color: #fff;
}
.scan-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin: 14px 0 4px;
  overflow: hidden;
}
.scan-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-dark), var(--rose));
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}
.scan-status {
  font-size: 11px;
  color: var(--taupe);
  text-align: right;
}

/* ===== SOCIAL PROOF BAR ===== */
.proof-bar {
  background: var(--surface);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 18px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-stat {
  text-align: center;
}
.proof-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
}
.proof-label {
  font-size: 12px;
  color: var(--taupe);
  letter-spacing: 0.04em;
}
.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
}

/* ===== SECTION SHARED ===== */
section {
  padding: 80px 5vw;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 10px;
}
.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--rose);
}
.section-sub {
  font-size: 16px;
  color: var(--taupe);
  max-width: 520px;
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.how-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
}
.how-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 12px;
  -webkit-text-stroke: 1.5px var(--rose);
}
.how-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.how-card p {
  font-size: 14px;
  color: var(--taupe);
  line-height: 1.6;
}

/* ===== FEATURES GRID ===== */
.features-section {
  background: var(--charcoal);
}
.features-section .section-eyebrow {
  color: var(--rose);
}
.features-section .section-title {
  color: var(--warm-white);
}
.features-section .section-title em {
  color: var(--rose);
}
.features-section .section-sub {
  color: rgba(250, 249, 246, 0.55);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid rgba(250, 249, 246, 0.08);
  border-radius: 16px;
  overflow: hidden;
}
.feature-tile {
  background: rgba(250, 249, 246, 0.04);
  padding: 28px 24px;
  transition: background 0.2s;
}
.feature-tile:hover {
  background: rgba(250, 249, 246, 0.07);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 123, 132, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--rose);
  font-size: 20px;
}
.feature-tile h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 6px;
}
.feature-tile p {
  font-size: 13px;
  color: rgba(250, 249, 246, 0.5);
  line-height: 1.55;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 3rem;
  max-width: 720px;
}
.pricing-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
}
.pricing-card.pro {
  border: 2px solid var(--charcoal);
  position: relative;
  overflow: hidden;
}
.pro-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--charcoal);
  color: var(--warm-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-bottom-left-radius: 12px;
}
.plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}
.plan-price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sup {
  font-size: 20px;
  vertical-align: super;
}
.plan-period {
  font-size: 13px;
  color: var(--taupe);
  margin-bottom: 20px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--charcoal);
}
.plan-features li .check {
  color: var(--rose-dark);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-features li .dash {
  color: var(--border-strong);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: -2px;
}
.plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
  transition: all 0.2s;
}
.plan-cta:hover {
  background: var(--surface);
}
.pricing-card.pro .plan-cta {
  background: var(--charcoal);
  color: var(--warm-white);
  border-color: var(--charcoal);
}
.pricing-card.pro .plan-cta:hover {
  background: #333;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--surface);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}
.testimonial-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.testimonial-stars {
  color: var(--rose);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-dark);
  flex-shrink: 0;
}
.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}
.author-role {
  font-size: 12px;
  color: var(--taupe);
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: 100px 5vw;
  max-width: 680px;
  margin: 0 auto;
}
.final-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.14;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.final-cta h2 em {
  font-style: italic;
  color: var(--rose);
}
.final-cta p {
  font-size: 16px;
  color: var(--taupe);
  margin-bottom: 2.5rem;
}
.final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-large:hover {
  background: #333;
  transform: translateY(-1px);
}
.btn-large-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  color: var(--charcoal);
  border: 1.5px solid var(--border-strong);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-large-ghost:hover {
  border-color: var(--charcoal);
  background: var(--surface);
}

/* ===== PAGES ===== */

.content-page {
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 2rem);
}

.content-page h1 {
  max-width: none;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.content-page h2 {
  font-size: 1.45rem;
  margin-top: 2.25rem;
}

.content-page section {
  padding: unset;
}

.content-page p,
.content-page li {
  color: #39465a;
}

.content-page ul {
  padding-left: 1.2rem;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 24px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}
.footer-brand em {
  font-style: italic;
  color: var(--rose);
}
.footer-copy {
  font-size: 12px;
  color: var(--taupe);
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  font-size: 13px;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--charcoal);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
    padding: 3.5rem 5vw;
  }
  .hero-visual {
    order: -1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .proof-divider {
    display: none;
  }
  .proof-bar {
    gap: 24px;
  }
  .site-nav .nav-only-desktop {
    display: none;
  }
}
