/* =====================================================================
   SourceIQ landing page — source1q.com
   Bright + modern. Electric blue brand. B2B trust signals everywhere.
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --danger: #dc2626;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.07);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.10);

  --r-sm: 8px;
  --r:    16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: linear-gradient(135deg, #2563eb, #06b6d4 50%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================================================================
   TOP NAV
   ===================================================================== */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white; font-weight: 800; font-size: 12px;
  display: grid; place-items: center;
  letter-spacing: 0.3px;
}
.brand-name { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  padding: 9px 18px;
  background: var(--text);
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: #1e293b; text-decoration: none; }
@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(37,99,235,0.08), transparent 70%),
    radial-gradient(40% 40% at 80% 30%, rgba(16,185,129,0.06), transparent 70%),
    var(--bg);
  padding: 70px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 50px 0 60px; }
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--brand);
  text-transform: uppercase;
}
.hero h1 {
  font-size: 60px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin: 16px 0 0;
  color: var(--text);
}
@media (max-width: 900px) { .hero h1 { font-size: 42px; } }
@media (max-width: 480px) { .hero h1 { font-size: 34px; } }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin: 22px 0 32px;
  max-width: 580px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37,99,235,0.30);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37,99,235,0.35); text-decoration: none; }
.cta-primary.big { padding: 20px 32px; font-size: 18px; }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 24px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.cta-secondary:hover { border-color: var(--text); text-decoration: none; }

.hero-meta {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

/* Phone mockup */
.hero-card-stack {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 320px;
  height: 580px;
  background: #0f172a;
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(15,23,42,0.20), 0 12px 30px rgba(15,23,42,0.15);
  transform: rotate(-3deg);
}
@media (max-width: 900px) {
  .phone-frame { transform: rotate(0); width: 300px; height: 540px; }
}
.phone-screen {
  background: var(--bg-soft);
  border-radius: 24px;
  height: 100%;
  padding: 16px;
  overflow: hidden;
}
.ph-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  color: var(--text-muted);
}
.ph-header .ph-title { font-weight: 800; font-size: 14px; color: var(--text); }
.ph-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--emerald);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.ph-card.trader { border-left-color: var(--amber); }
.ph-rank { font-size: 10px; font-weight: 800; color: var(--emerald-dark); letter-spacing: 1.2px; }
.ph-rank.trader { color: #b45309; }
.ph-name { font-size: 13px; font-weight: 800; margin: 4px 0 2px; color: var(--text); }
.ph-cn { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.ph-trust-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ph-trust-bar { flex: 1; height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.ph-trust-fill { height: 100%; background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); border-radius: 3px; }
.ph-trust-fill.warn { background: linear-gradient(90deg, #fbbf24, var(--amber)); }
.ph-trust-pct { font-size: 13px; font-weight: 800; color: var(--emerald-dark); min-width: 34px; text-align: right; }
.ph-trust-pct.warn { color: #b45309; }
.ph-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; background: var(--bg-soft); border-radius: 8px; }
.ph-stats > div { text-align: center; }
.ph-stats .lbl { font-size: 8px; font-weight: 700; color: var(--text-dim); letter-spacing: 0.6px; }
.ph-stats .val { font-size: 12px; font-weight: 800; margin-top: 2px; }

/* =====================================================================
   STRIP
   ===================================================================== */
.strip {
  background: var(--bg-soft);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.strip-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-right: 8px;
}
.strip-item { font-weight: 700; color: var(--text); }

/* =====================================================================
   FEATURES
   ===================================================================== */
.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  text-align: center;
  margin: 0 0 16px;
}
@media (max-width: 600px) { .section-title { font-size: 30px; } }
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.55;
}

.features { padding: 100px 0; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 768px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.grad-blue    { background: linear-gradient(135deg, #dbeafe, #e0e7ff); }
.grad-emerald { background: linear-gradient(135deg, #d1fae5, #ccfbf1); }
.grad-violet  { background: linear-gradient(135deg, #ede9fe, #fae8ff); }
.grad-amber   { background: linear-gradient(135deg, #fef3c7, #fed7aa); }
.feat-card h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.feat-card p { font-size: 15.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* =====================================================================
   HOW IT WORKS
   ===================================================================== */
.how {
  background: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 26px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  font-weight: 900;
  font-size: 18px;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.step-content h3 { font-size: 19px; font-weight: 800; margin: 4px 0 6px; }
.step-content p { font-size: 15.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* =====================================================================
   TRUST
   ===================================================================== */
.trust { padding: 100px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card {
  padding: 30px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}
.trust-stat {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.trust-label { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricing {
  background: var(--bg-soft);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 800px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card.highlight {
  border: 2px solid var(--brand);
  box-shadow: 0 20px 50px rgba(37,99,235,0.18);
  transform: scale(1.04);
}
@media (max-width: 800px) { .price-card.highlight { transform: none; } }
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%; transform: translateX(-50%);
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 6px 14px;
  border-radius: 20px;
}
.price-tier {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}
.price-amount {
  font-size: 48px;
  font-weight: 900;
  margin: 8px 0 4px;
  letter-spacing: -1.2px;
}
.price-amount .month { font-size: 18px; font-weight: 600; color: var(--text-muted); }
.price-period { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.price-features {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  flex: 1;
}
.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
  color: var(--text);
}
.price-features li::before {
  content: "✓ ";
  color: var(--emerald);
  font-weight: 800;
  margin-right: 6px;
}
.price-features li:last-child { border-bottom: 0; }
.price-cta {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.price-cta:hover { border-color: var(--text); text-decoration: none; }
.price-cta.primary {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border: 0;
  box-shadow: 0 8px 20px rgba(37,99,235,0.25);
}
.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding: 100px 0; }
.faq-item {
  max-width: 760px;
  margin: 0 auto 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 26px 22px;
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  text-align: center;
}
.final-cta h2 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 36px;
}
@media (max-width: 600px) { .final-cta h2 { font-size: 32px; } }
.final-cta .grad-text {
  background: linear-gradient(135deg, #60a5fa, #22d3ee, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-meta {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  padding: 60px 0 40px;
  background: #0f172a;
  color: rgba(255,255,255,0.8);
}
.footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 700px) {
  .footer-row { grid-template-columns: 1fr; gap: 20px; }
}
.footer-brand .brand-name { color: white; }
.footer-tag { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; }
.footer-links, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a, .footer-legal a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
}
.footer-links a:hover, .footer-legal a:hover { color: white; text-decoration: none; }
.footer-bottom {
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
