:root {
  --bg: #f6f7f4;
  --ink: #0b1411;
  --muted: #5f6d66;
  --line: rgba(15, 43, 34, .12);
  --panel: #ffffff;
  --panel-2: #eef7f1;
  --green: #0f9f62;
  --green-2: #22c878;
  --blue: #1768d6;
  --amber: #f2b94b;
  --rose: #de5b68;
  --shadow: 0 22px 70px rgba(11, 20, 17, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(15, 159, 98, .10), transparent 34%),
    linear-gradient(240deg, rgba(23, 104, 214, .09), transparent 34%),
    var(--bg);
  line-height: 1.75;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 244, .84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  border-radius: 10px;
}

.brand b {
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: #9f1239;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(159, 18, 57, .24);
  transition: transform .2s, background .2s, box-shadow .2s;
}

.community-btn:hover {
  color: #fff;
  background: #881337;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(159, 18, 57, .30);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #0b7f55);
  box-shadow: 0 14px 34px rgba(15, 159, 98, .28);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 24px;
}

.icon-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.icon-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.lang-btn span {
  font-size: 21px;
  line-height: 1;
}

.section-pad {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100svh - 72px);
  padding-top: clamp(46px, 7vw, 86px);
  position: relative;
}

/* Hero content stays above bubbles */
.hero-copy,
.hero-console {
  position: relative;
  z-index: 1;
}

/* Floating background bubbles */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-bubbles span {
  position: absolute;
  border-radius: 50%;
  bottom: -60px;
  opacity: 0;
  animation: heroBubble linear infinite;
}

/* Bubble 1 – large green */
.hero-bubbles span:nth-child(1) {
  width: 56px; height: 56px;
  left: 6%;
  background: radial-gradient(circle at 35% 35%, rgba(15,159,98,.45), rgba(15,159,98,.12));
  border: 1.5px solid rgba(15,159,98,.55);
  box-shadow: 0 0 18px rgba(15,159,98,.22), inset 0 0 12px rgba(255,255,255,.12);
  animation-duration: 9s;
  animation-delay: 0s;
}

/* Bubble 2 – small blue */
.hero-bubbles span:nth-child(2) {
  width: 28px; height: 28px;
  left: 16%;
  background: radial-gradient(circle at 35% 35%, rgba(23,104,214,.42), rgba(23,104,214,.12));
  border: 1.5px solid rgba(23,104,214,.52);
  box-shadow: 0 0 14px rgba(23,104,214,.2), inset 0 0 8px rgba(255,255,255,.1);
  animation-duration: 12s;
  animation-delay: 2.5s;
}

/* Bubble 3 – medium green */
.hero-bubbles span:nth-child(3) {
  width: 42px; height: 42px;
  left: 26%;
  background: radial-gradient(circle at 35% 35%, rgba(34,200,120,.4), rgba(34,200,120,.1));
  border: 1.5px solid rgba(34,200,120,.5);
  box-shadow: 0 0 16px rgba(34,200,120,.2), inset 0 0 10px rgba(255,255,255,.1);
  animation-duration: 8s;
  animation-delay: 5s;
}

/* Bubble 4 – tiny blue */
.hero-bubbles span:nth-child(4) {
  width: 20px; height: 20px;
  left: 40%;
  background: radial-gradient(circle at 35% 35%, rgba(23,104,214,.48), rgba(23,104,214,.14));
  border: 1.5px solid rgba(23,104,214,.58);
  box-shadow: 0 0 12px rgba(23,104,214,.24);
  animation-duration: 14s;
  animation-delay: 1s;
}

/* Bubble 5 – medium-large green */
.hero-bubbles span:nth-child(5) {
  width: 50px; height: 50px;
  left: 58%;
  background: radial-gradient(circle at 35% 35%, rgba(15,159,98,.38), rgba(15,159,98,.1));
  border: 1.5px solid rgba(15,159,98,.5);
  box-shadow: 0 0 20px rgba(15,159,98,.2), inset 0 0 12px rgba(255,255,255,.1);
  animation-duration: 10s;
  animation-delay: 3s;
}

