:root {
  --primary: #0D47A1;
  --primary-light: #1976D2;
  --gold: #FFB300;
  --green: #00897B;
  --red: #D32F2F;
  --bg: #F5F6FA;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #5a6377;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(13, 71, 161, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1150px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; }
.brand-name { letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-weight: 500; font-size: 15px; opacity: 0.92; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: none; background: transparent; color: #fff;
  padding: 5px 11px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer;
}
.lang-btn.active { background: #fff; color: var(--primary); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: background .15s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer;
}
.btn-gold { background: var(--gold); color: #3a2800; box-shadow: 0 4px 14px rgba(255,179,0,0.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,179,0,0.55); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.nav-cta { padding: 9px 18px; font-size: 14px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #061a3a 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,179,0,0.18), transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(255,255,255,0.06), transparent 40%);
}
.hero-inner {
  position: relative;
  max-width: 1150px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 80px 20px 90px;
}
.hero-badge {
  display: inline-block; background: rgba(255,179,0,0.18); color: var(--gold);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 18px;
}
.hero h1 { font-size: 46px; font-weight: 900; line-height: 1.12; letter-spacing: -1px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { margin: 18px 0 28px; font-size: 18px; opacity: 0.92; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 30px; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 14px; opacity: 0.85; }

/* phone mock */
.hero-phone { display: flex; justify-content: center; }
.phone-card {
  width: 300px; background: #fff; color: var(--text); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); overflow: hidden;
  transform: rotate(2deg);
}
.phone-head {
  display: flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff; padding: 14px 18px; font-weight: 700;
}
.phone-logo { width: 28px; height: 28px; border-radius: 7px; }
.phone-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.phone-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border-radius: 14px; padding: 12px;
}
.lottery-thumb { width: 44px; height: 44px; border-radius: 10px; }
.winning { color: var(--green); font-weight: 800; }

/* ===== SECTIONS ===== */
.section { padding: 80px 20px; }
.section-alt { background: #fff; }
.section-inner { max-width: 1150px; margin: 0 auto; }
.section-inner.narrow { max-width: 800px; }
.section-title { font-size: 34px; font-weight: 900; text-align: center; letter-spacing: -0.5px; }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 46px; max-width: 560px; font-size: 17px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(13,71,161,0.16); }
.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 16px; border-radius: 14px;
  color: var(--primary); background: rgba(13, 71, 161, 0.08);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* lotteries */
.lotteries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
.lottery-card {
  background: var(--bg); border-radius: var(--radius); padding: 34px; text-align: center;
  transition: transform .18s; box-shadow: var(--shadow);
}
.lottery-card:hover { transform: translateY(-5px); }
.lottery-img { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 18px; }
.lottery-card h3 { font-size: 24px; font-weight: 800; }
.lottery-card p { color: var(--muted); margin-top: 8px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: var(--card); border-radius: var(--radius);
  padding: 34px 26px; box-shadow: var(--shadow); text-align: center;
}
.price-card.featured { border: 2px solid var(--gold); transform: scale(1.04); }
.price-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.price { margin-bottom: 18px; }
.price .cur { color: var(--muted); font-size: 15px; display: block; }
.price .amt { font-size: 40px; font-weight: 900; color: var(--primary); }
.price-card ul { list-style: none; text-align: left; margin: 0 auto; max-width: 220px; }
.price-card li { padding: 8px 0; border-bottom: 1px solid #eef0f5; color: var(--muted); font-size: 15px; position: relative; padding-left: 24px; }
.price-card li::before { content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 800; }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #3a2800; font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px;
}
.pay-note { text-align: center; margin-top: 30px; color: var(--muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 18px; color: var(--muted); }

/* download */
.download { background: linear-gradient(135deg, #061a3a, var(--primary)); color: #fff; text-align: center; }
.download .section-title { color: #fff; }
.download .section-sub { color: rgba(255,255,255,0.8); }
.dl-btn { font-size: 18px; padding: 18px 36px; margin-top: 10px; }
.android-badge { font-size: 22px; }
.version { margin-top: 14px; opacity: 0.7; font-size: 14px; }
.contact-line { margin-top: 34px; opacity: 0.85; }
.whatsapp-link {
  display: inline-block; margin-top: 12px; background: var(--green); color: #fff;
  padding: 12px 24px; border-radius: 12px; font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}
.whatsapp-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,137,123,0.5); }

/* footer */
.footer { background: #061a3a; color: rgba(255,255,255,0.7); padding: 40px 20px; text-align: center; }
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.footer-tag { font-size: 14px; margin-bottom: 6px; }
.footer-copy { font-size: 13px; opacity: 0.6; margin-top: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 16px 20px; gap: 14px; }
  .burger { display: block; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 50px 20px 60px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .lotteries { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 24px; }
}
