/* Rishta Baji landing. Light watercolor theme, never dark. */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/dm-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/caveat-700.woff2') format('woff2');
}

:root {
  --cream: #FAF6F0;
  --ink: #221E1A;
  --ink-soft: #5A5248;
  --ink-mute: #8A8178;
  --mint: #00C9A7;
  --mint-deep: #00A88C;
  --mint-wash: rgba(0, 201, 167, 0.14);
  --pink: #FF1493;
  --pink-wash: rgba(255, 20, 147, 0.09);
  --card-dark: #101014;
  --bubble-baji: #242424;
  --radius-lg: 16px;
  --radius-xxl: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Watercolor washes bleeding in from the edges */
body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
body::before {
  width: 60vmax;
  height: 60vmax;
  top: -32vmax;
  left: -24vmax;
  background: radial-gradient(circle, var(--mint-wash) 0%, rgba(0, 201, 167, 0.05) 55%, transparent 75%);
}
body::after {
  width: 64vmax;
  height: 64vmax;
  bottom: -36vmax;
  right: -26vmax;
  background: radial-gradient(circle, var(--pink-wash) 0%, rgba(255, 20, 147, 0.04) 55%, transparent 75%);
}

main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2 {
  font-family: 'Caveat', 'DM Sans', cursive;
  font-weight: 700;
  line-height: 1.1;
}

/* Header */
.site-header {
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 24px 0;
}
.wordmark {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--mint);
  opacity: 0.8;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) 3fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 64px;
}
.hero-art {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: -12% -18%;
  background: radial-gradient(circle at 45% 40%, rgba(0, 201, 167, 0.20) 0%, rgba(255, 20, 147, 0.07) 55%, transparent 72%);
  filter: blur(24px);
  z-index: 0;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: min(240px, 60vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(34, 30, 26, 0.14));
}
.hero-copy h1 {
  font-size: clamp(2.9rem, 6.5vw, 4.4rem);
  margin-bottom: 14px;
}
.subhead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 30px;
}
.cta {
  display: inline-block;
  background: var(--mint);
  color: #08211C;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 201, 167, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cta:hover {
  background: var(--mint-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 201, 167, 0.4);
}
.cta-micro {
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin-top: 10px;
}
.secondary-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(90, 82, 72, 0.4);
  text-underline-offset: 3px;
}
.secondary-link:hover { color: var(--ink); }

/* Trust row */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 30px 0 66px;
}
.trust-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(34, 30, 26, 0.07);
  border-radius: var(--radius-xxl);
  padding: 26px 24px;
}
.trust-icon {
  width: 34px;
  height: 34px;
  color: var(--mint-deep);
  margin-bottom: 12px;
}
.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.trust-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Chat demo */
.chat-demo {
  padding: 10px 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chat-demo h2 {
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  margin-bottom: 26px;
}
.chat-card {
  width: min(560px, 100%);
  background: var(--card-dark);
  border-radius: var(--radius-xxl);
  padding: 22px 22px 26px;
  box-shadow: 0 18px 44px rgba(16, 16, 20, 0.28);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-avatar {
  width: 44px;
  height: 56px;
  object-fit: contain;
}
.chat-name {
  display: block;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.chat-sub {
  display: block;
  color: #B0B0B0;
  font-size: 0.82rem;
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.5;
}
.bubble.baji {
  align-self: flex-start;
  background: var(--bubble-baji);
  color: #FFFFFF;
  border-bottom-left-radius: 6px;
}
.bubble.user {
  align-self: flex-end;
  background: var(--mint);
  color: #08211C;
  border-bottom-right-radius: 6px;
}
.chat-sticker {
  align-self: flex-start;
  width: 84px;
  height: auto;
  margin: 2px 0 0 4px;
}

/* How it works */
.how {
  padding: 0 0 60px;
  text-align: center;
}
.how h2 {
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  margin-bottom: 30px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.step {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(34, 30, 26, 0.07);
  border-radius: var(--radius-xxl);
  padding: 26px 24px;
}
.step-icon {
  width: 34px;
  height: 34px;
  color: var(--pink);
  margin-bottom: 12px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.step-urdu {
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.step-en {
  font-size: 0.88rem;
  color: var(--ink-mute);
}

/* Parents line */
.parents {
  padding: 6px 0 64px;
  text-align: center;
}
.parents p {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 26em;
  margin: 0 auto;
}

/* Android note */
.android-note {
  text-align: center;
  padding: 0 0 70px;
}
.android-note h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.android-note p {
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto;
}
.android-note a {
  color: var(--mint-deep);
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(34, 30, 26, 0.09);
  padding: 30px 24px 44px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-line {
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 48px;
    text-align: center;
  }
  .hero-art img { width: min(190px, 52vw); }
  .subhead { margin-left: auto; margin-right: auto; }
  .trust, .steps { grid-template-columns: 1fr; }
  .trust { padding-bottom: 54px; }
  .chat-card { padding: 18px 16px 22px; }
  .bubble { max-width: 88%; }
}