/* Bubble 6 – small blue */
.hero-bubbles span:nth-child(6) {
  width: 24px; height: 24px;
  left: 70%;
  background: radial-gradient(circle at 35% 35%, rgba(23,104,214,.44), rgba(23,104,214,.12));
  border: 1.5px solid rgba(23,104,214,.54);
  box-shadow: 0 0 14px rgba(23,104,214,.22);
  animation-duration: 11s;
  animation-delay: 6s;
}

/* Bubble 7 – large green */
.hero-bubbles span:nth-child(7) {
  width: 64px; height: 64px;
  left: 80%;
  background: radial-gradient(circle at 35% 35%, rgba(34,200,120,.35), rgba(34,200,120,.09));
  border: 1.5px solid rgba(34,200,120,.45);
  box-shadow: 0 0 24px rgba(34,200,120,.18), inset 0 0 14px rgba(255,255,255,.1);
  animation-duration: 9s;
  animation-delay: 1.5s;
}

/* Bubble 8 – medium blue */
.hero-bubbles span:nth-child(8) {
  width: 34px; height: 34px;
  left: 90%;
  background: radial-gradient(circle at 35% 35%, rgba(23,104,214,.4), rgba(23,104,214,.1));
  border: 1.5px solid rgba(23,104,214,.5);
  box-shadow: 0 0 16px rgba(23,104,214,.2);
  animation-duration: 13s;
  animation-delay: 4s;
}

@keyframes heroBubble {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 1; }
  50%  { transform: translateY(-50vh) translateX(18px); }
  90%  { opacity: .75; }
  100% { opacity: 0; transform: translateY(-110vh) translateX(-12px); }
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.meta-partner {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(23, 104, 214, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 34px rgba(23, 104, 214, .10);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.meta-partner img {
  width: auto;
  height: 32px;
  object-fit: contain;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 36px);
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.hero-text,
.calc-copy p,
.feature-card p,
.steps p,
.plan p,
.answer,
.footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 22px);
}

.services {
  align-items: start;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 34px 0 0;
}

.trust-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
}

.trust-strip dt {
  font-size: 22px;
  font-weight: 900;
}

.trust-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  background: #0d1713;
  box-shadow: var(--shadow);
  color: #ecfff5;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 200, 120, .34), transparent 68%);
}

.console-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--green-2);
}

.console-top b {
  margin-inline-start: auto;
  font-size: 13px;
  color: rgba(236, 255, 245, .74);
}

.console-body {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
}

.metric-card,
.chat-flow,
.pipeline {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}

.metric-card {
  display: grid;
  gap: 4px;
  padding: 22px;
}

.metric-card span,
.metric-card small {
  color: rgba(236, 255, 245, .68);
}

