/* ============================================
   DESIGN SYSTEM — Charlie Sweeney
   Visual identity inspired by lineads.framer.website
   V3 — Premium overhaul
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #F8F7F4;
  --bg-elevated: #FFFFFF;
  --bg-subtle: #F0EDE8;
  --bg-hero-block: #EAE5DE;
  --bg-dark: #131210;

  --text: #1A1917;
  --text-secondary: #6B6A65;
  --text-tertiary: #A09F9A;

  --accent: #D85A30;
  --accent-hover: #C04E28;
  --accent-light: #FAECE7;
  --accent-dark: #8C3A1E;

  --teal: #0A6E54;
  --teal-light: #DDF2E8;
  --teal-dark: #085942;
  --purple: #4338CA;
  --purple-light: #EEF2FF;

  --border: rgba(0,0,0,0.07);
  --border-strong: rgba(0,0,0,0.12);
  --border-hover: rgba(0,0,0,0.14);

  --card-padding: 24px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-hero: 0 24px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Typography scale — Linea-level confidence */
  --h1: clamp(36px, 5.2vw, 66px);
  --h2: clamp(32px, 4.5vw, 56px);
  --h3: clamp(20px, 2vw, 24px);
  --body: 16px;
  --body-lg: 18px;
  --label: 12px;

  --radius-block: 24px;
  --radius-card: 18px;
  --radius-btn: 14px;
  --radius-pill: 100px;

  --section-py: 128px;
  --section-py-mobile: 80px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Noise texture */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* --- Typography --- */
h1, .h1 {
  font-size: var(--h1);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text);
}

h2, .h2 {
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--text);
}

h3, .h3 {
  font-size: var(--h3);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.text-em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.text-light {
  font-weight: 400;
  color: var(--text-secondary);
}
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }

