/* ============================================================
   CallSpace — Section layouts
   ============================================================ */

/* ---------------- HERO ---------------- */
.hero { position: relative; padding-top: 150px; padding-bottom: 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 900px; z-index: -1;
  background: var(--grad-mesh);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 55% at 50% 25%, #000 30%, transparent 75%);
  mask-image: radial-gradient(75% 55% at 50% 25%, #000 30%, transparent 75%);
}
.hero-inner { text-align: center; max-width: 880px; margin-inline: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 8px 7px 14px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); box-shadow: var(--sh-sm);
  backdrop-filter: blur(8px);
}
.hero-badge .tag { background: var(--grad); color: #fff; font-weight: 600; font-size: 11.5px; padding: 4px 9px; border-radius: var(--r-pill); letter-spacing: .01em; }
.hero h1 { margin-top: 28px; }
.hero .lead { margin: 26px auto 0; max-width: 620px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-4); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: #22c55e; }

/* hero visual stage */
.stage { position: relative; margin-top: 72px; perspective: 2000px; }
.stage-inner { transform: rotateX(14deg) scale(1); transform-origin: 50% 0; }
.dash { max-width: 1060px; margin-inline: auto; }
.dash-shell { border-radius: var(--r-xl); }
.dash-glow {
  position: absolute; inset: 8% 6% -8% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79,70,229,0.35), transparent 70%);
  filter: blur(60px);
}
.float-card {
  position: absolute; background: var(--glass-2); backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border); border-radius: var(--r-md); box-shadow: var(--sh-lg);
  padding: 14px 16px; z-index: 5;
}
.fc-1 { top: 16%; left: -3%; }
.fc-2 { top: 54%; right: -4%; }
.fc-3 { bottom: -6%; left: 8%; }
@media (max-width: 860px){ .fc-1{ left: -2%; top: 8%; } .fc-2{ right: -2%; } .fc-3{ display:none; } }
@media (max-width: 560px){ .float-card{ transform: scale(.8); } .fc-1{ left:-6%; } .fc-2{ right:-6%; } }

/* ---------------- TRUST ---------------- */
.trust { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.logos .logo { font-weight: 700; font-size: clamp(17px, 2vw, 22px); color: var(--ink-3); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 9px; opacity: .75; transition: opacity .3s; }
.logos .logo:hover { opacity: 1; }
.logos .logo svg { width: 22px; height: 22px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.metric { text-align: center; padding: 8px; }
.metric .num { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .lab { margin-top: 12px; color: var(--ink-3); font-size: 16px; font-weight: 500; }
@media (max-width: 720px){ .metrics{ grid-template-columns: 1fr; gap: 36px; } }

/* ---------------- PROBLEM ---------------- */
.problem { background: var(--bg-ink); color: #fff; }
.problem::before { content:""; position:absolute; inset:0; z-index:0; background:
  radial-gradient(50% 60% at 80% 0%, rgba(124,58,237,0.22), transparent 60%),
  radial-gradient(45% 55% at 10% 100%, rgba(109,40,217,0.20), transparent 60%); }
.problem .wrap { position: relative; z-index: 1; }
.problem h2, .problem .h-section { color: #fff; }
.problem .eyebrow { color: #a5b4fc; }
.problem .lead { color: rgba(255,255,255,0.66); }
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.prob-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg); padding: 28px; transition: background .35s, transform .35s, border-color .35s;
}
.prob-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); border-color: rgba(165,180,252,0.3); }
.prob-card .pico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(239,68,68,0.14); color: #fb7185; margin-bottom: 22px; }
.prob-card .pico svg { width: 24px; height: 24px; }
.prob-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.prob-card p { color: rgba(255,255,255,0.58); font-size: 15px; line-height: 1.55; }
.prob-card .stat { margin-top: 18px; font-size: 13px; color: #fb7185; font-weight: 600; }
@media (max-width: 940px){ .prob-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .prob-grid{ grid-template-columns: 1fr; } }

/* ---------------- SOLUTION (4 big cards) ---------------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 60px; }
.sol-card { padding: 36px; position: relative; overflow: hidden; }
.sol-card .itile { margin-bottom: 24px; }
.sol-card h3 { font-size: 23px; margin-bottom: 10px; }
.sol-card p { color: var(--ink-3); font-size: 16px; line-height: 1.55; max-width: 42ch; }
.sol-card .mini { margin-top: 24px; }
@media (max-width: 820px){ .sol-grid{ grid-template-columns: 1fr; } }

/* ---------------- SHOWCASE (alternating) ---------------- */
.showcase-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.showcase-row + .showcase-row { margin-top: clamp(120px, 13vw, 200px); }
.showcase-row.rev { grid-template-columns: 1.15fr 1fr; }
.showcase-row.rev .sc-copy { order: 2; }
.showcase-row.rev .sc-visual { order: 1; }
.sc-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin: 18px 0 16px; }
.sc-copy p { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.sc-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.sc-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.sc-list .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft); color: var(--indigo); display: grid; place-items: center; flex: none; margin-top: 1px; }
.sc-list .ck svg { width: 13px; height: 13px; }
.sc-visual { position: relative; }
@media (max-width: 880px){
  .showcase-row, .showcase-row.rev { grid-template-columns: 1fr; gap: 40px; }
  .showcase-row.rev .sc-copy { order: 1; } .showcase-row.rev .sc-visual { order: 2; }
}

/* ---------------- HOW IT WORKS ---------------- */
.steps { position: relative; margin-top: 64px; }
.steps-line { position: absolute; top: 38px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--line), var(--line), transparent); z-index: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 1; }
.step { text-align: center; }
.step-num {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center;
  font-size: 26px; font-weight: 700; color: #fff; background: var(--grad); box-shadow: var(--sh-blue);
  position: relative; border: 5px solid var(--ring);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: 14.5px; line-height: 1.5; max-width: 22ch; margin-inline: auto; }
