/* Influvine marketing homepage v2 */

:root {
  --bg: oklch(0.985 0.004 90);
  --bg-soft: oklch(0.97 0.006 90);
  --bg-row-alt: oklch(0.955 0.006 90);
  --ink: oklch(0.22 0.01 90);
  --ink-muted: oklch(0.45 0.012 90);
  --ink-mutedest: oklch(0.5 0.01 90);
  --ink-label: oklch(0.4 0.012 90);
  --ink-footer-copy: oklch(0.6 0.01 90);
  --border: oklch(0.9 0.006 90);

  --dark: oklch(0.13 0.018 265);
  --panel-dark: oklch(0.17 0.014 260);
  --grad-a: oklch(0.68 0.19 265);
  --grad-b: oklch(0.65 0.19 330);
  --grad-text-a: oklch(0.75 0.16 265);
  --grad-text-b: oklch(0.75 0.18 330);
  --white-strong: oklch(0.97 0.005 265);
  --white-mid: oklch(0.85 0.01 265);
  --white-muted: oklch(0.75 0.01 265);
  --white-mutedest: oklch(0.68 0.012 265);
  --accent-symbol: oklch(0.6 0.19 290);
  --accent-line: oklch(0.6 0.19 290);
  --dot: oklch(0.4 0.012 260);

  --card-shadow: 0 1px 2px oklch(0.2 0.02 260 / 0.04), 0 12px 32px oklch(0.2 0.02 260 / 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; font-weight: 700; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: oklch(0.6 0.19 265 / 0.25); }

/* layout helpers */
.section-inner { max-width: 1160px; margin: 0 auto; padding: 110px 24px; }
.section-inner-narrow { max-width: 820px; }
.section-soft { background: var(--bg-soft); }
.section-title { font-size: 36px; letter-spacing: -0.02em; }
.section-title-narrow { max-width: 640px; }
.section-title-wide { max-width: 680px; }
.section-title-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead { font-size: 16px; line-height: 1.7; color: var(--ink-muted); margin-top: 16px; }
.section-lead-narrow { max-width: 600px; }
.section-lead-wide { max-width: 720px; }
.section-lead-center { text-align: center; margin: 18px auto 0; max-width: 600px; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  white-space: nowrap;
}
.btn-pill {
  border-radius: 100px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px oklch(0.6 0.19 290 / 0.4);
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; box-shadow: 0 10px 30px oklch(0.6 0.19 290 / 0.45); }
.btn-teal { background: oklch(0.72 0.13 195); color: oklch(0.14 0.03 265); box-shadow: 0 8px 24px oklch(0.72 0.13 195 / 0.4); }
.btn-teal:hover { color: oklch(0.14 0.03 265); opacity: 0.92; }
.btn-ghost {
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--grad-a); }
.link-underline { font: 600 14px 'IBM Plex Sans', sans-serif; color: var(--white-mid); cursor: pointer; border-bottom: 1px solid oklch(0.4 0.01 265); }

/* nav */
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font: 600 22px 'Space Grotesk', sans-serif; letter-spacing: -0.01em; color: var(--white-strong); }
.beta-tag {
  display: inline-block; font: 700 10px 'Space Grotesk', sans-serif; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--grad-text-a); background: color-mix(in oklch, var(--grad-text-a) 14%, transparent);
  border: 1px solid color-mix(in oklch, var(--grad-text-a) 35%, transparent);
  padding: 2px 7px; border-radius: 100px; vertical-align: middle; margin-left: 6px;
}
.brand-sm { gap: 8px; }
.brand-name-sm { font: 600 13px 'Space Grotesk', sans-serif; color: var(--ink-label); }
.brand-grad {
  background: linear-gradient(135deg, oklch(0.62 0.19 270), oklch(0.6 0.19 330));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font: 500 13.5px 'IBM Plex Sans', sans-serif; color: var(--white-muted); cursor: pointer; }

