/* styles.css (light background + anchored cards) */

:root{
  --bg: #f4f6f9;          /* page background (not white) */
  --surface: #ffffff;     /* light section surface */
  --surface2: #eef2f7;    /* alternate section surface */
  --text: #0f172a;        /* near-black */
  --muted: #475569;       /* slate */
  --border: rgba(15,23,42,0.12);
  --shadow: 0 12px 30px rgba(15,23,42,0.08);
  --shadow2: 0 18px 45px rgba(15,23,42,0.10);

  --card: #101828;        /* card background (dark, but not pure black) */
  --card2: #0b1220;       /* slightly darker for depth */
  --cardText: #e5e7eb;    /* light text */
  --cardMuted: rgba(229,231,235,0.72);

  --accent: #1f6feb;      /* primary */
  --accentHover: #1a5ad6;
  --accentSoft: rgba(31,111,235,0.12);

  --radius: 16px;
  --max: 1100px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
          "Noto Sans", "Liberation Sans", sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

/* Links */
a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

/* Layout */
.container{
  width:100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}

.logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(31,111,235,0.95), rgba(31,111,235,0.55));
  box-shadow: 0 10px 25px rgba(31,111,235,0.18);
}

.brand-name{
  font-weight: 900;
  letter-spacing: 0.2px;
}

.brand-tag{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a{
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover{ color: var(--text); }

/* Hero */
.hero{
  padding: 56px 0 18px;
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0));
}

.grid-2{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

h1{
  font-size: 44px;
  line-height: 1.08;
  margin: 10px 0 12px;
  letter-spacing: -0.3px;
}

.lead{
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
}

.bullets{
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

/* Sections (this is the main change: reduce white void) */
.section{
  padding: 46px 0;
  background: var(--surface);
}

.section.alt{
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Headings */
h2{
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

h3{
  letter-spacing: -0.1px;
}

.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* Buttons */
.cta-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn{
  display:inline-block;
  padding: 12px 14px;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(31,111,235,0.18);
  text-decoration:none;
}

.btn:hover{
  background: var(--accentHover);
  text-decoration:none;
}

.btn-small{
  padding: 10px 12px;
  font-size: 13px;
}

.btn-ghost{
  background: rgba(255,255,255,0.75);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.95);
}

.btn-wide{
  display:block;
  text-align:center;
  margin-top: 14px;
}

/* Cards (dark cards anchored on light sections) */
.card{
  background: linear-gradient(180deg, rgba(16,24,40,0.98), rgba(11,18,32,0.98));
  color: var(--cardText);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

.card a{ color: var(--cardText); }

.hero-card .card-header{
  padding: 18px 18px 0;
}

.pill{
  display:inline-block;
  font-size: 12px;
  color: var(--cardText);
  background: rgba(31,111,235,0.18);
  border: 1px solid rgba(31,111,235,0.35);
  padding: 6px 10px;
  border-radius: 999px;
}

.card-title{
  margin: 10px 0 0;
  font-size: 18px;
}

.card-body{
  padding: 18px;
}

/* Metrics inside hero card */
.metric{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.metric:last-of-type{ border-bottom: none; }

.metric-label{
  color: var(--cardMuted);
  font-size: 13px;
}

.metric-value{
  font-weight: 800;
  font-size: 13px;
}

.note{
  margin-top: 14px;
  font-size: 13px;
  color: var(--cardMuted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 12px;
  border-radius: 12px;
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.step{
  padding: 18px;
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cardText);
}

.step h3{
  margin: 10px 0 6px;
  font-size: 17px;
}

.step p{
  margin: 0;
  color: var(--cardMuted);
  line-height: 1.55;
}

/* Feature grid */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.feature{
  padding: 18px;
}

.feature h3{
  margin: 0 0 8px;
  font-size: 17px;
}

.feature p{
  margin: 0;
  color: var(--cardMuted);
  line-height: 1.55;
}

/* Pricing */
.pricing-wrap{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
  margin-top: 18px;
  align-items: start;
}

.pricing-card{
  padding: 18px;
}

.pricing-header{
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.plan-name{
  font-weight: 900;
  letter-spacing: 0.2px;
}

.plan-price{
  margin-top: 8px;
  display:flex;
  align-items: baseline;
  gap: 8px;
}

.price{
  font-size: 44px;
  font-weight: 950;
}

.per{
  color: var(--cardMuted);
  font-weight: 800;
}

.plan-note{
  color: var(--cardMuted);
  font-size: 13px;
  margin-top: 6px;
}

.plan-list{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--cardText);
  line-height: 1.9;
}

/* Side note card (still dark, but softer text) */
.side-note{
  padding: 18px;
}

.side-note h3{
  margin: 0 0 10px;
  font-size: 16px;
}

.checklist, .xlist{
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--cardMuted);
  line-height: 1.75;
}

/* FAQ */
.faq{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

details.card{
  padding: 14px 16px;
}

summary{
  cursor: pointer;
  font-weight: 900;
}

.faq-body{
  margin-top: 10px;
  color: var(--cardMuted);
  line-height: 1.65;
}

/* Signup */
.signup{
  padding: 22px;
}

/* Footer */
.site-footer{
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand{
  font-weight: 950;
}

.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a{
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover{ color: var(--text); }

/* Responsive */
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
  h1{ font-size: 36px; }
  .steps{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .pricing-wrap{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .nav{ display:none; }
}

