/* =========================================================
   CUSTOM.CSS — Page-specific styles only (pricing/how-it-works page).
   global.css must be loaded before this file.
   ========================================================= */

/* This page uses padding-top: 105px for the taller nav offset */
body { padding-top: 105px; }


/* ── Pricing Hero ── */
.pricing-hero {
  position: relative;
  padding: clamp(40px, 18vw, 0px) 20px clamp(80px, 10vw, 120px);
  margin-top: 4rem;
  overflow: hidden;
}

.pricing-hero__container {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.pricing-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(24, 201, 255, 0.40);
  background: rgba(0, 0, 0, 0.20);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
}

.pricing-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 10px var(--accent-glow);
}

.pricing-hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 22px;
}

.pricing-hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 540px;
  margin: 18px auto 0;
}

/* Star positions */
.star-field .star:nth-child(1)  { top: 10%; left: 15%; animation-delay: 0.2s; }
.star-field .star:nth-child(2)  { top: 18%; left: 60%; animation-delay: 1.1s; }
.star-field .star:nth-child(3)  { top: 25%; left: 35%; animation-delay: 2.4s; }
.star-field .star:nth-child(4)  { top: 30%; left: 80%; animation-delay: 0.7s; }
.star-field .star:nth-child(5)  { top: 38%; left: 20%; animation-delay: 3.2s; }
.star-field .star:nth-child(6)  { top: 45%; left: 50%; animation-delay: 1.8s; }
.star-field .star:nth-child(7)  { top: 52%; left: 72%; animation-delay: 0.4s; }
.star-field .star:nth-child(8)  { top: 58%; left: 28%; animation-delay: 2.7s; }
.star-field .star:nth-child(9)  { top: 65%; left: 10%; animation-delay: 1.3s; }
.star-field .star:nth-child(10) { top: 68%; left: 90%; animation-delay: 3.6s; }
.star-field .star:nth-child(11) { top: 75%; left: 42%; animation-delay: 0.9s; }
.star-field .star:nth-child(12) { top: 82%; left: 65%; animation-delay: 2.1s; }
.star-field .star:nth-child(13) { top: 85%; left: 18%; animation-delay: 3.9s; }
.star-field .star:nth-child(14) { top: 88%; left: 78%; animation-delay: 1.6s; }
.star-field .star:nth-child(15) { top: 92%; left: 33%; animation-delay: 0.3s; }
.star-field .star:nth-child(16) { top: 12%; left: 90%; animation-delay: 2.9s; }
.star-field .star:nth-child(17) { top: 22%; left: 5%;  animation-delay: 1.5s; }
.star-field .star:nth-child(18) { top: 40%; left: 95%; animation-delay: 3.1s; }
.star-field .star:nth-child(19) { top: 55%; left: 5%;  animation-delay: 0.6s; }
.star-field .star:nth-child(20) { top: 70%; left: 85%; animation-delay: 2.0s; }


/* ── Pricing Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  gap: 32px;
  justify-content: center;
  width: min(1000px, 100%);
  margin: clamp(48px, 6vw, 72px) auto 0;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(24, 201, 255, 0.18);
  border-radius: 24px;
  padding: 40px 32px 36px;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 22px rgba(11, 60, 255, 0.25),
    0 0 60px rgba(11, 60, 255, 0.10);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 30px rgba(11, 60, 255, 0.35),
    0 0 80px rgba(11, 60, 255, 0.15);
}

.card--featured {
  border-color: rgba(24, 201, 255, 0.45);
  box-shadow:
    0 0 35px rgba(24, 201, 255, 0.35),
    0 0 80px rgba(11, 60, 255, 0.25),
    0 0 120px rgba(11, 60, 255, 0.12);
}

.card--featured:hover {
  box-shadow:
    0 0 45px rgba(24, 201, 255, 0.45),
    0 0 100px rgba(11, 60, 255, 0.30),
    0 0 140px rgba(11, 60, 255, 0.15);
}

.card__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--btn-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(24, 201, 255, 0.35);
}

.card__header { margin-bottom: 4px; }

.card__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--text-primary);
  margin-top: 6px;
}

.card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 16px;
}

.card__dollar {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
  margin-top: 6px;
}

.card__amount {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 58px);
  font-weight: 400;
  line-height: 1;
  color: var(--text-primary);
}

.card__period {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--muted);
  margin-left: 2px;
}

.card__note {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 20px;
}

.card__divider {
  height: 2px;
  margin: 24px 0;
  background: linear-gradient(90deg, rgba(24, 201, 255, 0.4), rgba(11, 60, 255, 0.2), transparent);
  border-radius: 2px;
}

.card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

.card__feature--yes { color: var(--text-secondary); }
.card__feature--no  { color: var(--text-subtle); }

.card__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(24, 201, 255, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.card__x {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-glass);
  color: var(--text-subtle);
  font-size: 12px;
}

.card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(24, 201, 255, 0.35);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.card__btn:hover {
  background: rgba(24, 201, 255, 0.08);
  border-color: rgba(24, 201, 255, 0.55);
  transform: translateY(-1px);
}

.card__btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: transparent;
  color: var(--btn-white);
}

.card__btn--primary:hover {
  filter: brightness(1.1);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}


/* ── How It Works ── */
.how {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 20px;
  overflow: hidden;
}

