/* assets/css/features.css
   LeadIntelligence AI – Features Page (Production-ready)
   Mobile-first baseline: iPhone Mini (375px)
*/

/* =========================
   TOKENS / THEME VARIABLES
========================= */
:root {
  /* Brand-ish (tweak to match your global tokens) */
  --primary: #2563eb;
  --primary2: #38bdf8;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;

  --accent: #f97316;
  --good: #10b981;
  --violet: #7c3aed;

  --g-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  --g-soft: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(56, 189, 248, 0.06) 40%,
    rgba(248, 250, 252, 0) 100%
  );
  --g-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);

  --shadow-sm: 0 8px 22px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 16px 44px rgba(2, 6, 23, 0.10);
  --shadow-lg: 0 26px 70px rgba(2, 6, 23, 0.14);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 40px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================
   RESET / BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-top: 64px; /* space for fixed nav on mobile */
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   TOPBAR / NAV
========================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transform: translateY(0);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  height: 64px;
}

.topbar.hidden {
  transform: translateY(-100%);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--g-primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(10deg);
}

.brand-name {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.brand-name span {
  background: var(--g-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mobile menu button */
.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: 0.3s var(--ease);
  position: relative;
}

.menu-toggle span:nth-child(2) {
  margin: 4px 0;
  width: 16px;
  margin-left: auto;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile navigation menu */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  padding: 84px 24px 40px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
    transform 0.3s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  transition: all 0.2s var(--ease);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: #fff;
  border-color: rgba(226, 232, 240, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mobile-nav-link.active {
  background: var(--g-primary);
  color: #fff;
  border-color: rgba(37, 99, 235, 0.3);
}

.mobile-nav-link svg {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.mobile-nav-ctas {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-login {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
}

/* Desktop navigation (hidden on mobile) */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 2px;
  transition: 0.25s var(--ease);
}

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

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 99px;
  background: var(--g-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s var(--ease);
  opacity: 0.9;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-ctas {
  display: none;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), border-color 0.22s var(--ease);
  user-select: none;
  white-space: nowrap;
  font-size: 15px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: var(--g-primary);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(226, 232, 240, 0.9);
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 20px;
  font-size: 16px;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 30px 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -40px auto -40px;
  height: 280px;
  background: radial-gradient(300px 120px at 20% 40%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(260px 140px at 80% 30%, rgba(56, 189, 248, 0.18), transparent 65%),
    var(--g-soft);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -60px 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 70%);
  z-index: -1;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--muted);
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.04);
  font-size: 13px;
  max-width: 100%;
}

.crumb svg {
  opacity: 0.85;
  flex-shrink: 0;
}

.hero-grid {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  width: max-content;
}

.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
  flex-shrink: 0;
}

h1 {
  margin: 12px 0 10px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.grad {
  background: var(--g-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.trust-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(16, 185, 129, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--good);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 16px;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px -30px auto -30px;
  height: 140px;
  background: radial-gradient(140px 80px at 20% 30%, rgba(37, 99, 235, 0.20), transparent 60%),
    radial-gradient(160px 90px at 80% 20%, rgba(56, 189, 248, 0.18), transparent 65%);
  z-index: 0;
}

.cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.05);
  padding: 12px 12px 10px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 13px;
}

.badge {
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.9);
  color: var(--ink);
  font-weight: 800;
  flex-shrink: 0;
}

.badge.score {
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.18);
  color: var(--primary);
}

.badge.run {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.18);
  color: var(--good);
}

.badge.week {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.18);
  color: var(--violet);
}

