/* =========================
   Datanurd – Product Page
   Full working styles.css
   (screenshot below tab bar)
   ========================= */

:root{
  --bg: #ffffff;
  --text: #0b1f3b;
  --muted: #475e7a;
  --accent: #1d4ed8;

  --max: 980px;
  --card: rgba(255,255,255,0.92);
  --border: rgba(71,94,122,0.16);
  --shadow: 0 18px 40px rgba(11,31,59,0.08);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: 0.9; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 84px;
  position: relative;
  z-index: 1;
}

/* =====================
   HERO
   ===================== */

header.hero{
  position: relative;
  padding: 34px 0 22px;
  margin-bottom: 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(71,94,122,0.08);
}

/* background layer */
.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* optional: if you place an <img> inside .hero-bg, it will style nicely */
.hero-bg img{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 120%);
  height: 100%;
  object-fit: contain;
  opacity: 0.22;
}

.hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.22) 35%,
    rgba(255,255,255,0.65) 75%,
    rgba(255,255,255,1.00) 100%
  );
}

/* foreground layer */
.hero-inner{
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-text{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-name{
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #081a33;
}

.brand-sub{
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-tiers {
  margin-top: 56px;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tier {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  padding: 20px;
}

.tier h4 {
  margin-top: 0;
  margin-bottom: 12px;
}

.tier p {
  margin: 8px 0;
}

nav.nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav.nav a{
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

nav.nav a:hover{
  background: rgba(29,78,216,0.06);
  color: #081a33;
}

nav.nav a.active{
  color: #081a33;
  background: rgba(29,78,216,0.10);
  border-color: rgba(29,78,216,0.18);
}

/* ✅ screenshot sits BELOW tab bar (nav) because of HTML placement */
.hero-screenshot{
  width: 100%;
  max-width: 1100px;
  display: block;
  margin: 18px auto 44px auto; /* space below nav, before heading */
  border-radius: 18px;
  border: 1px solid rgba(71,94,122,0.16);
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  position: relative;
  z-index: 2;
}

.hero-copy{
  text-align: left;
  padding-bottom: 6px;
}

.hero-copy h1{
  margin: 0 0 10px;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-copy p{
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

/* =====================
   CONTENT
   ===================== */

main{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

h2{
  margin: 18px 0 6px;
  font-size: 1.15rem;
  color: #081a33;
}

.section-sub{
  margin: 0 0 14px;
  color: var(--muted);
}

p{
  margin: 0 0 12px;
  color: var(--muted);
}

ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

li{ margin: 8px 0; }

.note{
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  opacity: 0.9;
}

/* Plans */
.plan-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 18px;
}

.plan-head{
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(71,94,122,0.10);
  margin-bottom: 14px;
}

.plan-head h3{
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
}

.plan-price{
  margin: 0;
  color: var(--text);
}

.plan-for{
  margin: 0;
  color: var(--muted);
}

.plan-body h4{
  margin: 14px 0 8px;
  font-size: 1rem;
  color: var(--text);
}

/* two-column grid blocks (if used elsewhere) */
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

/* small label heading */
.kicker{
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
}

/* add-on cards (if used on other pages) */
.addon-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.addon-card{
  border: 1px solid rgba(71,94,122,0.16);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.85);
}

.addon-card h2{
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.how-image{
  width: 100%;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(71,94,122,0.16);
}

/* footer */
footer{
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
  text-align: left;
  padding: 24px 20px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(71,94,122,0.10);
}

.footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-links a{
  color: var(--muted);
}

.footer-links a:hover{
  color: var(--text);
}

/* =====================
   Responsive
   ===================== */

@media (max-width: 860px){
  .topbar{ align-items: flex-start; flex-direction: column; }
  nav.nav{ justify-content: flex-start; }
}

@media (max-width: 768px){
  .hero-screenshot{
    margin: 14px auto 28px auto;
    border-radius: 12px;
  }
  .hero-copy h1{
    font-size: 1.5rem;
  }
}

@media (max-width: 760px){
  .grid-2{ grid-template-columns: 1fr; }
  .addon-grid{ grid-template-columns: 1fr; }
  .plan-card{ padding: 18px; }
}
/* Plans grid */

.plans-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}

/* highlight AI slightly */
.plan-featured{
  border-color: rgba(29,78,216,0.35);
  box-shadow: 0 26px 60px rgba(29,78,216,0.12);
}

/* mobile stack */
@media (max-width: 900px){
  .plans-grid{
    grid-template-columns: 1fr;
  }
}


/* =====================
   Optional utility styles
   (kept from your snippet)
   ===================== */

.core-product{
  margin: 4px 0 10px;
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.core-product strong{ font-weight: 700; }

.core-muted{
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
  font-size: 1.02rem;
}

.addon-lines{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.addon-line{
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(71,94,122,0.16);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 22px rgba(11,31,59,0.06);
  width: 100%;
  max-width: 420px;
}