.metric-card strong {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.chat-flow {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bubble {
  width: fit-content;
  max-width: 78%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  animation-fill-mode: forwards;
  transition: background 0.3s ease;
}

.bubble.client {
  margin-inline-start: auto;
  background: rgba(255, 255, 255, .13);
  animation: chatLoopClient 8s infinite ease-in-out;
}

.bubble.bot {
  background: rgba(34, 200, 120, .2);
  animation: chatLoopBot 8s infinite ease-in-out;
}

.bubble.action {
  justify-self: center;
  color: #111;
  background: #d7ffe8;
  font-weight: 800;
  animation: chatLoopAction 8s infinite ease-in-out;
}

@keyframes chatLoopClient {
  0%, 5.9% { 
    opacity: 0; 
    transform: translateY(12px) scale(0.96); 
  }
  6%, 90% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
  91%, 100% { 
    opacity: 0; 
    transform: translateY(-8px) scale(0.98); 
  }
}

@keyframes chatLoopBot {
  0%, 30.9% { 
    opacity: 0; 
    transform: translateY(12px) scale(0.96); 
  }
  31%, 90% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
  91%, 100% { 
    opacity: 0; 
    transform: translateY(-8px) scale(0.98); 
  }
}

@keyframes chatLoopAction {
  0%, 55.9% { 
    opacity: 0; 
    transform: translateY(12px) scale(0.96); 
  }
  56%, 90% { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
  91%, 100% { 
    opacity: 0; 
    transform: translateY(-8px) scale(0.98); 
  }
}

.pipeline {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.pipeline div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.pipeline span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-2) var(--w), rgba(255, 255, 255, .12) var(--w));
}

.pipeline b {
  color: rgba(236, 255, 245, .76);
  font-size: 12px;
}

/* ── Logo Band / Integration Spoke Diagram ───────────── */
.logo-band {
  padding: 20px clamp(40px, 8vw, 140px) 26px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(11, 20, 17, .07), 0 -2px 12px rgba(11, 20, 17, .04);
  text-align: center;
}

.integration-section {
  padding-block: clamp(64px, 8vw, 100px);
}

.integration-title {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.25;
}

.lb-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Spoke Diagram Container */
.spoke-container {
  --radius: 180px;
  position: relative;
  width: min(100%, 540px);
  height: 480px;
  margin: 40px auto 0;
}

@media (max-width: 600px) {
  .spoke-container {
    --radius: 105px;
    height: 320px;
  }
}

/* Central Hub */
.spoke-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 35% 30%, #fff, #ecf7f1);
  border: 1px solid rgba(15, 159, 98, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(15, 159, 98, 0.15), inset 0 0 12px rgba(255,255,255,0.8);
  z-index: 10;
  animation: hubFloat 6s ease-in-out infinite;
}

.spoke-hub img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
}

@keyframes hubFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-6px); }
}

@media (max-width: 600px) {
  .spoke-hub {
    width: 70px;
    height: 70px;
  }
  .spoke-hub img {
    width: 38px;
    height: 38px;
  }
}

/* Connector Lines */
.spoke-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--radius);
  height: 1px;
  background: linear-gradient(90deg, var(--line-color, var(--green)), rgba(255,255,255,0));
  transform-origin: left center;
  transform: rotate(var(--angle));
  z-index: -2;
  pointer-events: none;
}

.spoke-line::after {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 16px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--line-color, var(--green));
  animation: spokePulse 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-delay: var(--delay, 0s);
}

@keyframes spokePulse {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Outer Nodes */
.spoke-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(var(--radius)) rotate(calc(-1 * var(--angle)));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 43, 34, 0.15);
  border-radius: 99px;
  color: var(--ink) !important;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 5;
  cursor: default;
}

a.spoke-node { cursor: pointer; }
a.spoke-node:link,
a.spoke-node:visited { color: var(--ink) !important; }

.spoke-node::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bc, var(--green));
  box-shadow: 0 0 6px var(--bc, var(--green));
  transition: transform 0.22s ease;
}

/* Hover States */
.spoke-node:hover {
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(calc(var(--radius) + 6px)) rotate(calc(-1 * var(--angle))) scale(1.05);
  background: #fff;
  border-color: var(--bc, var(--green));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 10px rgba(15, 159, 98, 0.1);
}

.spoke-node:hover::before {
  transform: scale(1.35);
}

@media (max-width: 600px) {
  .spoke-node {
    padding: 6px 12px;
    font-size: 11.5px;
  }
}

/* Tooltips */
.spoke-node::after {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 7px 13px;
  border-radius: 9px;
  background: rgba(6, 20, 14, .92);
  color: #ecfff5;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 20;
  backdrop-filter: blur(8px);
}

html[lang="ar"] .spoke-node::after { content: attr(data-tip-ar); }
html[lang="en"] .spoke-node::after { content: attr(data-tip-en); }

.spoke-node:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
}

.services {
  display: block;
}