.rows {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.val {
  color: var(--ink);
  font-weight: 800;
}

.mini-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi {
  background: var(--g-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 10px;
}

.kpi .label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.kpi .num {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.kpi .spark {
  height: 5px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  margin-top: 8px;
  overflow: hidden;
}

.kpi .spark > i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--g-primary);
  border-radius: 999px;
}

.kpi:nth-child(2) .spark > i {
  width: 54%;
  background: linear-gradient(135deg, var(--good), #6ee7b7);
}

.kpi:nth-child(3) .spark > i {
  width: 64%;
  background: linear-gradient(135deg, var(--accent), #fdba74);
}

.kpi:nth-child(4) .spark > i {
  width: 44%;
  background: linear-gradient(135deg, var(--violet), #c4b5fd);
}

/* =========================
   SECTIONS / FEATURES
========================= */
.section {
  padding: 48px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 900;
}

h2 {
  margin: 8px 0 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lead {
  margin: 0 auto;
  color: var(--muted);
  max-width: 100%;
  font-size: 15px;
  line-height: 1.6;
}

.feature-grid {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.fcard {
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  position: relative;
  overflow: hidden;
}

.fcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.ficon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--g-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
  margin-bottom: 12px;
}

.fcard h3 {
  margin: 0 0 6px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.fcard p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.flink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 850;
  font-size: 14px;
}

.flink svg {
  transition: 0.2s var(--ease);
}

.fcard:hover .flink svg {
  transform: translateX(4px);
}

.tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: var(--accent);
}

/* =========================
   PRICING
========================= */
.pricing {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  padding: 24px 16px;
  margin-top: 10px;
}

.plans {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.plan {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  padding: 6px 40px;
  font-size: 10px;
  font-weight: 950;
  color: #fff;
  letter-spacing: 0.05em;
}

.plan.free .ribbon {
  background: var(--g-primary);
}

.plan.starter .ribbon {
  background: linear-gradient(135deg, var(--good), #6ee7b7);
}

.plan.pro .ribbon {
  background: linear-gradient(135deg, var(--accent), #fdba74);
}

.plan.ent .ribbon {
  background: linear-gradient(135deg, var(--violet), #c4b5fd);
}

.plan.pro {
  border: 2px solid rgba(249, 115, 22, 0.9);
  box-shadow: var(--shadow-md);
}

.pname {
  font-family: Poppins, Inter, sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin-top: 4px;
}

.pprice {
  font-size: 36px;
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 6px 0 0;
}

.pmeta {
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
  margin-top: 2px;
}

.plist {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.plist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

.plist li:last-child {
  border-bottom: none;
}

.tick {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--good);
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 10px;
}

.x {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(100, 116, 139, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 10px;
}

.dim {
  opacity: 0.65;
}

.plan .cta {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  padding: 14px 16px;
}

/* =========================
   FOOTER
========================= */
footer {
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(2, 6, 23, 1) 100%);
  color: #fff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding-top: 24px;
}

.foot {
  padding: 32px 0 24px;
  display: grid;
  gap: 16px;
}

.foot-top {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: start;
}

.foot .muted {
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.6;
  font-size: 14px;
}

.cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.col h4 {
  margin: 0 0 8px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.col a {
  display: block;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 600;
  font-size: 13px;
  margin: 6px 0;
  transition: 0.2s var(--ease);
}

.col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.foot-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.60);
  font-weight: 650;
  font-size: 12px;
}

/* =========================
   REVEAL ANIMATION
========================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal,
  .topbar,
  .menu-toggle span,
  .mobile-nav,
  .btn,
  .fcard,
  .plan,
  .desktop-nav a::after,
  .flink svg {
    transition: none !important;
  }
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* Small phones (320px-374px) */
@media (max-width: 374px) {
  body {
    padding-top: 60px;
  }
  .topbar {
    height: 60px;
  }
  .wrap {
    padding: 0 16px;
  }
  .topbar-inner {
    padding: 0 16px;
  }
  h1 {
    font-size: 28px;
  }
  .hero {
    padding: 24px 0 20px;
  }
  .btn {
    padding: 10px 14px;
    font-size: 14px;
  }
  .crumb {
    padding: 6px 12px;
    font-size: 12px;
  }
  .mobile-nav {
    padding: 74px 20px 40px;
  }
}

/* iPhone Mini to Plus (375px+) */
@media (min-width: 375px) {
  .wrap {
    padding: 0 20px;
  }
  .topbar-inner {
    padding: 0 20px;
  }
}

/* Medium phones (428px-639px) */
@media (min-width: 428px) {
  body {
    padding-top: 68px;
  }
  .topbar {
    height: 68px;
  }
  h1 {
    font-size: 34px;
  }
  .hero {
    padding: 32px 0 26px;
  }
  h2 {
    font-size: 30px;
  }
  .crumb {
    font-size: 14px;
  }
  .feature-grid {
    gap: 16px;
  }
}

/* Large phones / Small tablets (640px-767px) */
@media (min-width: 640px) {
  body {
    padding-top: 72px;
  }
  .topbar {
    height: 72px;
  }
  .wrap {
    padding: 0 24px;
  }
  .topbar-inner {
    padding: 0 24px;
  }
  .hero-grid {
    gap: 24px;
  }
  h1 {
    font-size: 36px;
  }
  .sub {
    font-size: 16px;
  }
  h2 {
    font-size: 32px;
  }
  .lead {
    font-size: 16px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .mobile-nav {
    padding: 92px 28px 40px;
  }
}

/* Tablets (768px-859px) */
@media (min-width: 768px) {
  .hero {
    padding: 36px 0 30px;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 36px;
  }
  .feature-grid {
    gap: 20px;
  }
  .pricing {
    padding: 28px 22px;
  }
  .foot-top {
    gap: 24px;
  }
}

/* Desktop - show desktop nav (860px+) */
@media (min-width: 860px) {
  body {
    padding-top: 74px;
  }
  .topbar {
    height: 74px;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
  .desktop-nav {
    display: flex;
  }
  .nav-ctas {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
  }
  h1 {
    font-size: 44px;
  }
  .sub {
    font-size: 17px;
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .plans {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .pricing {
    padding: 32px;
  }
  .foot-top {
    grid-template-columns: 1.2fr 1fr;
  }
  .foot-bot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Large Desktop (1100px+) */
@media (min-width: 1100px) {
  .hero {
    padding: 44px 0 36px;
  }
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 40px;
  }
  .hero-visual {
    margin-top: 0;
  }
  .pricing {
    padding: 34px;
  }
}

/* Ultra-wide (1400px+) */
@media (min-width: 1400px) {
  .wrap {
    padding: 0;
  }
  .hero-grid {
    gap: 32px;
  }
  .feature-grid {
    gap: 20px;
  }
}
/* =========================
   Footer (shared partial)
   ========================= */

.main-footer{
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(15,23,42,1) 0%, rgba(2,6,23,1) 100%);
  color: rgba(255,255,255,.92);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
}

.main-footer .footer-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
}

.main-footer .footer-content{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.main-footer .footer-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.main-footer .brand-logo{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}

.main-footer .brand-text{
  font-size: 15px;
}

.main-footer .footer-tagline{
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
  max-width: 58ch;
}

.main-footer .footer-links{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.main-footer .footer-section h4{
  margin: 0 0 10px;
  font-family: Poppins, Inter, sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.main-footer .footer-section a{
  display: block;
  margin: 7px 0;
  color: rgba(255,255,255,.70);
  font-weight: 650;
  font-size: 13px;
  text-decoration: none;
  transition: transform .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}

.main-footer .footer-section a:hover{
  color: #fff;
  transform: translateX(3px);
}

.main-footer .footer-bottom{
  background: rgba(0,0,0,.18);
  border-top: 1px solid rgba(255,255,255,.10);
}

.main-footer .footer-bottom .footer-container{
  padding: 14px 20px;
}

.main-footer .footer-bottom p{
  margin: 0;
  color: rgba(255,255,255,.62);
  font-weight: 650;
  font-size: 12px;
}

@media (min-width: 640px){
  .main-footer .footer-links{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .main-footer .footer-container{
    padding: 32px 24px;
  }
}

@media (min-width: 860px){
  .main-footer{
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
  }
  .main-footer .footer-content{
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    gap: 24px;
  }
}
