@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&family=Roboto:wght@400;500&display=swap');
/* ==============================================================
   AISensum — Daniel (Revenue Teammate) page
   Scoped under .daniel-theme. Faithful, responsive recreation of
   the Figma "Daniel V2" design (node 246-11565).
   ============================================================== */

.daniel-theme {
  /* next/font var mapping → real font-family names (WP has no next/font) */
  --font-fraunces: "Fraunces";
  --font-geist: "Geist";
  --font-geist-mono: "Geist Mono";
  --font-inter: "Inter";
  --font-instrument-serif: "Instrument Serif";

  /* palette */
  --navy: #0B1F3D;
  --navy-66: rgba(11, 31, 61, 0.66);
  --navy-20: rgba(11, 31, 61, 0.20);
  --navy-08: rgba(11, 31, 61, 0.08);
  --ink: #0A0A0A;
  --ink-2: #0E0A0C;
  --pink: #FF1F5B;
  --pink-deep: #B02068;
  --pink-soft: #FFE8EE;
  --gray: #8A7F82;
  --gray-40: #666666;
  --gray-4a: #4A3F42;
  --green: #25C26B;
  --violet: #7B4BC8;
  --violet-soft: #F0E6FF;
  --cream: #FEFBF5;
  --cream-2: #F5F1E8;
  --cream-3: #F5EEDD;
  --bg-soft: #FBFAF8;
  --bg-3: #EBE7E1;
  --line: rgba(14, 10, 12, 0.08);
  --line-2: rgba(14, 10, 12, 0.14);
  --orange-88: #EAE4D6;

  --color-white-solid: white;
  --color-grey-40: #666666;
  --color-rose-56: #FF1F5B;
  --color-azure-14: #0B1F3D;

  --serif: var(--font-fraunces), "Times New Roman", serif;
  --sans: var(--font-geist), -apple-system, system-ui, sans-serif;
  --mono: var(--font-geist-mono), ui-monospace, monospace;
  --inter: var(--font-inter), var(--font-geist), sans-serif;
  --islab: var(--font-instrument-serif), var(--font-fraunces), serif;

  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(14, 10, 12, .05);
  --shadow-md: 0 6px 16px -6px rgba(14, 10, 12, .14);
  --shadow-lg: 0 30px 60px -20px rgba(14, 10, 12, .30), 0 8px 24px -12px rgba(14, 10, 12, .18);

  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: clip;
}

.daniel-theme *,
.daniel-theme *::before,
.daniel-theme *::after { box-sizing: border-box; }

.daniel-theme img { display: block; max-width: 100%; }

.dan-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 24px;
}

/* reveal on scroll */
.daniel-theme .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.daniel-theme .reveal.is-in { opacity: 1; transform: none; }
.daniel-theme .reveal.d1 { transition-delay: .08s; }
.daniel-theme .reveal.d2 { transition-delay: .16s; }
.daniel-theme .reveal.d3 { transition-delay: .24s; }
.reveal-fallback .daniel-theme .reveal { opacity: 1; transform: none; }

/* shared bits */
.dan-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-66);
}
.dan-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--pink);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
}
.dan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 0;
  transition: transform .3s, box-shadow .3s, background .25s;
  text-decoration: none;
  white-space: nowrap;
}
.dan-btn .arrow { transition: transform .3s; }
.dan-btn:hover .arrow { transform: translateX(3px); }
.dan-btn-pink { background: var(--pink); color: #fff; box-shadow: 0 8px 24px -8px rgba(255,31,91,.55); }
.dan-btn-pink:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(255,31,91,.7); }
.dan-btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.dan-btn-outline:hover { background: var(--navy); color: #fff; }
.dan-btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy-20); }
.dan-btn-ghost:hover { border-color: var(--navy); }

.dan-section { padding: 88px 0; position: relative; }
.dan-section.paper { background: var(--cream-2); }

.dan-section-head { max-width: 760px; }
.dan-section-head.center { margin-inline: auto; text-align: center; }
.dan-section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  color: var(--navy);
  margin: 14px 0 0;
}
.dan-section-head h2 .it { font-style: italic; color: var(--pink); }
.dan-section-head .lede {
  margin-top: 18px;
  font-family: var(--inter);
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-66);
}

