/* ===========================================================================
   Thuna Matrimony — marketing site styles
   Brand: burgundy + cream, elegant + trustworthy, with subtle motion.
   =========================================================================== */

:root {
  --burgundy: #7a1f3d;
  --burgundy-2: #8e2447;
  --burgundy-deep: #611630;
  --wine-rose: #9e4759;
  --blush: #f5c6d3;
  --gold: #c9a227;

  --ink: #23181c;
  --muted: #8a7a80;
  --line: #ede3e6;
  --cream: #fff8f3;
  --surface: #fdfafb;
  --white: #ffffff;
  --green: #1e7a54;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 8px 24px rgba(51, 32, 23, 0.08);
  --shadow-md: 0 18px 44px rgba(97, 22, 48, 0.14);
  --shadow-lg: 0 30px 70px rgba(97, 22, 48, 0.22);

  --maxw: 1120px;
  /* Match the app: Poppins for headings, Mulish for body. Dancing Script is
     kept only for the "thuna" brand wordmark (the logo itself is cursive). */
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-script: "Dancing Script", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 92px 0; position: relative; }
.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 12.5px; color: var(--wine-rose);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; font-weight: 600; color: var(--ink); }
h2.title { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -0.5px; }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.lead { color: var(--muted); font-size: 18px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-weight: 600; font-size: 15.5px; padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn-primary { background: var(--burgundy); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--burgundy-2); }
.btn-ghost { background: rgba(255,255,255,.8); color: var(--burgundy); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--burgundy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.site-header.scrolled {
  background: rgba(255, 248, 243, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark {
  font-family: var(--font-script); font-size: 30px; font-weight: 700;
  color: var(--burgundy); line-height: 1;
}
.brand .mark .heart { color: var(--wine-rose); }
.site-header.on-hero .brand .mark { color: #fff; }
.site-header.on-hero .brand .mark .heart { color: var(--blush); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: .82; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.site-header.on-hero .nav a { color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 14.5px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  position: relative; padding: 150px 0 110px;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(158,71,89,.55), transparent 60%),
    linear-gradient(150deg, var(--burgundy-2), var(--burgundy-deep));
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--cream));
}
.hero .grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  position: relative; z-index: 2;
}
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 66px); letter-spacing: -1px; }
.hero h1 em { font-family: var(--font-script); font-style: normal; color: var(--blush); }
.hero .ml-line {
  font-family: "Manjari", var(--font-body); font-weight: 700;
  font-size: clamp(20px, 2.8vw, 27px); color: var(--blush);
  margin: 14px 0 0; line-height: 1.35;
}
.hero p { color: rgba(255,255,255,.86); font-size: 19px; margin: 16px 0 32px; max-width: 520px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.trust-row .item {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  padding: 9px 15px 9px 11px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.trust-row .ck {
  width: 19px; height: 19px; border-radius: 50%; background: var(--blush);
  color: var(--burgundy-deep); display: grid; place-items: center;
  font-size: 12px; font-weight: 900; flex: 0 0 auto;
}

/* floating hearts */
.hearts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hearts span {
  position: absolute; bottom: -40px; color: rgba(255,255,255,.14); font-size: 22px;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(.7) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-115vh) scale(1.1) rotate(40deg); opacity: 0; }
}

