/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold: #daa520;
  --orange: #f4a460;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --text: #2c2c2c;
  --muted: #666;
  --bg: #f8f6f0;
  --white: #ffffff;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ── Nav ── */
nav {
  background: var(--darker);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  height: 56px;
  border-bottom: 1px solid rgba(218,165,32,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo span {
  color: var(--gold);
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
}

nav a.nav-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88em;
  font-weight: 500;
  padding: 0 14px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

nav a.nav-link:hover,
nav a.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

nav a.nav-rate {
  color: var(--gold);
  font-weight: 600;
}
nav a.nav-rate:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px 0 14px;
  height: 56px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: 0.2s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--darker) 0%, #2a1506 55%, #180c00 100%);
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(218,165,32,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 15%, rgba(244,164,96,0.07) 0%, transparent 45%);
  pointer-events: none;
}

.hero-text {
  flex: 1;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin-bottom: 18px;
  display: block;
  box-shadow: 0 8px 32px rgba(218,165,32,0.4);
  mix-blend-mode: multiply;
}

.hero-hindi {
  font-size: 1.35em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.hero-text h1 {
  font-size: 2.8em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 22px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.hero-pills span {
  background: rgba(218,165,32,0.1);
  border: 1px solid rgba(218,165,32,0.28);
  color: rgba(255,255,255,0.78);
  font-size: 0.77em;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
}

.btn-play {
  display: inline-block;
  transition: transform 0.2s, filter 0.2s;
}
.btn-play:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-play img {
  height: 56px;
  display: block;
  border-radius: 10px;
}

/* ── Phone mockups ── */
.hero-phones {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  height: 520px;
}

.phone {
  position: absolute;
  width: 210px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(0,0,0,0.6);
}

.phone img {
  width: 100%;
  display: block;
}

.phone-front {
  bottom: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-4deg);
}

.phone-back {
  top: 0;
  right: 0;
  z-index: 1;
  transform: rotate(7deg);
  opacity: 0.78;
  filter: brightness(0.88);
}

/* ── Container ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ── Section ── */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }

.section-title {
  text-align: center;
  font-size: 1.9em;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 1em;
}

.gold-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px;
  margin: 10px auto 14px;
}

/* ── Screenshots ── */
.screenshots {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.screenshot-item {
  flex: 0 0 auto;
  text-align: center;
}

.screenshot-item img {
  width: 200px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}

.screenshot-item:nth-child(1) img,
.screenshot-item:nth-child(4) img { width: 180px; opacity: 0.88; }
.screenshot-item:nth-child(2) img,
.screenshot-item:nth-child(3) img { width: 210px; }

.screenshot-item img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.screenshot-caption {
  margin-top: 10px;
  font-size: 0.8em;
  color: var(--muted);
  font-weight: 500;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid rgba(218,165,32,0.15);
  border-top: 3px solid var(--orange);
  transition: box-shadow 0.2s, transform 0.2s;
}

.section-alt .feature-card {
  background: var(--bg);
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(218,165,32,0.12);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.8em;
  margin-bottom: 10px;
  display: block;
}

.feature-card h3 {
  font-size: 0.95em;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.85em;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Plans ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid #e8e0d0;
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(218,165,32,0.15);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: white;
  font-size: 0.72em;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.1em;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.plan-price {
  font-size: 1.5em;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.plan-period { font-size: 0.8em; color: var(--muted); margin-bottom: 16px; }

.plan-features { list-style: none; margin: 0; padding: 0; }
.plan-features li {
  font-size: 0.85em;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid #f0ebe0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ── Legal pages ── */
.legal-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 32px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.legal-section h2 {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 10px;
  padding-top: 20px;
  border-top: 1px solid #f0ebe0;
}

.legal-section h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.legal-section h3 { font-size: 1em; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }

.legal-section p { font-size: 0.92em; color: var(--text); margin-bottom: 10px; }

.legal-section ul, .legal-section ol {
  margin: 8px 0 14px 20px;
  font-size: 0.92em;
  color: var(--text);
}

.legal-section li { margin-bottom: 5px; }

.info-box {
  background: linear-gradient(135deg, #f0faf4, #e8f5e9);
  border-left: 4px solid #4caf50;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.9em;
}

.legal-header {
  background: linear-gradient(135deg, var(--darker), #2d1b0e);
  color: white;
  padding: 48px 24px 40px;
  text-align: center;
}

.legal-header h1 { font-size: 2em; font-weight: 800; color: white; margin-bottom: 6px; }
.legal-header p { color: rgba(255,255,255,0.6); font-size: 0.9em; }

/* ── Contact strip ── */
.contact-strip {
  background: linear-gradient(135deg, var(--dark), #2d1b0e);
  padding: 50px 20px;
  text-align: center;
}

.contact-strip h2 { color: white; font-size: 1.6em; margin-bottom: 8px; }
.contact-strip p { color: rgba(255,255,255,0.65); margin-bottom: 22px; }
.contact-strip a.email-link {
  color: var(--gold);
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
}
.contact-strip a.email-link:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  background: var(--darker);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.82em;
}

footer a { color: var(--orange); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p { margin-bottom: 5px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero {
    gap: 40px;
    padding: 70px 40px;
  }
  .hero-phones {
    width: 280px;
    height: 440px;
  }
  .phone { width: 175px; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 56px 24px 48px;
    gap: 48px;
    min-height: auto;
  }
  .hero-text { max-width: 100%; }
  .hero-pills { justify-content: center; }
  .hero-phones {
    width: 270px;
    height: 400px;
  }
  .phone { width: 165px; }
  .phone-front { left: 10px; }
  .phone-back { right: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .screenshot-item img { width: 145px !important; }
  .screenshot-item:nth-child(2) img,
  .screenshot-item:nth-child(3) img { width: 160px !important; }
  .legal-section { padding: 24px 20px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--darker);
    flex-direction: column;
    border-top: 1px solid rgba(218,165,32,0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  nav a.nav-link {
    height: auto;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(218,165,32,0.08);
    border-left: none;
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .screenshots { gap: 10px; }
  .screenshot-item img { width: 115px !important; }
  .screenshot-item:nth-child(2) img,
  .screenshot-item:nth-child(3) img { width: 125px !important; }
  .hero-phones {
    width: 230px;
    height: 340px;
  }
  .phone { width: 140px; }
  .hero-text h1 { font-size: 2.1em; }
  .hero-hindi { font-size: 1.1em; }
  .btn-play img { height: 48px; }
}