/* ===== HERO ===== */
.dan-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}
.dan-hero::before {
  content: "";
  position: absolute;
  width: 800px; height: 800px;
  right: -240px; top: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(255,31,91,.07) 0%, rgba(255,31,91,0) 62%);
  pointer-events: none;
}
.dan-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.dan-hero-tag { display: inline-flex; align-items: center; gap: 12px; }
.dan-hero-tag .lbl { font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--gray-40); }
.dan-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.0;
  color: var(--ink);
  margin: 22px 0 0;
}
.dan-hero h1 .it { font-style: italic; color: var(--pink); }
.dan-hero .sub {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 48px);
  line-height: 1.02;
  color: var(--gray-40);
  margin-top: 6px;
}
.dan-hero .body {
  margin-top: 26px;
  max-width: 540px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-40);
}
.dan-hero-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.dan-hero-note { font-size: 13px; color: var(--gray-40); }
.dan-hero-note b { color: var(--ink); font-weight: 600; }

.dan-hero-visual-reveal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.dan-hero-visual {
  width: 100%;
  max-width: 1038px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dan-hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

/* Live Demo Header 2-column Grid */
.dan-demo-header-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.dan-demo-header-left h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 33px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

.dan-demo-header-left h2 .it {
  font-style: italic;
  color: var(--pink);
}

.dan-demo-header-right {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-40);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dan-demo-header-right p {
  margin: 0;
}

.dan-demo-header-right .it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--pink);
}

/* ===== LIVE DEMO (counter + Daniel) ===== */
.dan-demo-card {
  position: relative;
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
}

