/* ==========================================================
   TEEN PATTI MASTER — SHARED STYLESHEET
   Palette: dark navy hero + light neutral content sections
   Two accent colors only: gold (brand) + green (action/CTA)
   ========================================================== */

:root {
  --navy-900: #0f1420;
  --navy-800: #161d2e;
  --navy-700: #1f2840;
  --gold: #e3a84b;
  --gold-light: #f3c878;
  --green: #22c55e;
  --green-dark: #16a34a;
  --text-dark: #1a1d26;
  --text-light: #f5f6f8;
  --text-muted: #8b93a7;
  --bg-light: #fafafa;
  --bg-card-light: #ffffff;
  --border-light: #e8e8ec;
  --radius: 14px;
  --max-width: 1180px;
  --space-section: 96px;
}

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

body {
  font-family: "Segoe UI", Roboto, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .nav-wrap { padding: 14px 16px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.1rem;
}
.logo .badge {
  font-size: 0.65rem;
  background: var(--green);
  color: #06240f;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-light); }

.nav-cta {
  background: var(--green);
  color: #06240f;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--green-dark); color: #fff; }

.menu-toggle { display: none; background: none; border: none; color: var(--text-light); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--navy-900);
    padding: 20px 24px;
    gap: 18px;
  }
}

/* ---------- Hero (dark section) ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--text-light);
  padding: 72px 0 80px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--gold-light); }

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: #06240f; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-light);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-meta { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Light content sections ---------- */
.section {
  padding: var(--space-section) 0;
}
.section-light { background: var(--bg-light); }
.section-white { background: var(--bg-card-light); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 2rem; margin-bottom: 14px; color: var(--text-dark); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(227,168,75,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Trust badges row ---------- */
.badge-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center;
}
.badge-row span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--text-muted);
}

/* ---------- Specs table ---------- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.specs-table tr:not(:last-child) td { border-bottom: 1px solid var(--border-light); }
.specs-table td { padding: 16px 20px; font-size: 0.95rem; }
.specs-table td:first-child { color: var(--text-muted); width: 40%; }
.specs-table td:last-child { font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #2e1e04;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none; border: none;
  text-align: left;
  padding: 18px 22px;
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--text-muted);
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px;
}
.faq-item.open .faq-question { color: var(--gold); }

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-card .thumb {
  height: 160px;
  background-image: url("/images/blog-thumb-pattern.svg"), linear-gradient(135deg, var(--navy-800), var(--navy-700));
  background-position: center, center;
  background-size: 160px, cover;
  background-repeat: repeat, no-repeat;
}
.blog-card .body { padding: 22px; }
.blog-card .tag {
  font-size: 0.75rem; color: var(--green-dark); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.blog-card h3 { font-size: 1.05rem; margin: 10px 0; }
.blog-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Article (blog single post) ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: 2.1rem; margin-bottom: 14px; }
.article .meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 36px; }
.article h2 { font-size: 1.4rem; margin: 36px 0 14px; }
.article p { margin-bottom: 16px; color: #333; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article table td, .article table th { border: 1px solid var(--border-light); padding: 12px; text-align: left; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-900);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--text-muted);
  padding: 64px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.8rem;
  line-height: 1.7;
}

/* ---------- Floating widget ---------- */
.floating-widget {
  position: fixed;
  bottom: 22px; right: 22px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 200;
}
.float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.float-btn.download-btn { background: var(--green); color: #06240f; }
.float-btn.support-btn { background: var(--bg-card-light); color: var(--text-dark); border: 1px solid var(--border-light); }
.float-btn:hover { transform: translateY(-2px); }

@media (max-width: 600px) {
  .float-btn span.label { display: none; }
  .float-btn { padding: 13px; border-radius: 50%; }
}