/* phone mockup */
.phone {
  position: relative; width: 300px; margin: 0 auto; aspect-ratio: 300 / 620;
  border-radius: 42px; background: #120a10; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.08) inset;
  animation: floaty 6s ease-in-out infinite;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(160deg, var(--burgundy-2), var(--burgundy-deep));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.phone .screen .logo { font-family: var(--font-script); font-size: 52px; color: #fff; }
.phone .screen .logo .heart { color: var(--blush); display:block; text-align:center; font-size: 30px; margin-bottom: -8px; }
.phone .screen small { color: rgba(255,255,255,.7); letter-spacing: .04em; }
.phone .notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #120a10; border-radius: 0 0 14px 14px; z-index: 3; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- Feature cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid #f0e6ea; border-radius: var(--radius);
  padding: 32px 26px; box-shadow: 0 10px 30px rgba(51, 32, 23, 0.10);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(97, 22, 48, 0.20); border-color: #e6d3da; }
.card .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 25px; margin-bottom: 18px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  transition: transform .25s ease;
}
.card:hover .ic { transform: scale(1.06) rotate(-3deg); }
/* Distinct colour per feature so the grid doesn't read as one template */
.card .ic.c1 { background: linear-gradient(140deg, #e7f6ef, #d3efe0); color: #1e7a54; }
.card .ic.c2 { background: linear-gradient(140deg, #eceefb, #dde1f6); color: #4a53a8; }
.card .ic.c3 { background: linear-gradient(140deg, #fbe9ef, #f6d9e3); color: #a52a5a; }
.card .ic.c4 { background: linear-gradient(140deg, #fdf1e1, #f8e0c4); color: #a3701a; }
.card .ic.c5 { background: linear-gradient(140deg, #e6f4fb, #d1e8f6); color: #1f6f9a; }
.card .ic.c6 { background: linear-gradient(140deg, #f3ebfb, #e6d8f6); color: #6d3a9a; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step .num {
  counter-increment: step; width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head);
  font-size: 22px; color: #fff; background: var(--burgundy); box-shadow: var(--shadow-sm);
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---- Pricing ---- */
.pricing { background: var(--surface); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 28px 32px; box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured {
  background: linear-gradient(160deg, var(--burgundy-2), var(--burgundy-deep));
  color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #3a2a00; white-space: nowrap;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(97, 22, 48, .22);
}
.plan h3 { font-size: 21px; margin-bottom: 4px; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.plan.featured .sub { color: rgba(255,255,255,.8); }
.plan .price { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -1px; }
.plan.featured .price { font-size: 58px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan.featured .price small { color: rgba(255,255,255,.82); }
.plan .per { font-size: 12.5px; color: var(--muted); margin-top: 8px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.plan.featured .per { color: rgba(255,255,255,.78); }
.plan ul { margin: 24px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan li .tick { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.plan.featured li .tick { color: var(--blush); }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 26px; }

/* ---- Stats band ---- */
.band { background: linear-gradient(150deg, var(--burgundy-2), var(--burgundy-deep)); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .n { font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); }
.stat .l { color: rgba(255,255,255,.8); font-size: 14.5px; margin-top: 4px; }

/* ---- FAQ ---- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s; color: var(--wine-rose); }
.faq[open] summary .chev { transform: rotate(45deg); }
.faq .body { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }

/* ---- CTA ---- */
.cta-final { text-align: center; }
.cta-final .box {
  background: linear-gradient(150deg, var(--burgundy-2), var(--burgundy-deep));
  border-radius: 28px; padding: 66px 30px; color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-final h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); }
.cta-final p { color: rgba(255,255,255,.85); margin: 14px auto 30px; max-width: 520px; }

/* store badges */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px; background: #120a10; color: #fff;
  padding: 12px 20px; border-radius: 14px; transition: transform .18s; font-size: 13px;
}
.store b { font-size: 16px; display: block; line-height: 1.1; }
.store:hover { transform: translateY(-2px); }
.store.disabled { opacity: .55; }

/* ---- Footer ---- */
.site-footer { background: #1b0f14; color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer .mark { font-family: var(--font-script); font-size: 30px; color: #fff; }
.site-footer .mark .heart { color: var(--blush); }
.site-footer p { font-size: 14.5px; max-width: 280px; margin-top: 12px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { font-size: 14.5px; transition: color .2s; }
.site-footer a:hover { color: var(--blush); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px;
}

/* ---- Legal pages ---- */
.legal-hero { padding: 130px 0 50px; background: linear-gradient(150deg, var(--burgundy-2), var(--burgundy-deep)); color: #fff; }
.legal-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); }
.legal-hero p { color: rgba(255,255,255,.82); margin-top: 10px; }
.legal { padding: 56px 0 90px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 38px 0 12px; }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { color: #40323a; font-size: 16px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--burgundy); text-decoration: underline; }
.legal .toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 24px; margin-bottom: 30px; box-shadow: var(--shadow-sm);
}
.legal .toc a { display: inline-block; margin: 4px 14px 4px 0; text-decoration: none; font-size: 14.5px; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; text-align: center; }
  .hero p, .hero .cta-row, .trust-row { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero .visual { margin-top: 40px; }
  .cards, .steps, .plans, .stats, .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan.featured { transform: none; }
}
@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open {
    display: flex; position: absolute; top: 74px; left: 12px; right: 12px; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; gap: 14px;
    box-shadow: var(--shadow-md);
  }
  .nav.open a { color: var(--ink); }
  .cards, .steps, .plans, .stats, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