.dan-coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dan-coming-soon-placeholder {
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 480px;
  box-shadow: 0 12px 32px rgba(11,31,61,0.08);
}
.dan-coming-soon-placeholder .icon { font-size: 32px; margin-bottom: 16px; }
.dan-coming-soon-placeholder h3 { font-family: var(--sans); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.dan-coming-soon-placeholder p { font-family: var(--inter); font-size: 16px; color: var(--navy-66); margin: 0; }
.dan-counter {
  padding: 26px 28px;
  background: linear-gradient(180deg, #FBFAF8 0%, #fff 100%);
  border-right: 1px solid var(--line);
}
.dan-daniel { padding: 26px 28px; background: #fff; }

.dan-row { display: flex; align-items: center; justify-content: space-between; }
.dan-chip-time, .dan-chip-mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.dan-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--green); box-shadow: 0 0 7px var(--green); }
.dan-dot.pink { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.dan-reg { display: inline-flex; align-items: center; gap: 8px; }

.dan-cust {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 0; margin-top: 14px;
  border-bottom: 1px solid var(--line-2);
}
.dan-avatar {
  width: 52px; height: 52px; border-radius: 26px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; font-size: 19px;
  background: linear-gradient(135deg, #FF1F5B 0%, rgba(255,31,91,.73) 100%);
  box-shadow: 0 6px 16px -6px rgba(14,10,12,.3);
}
.dan-cust h4 { font-size: 17px; font-weight: 600; color: var(--ink-2); margin: 0; }
.dan-cust .meta { font-size: 12.5px; color: var(--gray); margin-top: 2px; }
.dan-cust .tag {
  margin-left: auto;
  background: var(--violet-soft);
  border-radius: 7px;
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet);
}

.dan-basket-h { display: flex; justify-content: space-between; margin: 18px 0 12px; }
.dan-basket-h span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.dan-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 13px; padding: 12px 14px; margin-bottom: 8px;
}
.dan-item .ic { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.dan-item .nm { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.dan-item .sub { font-size: 11px; color: var(--gray); }
.dan-item .pr { margin-left: auto; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--gray-4a); }
.dan-basket-total {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 15px; margin-top: 6px; border-top: 1px solid var(--line);
}
.dan-basket-total .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.dan-basket-total .amt { font-size: 30px; font-weight: 600; color: var(--ink-2); }
.dan-basket-total .amt small { font-size: 14px; font-weight: 500; color: var(--gray); margin-right: 4px; }

/* Daniel panel */
.dan-daniel-head { display: flex; align-items: center; gap: 11px; }
.dan-daniel-badge {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  background: linear-gradient(135deg, #FF1F5B 0%, #B02068 100%);
  box-shadow: 0 8px 20px -8px rgba(255,31,91,.6);
}
.dan-daniel-head h4 { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0; }
.dan-daniel-head .role { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.dan-status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

.dan-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.dan-stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; }
.dan-stat .k { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.dan-stat .v { font-size: 24px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.dan-stat .v small { font-size: 12px; color: var(--gray); margin-right: 3px; }

.dan-offer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dan-offer-head .lhs { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.dan-offer-head .rhs { font-family: var(--mono); font-size: 10px; color: var(--gray); }
.dan-offer {
  display: flex; align-items: center; gap: 13px;
  padding: 14px;
  background: linear-gradient(171deg, #FFE8EE 0%, #fff 100%);
  border: 1px solid var(--pink-soft);
  border-radius: 15px;
}
.dan-offer .ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--pink-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.dan-offer .nm { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.dan-offer .mg { font-size: 12px; color: var(--gray); }
.dan-offer .lift { margin-left: auto; text-align: right; }
.dan-offer .lift b { display: block; font-size: 18px; font-weight: 600; color: var(--green); }
.dan-offer .lift span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); }

.dan-script { margin-top: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 13px; padding: 14px 15px; }
.dan-script .k { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.dan-script .id { font-family: var(--islab); font-style: italic; font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.dan-script .en { font-size: 11.5px; color: var(--gray); margin-top: 4px; }

.dan-odds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dan-odds .box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.dan-odds .box .k { font-family: var(--mono); font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); }
.dan-odds .box .v { font-size: 15px; font-weight: 600; color: var(--green); margin-top: 2px; }
.dan-odds .box .v.ink { color: var(--ink-2); }
.dan-odds .bar { height: 4px; border-radius: 3px; background: var(--bg-3); margin-top: 7px; overflow: hidden; }
.dan-odds .bar i { display: block; height: 100%; width: 92%; border-radius: 3px; background: linear-gradient(90deg, #FF1F5B 0%, #B02068 100%); }

.dan-offer-actions { display: flex; gap: 10px; margin-top: 16px; }
.dan-offer-actions .pitch {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pink); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 22px; font-family: var(--sans); font-weight: 500; font-size: 15px; cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(255,31,91,.55);
}
.dan-offer-actions .dismiss {
  width: 46px; border-radius: 999px; background: var(--bg-soft);
  border: 1px solid var(--line-2); color: var(--gray); cursor: pointer; font-size: 15px;
}

/* ===== CASE STUDIES ===== */
.dan-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; margin-top: 44px; }
.dan-case {
  background: #fff;
  border: 1px solid var(--navy-08);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.dan-case .eyebrow { font-family: var(--inter); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-66); }
.dan-case h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--navy); margin: 14px 0 12px; }
.dan-case p { font-family: var(--inter); font-size: 14px; line-height: 1.6; color: var(--navy-66); flex-grow: 1; }
.dan-case-stats { display: flex; gap: 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--navy-08); }
.dan-case-stats .st b { font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--navy); }
.dan-case-stats .st b.pink { color: var(--pink); }
.dan-case-stats .st b small { font-size: 21px; color: var(--navy-66); }
.dan-case-stats .st span { display: block; margin-top: 6px; font-family: var(--inter); font-size: 11px; line-height: 1.35; letter-spacing: .02em; color: var(--navy-66); }
.dan-case-mid { font-family: var(--inter); font-size: 14px; line-height: 1.6; color: var(--navy-66); align-self: center; }
.dan-cases-section {
  padding-top: 40px;
  padding-bottom: 32px;
}

.dan-demo-section {
  padding-bottom: 40px;
}

/* ===== TESTIMONIAL ===== */
.dan-testi { text-align: center; padding: 24px 0 40px; }
.dan-testi-content {
  width: 100%;
  max-width: 1046px;
  margin: 0 auto;
  text-align: center;
}
.dan-testi blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: clamp(32px, 4.2vw, 52px);
  color: var(--navy);
  text-align: center;
  margin: 0;
  word-wrap: break-word;
}
.dan-testi blockquote .pink {
  color: var(--pink);
}

.dan-desktop-br {
  display: none;
}

@media (min-width: 981px) {
  .dan-desktop-br {
    display: inline;
  }
}

.dan-testi-author-wrapper {
  margin: 28px 0 0;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.dan-testi-author-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dan-testi-author-block .by {
  font-family: var(--inter);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--navy);
  font-size: 18px;
}

.dan-testi-author-block .role {
  margin-top: 6px;
  font-family: var(--inter);
  font-size: 15px;
  color: var(--navy-66);
}


/* ===== SECURITY ===== */
.dan-security { background: var(--cream-2); text-align: center; padding: 32px 0 54px; }
.dan-security h2 { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: clamp(20px, 3vw, 28px); color: rgba(0,0,0,.5); }
.dan-security p { max-width: 1100px; margin: 22px auto 0; font-size: clamp(15px, 2vw, 20px); color: rgba(0,0,0,.5); line-height: 1.5; }
.dan-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }
.dan-badge { padding: 9px 18px; background: var(--cream-2); border: 1px solid var(--navy-20); border-radius: 999px; font-family: "Roboto", var(--sans); font-size: 16px; font-weight: 500; color: var(--navy); }
.dan-security-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}
.dan-security-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 600px) {
  .dan-security-logos {
    flex-direction: row;
    gap: 40px;
  }
  .dan-security-logo {
    height: 112px;
  }
}
@media (min-width: 980px) {
  .dan-security-logos {
    gap: 64px;
  }
  .dan-security-logo {
    height: 120px;
  }
}