@media (max-width: 900px){
  .steps-line { display: none; }
  .steps-grid { grid-template-columns: repeat(2,1fr); gap: 36px 20px; }
}
@media (max-width: 520px){ .steps-grid{ grid-template-columns: 1fr; } }

/* ---------------- FEATURE GRID ---------------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s; position: relative;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(124,58,237,0.28); }
.feat .fico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-tint); color: var(--indigo); margin-bottom: 18px; transition: background .3s, color .3s; }
.feat:hover .fico { background: var(--grad); color: #fff; }
.feat .fico svg { width: 21px; height: 21px; }
.feat h3 { font-size: 16.5px; margin-bottom: 7px; letter-spacing: -0.015em; }
.feat p { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
@media (max-width: 1000px){ .feat-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .feat-grid{ grid-template-columns: 1fr; } }

/* ---------------- TESTIMONIALS ---------------- */
.tcols { columns: 3; column-gap: 18px; margin-top: 56px; }
.tcard { break-inside: avoid; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-sm); }
.tcard.feature { background: var(--bg-ink); color: #fff; }
.tcard.feature p { color: rgba(255,255,255,0.92); }
.tcard.feature .name { color: #fff; }
.tcard.feature .role { color: rgba(255,255,255,0.55); }
.tcard .stars { display: flex; gap: 2px; margin-bottom: 16px; color: #f59e0b; }
.tcard .stars svg { width: 16px; height: 16px; }
.tcard p { font-size: 16px; line-height: 1.6; color: var(--ink-2); letter-spacing: -0.01em; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .name { font-weight: 650; font-size: 15px; }
.tcard .role { font-size: 13.5px; color: var(--ink-4); }
.tcard.feature .bigstat { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; background: linear-gradient(120deg,#a5b4fc,#c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px){ .tcols{ columns: 2; } }
@media (max-width: 600px){ .tcols{ columns: 1; } }

/* ---------------- COMPARISON ---------------- */
.compare { background: var(--bg-soft); }
.cmp-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; max-width: 920px; margin: 56px auto 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); background: var(--surface); }
.cmp-head { padding: 28px 26px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.cmp-head.old { background: var(--surface); color: var(--ink-3); }
.cmp-head.new { background: var(--bg-ink); color: #fff; position: relative; }
.cmp-head.new .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.cmp-head.new .brand-mark svg { width: 14px; height: 14px; }
.cmp-label { background: var(--surface); border-bottom: 1px solid var(--line); }
.cmp-row { display: contents; }
.cmp-cell { padding: 20px 26px; border-bottom: 1px solid var(--line-2); font-size: 15px; display: flex; align-items: center; }
.cmp-cell.feature-name { font-weight: 600; color: var(--ink); }
.cmp-cell.old { color: var(--ink-4); }
.cmp-cell.new { background: rgba(124,58,237,0.055); font-weight: 600; color: var(--ink); }
.cmp-cell .x { color: #cbd0da; display: inline-flex; }
.cmp-cell .v { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-right: 10px; flex: none; }
.cmp-cell .v svg { width: 14px; height: 14px; }
.cmp-cell .xc { width: 24px; height: 24px; border-radius: 50%; background: #f1f2f5; color: #aab0bd; display: grid; place-items: center; margin-right: 10px; flex: none; }
.cmp-cell .xc svg { width: 13px; height: 13px; }
@media (max-width: 720px){ .cmp-cell, .cmp-head { padding: 15px 14px; font-size: 13.5px; } .cmp-head{ font-size: 14px; } }

/* ---------------- PRICING ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 32px;
  display: flex; flex-direction: column; position: relative; transition: transform .35s, box-shadow .35s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.price.pop { background: var(--bg-ink); color: #fff; border: none; box-shadow: var(--sh-xl); transform: scale(1.03); }
.price.pop:hover { transform: scale(1.03) translateY(-4px); }
.price-badge { position: absolute; top: 24px; right: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill); }
.price .pname { font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--indigo); }
.price.pop .pname { color: #a5b4fc; }
.price .pdesc { color: var(--ink-3); font-size: 14.5px; margin-top: 8px; line-height: 1.5; min-height: 44px; }
.price.pop .pdesc { color: rgba(255,255,255,0.6); }
.price .amount { display: flex; align-items: baseline; gap: 4px; margin: 24px 0 6px; }
.price .amount .cur { font-size: 24px; font-weight: 600; }
.price .amount .val { font-size: 52px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .amount .per { font-size: 15px; color: var(--ink-4); font-weight: 500; }
.price.pop .amount .per { color: rgba(255,255,255,0.55); }
.price .price-approx { font-size: 13.5px; color: var(--ink-4); font-weight: 500; margin: 0 0 2px; }
.price.pop .price-approx { color: rgba(255,255,255,0.55); }
.price li.li-more { font-weight: 650; color: var(--ink); }
.price.pop li.li-more { color: #fff; }
.price .btn { margin: 26px 0; width: 100%; }
.price.pop .btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.16); }
.price ul { list-style: none; display: grid; gap: 13px; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.price.pop li { color: rgba(255,255,255,0.82); }
.price li .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--grad-soft); color: var(--indigo); display: grid; place-items: center; flex: none; margin-top: 1px; }
.price.pop li .ck { background: rgba(165,180,252,0.18); color: #c4b5fd; }
.price li .ck svg { width: 12px; height: 12px; }
@media (max-width: 920px){ .price-grid{ grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .price.pop{ transform: none; } .price.pop:hover{ transform: translateY(-4px); } }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 800px; margin: 52px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.faq-q .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background .3s, transform .3s, border-color .3s; }
.faq-q .pm svg { width: 16px; height: 16px; color: var(--ink-3); transition: transform .35s, color .3s; }
.faq-item.open .faq-q .pm { background: var(--grad); border-color: transparent; }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.3,1); }
.faq-a-inner { padding: 0 4px 26px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 64ch; }

/* ---------------- FINAL CTA ---------------- */
.final { position: relative; }
.final-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--bg-ink); color: #fff; padding: clamp(56px, 8vw, 100px) clamp(28px, 6vw, 80px); text-align: center;
  box-shadow: var(--sh-xl);
}
.final-card::before { content:""; position:absolute; inset:0; z-index:0; background:
  radial-gradient(50% 70% at 20% 0%, rgba(109,40,217,0.42), transparent 60%),
  radial-gradient(50% 70% at 85% 100%, rgba(168,85,247,0.42), transparent 60%); }
.final-card::after { content:""; position:absolute; inset:0; z-index:0; opacity:.4;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%); }
.final-card > * { position: relative; z-index: 1; }
.final-card h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.035em; }
.final-card .lead { color: rgba(255,255,255,0.7); margin: 22px auto 0; max-width: 560px; }
.final-card .hero-cta { margin-top: 40px; }
.final-card .btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.18); backdrop-filter: blur(8px); }
.final-card .hero-note { color: rgba(255,255,255,0.55); margin-top: 24px; }

/* ---------------- FOOTER ---------------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 72px 36px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 36px 28px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--ink-3); font-size: 14.5px; line-height: 1.6; max-width: 30ch; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); transition: color .25s, transform .25s, box-shadow .25s; }
.foot-social a:hover { color: var(--indigo); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4); margin-bottom: 18px; font-weight: 600; }
.foot-col ul { list-style: none; display: grid; gap: 12px; }
.foot-col a { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.foot-col a:hover { color: var(--indigo); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-4); font-size: 13.5px; flex-wrap: wrap; }
.foot-bottom .links { display: flex; gap: 22px; }
@media (max-width: 980px){ .foot-grid{ grid-template-columns: 1fr 1fr 1fr; gap: 36px 24px; } .foot-brand{ grid-column: 1 / -1; } }
@media (max-width: 520px){ .foot-grid{ grid-template-columns: 1fr; } }