/* hero */
.hero-section { position: relative; background: var(--dark); overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-glow-a { top: -220px; left: -120px; width: 620px; height: 620px; background: radial-gradient(circle, oklch(0.6 0.19 265 / 0.55), transparent 70%); }
.hero-glow-b { top: -100px; right: -180px; width: 560px; height: 560px; background: radial-gradient(circle, oklch(0.62 0.19 330 / 0.45), transparent 70%); }
.hero-dotgrid {
  position: absolute; inset: 0;
  background-image: radial-gradient(oklch(1 0 0 / 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 900px 500px at 50% 0%, black, transparent);
}
.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.1);
  font: 500 12.5px 'IBM Plex Sans', sans-serif;
  color: var(--white-mid);
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.72 0.19 150); }
.hero-title {
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white-strong);
  margin-top: 24px;
  max-width: 820px;
}
.hero-title-gradient {
  background: linear-gradient(135deg, var(--grad-text-a), var(--grad-text-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--white-mutedest); margin-top: 22px; max-width: 560px; }
.hero-ctas { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.hero-visual { position: relative; margin-top: 64px; width: 100%; max-width: 980px; }
.hero-visual-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, oklch(0.6 0.19 280 / 0.35), transparent 70%);
  filter: blur(20px);
}

.window-frame { position: relative; }
.window-frame img { width: 100%; display: block; }
.window-dots { display: flex; align-items: center; gap: 7px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }

.window-frame-glass {
  background: var(--panel-dark);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid oklch(1 0 0 / 0.08);
  box-shadow: 0 40px 100px oklch(0 0 0 / 0.5);
}
.window-frame-glass .window-dots { padding: 6px 6px 12px; }
.window-frame-glass img { border-radius: 10px; }

.window-frame-sticky {
  position: sticky;
  top: 28px;
  background: var(--panel-dark);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid oklch(1 0 0 / 0.06);
  box-shadow: 0 30px 70px oklch(0.2 0.02 260 / 0.25);
}
.window-frame-sticky img { border-radius: 9px; }

/* problem */
.problem-head { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.problem-head .section-lead { margin-top: 0; }

.card-grid { display: grid; gap: 20px; margin-top: 48px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--card-shadow);
}
.card-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, oklch(0.6 0.19 265 / 0.15), oklch(0.6 0.19 330 / 0.15)); }
.card-title { font: 600 15px 'IBM Plex Sans', sans-serif; margin-top: 16px; }
.card-heading { font-size: 16.5px; }
.card-body { font-size: 13.5px; line-height: 1.65; color: var(--ink-mutedest); margin-top: 9px; }
.card-flex { flex: 1; }

/* how it works */
.steps-layout { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; margin-top: 56px; align-items: start; }
.steps-list { display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; gap: 18px; }
.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 14px 'Space Grotesk', sans-serif;
}
.step-title { font-size: 17px; }
.step-body { font-size: 13.5px; line-height: 1.65; color: var(--ink-mutedest); margin-top: 6px; }
.steps-visual { position: relative; }
.steps-visual-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, oklch(0.6 0.19 280 / 0.18), transparent 70%);
  filter: blur(20px);
}

/* bento features */
.bento-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 44px; }
.bento-feature-dark {
  background: var(--dark);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bento-glow {
  position: absolute; top: -80px; right: -80px; width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.6 0.19 265 / 0.35), transparent 70%);
}
.bento-heading { font-size: 19px; color: var(--white-strong); position: relative; }
.bento-body { font-size: 14px; line-height: 1.65; color: var(--white-mutedest); margin-top: 10px; max-width: 400px; position: relative; }
.bento-image { margin-top: 20px; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 20px 50px oklch(0 0 0 / 0.3); }
.bento-image img { display: block; width: 100%; }
.bento-stack { display: flex; flex-direction: column; gap: 20px; }
.bento-stack .card { border-radius: 20px; padding: 26px; }