/* ===== SPIN / DEMO ===== */
.dan-spin {
  position: relative;
  padding: 44px 0 52px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(11,31,61,.04) 0%, rgba(11,31,61,0) 70%),
    linear-gradient(180deg, #FFF6F2 0%, #FCEFF4 45%, var(--pink-soft) 100%);
}
.dan-spin::before {
  content: ""; position: absolute; width: 560px; height: 560px; left: -160px; top: -220px;
  background: var(--pink-soft); border-radius: 280px; filter: blur(30px); opacity: .6;
  pointer-events: none;
}
.dan-spin::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: 0; bottom: 0;
  background: rgba(255,31,91,.06); border-radius: 230px; filter: blur(30px);
  pointer-events: none;
}
.dan-spin .inner { position: relative; z-index: 1; max-width: 1046px; margin: 0 auto; }
.dan-spin h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: var(--navy); }
.dan-spin h2 .it { font-style: italic; color: var(--pink); }
.dan-spin p { margin-top: 16px; font-family: var(--inter); font-size: 18px; line-height: 1.6; color: var(--navy-66); }

.dan-wheel-iframe-wrap {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 100%;
  max-width: 1800px;
  margin: 24px auto 0;
  padding-inline: 24px;
}
.dan-wheel-iframe-container {
  width: 100%;
  height: calc(100vh - 70px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
.dan-wheel-iframe {
  width: 1px;
  min-width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
@media (max-width: 980px) {
}
@media (max-width: 600px) {
  .dan-wheel-iframe-wrap {
    padding-inline: 0;
    margin-top: 24px;
  }
  .dan-wheel-iframe-container {
    height: calc(100vh - 40px);
  }
}

/* ===== FAQ ===== */
.dan-faq { max-width: 860px; }
.dan-faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 56px); color: var(--navy); }
.dan-faq h2 .it { font-style: italic; color: var(--pink); }
.dan-faq-list { margin-top: 26px; }
.dan-faq-item { border-bottom: 1px solid var(--orange-88); }
.dan-faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); color: var(--navy);
}
.dan-faq-item summary::-webkit-details-marker { display: none; }
.dan-faq-item summary .pm { font-family: var(--serif); font-size: 26px; color: var(--pink); transition: transform .3s; flex-shrink: 0; }
.dan-faq-item[open] summary .pm { transform: rotate(45deg); }
.dan-faq-item .ans { padding: 0 0 22px; font-family: var(--inter); font-size: 16px; line-height: 1.6; color: var(--navy-66); max-width: 92%; }