.how__container {
  width: min(750px, 100%);
  margin: 0 auto;
  text-align: center;
}

.how__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(24, 201, 255, 0.40);
  background: rgba(0, 0, 0, 0.20);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
}

.how__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 0 10px var(--accent-glow);
}

.how__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--text-primary);
  margin-top: 22px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.how__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.how__intro {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: -16px auto clamp(36px, 5vw, 52px);
  padding-top: 2rem;
}

.how__subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text);
  margin-top: clamp(56px, 7vw, 80px);
  margin-bottom: 8px;
  text-align: center;
}

/* Plan comparison paths */
.plan-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
  text-align: left;
}

.plan-path {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(24, 201, 255, 0.15);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.plan-path--featured {
  border-color: rgba(24, 201, 255, 0.40);
  box-shadow:
    0 0 25px rgba(24, 201, 255, 0.20),
    0 0 60px rgba(11, 60, 255, 0.10);
}

.plan-path__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-primary);
}

.plan-path__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 20px;
}

.plan-path__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-dim);
}

.plan-path__list li {
  padding-left: 22px;
  color: var(--text-secondary);
  position: relative;
}

.plan-path__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 620px) { .plan-paths { grid-template-columns: 1fr; } }

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.timeline__step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
}

.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--btn-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  box-shadow:
    0 0 20px rgba(24, 201, 255, 0.4),
    0 0 50px rgba(11, 60, 255, 0.2);
  flex-shrink: 0;
}

.timeline__line {
  display: block;
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(180deg, rgba(24,201,255,0.5), rgba(11,60,255,0.15), transparent);
  margin: 8px 0;
}

.timeline__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(24, 125, 255, 0.45);
  border-radius: 18px;
  padding: 28px 28px 32px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.timeline__card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-primary);
  margin-bottom: 10px;
}

.timeline__card-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 15px);
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .timeline__step { grid-template-columns: 48px 1fr; gap: 16px; }
  .timeline__num  { width: 44px; height: 44px; font-size: 14px; }
  .timeline__card { padding: 22px 20px 26px; }
}


/* ── Quick Answers (FAQ) ── */
.quick {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 20px;
  overflow: hidden;
}

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

.quick__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 48px);
  flex-wrap: wrap;
}

.quick__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--text-primary);
}

.quick__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quick__link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 200ms ease;
  white-space: nowrap;
}

.quick__link:hover { color: var(--btn-white); }

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
}

.accordion__item { position: relative; }

.accordion__item::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(24,201,255,0.55), rgba(11,60,255,0.35), transparent);
  border-radius: 2px;
}

.accordion__item:last-child::after { display: none; }

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 600;
  transition: color 200ms ease;
}

.accordion__btn:hover { color: var(--accent); }

.accordion__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(24, 201, 255, 0.3);
  transition: transform 300ms ease, border-color 300ms ease;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  border-radius: 2px;
}

.accordion__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }

.accordion__icon::after { width: 2px; height: 12px; transform: translate(-50%, -50%); transition: transform 300ms ease, opacity 300ms ease; }

.accordion__item.is-open .accordion__icon { border-color: rgba(24, 201, 255, 0.6); }

.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.accordion__body { max-height: 0; overflow: hidden; transition: max-height 400ms ease; }

.accordion__body p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 15px);
  line-height: 1.75;
  color: var(--text-secondary);
  padding: 0 4px 22px;
}


/* ── CTA Card ── */
.cta { padding: clamp(60px, 7vw, 110px) 18px; background: transparent; }

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

.cta__card {
  position: relative;
  padding: 2rem;
  width: 100%;
  border-radius: clamp(26px, 3vw, 46px);
  text-align: center;
  background:
    radial-gradient(900px 700px at 50% 105%, rgba(120,235,255,0.70) 0%, rgba(120,235,255,0.25) 35%, rgba(120,235,255,0.00) 70%),
    linear-gradient(90deg, rgba(24,201,255,0.22) 0%, rgba(24,201,255,0.10) 45%, rgba(24,201,255,0.22) 100%),
    linear-gradient(180deg, #0051ff 10%, #0042dd 30%, #0A2E93 68%, #119ea8 140%);
  border: 1px solid rgba(24,201,255,0.55);
  box-shadow: 0 0 0 1px var(--accent-glow) inset, 0 28px 70px rgba(0,0,0,0.55), 0 0 55px var(--accent-glow);
}

.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("../images/vectors/code-symbol.svg"), url("../images/vectors/code-symbol.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: right -30px top -30px, left -40px bottom -40px;
  background-size: clamp(120px, 16vw, 190px), clamp(170px, 22vw, 100px);
  opacity: 0.62;
  mix-blend-mode: screen;
}

.cta__card::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(1200px 500px at 50% 120%, rgba(0,0,0,0.35), transparent 60%), radial-gradient(1200px 500px at 50% -20%, rgba(0,0,0,0.25), transparent 60%); opacity: 0.55; }