/* comparison */
.compare-grid { margin-top: 48px; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 2px; }
.compare-row-header { margin-top: 0; }
.compare-cell { padding: 16px 20px; font: 400 13.5px 'IBM Plex Sans', sans-serif; text-align: center; }
.compare-cell-label { display: flex; align-items: center; font: 600 13px 'IBM Plex Sans', sans-serif; color: var(--ink-label); padding: 16px 4px; text-align: left; }
.compare-row-header .compare-cell-label { padding: 18px 20px; }
.compare-header-influvine {
  padding: 18px 20px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font: 600 15px 'Space Grotesk', sans-serif;
}
.compare-header-other { padding: 18px 20px; font: 600 14px 'IBM Plex Sans', sans-serif; color: var(--ink-mutedest); }
.compare-cell-influvine { background: #fff; border-left: 3px solid var(--accent-line); }
.compare-cell-other { background: var(--bg-row-alt); color: var(--ink-mutedest); }
.compare-row-last .compare-cell-influvine { border-radius: 0 0 0 14px; }
.compare-row-last .compare-cell-other { border-radius: 0 0 14px 0; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.price-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  position: relative;
  box-shadow: var(--card-shadow);
}
.price-name { font: 600 15px 'Space Grotesk', sans-serif; }
.price-amount { font: 600 30px 'Space Grotesk', sans-serif; margin-top: 10px; }
.price-period { font: 400 12px 'IBM Plex Sans', sans-serif; color: var(--ink-mutedest); }
.price-desc { font-size: 12.5px; line-height: 1.6; color: var(--ink-mutedest); margin-top: 12px; }
.price-card-dark {
  background: var(--dark);
  box-shadow: 0 20px 50px oklch(0.55 0.19 290 / 0.3);
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font: 600 10.5px 'IBM Plex Sans', sans-serif;
  padding: 4px 12px;
  border-radius: 100px;
}
.price-name-dark { color: var(--white-strong); }
.price-amount-dark { color: var(--white-strong); }
.price-period-dark { color: oklch(0.65 0.012 265); }
.price-desc-dark { color: var(--white-mutedest); }

/* FAQ */
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 14px; padding: 2px 22px; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font: 600 15.5px 'IBM Plex Sans', sans-serif;
  color: var(--ink);
}
.faq-symbol { font: 500 18px 'IBM Plex Sans', sans-serif; color: var(--accent-symbol); flex: none; margin-left: 16px; }
.faq-answer { display: none; padding: 0 0 20px; max-width: 720px; }
.faq-answer p { font-size: 14px; line-height: 1.7; color: var(--ink-muted); }
.faq-item.is-open .faq-answer { display: block; }

/* final CTA */
.final-cta { position: relative; background: var(--dark); overflow: hidden; }
.final-cta-glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, oklch(0.6 0.19 280 / 0.4), transparent 70%);
  filter: blur(10px);
}
.final-cta-inner { position: relative; max-width: 720px; margin: 0 auto; padding: 110px 24px; text-align: center; }
.final-cta-title { font-size: 36px; letter-spacing: -0.02em; color: oklch(0.97 0.005 260); }
.final-cta-body { font-size: 16px; line-height: 1.7; color: oklch(0.68 0.012 260); margin-top: 16px; }
.final-cta .btn { margin-top: 28px; }

/* footer */
.footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; align-items: center; gap: 22px; font: 500 12.5px 'IBM Plex Sans', sans-serif; color: var(--ink-mutedest); }
.footer-copy { font: 400 12px 'IBM Plex Sans', sans-serif; color: var(--ink-footer-copy); }

/* responsive (not in source design — added for real-world mobile visitors) */
@media (max-width: 900px) {
  .problem-head { grid-template-columns: 1fr; gap: 24px; }
  .steps-layout { grid-template-columns: 1fr; }
  .window-frame-sticky { position: static; }
  .bento-grid { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 44px; }
  .section-inner { padding: 72px 20px; }
  .compare-row { grid-template-columns: 1fr; gap: 4px; }
  .compare-cell-label { padding: 12px 4px 0; }
  .compare-row-header .compare-cell-label { display: none; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 18px 20px; }
  .nav-link:not(.btn) { display: none; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 10px; gap: 10px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; gap: 14px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