/* ===== CTA ===== */
.dan-cta { position: relative; background: var(--cream-3); text-align: center; padding: 80px 0 76px; overflow: hidden; }
.dan-cta::before {
  content: ""; position: absolute; width: 800px; height: 800px; right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(255,31,91,.06) 0%, rgba(255,31,91,0) 60%); border-radius: 50%;
  pointer-events: none;
}
.dan-cta .inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.dan-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: var(--navy); }
.dan-cta h2 .it { font-style: italic; color: var(--pink); }
.dan-cta p { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--navy); }
.dan-cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .dan-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .dan-hero-visual-reveal { border-top: 2px solid var(--pink-soft); padding-top: 32px; }
  .dan-demo-header-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .dan-demo-card { grid-template-columns: 1fr; }
  .dan-counter { border-right: 0; border-bottom: 1px solid var(--line); }
  .dan-cases { grid-template-columns: 1fr; }
  .dan-case-mid { order: 3; }
}
@media (max-width: 600px) {
  .dan-section { padding: 64px 0; }
  .dan-hero { padding: 120px 0 40px; }
  .dan-stat-row { grid-template-columns: 1fr; }
  .dan-offer-actions { flex-direction: column; }
  .dan-offer-actions .dismiss { width: 100%; height: 44px; }
  .dan-case-stats { flex-direction: column; gap: 16px; }
  
  /* Testimonial Quote Mobile Optimization */
  .dan-testi-content {
    padding-inline: 16px;
  }
  .dan-testi blockquote {
    font-size: clamp(18px, 5.5vw, 24px);
    line-height: 1.4;
  }
  .dan-testi-author-wrapper {
    margin-top: 20px;
  }

  
  /* Live Demo Mobile Optimization */
  .dan-odds {
    grid-template-columns: 1fr;
  }
  .dan-cust {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dan-cust .tag {
    margin-left: 0;
    margin-top: 4px;
    width: fit-content;
  }
}

/* ===== FIGMA RECREATION DANIEL HERO ===== */
.dan-hero-container {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

/* Badge + Label Row */
.dan-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dan-hero-badge-pill {
  display: inline-block;
  background-color: var(--pink);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.32px;
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.3;
}

.dan-hero-badge-label {
  color: var(--gray-40);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.92px;
  line-height: 1.5;
}

/* Heading: Title */
.dan-hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

.dan-hero-title-line1 {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.05;
}

.dan-hero-title-line2 {
  display: block;
  color: var(--pink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.05;
}

.dan-hero-title-line3 {
  display: block;
  color: var(--gray-40);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.1;
  margin-top: 4px;
}

/* Paragraph text */
.dan-hero-body-text {
  color: var(--gray-40);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 532px;
  margin: 0;
}

/* CTA button and deploy info */
.dan-hero-cta-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.dan-hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 32px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.1s;
}

.dan-hero-cta-button:hover {
  background: var(--navy);
  color: #fff;
}

.dan-hero-cta-button:active {
  transform: scale(0.98);
}

.dan-hero-deploy-info {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 600px) {
  .dan-hero-container {
    gap: 16px;
  }
  
  .dan-hero-cta-area {
    gap: 12px;
  }
  
  .dan-hero-cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  
  .dan-hero-deploy-info {
    width: 100%;
    margin-top: 4px;
  }
}

@media (min-width: 981px) {
  .dan-hero-title-line1,
  .dan-hero-title-line2,
  .dan-hero-title-line3,
  .dan-demo-header-left h2 .it,
  .dan-spin h2 {
    white-space: nowrap;
  }
}

/* ===== Astra full-bleed + heading gradient-text reset (template_include page) ===== */
body.daniel-page #content { background: var(--cream); }
body.daniel-page #content > .ast-container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; }
/* .daniel-theme must fill the (flex) container so section backgrounds go edge-to-edge. */
body.daniel-page .daniel-theme { width: 100% !important; max-width: 100% !important; }
body.daniel-page .daniel-theme h1, body.daniel-page .daniel-theme h2, body.daniel-page .daniel-theme h3, body.daniel-page .daniel-theme h4,
body.daniel-page .daniel-theme h1 *, body.daniel-page .daniel-theme h2 *, body.daniel-page .daniel-theme h3 * {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
}

/* ===== Spin-wheel embed (ported from SpinWheelEmbed.tsx) ===== */
.daniel-theme .dan-sw { width: 100%; }
.daniel-theme .dan-sw-box { width: 100%; overflow: hidden; border-radius: 20px; border: 1px solid rgba(14,10,12,0.08); box-shadow: 0 30px 60px -20px rgba(14,10,12,0.30), 0 8px 24px -12px rgba(14,10,12,0.18); background: #fff; position: relative; }
.daniel-theme .dan-sw-frame { border: 0; display: block; position: absolute; top: 0; left: 0; transform-origin: top left; }