.cta__card > * { position: relative; z-index: 1; }

.cta__title { margin: 0 0 18px; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(30px, 4.8vw, 64px); color: var(--text-primary); }

.cta__subtext { margin: 0 auto 28px; max-width: 820px; line-height: 1.7; font-size: clamp(14px, 1.25vw, 18px); color: var(--text-secondary); }

.cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.95); color: rgba(0,86,210,0.95); font-size: var(--fs-xs); text-decoration: none; border: 1px solid rgba(255,255,255,0.60); box-shadow: 0 14px 30px rgba(0,0,0,0.35); transition: transform 180ms ease, filter 180ms ease; }

.cta__btn:hover  { transform: translateY(-1px); filter: brightness(1.02); }
.cta__btn:active { transform: translateY(0);    filter: brightness(0.98); }

.cta__btn-icon { width: 24px; height: 24px; border-radius: var(--radius-pill); display: grid; place-items: center; background: linear-gradient(180deg, rgba(24,201,255,0.95), rgba(11,60,255,0.95)); color: var(--btn-white); box-shadow: 0 10px 18px rgba(0,0,0,0.22), 0 0 0 1px var(--line-strong) inset; font-size: 12px; }

@media (max-width: 600px) {
  .cta__subtext br { display: none; }
  .cta__card::before { background-position: right -40px top -40px, left -55px bottom -55px; background-size: clamp(110px, 26vw, 170px), clamp(140px, 34vw, 210px); opacity: 0.65; }
}


/* ── Approach neon bubbles ── */
.approach { position: relative; overflow: hidden; }

.approach .why__bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; contain: layout style paint; }

.approach__container { position: relative; z-index: 2; }

.approach .why__bubbles .bubble {
  position: absolute;
  display: block;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 2px solid rgba(24,201,255,0.75);
  box-shadow: 0 0 18px rgba(24,201,255,0.45), 0 0 45px rgba(11,60,255,0.35), 0 0 90px rgba(11,60,255,0.22);
  outline: 1px solid rgba(11,60,255,0.35);
  outline-offset: -10px;
  filter: saturate(1.15);
  animation: bubbleFloat 10s ease-in-out infinite;
  will-change: transform;
}

.approach .why__bubbles .bubble--l1 { width: 240px; height: 240px; left: -120px; top: 18%; animation-duration: 12s; }
.approach .why__bubbles .bubble--l2 { width: 150px; height: 150px; left: -70px;  top: 52%; animation-duration: 9s;  animation-delay: -2s; }
.approach .why__bubbles .bubble--l3 { width: 150px; height: 150px; left: -70px;  top: 75%; animation-duration: 9s;  animation-delay: -2s; }
.approach .why__bubbles .bubble--r1 { width: 260px; height: 260px; right: -130px; top: 28%; animation-duration: 13s; animation-delay: -3s; }
.approach .why__bubbles .bubble--r2 { width: 170px; height: 170px; right: -85px;  top: 70%; animation-duration: 10s; animation-delay: -1s; }

@keyframes bubbleFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(18px, -26px, 0) scale(1.03); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 600px) {
  .approach .why__bubbles .bubble--l1 { width: 190px; height: 190px; left: -105px; }
  .approach .why__bubbles .bubble--r1 { width: 200px; height: 200px; right: -110px; }
  .approach .why__bubbles .bubble--l2 { width: 185px; height: 185px; left: -75px; }
  .approach .why__bubbles .bubble--l3 { width: 180px; height: 180px; left: -70px; top: 85%; }
  .approach .why__bubbles .bubble--r2 { width: 140px; height: 140px; right: -85px; }
}

@media (min-width: 1500px) {
  .approach .why__bubbles .bubble--l1 { left: 380px; top: 18%; }
  .approach .why__bubbles .bubble--l2 { left: 150px; top: 72%; }
  .bubble--l3 { visibility: hidden; }
  .approach .why__bubbles .bubble--r1 { right: 200px; top: 28%; }
  .approach .why__bubbles .bubble--r2 { right: 185px; top: 70%; }
}

@media (prefers-reduced-motion: reduce) { .approach .why__bubbles .bubble { animation: none; } }

/* custom.css footer layout override */
.footer__giant { font-size: clamp(24px, 10vw, 72px); }