/* =======================================================
   SECTION STYLES
   All page sections in scroll order.
======================================================= */

/* -------------------------------------------------------
   MARQUEE BANNER
------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 1.4rem 0;
  background: var(--bg-elev);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-item::after {
  content: "✦";
  color: var(--amber);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------
   SOLUTIONS / PLATFORM
   Video on top, compact 3-card strip below.
------------------------------------------------------- */
.solutions {
  padding: 5rem 0;
  position: relative;
}
.solutions-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.solutions-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-top: 1rem;
  max-width: 14ch;
}
.solutions-head h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.solutions-head p {
  max-width: 28em;
  color: var(--ink-2);
  font-size: 1.05rem;
}

/* Centered variant for the platform section header */
.solutions-head-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}
.solutions-head-centered h2 {
  max-width: none;
  margin-top: 1rem;
}
.solutions-head-centered p {
  max-width: 38em;
  margin: 0 auto;
}

/* --- VIDEO PLAYER --- */
.video-wrap {
  margin-bottom: 3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(245,166,35,.04);
  aspect-ratio: 16 / 9;
}
.video-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,.5), transparent);
  z-index: 3;
}

/* Play button covers the full thumbnail until clicked */
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: transform .4s var(--ease-out);
}

/* Background overlay - the "thumbnail" - subtle dark texture with amber glow */
.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(245,166,35,.18), transparent 60%),
    linear-gradient(135deg, #1a1612 0%, #0f0d0b 100%);
  z-index: 1;
  transition: opacity .3s;
}
.video-play:hover .video-thumb-overlay {
  opacity: .7;
}

/* Play icon circle */
.video-play-icon {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 0 50px rgba(245,166,35,.4);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.video-play-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,.4);
  animation: ringExpand 2.5s ease-out infinite;
}
.video-play-icon svg {
  width: 32px;
  height: 32px;
  margin-left: 4px; /* visual centering of triangle */
}
.video-play:hover .video-play-icon {
  transform: scale(1.06);
  box-shadow: 0 0 80px rgba(245,166,35,.6);
}

/* Caption beneath the icon */
.video-caption {
  position: absolute;
  bottom: 1.6rem;
  left: 1.6rem;
  right: 1.6rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-align: left;
}
.video-caption-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.video-caption-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink);
  font-weight: 400;
}

/* When video is playing, hide the overlay UI */
.video-frame.playing .video-play {
  display: none;
}

/* --- COMPACT 3-CARD STRIP --- */
.sol-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.sol-mini-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.6rem;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.sol-mini-card:hover {
  border-color: rgba(245,166,35,.3);
  transform: translateY(-3px);
}
.sol-mini-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.sol-mini-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: .5rem;
  font-weight: 400;
  letter-spacing: -.01em;
}
.sol-mini-card p {
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.55;
}

/* -------------------------------------------------------
   PROCESS / HOW IT WORKS
------------------------------------------------------- */
.process {
  padding: 5rem 0;
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
.process-head {
  text-align: center;
  margin-bottom: 3rem;
}
.process-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-top: 1rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.process-head h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-line {
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), var(--rule), transparent);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--amber);
  margin-bottom: 1.4rem;
  position: relative;
  font-style: italic;
}
.step-num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,.2);
  opacity: 0;
  transition: opacity .3s;
}
.process-step:hover .step-num::after { opacity: 1; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: .5rem;
}
.step-desc {
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.55;
}

