/* Ruhanubandh - website styles */
:root {
  --primary: #8E1B3A;
  --primary-2: #B0304F;
  --primary-dark: #5E0F26;
  --accent: #E0A526;
  --accent-soft: #FDF1D6;
  --bg: #FFF8F3;
  --card: #FFFFFF;
  --text: #2B1A1F;
  --muted: #7A6A6E;
  --border: #EADFD8;
  --ok: #2E7D32;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(142, 27, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.mr { font-family: "Mukta", sans-serif; }

/* ---------- header ---------- */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 243, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 19px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: -4px; }
.links { display: flex; gap: 26px; align-items: center; }
.links a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { color: var(--primary); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff !important; text-decoration: none;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; border: 0; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--primary) !important; border: 1.5px solid var(--border); }
.btn.gold { background: var(--accent); color: var(--primary-dark) !important; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: 70px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px -200px auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(224, 165, 38, .22), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: #8a5a00;
  padding: 6px 14px; border-radius: 30px; font-weight: 700; font-size: 14px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.5px; }
.hero h1 span { color: var(--primary); }
.hero .mr-line { font-size: 22px; color: var(--primary); font-weight: 600; margin: 4px 0 14px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #1b1b1f; color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 12px; min-width: 175px; }
.store svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }
.store span { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store b { display: block; font-size: 17px; line-height: 1.2; }
.trust { display: flex; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.trust div { font-size: 14px; color: var(--muted); }
.trust b { display: block; font-size: 22px; color: var(--text); }

/* phone mockup */
.phone {
  width: 300px; margin: 0 auto; background: #1b1b1f; border-radius: 42px; padding: 12px;
  box-shadow: 0 40px 80px rgba(94, 15, 38, .35); position: relative; transform: rotate(2deg);
}
.screen { background: var(--bg); border-radius: 32px; overflow: hidden; height: 600px; position: relative; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #1b1b1f; border-radius: 20px; z-index: 3; }
.app-head { padding: 44px 16px 10px; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; }
.match-card { margin: 0 14px; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.match-photo {
  height: 290px; position: relative;
  background: linear-gradient(160deg, #f3d9c9 0%, #d99a8c 45%, #8E1B3A 100%);
  display: flex; align-items: flex-end; padding: 14px;
}
.match-photo svg { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 150px; opacity: .55; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ok); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.badge.g { left: auto; right: 12px; background: var(--accent); }
.match-name { color: #fff; position: relative; }
.match-name b { font-size: 22px; display: block; }
.match-name span { font-size: 13px; opacity: .9; }
.match-info { padding: 12px 14px; font-size: 13px; color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 12px; }
.chip { background: #e6f4ea; color: var(--ok); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 20px; }
.chip.p { background: #f6e3e8; color: var(--primary); }
.mock-btn { background: var(--primary); color: #fff; text-align: center; padding: 10px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.float {
  position: absolute; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; z-index: 4;
}
.float .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.f1 { left: -40px; top: 120px; }
.f2 { right: -30px; bottom: 120px; }

/* ---------- sections ---------- */
section { padding: 80px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.sec-head .kicker { color: var(--primary); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-top: 6px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.white { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--accent-soft); margin-bottom: 14px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 26px 26px 26px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.step::before {
  counter-increment: s; content: counter(s); width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 12px;
}
.step p { color: var(--muted); margin: 0; }

/* kundali */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.guna { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.guna-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.ring { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--ok) 0 88.9%, var(--border) 88.9% 100%); }
.ring div { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; line-height: 1; }
.ring b { font-size: 26px; color: var(--ok); display: block; }
.ring small { font-size: 11px; color: var(--muted); }
.koot { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; margin: 7px 0; }
.bar { height: 8px; background: var(--border); border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 8px; }
.bar i.full { background: var(--ok); }
.list { list-style: none; padding: 0; margin: 20px 0 0; }
.list li { padding-left: 32px; position: relative; margin: 12px 0; }
.list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e6f4ea; color: var(--ok); font-weight: 800; display: grid; place-items: center; font-size: 13px; }

/* parent */
.parent { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-radius: 28px; padding: 50px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.parent h2 { font-size: clamp(26px, 3.2vw, 36px); }
.parent p { opacity: .9; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.who div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 14px 8px; text-align: center; font-weight: 700; }
.who div span { display: block; font-size: 26px; }
.who div small { display: block; font-weight: 500; opacity: .8; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--primary); box-shadow: var(--shadow); position: relative; transform: translateY(-8px); }
.plan.pop::before { content: "MOST POPULAR"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 20px; letter-spacing: .5px; }
.plan h3 { font-size: 22px; }
.price { font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; margin: 10px 0 4px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { flex: 1; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--primary); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* download */
.download { text-align: center; background: var(--primary-dark); color: #fff; border-radius: 28px; padding: 60px 30px; position: relative; overflow: hidden; }
.download::after { content: ""; position: absolute; width: 400px; height: 400px; right: -120px; top: -160px; border-radius: 50%; border: 50px solid rgba(224,165,38,.15); }
.download h2 { font-size: clamp(28px, 3.6vw, 42px); }
.download p { opacity: .85; max-width: 560px; margin: 0 auto 26px; }
.download .cta { justify-content: center; position: relative; z-index: 1; }
.download .store { background: #fff; color: var(--text); }
.download .store svg { fill: var(--text); }

/* footer */
footer { padding: 50px 0 30px; color: var(--muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { color: var(--text); margin: 0 0 10px; }
.foot a { display: block; color: var(--muted); text-decoration: none; margin: 6px 0; }
.foot a:hover { color: var(--primary); }
.copy { border-top: 1px solid var(--border); margin-top: 30px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 50px 20px 80px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 22px; margin-top: 34px; color: var(--primary); }
.legal .updated { color: var(--muted); }
.legal .box { background: var(--accent-soft); border-radius: 14px; padding: 14px 18px; font-size: 15px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .parent { grid-template-columns: 1fr; }
  .grid3, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .plan.pop { transform: none; }
  .f1 { left: -10px; } .f2 { right: -10px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--border); align-items: flex-start; }
  .links.open { display: flex; }
  .menu-btn { display: block; }
  .grid3, .steps, .plans { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0; }
  .parent { padding: 30px 22px; }
  .phone { width: 270px; transform: none; }
  .screen { height: 540px; }
  .match-photo { height: 250px; }
  .float { display: none; }
  .foot { grid-template-columns: 1fr; }
  .koot { grid-template-columns: 92px 1fr 40px; }
}
