:root {
  --wine-top: #3a0a18;
  --wine-bottom: #1a0410;
  --rose: #e8385c;
  --rose-light: #ff5c7c;
  --text-warm: #f5e6ea;
  --text-dim: rgba(245, 230, 234, 0.65);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: linear-gradient(180deg, var(--wine-top) 0%, var(--wine-bottom) 100%);
  background-attachment: fixed;
  color: var(--text-warm);
  min-height: 100vh;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-weight: 800; font-size: 18px; letter-spacing: 0.5px; color: var(--text-warm); }
.beta-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  background: rgba(232, 56, 92, 0.15);
  border: 1px solid rgba(232, 56, 92, 0.4);
  color: var(--rose-light) !important;
  padding: 3px 9px;
  border-radius: 999px;
}
.beta-note {
  font-size: 12px;
  color: var(--text-dim);
  margin: 10px 0 0;
  max-width: 420px;
}
nav.top-nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav.top-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav.top-nav a:hover { color: var(--rose-light); }

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding: 48px 0 72px;
}
.hero-text { flex: 1 1 420px; }
.hero-text h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero-text h1 span { color: var(--rose-light); }
.hero-text p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--rose), #b81f3c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 56, 92, 0.35);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-warm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-badge { flex: 0 0 auto; display: flex; justify-content: center; }
.hero-badge img {
  width: 240px;
  max-width: 55vw;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.rating-row {
  color: #f0a83d;
  font-size: 16px;
  letter-spacing: 2px;
  margin: 0 0 18px;
}
.rating-row span { color: var(--text-dim); font-size: 13px; letter-spacing: normal; margin-left: 6px; }

.contact-section { padding: 0 0 56px; display: flex; justify-content: center; }
.contact-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 24px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 56, 92, 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.contact-card h2 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.contact-card .section-sub { text-align: left; font-size: 12.5px; margin: 0 0 14px; }

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact-fields { display: flex; flex-direction: column; gap: 10px; }
.contact-form-grid textarea { height: 100%; min-height: 148px; resize: none; }
.contact-form-grid .btn,
.contact-form-grid .form-status { grid-column: 1 / -1; }

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-warm);
  font-size: 13.5px;
  margin: 0;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: rgba(255, 255, 255, 0.08);
}
.contact-card input::placeholder,
.contact-card textarea::placeholder { color: var(--text-dim); }
.contact-card .btn {
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 13.5px;
  margin-top: 2px;
}
.form-status { font-size: 12px; min-height: 16px; margin: 8px 0 0; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: var(--rose-light); }

@media (max-width: 480px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-grid textarea { min-height: 90px; }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 0 0 72px;
}
.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}
.feature .icon { font-size: 28px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.feature p { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

.section-title { font-size: 26px; font-weight: 800; margin: 0 0 8px; text-align: center; }
.section-sub { text-align: center; color: var(--text-dim); font-size: 14px; margin: 0 0 32px; }
.pack-subhead {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 14px;
  text-align: center;
}
.pack-subhead-note {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.pack-card.readonly { cursor: default; }
.pack-card.readonly:hover { transform: none; border-color: rgba(255, 255, 255, 0.08); }
.pack-card.readonly .price { background: rgba(255, 255, 255, 0.1); }
.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding-bottom: 72px;
}
.pack-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.pack-card:hover { transform: translateY(-3px); border-color: var(--rose); }
.pack-card .bonus-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #f0a83d, #c17f1f);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 0 16px 0 10px;
}

/* Buy modal (Razorpay username-based top-up) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--wine-bottom);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}
.modal-box h3 { margin: 0 0 6px; font-size: 18px; }
.modal-box .modal-sub { color: var(--text-dim); font-size: 13px; margin: 0 0 18px; }
.modal-box input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-warm);
  font-size: 14px;
  margin-bottom: 10px;
}
.modal-box input::placeholder { color: var(--text-dim); }
.modal-status { font-size: 13px; min-height: 18px; margin-bottom: 10px; }
.modal-status.ok { color: #4ade80; }
.modal-status.err { color: var(--rose-light); }
.modal-actions { display: flex; gap: 10px; margin-top: 4px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
}
.pack-card .diamond { font-size: 30px; margin-bottom: 8px; }
.pack-card .amount { font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.pack-card .price {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), #b81f3c);
  font-weight: 700;
  font-size: 14px;
}
.packs .empty { color: var(--text-dim); text-align: center; grid-column: 1 / -1; font-size: 14px; }

/* Legal / info pages */
.legal-page { padding: 40px 0 72px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.legal-page .updated { color: var(--text-dim); font-size: 13px; margin: 0 0 32px; }
.legal-section { margin-bottom: 26px; }
.legal-section h2 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--rose-light); }
.legal-section p { font-size: 14.5px; line-height: 1.7; color: var(--text-warm); margin: 0; white-space: pre-line; }
.company-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0 40px;
}
.company-card .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; flex-wrap: wrap; gap: 4px; }
.company-card .row span:first-child { color: var(--text-dim); }
.company-card .row span:last-child { font-weight: 600; }

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--rose-light); }
footer .footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { padding-top: 24px; text-align: center; justify-content: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  nav.top-nav { justify-content: center; width: 100%; }
}
