/* home.css — trang chủ marketing WedPix. Dùng token màu từ styles.css (:root).
   Cam kết một tông sáng pastel (thương hiệu cưới) — chủ ý, không phải thiếu dark mode. */

body.home {
  background:
    radial-gradient(120% 60% at 100% 0%, var(--blush) 0%, transparent 45%),
    radial-gradient(120% 60% at 0% 8%, var(--sage) 0%, transparent 40%),
    var(--cream);
  color: var(--ink);
}
body.home a { color: inherit; }
.home .btn-block { width: 100%; }

/* NAV */
.nav {
  display: flex; align-items: center; gap: 20px;
  padding: 18px clamp(18px, 5vw, 56px);
  max-width: 1180px; margin: 0 auto;
}
.brand {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  letter-spacing: -0.01em; text-decoration: none; color: var(--ink);
}
.brand-dot { color: var(--rose-deep); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--rose-deep); }
.nav .btn { text-decoration: none; }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; max-width: 1180px; margin: 0 auto;
  padding: clamp(30px, 6vw, 70px) clamp(18px, 5vw, 56px) clamp(40px, 7vw, 90px);
}
.hero-text { animation: fadeUp 0.7s ease both; }
.hero .eyebrow { color: var(--rose-deep); font-weight: 600; }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 6.5vw, 68px); line-height: 1.04;
  margin: 10px 0 18px; text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--rose-deep); }
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-soft); max-width: 30em; margin: 0 0 28px; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { text-decoration: none; }
.hero-note { font-size: 13px; color: var(--ink-soft); margin-top: 18px; letter-spacing: 0.01em; }

.hero-visual { display: flex; justify-content: center; animation: fadeUp 0.8s ease 0.1s both; }
.qr-card {
  background: var(--white); border-radius: 22px; padding: 26px 26px 20px;
  box-shadow: var(--shadow); text-align: center; max-width: 300px;
  border: 1px solid var(--line); position: relative;
  transform: rotate(-2deg);
}
.qr-card::before {
  content: ""; position: absolute; inset: -10px -10px auto auto; width: 70px; height: 70px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%); opacity: 0.35; border-radius: 50%;
}
.qr-card-top { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }
.qr-img { width: 100%; max-width: 220px; height: auto; border-radius: 12px; display: block; margin: 0 auto; }
.qr-card-bottom { font-family: var(--serif); font-size: 20px; color: var(--rose-deep); margin: 14px 0 0; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .qr-card { transform: none; }
}

/* SECTIONS */
.section { max-width: 1080px; margin: 0 auto; padding: clamp(50px, 8vw, 100px) clamp(18px, 5vw, 56px); }
.section-alt { max-width: none; background: rgba(255, 253, 251, 0.6); }
.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  text-align: center; text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 12px; color: var(--rose-deep); font-weight: 600; margin: 0 0 8px;
}
.section-title {
  text-align: center; font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 4.5vw, 44px); margin: 0 0 12px; text-wrap: balance;
}
.section-lead { text-align: center; color: var(--ink-soft); max-width: 34em; margin: 0 auto 40px; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff;
  font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 16px;
}
.step h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 8px; font-weight: 600; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* FEATURES */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.feature { padding: 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.feature-ic { font-size: 26px; }
.feature h3 { font-family: var(--serif); font-size: 19px; margin: 10px 0 6px; font-weight: 600; }
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
@media (max-width: 820px) { .steps, .features { grid-template-columns: 1fr; } }

/* PRICING */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; align-items: start; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.price-card--featured {
  border: 2px solid var(--rose); box-shadow: var(--shadow); transform: translateY(-8px);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff;
  font-size: 12px; font-weight: 600; padding: 5px 16px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; font-weight: 600; }
.price-amount { font-family: var(--serif); font-size: 46px; font-weight: 600; color: var(--rose-deep); margin: 0; line-height: 1; }
.price-amount span { font-size: 22px; }
.price-retention { color: var(--ink-soft); font-size: 14px; margin: 6px 0 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { font-size: 15px; padding-left: 26px; position: relative; color: var(--ink); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-deep); font-weight: 700; }
.price-card .btn { text-decoration: none; }
.price-foot { text-align: center; color: var(--ink-soft); margin-top: 30px; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } .price-card--featured { transform: none; } }

/* CTA cuối */
.cta-final {
  text-align: center; padding: clamp(50px, 8vw, 90px) 24px;
  background: radial-gradient(120% 100% at 50% 0%, var(--blush) 0%, var(--cream) 70%);
}
.cta-final h2 { font-family: var(--serif); font-size: clamp(28px, 5vw, 46px); font-weight: 600; margin: 0 0 12px; }
.cta-final p { color: var(--ink-soft); max-width: 32em; margin: 0 auto 26px; }
.cta-final .btn { text-decoration: none; }
.cta-contact { margin-top: 20px; font-size: 14px; }

/* FOOTER */
.site-footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.site-footer .brand { font-size: 22px; display: inline-block; margin-bottom: 6px; }
.site-footer p { margin: 4px 0; font-size: 14px; }
.footer-copy { font-size: 12px; margin-top: 10px; }
