/* ============================================================
   JeetPush marketing site — USA flag theme, mobile-first
   Old Glory Red #B31942 · Old Glory Blue #0A3161 · White
   ============================================================ */
:root {
  --red: #B31942;
  --red-dark: #8f1335;
  --navy: #0A3161;
  --navy-dark: #071f3e;
  --white: #ffffff;
  --bg: #f7f9fc;
  --text: #14213d;
  --muted: #5b6779;
  --border: #e3e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 49, 97, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* room for mobile bottom bar */
}
img, svg { max-width: 100%; }
a { color: var(--navy); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 1rem; }

/* --- Flag stripe accent bar --- */
.flag-bar {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 40px,
    var(--white) 40px 80px,
    var(--navy) 80px 120px,
    var(--white) 120px 160px
  );
}

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 14px rgba(7, 31, 62, 0.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand-logo {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--red); color: #fff; font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(179, 25, 66, 0.45);
}
.top-nav { display: none; gap: 0.25rem; }
.top-nav a {
  color: #cdd9ea; text-decoration: none; font-size: 0.92rem; font-weight: 600;
  padding: 0.45rem 0.8rem; border-radius: 999px; transition: 0.2s;
}
.top-nav a:hover, .top-nav a.on { background: rgba(255,255,255,0.12); color: #fff; }
.header-cta { display: flex; align-items: center; gap: 0.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.15rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 0.92rem; text-decoration: none; transition: 0.2s;
}
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1.02rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(179, 25, 66, 0.35); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* --- Hero --- */
.hero {
  background:
    radial-gradient(70rem 30rem at 85% -10%, rgba(179,25,66,0.35), transparent 60%),
    radial-gradient(60rem 28rem at 0% 110%, rgba(255,255,255,0.08), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 3.2rem 0 3.6rem;
  position: relative;
  overflow: hidden;
}
.hero .stars {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
  background-image: radial-gradient(circle, #fff 1.3px, transparent 1.6px);
  background-size: 46px 46px;
}
.hero-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); line-height: 1.15; font-weight: 900; letter-spacing: -0.5px; }
.hero h1 .accent { color: #ff5d8f; }
.hero p.sub { color: #cdd9ea; font-size: 1.07rem; margin: 1rem auto 1.6rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.hero-trust { margin-top: 1.4rem; font-size: 0.85rem; color: #9fb3cf; }

/* --- Sections --- */
section.block { padding: 3rem 0; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-title .kicker {
  color: var(--red); font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 0.78rem;
}
.section-title h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 850; margin-top: 0.3rem; }
.section-title p { color: var(--muted); margin-top: 0.5rem; }

/* --- Cards / grids --- */
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.card .icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(10,49,97,0.08); font-size: 1.3rem; margin-bottom: 0.8rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.93rem; }

/* --- Steps --- */
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step .num {
  flex: 0 0 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 800;
}

/* --- CTA box --- */
.cta-box {
  background:
    radial-gradient(40rem 16rem at 90% -20%, rgba(179,25,66,0.5), transparent 60%),
    var(--navy);
  color: #fff; border-radius: 20px; text-align: center;
  padding: 2.4rem 1.4rem; margin: 2.4rem 0;
}
.cta-box .cta-stars { color: #ff9fbb; letter-spacing: 8px; margin-bottom: 0.5rem; }
.cta-box h3 { font-size: 1.45rem; font-weight: 850; }
.cta-box p { color: #cdd9ea; margin: 0.6rem auto 1.2rem; max-width: 460px; }

/* --- FAQ --- */
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 1rem 1.2rem; margin-bottom: 0.7rem;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-weight: 800; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; }

/* --- Blog / article --- */
.post-list { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  display: block; transition: 0.2s;
}
.post-card:hover { transform: translateY(-2px); }
.post-card .meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.45rem; }
.post-card .cat { background: rgba(179,25,66,0.1); color: var(--red); font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }

.article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.3rem; box-shadow: var(--shadow); }
.article .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.2rem; }
.article h1 { font-size: clamp(1.55rem, 4.5vw, 2.2rem); line-height: 1.2; margin-bottom: 0.6rem; }
.article h2 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }
.article h3 { font-size: 1.1rem; margin: 1.3rem 0 0.4rem; }
.article p, .article li { color: #2c3850; font-size: 1rem; }
.article p { margin: 0.7rem 0; }
.article ul, .article ol { padding-left: 1.3rem; margin: 0.7rem 0; }
.article li { margin: 0.35rem 0; }
.article a { color: var(--red); font-weight: 600; }
.article blockquote {
  border-left: 4px solid var(--red); background: rgba(179,25,66,0.05);
  padding: 0.8rem 1rem; border-radius: 0 10px 10px 0; margin: 1rem 0; color: #44506a;
}
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.article th, .article td { border: 1px solid var(--border); padding: 0.6rem 0.7rem; text-align: left; }
.article th { background: var(--navy); color: #fff; }
.article tr:nth-child(even) td { background: #f4f7fb; }

.breadcrumbs { font-size: 0.82rem; color: var(--muted); margin: 1rem 0; }
.breadcrumbs a { color: var(--muted); }

.related { margin-top: 2rem; }
.related h3 { margin-bottom: 0.8rem; }

/* --- Pricing --- */
.price-card {
  background: #fff; border: 2px solid var(--navy); border-radius: 20px;
  padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow);
  max-width: 420px; margin: 0 auto; position: relative;
}
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-weight: 800; font-size: 0.75rem;
  padding: 0.3rem 1rem; border-radius: 999px; letter-spacing: 1px;
}
.price-card .price { font-size: 3rem; font-weight: 900; color: var(--navy); }
.price-card ul { list-style: none; margin: 1.2rem 0; text-align: left; }
.price-card li { padding: 0.45rem 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.price-card li::before { content: '✓ '; color: var(--red); font-weight: 800; }

/* --- Ads --- */
.ad-wrap { margin: 1.5rem 0; text-align: center; min-height: 90px; }

/* --- Footer --- */
.site-footer { background: var(--navy-dark); color: #c3d2e6; margin-top: 3rem; }
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr 1fr; padding: 2.4rem 1rem 1.2rem; }
.footer-brand { font-size: 1.05rem; margin-bottom: 0.5rem; }
.footer-tag { font-size: 0.85rem; color: #8da4c2; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.7rem; }
.site-footer a { display: block; color: #c3d2e6; text-decoration: none; font-size: 0.9rem; padding: 0.22rem 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.12); padding: 1rem; font-size: 0.78rem; color: #8da4c2;
}

/* --- Mobile bottom bar (app-like) --- */
.bottombar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-around; align-items: stretch;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(10,49,97,0.10);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottombar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0.55rem 0 0.5rem; text-decoration: none; color: var(--muted);
  font-size: 0.68rem; font-weight: 700;
}
.bottombar a span { font-size: 1.25rem; line-height: 1; }
.bottombar a.on { color: var(--navy); }
.bottombar .bb-cta { color: #fff; background: var(--red); margin: 0.35rem 0.2rem; border-radius: 14px; }

/* --- Utilities --- */
.hide-sm { display: none; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* --- Desktop --- */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .bottombar { display: none; }
  .top-nav { display: flex; }
  .hide-sm { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .post-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .article { padding: 2.4rem 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