/* -------------------------------------------------------
   PROOF
   Single merged section: testimonial + supporting metrics.
------------------------------------------------------- */
.proof {
  padding: 5rem 0;
  position: relative;
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

/* Testimonial block */
.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--amber);
  font-style: italic;
  margin-bottom: -1rem;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -.015em;
  font-weight: 400;
}
.quote blockquote em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b88040, #6b4423);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.1rem;
}
.quote-info { text-align: left; }
.quote-name { font-weight: 500; }
.quote-role {
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* Supporting metrics row, tucked under the quote */
.proof-metrics {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.metric {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.metric + .metric {
  border-left: 1px solid var(--rule-soft);
}
.metric-val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: .5rem;
  font-weight: 400;
}
.metric-val em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.metric-val sup {
  font-size: .5em;
  vertical-align: super;
  color: var(--amber);
}
.metric-label {
  color: var(--ink-2);
  font-size: .85rem;
  line-height: 1.4;
}

/* -------------------------------------------------------
   PRICING
   3 plans with setup + monthly fees, currency toggle,
   and an expandable feature-comparison table.
------------------------------------------------------- */
.pricing {
  padding: 5rem 0;
  border-top: 1px solid var(--rule-soft);
}
.pricing-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.pricing-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-top: 1rem;
}
.pricing-head h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.pricing-head p {
  color: var(--ink-2);
  max-width: 36em;
  margin: 1rem auto 0;
}

/* Currency toggle */
.currency-toggle {
  display: inline-flex;
  margin-top: 2rem;
  padding: 4px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 999px;
  gap: 0;
}
.currency-btn {
  padding: .55rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  border-radius: 999px;
  transition: all .25s var(--ease-out);
  cursor: pointer;
}
.currency-btn:hover { color: var(--ink-2); }
.currency-btn[aria-selected="true"] {
  background: var(--amber);
  color: var(--bg);
  font-weight: 500;
}

/* Plan cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), border-color .3s;
}
.plan:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
}
.plan.featured {
  background: linear-gradient(180deg, #1a1612 0%, #14110e 100%);
  border-color: rgba(245,166,35,.4);
  position: relative;
}
.plan.featured::before {
  content: "Most popular";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 999px;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: .3rem;
}
.plan-tag {
  color: var(--ink-3);
  font-size: .8rem;
  font-family: var(--font-mono);
  margin-bottom: 1.4rem;
  letter-spacing: .03em;
}

/* Dual-price block: setup (big) + monthly (smaller) */
.plan-price-block {
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed var(--rule);
}
.plan-setup {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.plan-setup-from {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan-setup-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.plan-setup-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .05em;
}
.plan-monthly {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-wrap: wrap;
}
.plan-monthly-plus {
  font-family: var(--font-display);
  color: var(--ink-3);
  font-size: 1rem;
  font-style: italic;
}
.plan-monthly-amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.plan-monthly-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .03em;
}

/* Feature list */
.plan-feats {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.plan-feats li {
  display: flex;
  gap: .55rem;
  font-size: .9rem;
  color: var(--ink-2);
  align-items: flex-start;
}
.plan-feats li svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 3px;
}

/* Meta line (e.g. "Live in ~7 days") */
.plan-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
}

/* CTA button */
.plan-cta {
  padding: .85rem 1.2rem;
  text-align: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all .25s;
}
.plan-cta:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.plan.featured .plan-cta {
  background: var(--amber);
  color: var(--bg);
  border-color: var(--amber);
}
.plan.featured .plan-cta:hover {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}

/* Overage / cancellation footnote */
.pricing-footnote {
  text-align: center;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .03em;
}
.pricing-footnote strong {
  color: var(--ink-2);
  font-weight: 500;
}

/* --- COMPARE FEATURES (expandable) --- */
.pricing-compare {
  margin-top: 3rem;
  text-align: center;
}
.pricing-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  transition: all .25s var(--ease-out);
  cursor: pointer;
}
.pricing-compare-toggle:hover {
  background: var(--bg-elev);
  color: var(--ink);
  border-color: var(--ink-3);
}
.pricing-compare-toggle .chev {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease-out);
}
.pricing-compare.open .pricing-compare-toggle .chev {
  transform: rotate(180deg);
}

.pricing-compare-table {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out), margin-top .5s var(--ease-out);
  text-align: left;
}
.pricing-compare.open .pricing-compare-table {
  max-height: 2000px;
  margin-top: 2rem;
}
.pricing-compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.pricing-compare-table th,
.pricing-compare-table td {
  padding: .9rem 1rem;
  text-align: center;
  font-size: .9rem;
  border-bottom: 1px solid var(--rule-soft);
}
.pricing-compare-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(0,0,0,.2);
}
.pricing-compare-table .feat-col {
  text-align: left;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.pricing-compare-table td.feat-col,
.pricing-compare-table tbody td:first-child {
  text-align: left;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .9rem;
}
.pricing-compare-table .featured-col {
  background: rgba(245,166,35,.04);
  color: var(--amber-soft);
}
.pricing-compare-table th.featured-col {
  color: var(--amber);
}
.pricing-compare-table td.yes { color: var(--ink); }
.pricing-compare-table td.no { color: var(--ink-3); }
.pricing-compare-table tr:last-child td { border-bottom: none; }

/* -------------------------------------------------------
   FAQ
------------------------------------------------------- */
.faq {
  padding: 5rem 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.faq-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0 1rem;
}
.faq-head h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.faq-head p { color: var(--ink-2); }

.faq-items {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--amber); }
.faq-q .plus {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  transition: transform .3s var(--ease-out);
}
.faq-q .plus::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.faq-q .plus::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.faq-item.open .faq-q .plus::after {
  transform: translateX(-50%) rotate(90deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 0 1.4rem;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 38em;
  font-size: .98rem;
}
.faq-item.open .faq-a { max-height: 300px; }

/* -------------------------------------------------------
   FINAL CTA
------------------------------------------------------- */
.final-cta {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card {
  background: linear-gradient(135deg, #1a1612 0%, #0f0d0b 100%);
  border: 1px solid var(--rule);
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.cta-card h2 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 1.5rem;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-card h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.cta-card p {
  color: var(--ink-2);
  max-width: 38em;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.cta-card .hero-ctas { justify-content: center; }
.cta-foot {
  margin-top: 1.8rem;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
}