/* Labels */
.label {
  font-size: var(--label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
}
.label--accent { color: var(--accent); }

/* Pill tags */
.pill {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  border-radius: var(--radius-pill);
  background: var(--accent-light); color: var(--accent-dark);
}
.pill--teal  { background: var(--teal-light);   color: var(--teal); }
.pill--purple{ background: var(--purple-light);  color: var(--purple); }
.pill--dark  { background: var(--bg-dark);       color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--text); color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn--primary:hover { background: #2D2B28; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn--accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(216,90,48,0.3);
}
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px rgba(216,90,48,0.4); }
.btn--secondary {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--secondary:hover { border-color: var(--text); background: rgba(0,0,0,0.03); }
.btn--dark { background: var(--bg-dark); color: #fff; }
.btn--dark:hover { background: #252320; }
.btn--white { background: #fff; color: var(--bg-dark); font-weight: 700; }
.btn--white:hover { background: #F5F3F0; }
.btn--lg { padding: 16px 34px; font-size: 16px; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 800px; }
.container--wide { max-width: 1400px; }

/* --- Sections --- */
.section { padding: var(--section-py) 0; position: relative; }
.section--subtle { background: var(--bg-subtle); }
.section--dark { background: var(--bg-dark); color: #fff; overflow: hidden; }
.section--dark .text-secondary { color: rgba(255,255,255,0.55); }

/* Dark section radial glow */
.section--dark::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(216,90,48,0.18) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
/* Dark section dot pattern */
.section--dark::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none; z-index: 0;
}

.section__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}
.section__header .label { margin-bottom: 20px; display: block; }
.section__header h2 { margin-bottom: 20px; }
.section__header p {
  color: var(--text-secondary);
  font-size: var(--body-lg);
  line-height: 1.65;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(248,247,244,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
}

.nav__logo {
  font-size: 17px; font-weight: 800; letter-spacing: -0.5px; color: var(--text);
}

.nav__links {
  display: flex; align-items: center; gap: 40px; list-style: none;
}
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__new {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 5px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.5;
  position: relative;
  top: -1px;
}

.nav__cta { padding: 10px 22px; font-size: 14px; }

.nav__mobile-toggle {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}

.nav__mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); padding: 100px 32px 40px; z-index: 999;
  flex-direction: column; gap: 4px;
}
.nav__mobile-menu.active { display: flex; }
.nav__mobile-menu a {
  display: block; padding: 18px 0; font-size: 24px; font-weight: 700;
  border-bottom: 1px solid var(--border); letter-spacing: -0.5px;
}
.nav__mobile-menu .btn { margin-top: 24px; justify-content: center; font-size: 18px; padding: 18px; }

/* ============================================
   HERO — Single clean background zone
   ============================================ */
.hero {
  padding-top: 80px;
  padding-bottom: 0;
  background: var(--bg-hero-block);
  position: relative;
  overflow: visible;
}

.hero__block {
  padding: 72px 0 64px;
  position: relative;
  overflow: visible;
}

.hero__block-inner {
  text-align: center;
  position: relative; z-index: 1;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto 28px;
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 400;
}

.hero__ctas {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 64px;
}

/* ============================================
   DASHBOARD — Floating, strong shadow
   ============================================ */
.dashboard {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.dashboard__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #F4F2EF;
  border-bottom: 1px solid var(--border);
}
.dashboard__chrome-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dashboard__chrome-dot--red    { background: #FF5F57; }
.dashboard__chrome-dot--yellow { background: #FFBD2E; }
.dashboard__chrome-dot--green  { background: #28C840; }
.dashboard__chrome-url {
  flex: 1; margin-left: 12px; padding: 6px 14px;
  background: var(--bg-elevated); border-radius: 6px;
  font-size: 12px; color: var(--text-tertiary); border: 1px solid var(--border);
}

.dashboard__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: #FAFAF8;
}
.dashboard__header-left { display: flex; align-items: center; gap: 12px; }
.dashboard__logo {
  width: 28px; height: 28px; background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.dashboard__title { font-size: 14px; font-weight: 700; }
.dashboard__tabs { display: flex; gap: 4px; }
.dashboard__tab {
  padding: 6px 14px; font-size: 12px; font-weight: 500;
  border-radius: 6px; color: var(--text-secondary); cursor: default;
}
.dashboard__tab--active { background: var(--bg-dark); color: #fff; }

.dashboard__body { display: flex; min-height: 320px; }
.dashboard__sidebar {
  width: 190px; border-right: 1px solid var(--border);
  padding: 16px 0; flex-shrink: 0; background: #FCFCFA;
}
.dashboard__nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.dashboard__nav-item--active {
  color: var(--accent); background: var(--accent-light);
  font-weight: 600; border-right: 2px solid var(--accent);
}
.dashboard__nav-icon {
  width: 18px; height: 18px; border-radius: 4px; background: var(--border); flex-shrink: 0;
}
.dashboard__nav-item--active .dashboard__nav-icon { background: var(--accent); opacity: 0.3; }

.dashboard__content { flex: 1; padding: 24px; }
.dashboard__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px;
}
.dashboard__stat {
  background: #FAFAF8; border: 1px solid var(--border); border-radius: 12px; padding: 16px;
}
.dashboard__stat-label {
  font-size: 11px; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.dashboard__stat-value {
  font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -1px;
}
.dashboard__stat-change { font-size: 11px; font-weight: 600; color: var(--teal); margin-top: 4px; }
.dashboard__progress {
  height: 4px; background: var(--bg-subtle); border-radius: 4px; margin-top: 10px; overflow: hidden;
}
.dashboard__progress-bar { height: 100%; border-radius: 4px; background: var(--accent); }

.dashboard__chart {
  background: #FAFAF8; border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; padding-top: 38px;
  height: 150px; display: flex; align-items: flex-end; gap: 5px; position: relative;
}
.dashboard__chart-title {
  position: absolute; top: 12px; left: 16px;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.dashboard__chart-bar {
  flex: 1; border-radius: 4px 4px 0 0; min-height: 10px; transition: all 0.3s;
}
.dashboard__chart-bar--accent         { background: var(--accent); }
.dashboard__chart-bar--accent-light   { background: rgba(216,90,48,0.35); }
.dashboard__chart-bar--accent-lighter { background: rgba(216,90,48,0.16); }


/* ============================================
   ABOUT — Own bg block
   ============================================ */
.section--about { background: var(--bg-subtle); border-top: 1px solid rgba(0,0,0,0.06); }

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrapper { position: relative; }
.about__image-wrapper::before {
  content: '';
  position: absolute; top: -20px; left: -20px;
  width: 140px; height: 140px;
  border-radius: 24px; background: var(--accent); opacity: 0.1; z-index: 0;
}
.about__image {
  aspect-ratio: 4/5;
  background: var(--bg-elevated);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden; position: relative; z-index: 1;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.about__image-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-tertiary); font-size: 14px; font-weight: 500;
}

.about__content .label { margin-bottom: 24px; display: block; }
.about__content h2 { margin-bottom: 28px; }
.about__content p {
  color: var(--text-secondary); font-size: 17px; line-height: 1.7; margin-bottom: 18px;
}

/* ============================================
   OFFER CARDS
   ============================================ */
.offers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.offer-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: transparent;
}

.offer-card__header {
  padding: 32px 32px 28px;
  min-height: 110px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.offer-card__header--teal   { background: linear-gradient(135deg, #DDF2E8 0%, #C2E8D4 100%); }
.offer-card__header--accent { background: linear-gradient(135deg, #FAECE7 0%, #F3D3C4 100%); }
.offer-card__header--purple { background: linear-gradient(135deg, #EEF2FF 0%, #DDE1F9 100%); }

.offer-card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.offer-card__icon--teal   { color: var(--teal); }
.offer-card__icon--accent { color: var(--accent); }
.offer-card__icon--purple { color: var(--purple); }

.offer-card__body {
  padding: 28px 32px 32px;
  display: flex; flex-direction: column; flex: 1;
}
.offer-card__tag { margin-bottom: 14px; align-self: flex-start; }
.offer-card h3 { margin-bottom: 14px; font-size: 22px; }
.offer-card p { color: var(--text-secondary); flex: 1; margin-bottom: 24px; font-size: 15px; line-height: 1.65; }
.offer-card__price {
  font-size: 14px; font-weight: 600; color: var(--text-tertiary); margin-bottom: 18px;
}
.offer-card__link {
  font-size: 15px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.offer-card:hover .offer-card__link { gap: 10px; }

/* ============================================
   BENTO GRID — Features
   ============================================ */
.section--features { background: var(--bg-subtle); }

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

.bento-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.bento-card--wide { grid-column: span 2; }

.bento-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}
.bento-card h3 { margin-bottom: 10px; font-size: 19px; }
.bento-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; line-height: 1.65; }
.bento-card__pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Workflow diagram */
.bento-visual-workflow {
  display: flex; align-items: center; gap: 0;
  margin-top: 16px; padding: 16px;
  background: var(--bg-subtle); border-radius: 12px;
  border: 1px solid var(--border); overflow-x: auto;
}
.workflow-node {
  padding: 8px 14px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 8px; font-size: 11px; font-weight: 600;
  color: var(--text-secondary); white-space: nowrap; flex-shrink: 0;
}
.workflow-node--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.workflow-arrow {
  width: 24px; height: 1px;
  background: var(--accent); opacity: 0.3; flex-shrink: 0; position: relative;
}
.workflow-arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 0; height: 0;
  border-left: 5px solid rgba(216,90,48,0.3);
  border-top: 3px solid transparent; border-bottom: 3px solid transparent;
}

/* Template thumbnails */
.bento-visual-templates {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px;
}
.template-thumb {
  aspect-ratio: 3/4; border-radius: 6px; border: 1px solid var(--border);
}
.template-thumb:nth-child(1) { background: #FAECE7; }
.template-thumb:nth-child(2) { background: #DDF2E8; }
.template-thumb:nth-child(3) { background: #EEF2FF; }
.template-thumb:nth-child(4) { background: #FFF8E7; }
.template-thumb:nth-child(5) { background: #F3E8FF; }
.template-thumb:nth-child(6) { background: #E8F5E9; }
.template-thumb:nth-child(7) { background: #FCE4EC; }
.template-thumb:nth-child(8) { background: #E3F2FD; }

/* Code block */
.bento-visual-code {
  margin-top: 16px; padding: 16px;
  background: #1E1D1B; border-radius: 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.55); overflow: hidden;
}
.bento-visual-code .code-keyword { color: var(--accent); }
.bento-visual-code .code-string  { color: #A8D8A8; }

/* App icons */
.bento-visual-apps { display: flex; gap: 12px; margin-top: 16px; }
.app-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.app-icon--accent  { background: var(--accent-light); color: var(--accent); }
.app-icon--teal    { background: var(--teal-light);   color: var(--teal); }
.app-icon--purple  { background: var(--purple-light);  color: var(--purple); }

/* ============================================
   STEPS — Connected, accent numbers
   ============================================ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative;
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.step__number {
  font-size: 56px; font-weight: 800;
  color: var(--accent); opacity: 0.1;
  line-height: 1; margin-bottom: 20px; letter-spacing: -3px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; line-height: 1.65; }
.step__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-subtle);
  display: flex; align-items: center; justify-content: center; color: var(--text-tertiary);
}

/* ============================================
   TESTIMONIALS — Linea-style 3-column grid
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tcard {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle dot texture inside each card */
.tcard::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.tcard:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.tcard__stars {
  color: var(--accent);
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}

.tcard__quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 28px;
  position: relative; z-index: 1;
}

/* Bold key phrases in quotes */
.tcard__quote strong {
  color: var(--text);
  font-weight: 600;
}

.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative; z-index: 1;
}

.tcard__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.tcard__name {
  font-size: 14px; font-weight: 700; color: var(--text);
  line-height: 1.3;
}

.tcard__role {
  font-size: 13px; color: var(--text-secondary); margin-top: 2px;
}

/* ============================================
   DARK CTA
   ============================================ */
.cta-dark {
  text-align: center; position: relative; z-index: 1;
}
.cta-dark h2 { color: #fff; max-width: 580px; margin: 0 auto 20px; }
.cta-dark p { color: rgba(255,255,255,0.55); max-width: 520px; margin: 0 auto 36px; font-size: 18px; }
.cta-dark .btn--white {
  box-shadow: 0 4px 20px rgba(255,255,255,0.12);
}

/* Light CTA — blends into page/footer */
.cta-light {
  text-align: center; position: relative; z-index: 1;
}
.cta-light h2 { color: var(--text); max-width: 580px; margin: 0 auto 20px; }
.cta-light p { color: var(--text-secondary); max-width: 520px; margin: 0 auto 36px; font-size: 18px; }

/* ============================================
   FOOTER — Card style
   ============================================ */
.footer {
  padding: 32px 0 48px;
}
.footer__card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-block);
  overflow: hidden;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 48px;
}
.footer__brand { max-width: 240px; }
.footer__logo {
  font-size: 16px; font-weight: 700; letter-spacing: -0.3px;
  color: var(--text); display: block; margin-bottom: 12px;
}
.footer__tagline {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px;
}
.footer__social { display: flex; gap: 10px; }
.footer__social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: all 0.2s;
}
.footer__social-icon:hover { background: var(--text); color: #fff; border-color: var(--text); }
.footer__cols { display: flex; gap: 56px; }
.footer__col { min-width: 110px; }
.footer__col-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--text-tertiary); text-transform: uppercase;
  display: block; margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer__col ul a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-tertiary);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Dashboard gets a more dramatic entrance */
.dashboard.reveal {
  opacity: 0;
  transform: translateY(72px) scale(0.97);
  transform-origin: center top;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.dashboard.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .dashboard.reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .offer-card:hover, .bento-card:hover, .step:hover, .tcard:hover { transform: none; }
  .hero__badge-dot { animation: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .bento-card--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root {
    --section-py: var(--section-py-mobile);
    --radius-block: 16px;
    --radius-card: 14px;
  }
  .container { padding: 0 20px; }
  .section__header { margin-bottom: 40px; }

  .nav__links, .nav__cta-desktop { display: none; }
  .nav__mobile-toggle { display: flex; }

  .hero { padding-top: 72px; }
  .hero__block { padding: 48px 0 0; }
  .hero__ctas { flex-direction: column; align-items: stretch; padding-bottom: 48px; }
  .hero__ctas .btn { justify-content: center; }

  .dashboard__sidebar { display: none; }
  .dashboard__stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard__tabs { display: none; }

  .about { grid-template-columns: 1fr; gap: 44px; }
  .about__image { aspect-ratio: 16/9; max-height: 280px; transform: none; }
  .about__image-wrapper::before { display: none; }

  .offers-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

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

  .footer__top { flex-direction: column; gap: 36px; padding: 32px; }
  .footer__brand { max-width: 100%; }
  .footer__cols { gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 32px; }
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  h1, .h1 { letter-spacing: -2px; }
  h2, .h2 { letter-spacing: -1.5px; }
  .hero h1 { font-size: clamp(28px, 8vw, 42px); }
  .dashboard__stats { grid-template-columns: 1fr; }
}
