/* ============================================================
   Inboox.ai — elevated landing
   Palette from brand reference:
   Website: purple, periwinkle, ink navy, pale blue, slate, white
   Tags: lavender, pink, sky, mint, cream, peach
   ============================================================ */

:root {
  --purple: #7c3fd4;
  --purple-deep: #6930b8;
  --purple-soft: #efe7fb;
  --periwinkle: #b7c4f9;
  --periwinkle-light: #d3dcfb;
  --ink: #1b1526;
  --ink-80: rgba(27, 21, 38, 0.8);
  --pale-blue: #dae4f1;
  --slate: #67718e;
  --white: #ffffff;
  --off-white: #faf9fc;
  --cloud: #f4f2f8;

  --tag-lavender: #dcd1f7;
  --tag-pink: #fbcfcf;
  --tag-sky: #c9e9fb;
  --tag-mint: #cdf5ce;
  --tag-cream: #fdf3c6;
  --tag-peach: #fce5c3;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 2px 8px rgba(27, 21, 38, 0.05), 0 12px 40px rgba(27, 21, 38, 0.07);
  --shadow-lift: 0 4px 12px rgba(27, 21, 38, 0.06), 0 24px 64px rgba(27, 21, 38, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--slate);
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--purple);
  opacity: 0.5;
}

em.accent {
  font-style: italic;
  color: var(--purple);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(27, 21, 38, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(27, 21, 38, 0.28);
}

.btn-purple {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(124, 63, 212, 0.32);
}

.btn-purple:hover {
  transform: translateY(-2px);
  background: var(--purple-deep);
  box-shadow: 0 14px 32px rgba(124, 63, 212, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(27, 21, 38, 0.16);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 36px; font-size: 1.02rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(27, 21, 38, 0.07);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(27, 21, 38, 0.06);
}

.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
}

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

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav .btn { padding: 10px 22px; font-size: 0.88rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(183, 196, 249, 0.5), transparent 62%),
    radial-gradient(900px 520px at 12% 8%, rgba(124, 63, 212, 0.12), transparent 60%),
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 80%);
  overflow: hidden;
}

.hero-inner {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(124, 63, 212, 0.22);
  color: var(--purple-deep);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(124, 63, 212, 0.1);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 22px; }

.hero .lede { max-width: 620px; margin: 0 auto 36px; }

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--slate);
}

.hero-visual {
  margin-top: 64px;
  position: relative;
}

.hero-frame {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(27, 21, 38, 0.06);
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
}

/* floating tag pills over hero */
.float-tag {
  position: absolute;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(27, 21, 38, 0.12);
  animation: floaty 5.5s ease-in-out infinite;
}

.float-tag:nth-child(odd) { animation-delay: -2.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee / brands ---------- */

.brands {
  padding: 44px 0 10px;
  text-align: center;
}

.brands p {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 26px;
}

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: scroll 36s linear infinite;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.brand-chip img {
  width: 46px;
  height: 46px;
  padding: 5px;
  background: var(--white);
  border: 1px solid rgba(27, 21, 38, 0.08);
  border-radius: 13px;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(27, 21, 38, 0.07);
}

.brand-chip span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  opacity: 0.6;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

section { padding: 96px 0; scroll-margin-top: 84px; }

.section-head {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .lede { margin-top: 18px; }

.section-head h2.one-line {
  white-space: nowrap;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
}

@media (max-width: 700px) {
  .section-head h2.one-line { white-space: normal; }
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 56px 0;
}

.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-media { order: 1; }

.feature-copy h2 { margin-bottom: 18px; }
.feature-copy .lede { font-size: 1.08rem; margin-bottom: 24px; }

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-80);
}

.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-kicker {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  font-style: italic;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
}

/* assets whose crop is baked in: bleed the cut edge off the card so it reads deliberate */
.feature-media.media-bleed {
  overflow: hidden;
  padding: 28px 0 28px 28px;
}

.feature-media.media-bleed img {
  width: calc(100% + 10px);
  max-width: none;
  border-radius: 14px 0 0 14px;
}

.feature-media.media-collage {
  overflow: hidden;
  padding: 32px 0 0 32px;
}

.feature-media.media-collage img {
  border-radius: 0;
  box-shadow: none;
}