.services > div:first-child {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.services h2 {
  max-width: 780px;
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.steps li,
.plan,
.calculator,
.proof-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 10px 34px rgba(11, 20, 17, .06);
}

.feature-card {
  position: relative;
  isolation: isolate;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 12%, rgba(36, 196, 125, .16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(245, 250, 247, .78));
}

.feature-card::after {
  content: "";
  position: absolute;
  inset-block: 18px;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), rgba(15, 81, 56, .25));
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 196, 125, .42);
  box-shadow: 0 18px 48px rgba(11, 20, 17, .1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #0f5138);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(13, 23, 19, .16);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.85;
}

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

.packages .section-head {
  max-width: 680px;
}

.packages .section-head h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.32;
}

.journey {
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), rgba(238, 247, 241, .64));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.calculator-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.calc-copy {
  text-align: start;
}

.calc-copy h2,
.calc-copy p {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.calculator {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: start;
}

@media (max-width: 600px) {
  .calc-inputs {
    grid-template-columns: 1fr;
  }
}

.calculator label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.calculator select,
.calculator input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

.type-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.type-tabs button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.type-tabs button.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.calc-result {
  display: grid;
  gap: 2px;
  padding: 20px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #0d1713, #0f5138);
}

.calc-result span,
.calc-result small {
  color: rgba(255, 255, 255, .72);
}

.calc-result strong {
  font-size: 38px;
  line-height: 1.1;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
}

.plan.featured {
  color: #fff;
  background: linear-gradient(145deg, #0d1713, #113e2d);
  box-shadow: var(--shadow);
}

.plan.featured p,
.plan.featured li {
  color: rgba(255, 255, 255, .76);
}

.plan strong {
  font-size: 28px;
}

.plan ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li {
  color: var(--muted);
}

.plan li::before {
  content: "✓";
  margin-inline-end: 8px;
  color: var(--green);
  font-weight: 900;
}

.plan-tag {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0d1713;
  background: #d7ffe8;
  font-size: 12px;
  font-weight: 900;
}

.custom-wrap {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.custom-wrap p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.price-currency,
.price-period {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

.price-starting {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: -4px;
}

.plan.featured .price-starting,
.plan.featured .price-currency,
.plan.featured .price-period {
  color: rgba(255, 255, 255, .72);
}

.proof {
  padding-top: 0;
}

.proof-card {
  display: grid;
  gap: 26px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 104, 214, .88), rgba(15, 159, 98, .9)),
    #0d1713;
}

.quote {
  max-width: 860px;
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.28;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: start;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.bento-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}

.bento-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Mockups Inside Cards */
.mockup-list {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.mockup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.agent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.agent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c878;
}

.agent-dot.orange {
  background: #f2b94b;
}

.status-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(34, 200, 120, 0.2);
  color: #22c878;
}

.status-badge.orange {
  background: rgba(242, 185, 75, 0.2);
  color: #f2b94b;
}

.status-badge.gray {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

/* Toggles Mockup */
.mockup-toggles {
  display: grid;
  gap: 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}

.toggle-switch {
  width: 36px;
  height: 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: #22c878;
  box-shadow: 0 0 10px rgba(34, 200, 120, 0.5);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(16px);
}

/* Stats Mockup */
.mockup-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-box {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-value {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-stars {
  font-size: 16px;
  color: #f2b94b;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.proof-desc {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
  font-weight: 500;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: start;
  font-weight: 900;
}

.faq-item button::after {
  content: "+";
  float: left;
  font-size: 24px;
}

.faq-item.open button::after {
  content: "−";
}

.answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open .answer {
  display: block;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 4vw, 56px) clamp(28px, 5vw, 60px);
  padding: clamp(26px, 5vw, 52px);
  border-radius: 18px;
  color: #fff;
  background: #0d1713;
}

.final-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(22px, 3.2vw, 36px);
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer {
  padding: clamp(34px, 5vw, 60px) clamp(18px, 4vw, 56px) 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .48);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(22px, 4vw, 54px);
}

.footer-brand p {
  max-width: 390px;
  margin: 16px 0 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.social-links a:hover {
  color: var(--ink);
  border-color: rgba(15, 43, 34, .24);
  background: #fff;
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-col h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.footer a {
  font-weight: 900;
}

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

.footer-bottom {
  margin-top: 34px;
  font-size: 13px;
  text-align: center;
}

.footer-bottom p {
  margin: 0 auto;
  max-width: 1100px;
}

@media (max-width: 980px) {
  .icon-btn {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hero,
  .split,
  .calculator-wrap {
    grid-template-columns: 1fr;
  }

  .calc-copy {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
  }

  .calc-copy h2,
  .calc-copy p {
    margin-inline: auto;
  }

  .calculator {
    margin: 0 auto;
    width: min(100%, 720px);
  }

  .steps,
  .feature-grid,
  .package-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .final-actions,
  .final-cta,
  .footer,
  .custom-wrap {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip,
  .feature-grid,
  .steps,
  .package-grid,
  .proof-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .type-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn {
    width: 100%;
  }
}

/* ============================================================
   PLANET CONNECTION VISUALIZER SECTION
   ============================================================ */

.connect-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(ellipse at 15% 55%, rgba(15, 159, 98, .2), transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(23, 104, 214, .16), transparent 50%),
    radial-gradient(ellipse at 50% 95%, rgba(242, 185, 75, .08), transparent 40%),
    #060e0a;
  color: #ecfff5;
}

.connect-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at  8% 12%, rgba(255,255,255,.75) 0%, transparent 100%),
    radial-gradient(1px   1px   at 15% 58%, rgba(255,255,255,.50) 0%, transparent 100%),
    radial-gradient(2px   2px   at 22% 28%, rgba(255,255,255,.60) 0%, transparent 100%),
    radial-gradient(1px   1px   at 31% 78%, rgba(255,255,255,.40) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 41% 18%, rgba(255,255,255,.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 48% 90%, rgba(255,255,255,.50) 0%, transparent 100%),
    radial-gradient(1px   1px   at 55% 44%, rgba(255,255,255,.60) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 63%  8%, rgba(255,255,255,.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 71% 65%, rgba(255,255,255,.40) 0%, transparent 100%),
    radial-gradient(1px   1px   at 79% 34%, rgba(255,255,255,.60) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 82%, rgba(255,255,255,.50) 0%, transparent 100%),
    radial-gradient(1px   1px   at 92% 19%, rgba(255,255,255,.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 97% 54%, rgba(255,255,255,.40) 0%, transparent 100%),
    radial-gradient(1px   1px   at  3% 93%, rgba(255,255,255,.60) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 36% 96%, rgba(255,255,255,.50) 0%, transparent 100%),
    radial-gradient(1px   1px   at 61%  4%, rgba(255,255,255,.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 83% 47%, rgba(255,255,255,.35) 0%, transparent 100%),
    radial-gradient(1px   1px   at 18% 36%, rgba(255,255,255,.30) 0%, transparent 100%),
    radial-gradient(1px   1px   at 50% 72%, rgba(255,255,255,.60) 0%, transparent 100%),
    radial-gradient(1px   1px   at 69% 88%, rgba(255,255,255,.50) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25%  6%, rgba(255,255,255,.65) 0%, transparent 100%),
    radial-gradient(1px   1px   at 44% 52%, rgba(255,255,255,.30) 0%, transparent 100%),
    radial-gradient(1px   1px   at 75% 14%, rgba(255,255,255,.55) 0%, transparent 100%),
    radial-gradient(1px   1px   at 90% 70%, rgba(255,255,255,.40) 0%, transparent 100%),
    radial-gradient(2px   2px   at 57% 24%, rgba(255,255,255,.25) 0%, transparent 100%);
}

.connect-section .section-head { position: relative; z-index: 1; }

.connect-eyebrow { color: var(--green-2) !important; }

.connect-section h2 { color: #ecfff5; }

.connect-sub {
  color: rgba(236, 255, 245, .65);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 580px;
  margin: 0 auto;
}

/* --- Planet Arena --- */
.planet-arena {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(28px, 7vw, 100px);
  padding: clamp(48px, 8vw, 100px) 0 clamp(36px, 5vw, 60px);
  position: relative;
  z-index: 1;
  transition: gap .5s ease;
}

.planet-arena.has-active { gap: clamp(16px, 4vw, 60px); }

/* --- Planet Item --- */
.planet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition:
    transform .5s cubic-bezier(.34, 1.56, .64, 1),
    opacity   .4s ease,
    filter    .4s ease;
  -webkit-tap-highlight-color: transparent;
}

.planet-item:focus-visible .p-core {
  outline: 2px solid rgba(255, 255, 255, .55);
  outline-offset: 6px;
  border-radius: 50%;
}

.planet-arena.has-active .planet-item:not(.active) {
  transform: scale(.68);
  opacity: .32;
  filter: blur(3px);
}

.planet-arena.has-active .planet-item.active { transform: scale(1.1); }

/* --- Badge --- */
.p-badge {
  position: absolute;
  top: -18px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f2b94b, #c8921e);
  color: #1a0e00;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(242, 185, 75, .45);
  z-index: 10;
}

/* --- Orbit System --- */
.p-orbit {
  position: absolute;
  inset: -48px;
  pointer-events: none;
}

/* --- Rings --- */
.p-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .07);
}

.planet-item[data-planet="qr"]     .p-ring { border-color: rgba(100, 180, 255, .18); }
.planet-item[data-planet="hybrid"] .p-ring { border-color: rgba(242, 185,  75, .18); }
.planet-item[data-planet="api"]    .p-ring { border-color: rgba( 34, 200, 120, .18); }

.planet-item.active[data-planet="qr"]     .p-ring { border-color: rgba(100, 180, 255, .38); }
.planet-item.active[data-planet="hybrid"] .p-ring { border-color: rgba(242, 185,  75, .38); }
.planet-item.active[data-planet="api"]    .p-ring { border-color: rgba( 34, 200, 120, .38); }

.p-ring.r1 { animation: pRing1 8s  linear infinite; }
.p-ring.r2 { animation: pRing2 13s linear infinite reverse; inset: 8px; }
.p-ring.r3 { animation: pRing1 18s linear infinite; inset: 14px; }

@keyframes pRing1 {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to   { transform: rotateX(72deg) rotateZ(360deg); }
}

@keyframes pRing2 {
  from { transform: rotateX(55deg) rotateY(30deg) rotateZ(0deg); }
  to   { transform: rotateX(55deg) rotateY(30deg) rotateZ(360deg); }
}

/* --- Satellites --- */
.p-sat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -12px 0 0 -12px;
}

.p-sat.s1 { animation: satOrb 7s  linear infinite;         --sor: 72px; }
.p-sat.s2 { animation: satOrb 11s linear infinite reverse; animation-delay: -4s;  --sor: 82px; }
.p-sat.s3 { animation: satOrb 15s linear infinite;         animation-delay: -7s;  --sor: 66px; }

@keyframes satOrb {
  0%   { transform: rotate(0deg)   translateX(var(--sor, 72px)) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(var(--sor, 72px)) rotate(-360deg); }
}

/* --- Planet Core --- */
.p-core {
  position: relative;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  animation: pFloat 4.5s ease-in-out infinite;
}

.planet-item.featured    .p-core { animation-delay: -1.8s; }
.planet-item:last-child  .p-core { animation-delay: -3.4s; }
.planet-item.active      .p-core { animation-play-state: paused; }

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

.planet-item[data-planet="qr"] .p-core {
  background: radial-gradient(circle at 35% 30%, #1e4a9a, #060b22);
  box-shadow: 0 0 32px rgba(23, 104, 214, .55), 0 0 72px rgba(23, 104, 214, .22), inset 0 0 32px rgba(100, 180, 255, .1);
}

.planet-item[data-planet="hybrid"] .p-core {
  background: radial-gradient(circle at 35% 30%, #a07322, #2a1600);
  box-shadow: 0 0 32px rgba(242, 185, 75, .55), 0 0 72px rgba(242, 185, 75, .22), inset 0 0 32px rgba(242, 185, 75, .1);
}

.planet-item[data-planet="api"] .p-core {
  background: radial-gradient(circle at 35% 30%, #0d6840, #020f08);
  box-shadow: 0 0 32px rgba(34, 200, 120, .55), 0 0 72px rgba(34, 200, 120, .22), inset 0 0 32px rgba(34, 200, 120, .1);
}

.planet-item.active[data-planet="qr"] .p-core {
  box-shadow: 0 0 64px rgba(23, 104, 214, .95), 0 0 130px rgba(23, 104, 214, .42), 0 0 0 3px rgba(100, 180, 255, .35);
}

.planet-item.active[data-planet="hybrid"] .p-core {
  box-shadow: 0 0 64px rgba(242, 185, 75, .95), 0 0 130px rgba(242, 185, 75, .42), 0 0 0 3px rgba(242, 185, 75, .42);
}

.planet-item.active[data-planet="api"] .p-core {
  box-shadow: 0 0 64px rgba(34, 200, 120, .95), 0 0 130px rgba(34, 200, 120, .42), 0 0 0 3px rgba(34, 200, 120, .42);
}

/* --- SVG simulation --- */
.p-sim {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 76%;
  transform: translate(-50%, -50%);
  overflow: visible;
}

/* --- Glass highlight --- */
.p-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, rgba(255, 255, 255, .22), transparent 58%);
  pointer-events: none;
}

/* --- Particles --- */
.p-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.p-particles i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0;
  margin: -3.5px 0 0 -3.5px;
}

.planet-item[data-planet="qr"]     .p-particles i { background: #64b4ff; box-shadow: 0 0 6px #64b4ff; }
.planet-item[data-planet="hybrid"] .p-particles i { background: #f2b94b; box-shadow: 0 0 6px #f2b94b; }
.planet-item[data-planet="api"]    .p-particles i { background: #22c878; box-shadow: 0 0 6px #22c878; }

.planet-item.active .p-particles i:nth-child(1) { animation: pBurst .9s .00s forwards; --pa:   0deg; }
.planet-item.active .p-particles i:nth-child(2) { animation: pBurst .9s .06s forwards; --pa:  45deg; }
.planet-item.active .p-particles i:nth-child(3) { animation: pBurst .9s .12s forwards; --pa:  90deg; }
.planet-item.active .p-particles i:nth-child(4) { animation: pBurst .9s .18s forwards; --pa: 135deg; }
.planet-item.active .p-particles i:nth-child(5) { animation: pBurst .9s .24s forwards; --pa: 180deg; }
.planet-item.active .p-particles i:nth-child(6) { animation: pBurst .9s .30s forwards; --pa: 225deg; }
.planet-item.active .p-particles i:nth-child(7) { animation: pBurst .9s .36s forwards; --pa: 270deg; }
.planet-item.active .p-particles i:nth-child(8) { animation: pBurst .9s .42s forwards; --pa: 315deg; }

@keyframes pBurst {
  0%   { opacity: 1;  transform: rotate(var(--pa)) translateX(0); }
  70%  { opacity: .8; transform: rotate(var(--pa)) translateX(92px); }
  100% { opacity: 0;  transform: rotate(var(--pa)) translateX(115px); }
}

/* --- Planet Label --- */
.p-label {
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-label h3 {
  margin: 0 0 5px;
  font-size: clamp(14px, 1.8vw, 18px);
}

.p-label span {
  font-size: 13px;
  color: rgba(236, 255, 245, .52);
  font-weight: 600;
}

.planet-item[data-planet="qr"]     .p-label h3 { color: rgba(100, 180, 255, .95); }
.planet-item[data-planet="hybrid"] .p-label h3 { color: rgba(242, 185,  75, .95); }
.planet-item[data-planet="api"]    .p-label h3 { color: rgba( 34, 200, 120, .95); }

/* --- SVG Inner Animations --- */
.qr-laser { animation: laserScan 2.4s ease-in-out infinite; }

@keyframes laserScan {
  0%   { transform: translateY(-42px); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translateY( 42px); opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY( 42px); opacity: 0; }
}

.hflow1 { animation: flowPulse 1.6s ease-in-out infinite; }
.hflow2 { animation: flowPulse 1.6s ease-in-out infinite .8s; }

@keyframes flowPulse {
  0%, 100% { opacity: .28; transform: scale(.65); }
  50%       { opacity: 1;   transform: scale(1.45); }
}

.abeam {
  animation: beamFlow 2s ease-in-out infinite;
  stroke-dasharray: 5 4;
}

.abeam2 {
  animation: beamFlow 2.6s ease-in-out infinite reverse;
  stroke-dasharray: 3 3;
}

@keyframes beamFlow {
  0%   { stroke-dashoffset: 0;   opacity: .55; }
  50%  { opacity: 1; }
  100% { stroke-dashoffset: -18; opacity: .55; }
}

/* --- Detail Panel --- */
.planet-detail-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(0px, 2vw, 24px);
  position: relative;
  z-index: 1;
  min-height: 10px;
}

/* ── Footer Bottom Bar ───────────────────────────────── */
.footer-bottom {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px clamp(18px, 4vw, 52px);
}

.fb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

/* — Left: VAT cert — */
.fb-cert { flex-shrink: 0; }

.footer-vat-img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: .88;
  transition: opacity .2s ease;
}

.footer-vat-img:hover { opacity: 1; }

/* — Center: Copyright — */
.fb-copy {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.fb-copy-main {
  margin: 0 0 5px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.55;
}

.fb-copy-nums {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.fb-sep { opacity: .4; }

/* — Right: Trust badge — */
.fb-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.footer-trust-img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: .88;
  transition: opacity .2s ease;
}

.footer-trust-img:hover { opacity: 1; }


.footer-trust-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .fb-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .fb-copy  { width: 100%; order: 3; }
  .fb-cert  { order: 1; }
  .fb-trust { order: 2; }
}

.planet-detail {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: clamp(24px, 4vw, 44px);
  animation: detailUp .45s cubic-bezier(.34, 1.4, .64, 1) forwards;
}

@keyframes detailUp {
  from { opacity: 0; transform: translateY(28px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.pd-inner {
  display: flex;
  gap: clamp(20px, 4vw, 52px);
  align-items: flex-start;
  flex-wrap: wrap;
}

.pd-content { flex: 1; min-width: 240px; }

.pd-title {
  font-size: clamp(18px, 2.6vw, 26px);
  color: #ecfff5;
  margin: 0 0 10px;
  line-height: 1.3;
}

.pd-tagline {
  color: rgba(236, 255, 245, .62);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.75;
}

.pd-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.pd-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(236, 255, 245, .88);
  font-size: 15px;
  line-height: 1.55;
}

.pd-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid var(--planet-color, #0f9f62);
  color: var(--planet-color, #22c878);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.pd-action {
  display: flex;
  align-items: center;
  padding-top: 4px;
  flex-shrink: 0;
}

.pd-action .btn { white-space: nowrap; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .planet-arena { gap: clamp(18px, 4vw, 44px); }
  .p-core { width: 136px; height: 136px; }
  .p-orbit { inset: -36px; }
}

@media (max-width: 680px) {
  .planet-arena {
    flex-direction: column;
    align-items: center;
    gap: 52px;
    padding-bottom: 40px;
  }

  .planet-item {
    flex-direction: row;
    gap: 20px;
    max-width: 360px;
    width: 100%;
  }

  .planet-arena.has-active .planet-item:not(.active) {
    transform: scale(.86);
    filter: blur(1px);
    opacity: .48;
  }

  .planet-arena.has-active .planet-item.active { transform: scale(1.04); }

  .p-core   { width: 110px; height: 110px; }
  .p-orbit  { inset: -26px; }
  .p-label  { text-align: start; }

  .p-badge {
    inset-inline-start: 0;
    transform: none;
    top: -12px;
  }

  .pd-inner      { flex-direction: column; }
  .pd-action     { width: 100%; }
  .pd-action .btn { width: 100%; justify-content: center; }
}