.media-lavender { background: linear-gradient(160deg, var(--tag-lavender), #efe9fb); }
.media-sky { background: linear-gradient(160deg, var(--tag-sky), #e3f4fd); }
.media-mint { background: linear-gradient(160deg, var(--tag-mint), #e7fae8); }
.media-cream { background: linear-gradient(160deg, var(--tag-cream), #fef9e2); }
.media-peach { background: linear-gradient(160deg, var(--tag-peach), #fdf1de); }
.media-pink { background: linear-gradient(160deg, var(--tag-pink), #fde7e7); }

/* ---------- Daily collage ---------- */

.daily-collage {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- Founders photos ---------- */

.founders-photos {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.founder { text-align: center; }

.founder img {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(27, 21, 38, 0.14);
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.founder-title {
  font-size: 0.82rem;
  color: var(--slate);
}

/* ---------- Brand requests ---------- */

.requests { padding-top: 0; }

.requests-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(160deg, var(--periwinkle-light), var(--purple-soft));
  border-radius: var(--radius-lg);
  padding: 56px 64px;
}

.requests-ghost {
  max-width: 180px;
  margin: 0 auto;
  animation: floaty 5s ease-in-out infinite;
}

@media (max-width: 900px) {
  .requests-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    text-align: center;
    gap: 28px;
  }
  .founders-photos { flex-wrap: wrap; }
}

/* ---------- Stats band ---------- */

.stats-band {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(124, 63, 212, 0.35), transparent 65%);
  pointer-events: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Founders ---------- */

.founders {
  background: var(--cloud);
}

.founders-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: var(--shadow-soft);
}

.founders-card img {
  border-radius: var(--radius-md);
}

.founders-card h2 { margin-bottom: 20px; }
.founders-card .lede { font-size: 1.05rem; }

/* ---------- Comparison table ---------- */

.compare-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--slate);
  text-align: right;
  margin-bottom: 10px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(27, 21, 38, 0.06);
  font-size: 0.94rem;
}

.compare-table th, .compare-table td {
  padding: 17px 28px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 21, 38, 0.06);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tbody tr { transition: background 0.15s ease; }
.compare-table tbody tr:hover { background: var(--off-white); }

.compare-table thead th {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--off-white);
  padding-top: 20px;
  padding-bottom: 20px;
}

.compare-table thead th.col-inboox {
  background: var(--purple);
  color: var(--white);
}

.th-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.th-brand img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.compare-table td.col-inboox {
  background: var(--purple-soft);
  width: 44%;
  padding-left: 56px;
  position: relative;
}

/* leading checkmark for every Inboox cell */
.compare-table td.col-inboox::before {
  content: "✓";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell-main {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.cell-sub {
  display: block;
  font-size: 0.84rem;
  color: var(--slate);
  margin-top: 2px;
  line-height: 1.45;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 21%;
  white-space: nowrap;
}

.compare-table td.col-others { color: var(--slate); }

.cell-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(27, 21, 38, 0.07);
  color: var(--slate);
  font-size: 0.62rem;
  margin-right: 7px;
  vertical-align: -4px;
}

/* ---------- Pricing ---------- */

.pricing { background: var(--cloud); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  border: 1px solid rgba(27, 21, 38, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.price-card.featured {
  background: var(--ink);
  color: var(--white);
  border: none;
  position: relative;
  box-shadow: var(--shadow-lift);
}

.price-card.featured .price-desc,
.price-card.featured .price-features li { color: rgba(255, 255, 255, 0.75); }

.price-card.featured .price-features li::before {
  background: rgba(124, 63, 212, 0.35);
  color: #cfaef7;
}

.price-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 26px;
  min-height: 42px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
}

.price-amount .num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}

.price-amount .per { font-size: 0.9rem; color: var(--slate); }

.price-card.featured .price-amount .per { color: rgba(255, 255, 255, 0.6); }

.price-features {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-80);
}

.price-features li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 110px 0;
}

.final-cta-card {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 90px 40px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.final-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 20% 110%, rgba(124, 63, 212, 0.45), transparent 60%),
    radial-gradient(600px 320px at 85% -10%, rgba(183, 196, 249, 0.28), transparent 60%);
  pointer-events: none;
}

.final-cta-card > * { position: relative; }

.final-cta-card h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin-bottom: 18px;
}

.final-cta-card .lede {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 36px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .final-cta-card .lede { white-space: normal; max-width: 520px; }
}

.final-cta-card .ghost {
  width: 74px;
  margin: 0 auto 26px;
  animation: floaty 4.5s ease-in-out infinite;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 160px 0 90px;
}

.legal .wrap { max-width: 760px; }

.legal h1 {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(27, 21, 38, 0.08);
}

.legal h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
}

.legal h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 26px 0 8px;
}

.legal p {
  margin-bottom: 14px;
  color: var(--ink-80);
  font-size: 0.98rem;
}

.legal ul {
  margin: 0 0 16px 22px;
  display: grid;
  gap: 7px;
  color: var(--ink-80);
  font-size: 0.98rem;
}

/* ---------- Footer ---------- */

.footer {
  padding: 48px 0 40px;
  border-top: 1px solid rgba(27, 21, 38, 0.07);
}

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

.footer img { height: 26px; width: auto; }

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--slate);
}

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

.footer-copy { font-size: 0.85rem; color: var(--slate); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-tag, .requests-ghost, .final-cta-card .ghost, .hero-badge .dot { animation: none; }
  .marquee-track { animation-duration: 90s; }
}

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

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  section { padding: 64px 0; }

  .nav-links { display: none; }

  .feature-row,
  .feature-row.flip {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0;
  }

  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-media { order: 2; }

  .stats-band {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }

  .founders-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 32px;
  }

  .pricing-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: center; }

  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .compare-table { min-width: 720px; }
  .compare-hint { display: block; }

  .float-tag { display: none; }
}
