/* ============================================================
   job-apply.css — Job Apply page styles
   ============================================================ */

/* ── Logo fix for dark hero ─────────────────────────────────── */
#nav .nav-logo-icon .logo-w-stroke { stroke: #ffffff; }
#nav .nav-logo-icon .logo-w-fill   { fill: #ffffff; }

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform, opacity;
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

/* ══════════════════════════ HERO ════════════════════════════ */
#ja-hero {
  background: var(--bg);
  padding: clamp(100px,11vw,140px) 0 clamp(60px,8vw,100px);
  position: relative;
  overflow: hidden;
}

.ja-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,171,226,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
  animation: ja-grid-drift 20s linear infinite;
}
@keyframes ja-grid-drift {
  0%   { background-position: 0 0,0 0; }
  100% { background-position: 60px 60px,60px 60px; }
}

#ja-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}

/* Left column */
.ja-hero-inner { max-width: 600px; position: relative; z-index: 1; }

.ja-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ja-new-pill {
  background: #f97316;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.ja-hero-badge-text {
  font-size: 12px;
  color: rgba(235,232,225,0.45);
  font-weight: 500;
}

#ja-hero .display-lg {
  color: var(--cream);
  font-size: clamp(44px,6vw,82px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.05;
}

#ja-hero .body-md {
  color: rgba(235,232,225,0.6);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 480px;
}

/* Stats row */
.ja-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 36px;
  background: rgba(41,171,226,0.06);
  border: 1px solid rgba(41,171,226,0.15);
  border-radius: 14px;
  padding: 20px 28px;
  width: fit-content;
}

.ja-stat { display: flex; flex-direction: column; gap: 4px; }
.ja-stat-num { font-size: 28px; font-weight: 900; color: var(--cyan); letter-spacing: -1px; line-height: 1; }
.ja-stat-txt { font-size: 11px; color: rgba(235,232,225,0.5); font-weight: 500; }
.ja-stat-div { width: 1px; background: rgba(41,171,226,0.2); align-self: stretch; margin: 0 24px; }

.ja-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Hero right visual — Combined cream card ─────────────────── */
.ja-hero-visual {
  position: relative;
  width: min(520px, 100%);
  height: 520px;
  flex-shrink: 0;
}

/* ── Main card ─────────────────────────────────────────────── */
.ja-combo-card {
  position: absolute;
  top: 28px;
  left: calc((100% - 310px) / 2);
  width: 310px;
  background: #F7F5F0;
  border: 1px solid rgba(11,19,32,0.09);
  border-top: 3px solid var(--cyan);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 4px 12px rgba(0,0,0,0.14);
  z-index: 2;
}

/* ── Pipeline section ──────────────────────────────────────── */
.ja-cs-pipeline { padding: 22px 22px 10px; }
.ja-csp-hdr {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.ja-csp-title {
  font-size: 10px; font-weight: 800; color: rgba(11,19,32,0.42);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.ja-csp-spec {
  display: flex; align-items: center; gap: 6px;
  background: rgba(11,19,32,0.05); border: 1px solid rgba(11,19,32,0.1);
  border-radius: 6px; padding: 4px 8px;
}
.ja-csp-av {
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ja-csp-spec span { font-size: 9px; font-weight: 600; color: rgba(11,19,32,0.48); white-space: nowrap; }
.ja-csp-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid rgba(11,19,32,0.07);
}
.ja-csp-row:last-child { border-bottom: none; }
.ja-csp-co {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ja-csp-info { flex: 1; min-width: 0; }
.ja-csp-role { font-size: 12px; font-weight: 600; color: #0B1320; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ja-csp-role--muted { color: rgba(11,19,32,0.3); }
.ja-csp-company { font-size: 10px; color: rgba(11,19,32,0.4); margin-top: 1px; }
.ja-csp-st {
  font-size: 9px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px; white-space: nowrap; flex-shrink: 0;
}
.ja-csp-st--iv { color: #166534; background: #DCFCE7; border: 1px solid #BBF7D0; }
.ja-csp-st--sn { color: #0369A1; background: #DBEAFE; border: 1px solid #BFDBFE; }
.ja-csp-st--tl { color: #92400E; background: #FEF3C7; border: 1px solid #FDE68A; animation: dot-pulse 1.5s ease-in-out infinite; }
.ja-csp-st--qu { color: #6B7280; background: #F3F4F6; border: 1px solid #E5E7EB; }

/* Section divider */
.ja-cs-div { height: 1px; background: rgba(11,19,32,0.08); }

/* ── Journey timeline ──────────────────────────────────────── */
.ja-cs-journey { padding: 16px 22px 22px; }
.ja-csj-label {
  font-size: 9px; font-weight: 700; color: rgba(11,19,32,0.28);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px;
}
.ja-csj-track { display: flex; align-items: flex-start; }
.ja-csj-step  { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ja-csj-line  { flex: 1; height: 2px; margin-top: 5px; border-radius: 1px; }
.ja-csj-dot   { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.ja-csj-step--done .ja-csj-dot    { background: #22C55E; }
.ja-csj-step--active .ja-csj-dot  { background: var(--cyan); animation: dot-pulse 1.5s ease-in-out infinite; }
.ja-csj-step--pending .ja-csj-dot { background: #D1D5DB; }
.ja-csj-name  { font-size: 9px; font-weight: 600; text-align: center; line-height: 1.3; }
.ja-csj-step--done .ja-csj-name    { color: rgba(11,19,32,0.42); }
.ja-csj-step--active .ja-csj-name  { color: var(--cyan); }
.ja-csj-step--pending .ja-csj-name { color: rgba(11,19,32,0.2); }
.ja-csj-line--done    { background: rgba(34,197,94,0.38); }
.ja-csj-line--active  { background: linear-gradient(90deg, rgba(34,197,94,0.38), rgba(41,171,226,0.38)); }
.ja-csj-line--pending { background: rgba(11,19,32,0.08); }

/* Google interview — success step */
.ja-csj-step--success .ja-csj-co-badge {
  width: 20px; height: 20px; border-radius: 6px;
  background: #4285F4;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0;
  animation: google-pulse 2s ease-in-out infinite;
}
@keyframes google-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,0.25), 0 3px 10px rgba(66,133,244,0.3); transform: scale(1); }
  50%      { box-shadow: 0 0 0 4px rgba(34,197,94,0.42), 0 4px 14px rgba(66,133,244,0.45); transform: scale(1.1); }
}
.ja-csj-name--success { color: #22C55E; font-weight: 700; }

@keyframes dot-pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

/* ── Floating pills ─────────────────────────────────────────── */
.ja-pill {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(11,19,32,0.93);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 9px 15px;
  font-size: 12px; font-weight: 700;
  color: var(--cream); white-space: nowrap;
  z-index: 5;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.ja-pill--1 { top: 4%;    right: -4%;  border-color: rgba(74,222,128,0.28);  animation: float-a 4s   ease-in-out infinite; }
.ja-pill--2 { top: 34%;   left: -4%;   border-color: rgba(167,139,250,0.28); animation: float-b 5s   ease-in-out infinite 0.8s; }
.ja-pill--3 { bottom: 20%;right: -4%;  border-color: rgba(250,204,21,0.28);  animation: float-a 4.5s ease-in-out infinite 1.5s; }
.ja-pill--4 { bottom: 6%; left: -4%;   border-color: rgba(41,171,226,0.28);  animation: float-b 5.5s ease-in-out infinite 2.2s; }

@keyframes float-a { 0%,100%{transform:translateY(0);}  50%{transform:translateY(-8px);} }
@keyframes float-b { 0%,100%{transform:translateY(0);}  50%{transform:translateY(8px);} }

.ja-pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ja-pill-dot--green  { background: #4ade80; box-shadow: 0 0 7px #4ade80; }
.ja-pill-dot--cyan   { background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.ja-pill-dot--yellow { background: #facc15; box-shadow: 0 0 7px #facc15; }
.ja-pill-dot--purple { background: #a78bfa; box-shadow: 0 0 7px #a78bfa; }

/* Apps tracker pill — number + mini bar */
.ja-pill--apps { gap: 7px; padding: 9px 14px; }
.ja-pill-apps-num   { font-size: 14px; font-weight: 900; color: #facc15; letter-spacing: -0.5px; line-height: 1; }
.ja-pill-apps-bar   { width: 36px; height: 3px; background: rgba(255,255,255,0.14); border-radius: 100px; overflow: hidden; }
.ja-pill-apps-fill  { width: 64%; height: 100%; background: #facc15; border-radius: 100px; }
.ja-pill-apps-total { font-size: 10px; font-weight: 600; color: rgba(235,232,225,0.52); }


/* ══════════════════════ HOW IT WORKS ════════════════════════ */
#ja-how {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

#ja-how .label { color: var(--bg); opacity: 0.45; }
#ja-how .display-md {
  color: var(--bg);
  font-size: clamp(36px,5vw,60px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1;
}
#ja-how .body-md { color: rgba(11,19,32,0.6); line-height: 1.7; }

.ja-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 56px;
}

.ja-step {
  background: rgba(11,19,32,0.04);
  border: 1px solid rgba(11,19,32,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}

.ja-step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cyan);
  opacity: 0.8;
  margin-bottom: 16px;
}

.ja-step-icon {
  width: 48px; height: 48px;
  background: rgba(11,19,32,0.06);
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.ja-step-title {
  font-size: 15px; font-weight: 800;
  color: var(--bg); margin-bottom: 10px;
}

.ja-step-desc {
  font-size: 13px;
  color: rgba(11,19,32,0.55);
  line-height: 1.65;
}

.ja-step-connector {
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  color: rgba(41,171,226,0.5);
  font-size: 20px;
}
.ja-step-connector::after { content: '→'; }


/* ══════════════════════ PLANS ═══════════════════════════════ */
#ja-plans {
  background: var(--bg);
  padding: var(--section-pad) 0;
  position: relative;
}

#ja-plans::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(41,171,226,0.06) 0%, transparent 70%);
  pointer-events: none;
}

#ja-plans .display-md {
  color: var(--cream);
  font-size: clamp(36px,5vw,60px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1;
}
#ja-plans .body-md { color: var(--muted); line-height: 1.7; }

.ja-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  align-items: start;
}

.ja-plan-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s;
}
.ja-plan-card:hover { border-color: rgba(41,171,226,0.35); }

.ja-plan-card--featured {
  border-color: rgba(41,171,226,0.4);
  background: rgba(41,171,226,0.04);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 0 1px rgba(41,171,226,0.2);
}

.ja-plan-card--starter {
  padding: 26px 28px;
}

.ja-plan-card--executive {
  padding: 48px 32px;
  border-color: rgba(217,119,6,0.3);
  background: rgba(217,119,6,0.025);
}
.ja-plan-card--executive:hover { border-color: rgba(217,119,6,0.5); }

.ja-plan-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: var(--bg);
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 100px;
  white-space: nowrap;
}

.ja-plan-best-value {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #d97706; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 100px;
  white-space: nowrap;
}

.ja-plans-note {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: rgba(235,232,225,0.35);
  letter-spacing: 0.1px;
}

.ja-plan-name {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}

.ja-plan-price {
  font-size: 42px; font-weight: 900; color: var(--cream);
  letter-spacing: -2px; line-height: 1; margin-bottom: 14px;
}
.ja-plan-price span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.ja-plan-desc {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.ja-plan-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px;
}
.ja-plan-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(235,232,225,0.75); line-height: 1.5;
}
.ja-plan-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); flex-shrink: 0; margin-top: 7px;
}

.ja-plan-btn {
  display: block; text-align: center;
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ja-plan-btn--primary {
  background: var(--cyan); color: var(--bg);
}
.ja-plan-btn--primary:hover { background: #3dbef5; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(41,171,226,0.3); }
.ja-plan-btn--ghost {
  border: 1px solid var(--border); color: rgba(235,232,225,0.7);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ja-plan-btn--ghost:hover { border-color: rgba(41,171,226,0.4); color: var(--cream); }

/* Starter — fills cyan on hover */
.ja-plan-card--starter .ja-plan-btn--ghost:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(41,171,226,0.35);
  transform: translateY(-1px);
}

/* Executive — fills amber on hover */
.ja-plan-card--executive .ja-plan-btn--ghost:hover {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
  box-shadow: 0 8px 24px rgba(217,119,6,0.4);
  transform: translateY(-1px);
}


/* ══════════════════════ WHY IT WORKS ════════════════════════ */
#ja-why {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

.ja-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}

.ja-why-text .display-md {
  color: var(--bg);
  font-size: clamp(36px,5vw,58px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1;
}
.ja-why-text .label { color: var(--bg); opacity: 0.45; }
.ja-why-text .body-md { color: rgba(11,19,32,0.6); line-height: 1.7; }

.ja-why-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.ja-why-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(11,19,32,0.7); line-height: 1.6;
}
.ja-why-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); flex-shrink: 0; margin-top: 7px;
}
.ja-why-item strong { color: var(--bg); }

/* Stats grid on the right */
.ja-why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ja-why-stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 24px;
  transition: border-color 0.2s;
}
.ja-why-stat-card:hover { border-color: rgba(41,171,226,0.35); }
.ja-why-stat-num {
  font-size: clamp(32px,3vw,44px); font-weight: 900;
  color: var(--cyan); letter-spacing: -2px; line-height: 1; margin-bottom: 10px;
}
.ja-why-stat-label { font-size: 12px; color: var(--muted); line-height: 1.55; }


/* ══════════════════════ CTA ═════════════════════════════════ */
#ja-cta {
  background: var(--bg2);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative; overflow: hidden;
}
#ja-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(41,171,226,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ja-cta-inner {
  max-width: 560px; margin: 0 auto;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}

.ja-cta-ring-graphic {
  position: relative; width: 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
}
.ja-cta-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(41,171,226,0.15);
  animation: ja-ring-pulse 3s ease-in-out infinite;
}
.ja-cta-ring--1 { width: 130px; height: 130px; animation-delay: 0s; }
.ja-cta-ring--2 { width: 100px; height: 100px; animation-delay: 0.4s; border-color: rgba(41,171,226,0.22); }
.ja-cta-ring--3 { width: 74px;  height: 74px;  animation-delay: 0.8s; border-color: rgba(41,171,226,0.3); }
@keyframes ja-ring-pulse {
  0%,100%{transform:scale(1); opacity:0.7;}
  50%{transform:scale(1.04); opacity:1;}
}
.ja-cta-ring-center {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 1px solid rgba(41,171,226,0.3);
  display: flex; align-items: center; justify-content: center;
}
#ja-cta .display-md {
  color: var(--cream);
  font-size: clamp(32px,4.5vw,56px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.1;
}
.ja-cta-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-top: 32px;
}


/* ══════════════════ RESPONSIVE ══════════════════════════════ */
@media (max-width: 1024px) {
  #ja-hero .container   { grid-template-columns: 1fr; }
  .ja-hero-visual       { display: none; }
  .ja-steps             { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ja-step-connector    { display: none; }
  .ja-why-grid          { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .ja-plans-grid    { grid-template-columns: 1fr; }
  .ja-plan-card--featured { transform: none; }
  .ja-why-stats     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  #ja-hero .display-lg  { font-size: clamp(38px,12vw,52px); letter-spacing: -2px; }
  .ja-hero-stats        { flex-direction: column; gap: 16px; }
  .ja-stat-div          { width: 100%; height: 1px; margin: 0; }
  .ja-hero-cta          { flex-direction: column; }
  .ja-steps             { grid-template-columns: 1fr; }
  .ja-why-stats         { grid-template-columns: 1fr; }
  .ja-cta-btns          { flex-direction: column; width: 100%; }
  .ja-cta-btns .btn     { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════
   Subscription Modal
   ══════════════════════════════════════════════ */
.sub-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sub-modal-overlay.sub-modal-open {
  display: flex;
}
.sub-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  max-height: 90vh;
  overflow-y: auto;
}
.sub-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.sub-modal-close:hover { color: #333; }
.sub-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.sub-modal-plan-badge {
  display: inline-block;
  background: #e8f4fd;
  color: #29abe2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.sub-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #0B1320;
  margin-bottom: 8px;
}
.sub-modal-price {
  font-size: 36px;
  font-weight: 800;
  color: #0B1320;
  margin-bottom: 4px;
}
.sub-modal-note {
  font-size: 13px;
  color: #888;
}
.sub-field {
  margin-bottom: 16px;
}
.sub-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0B1320;
  margin-bottom: 6px;
}
.sub-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e4ea;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  background: #f8f9fb;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.sub-input:focus { border-color: #29abe2; background: #fff; }
.sub-card-container {
  padding: 12px 14px;
  border: 1.5px solid #e0e4ea;
  border-radius: 10px;
  background: #f8f9fb;
  min-height: 44px;
}
.sub-error {
  background: #fff0f0;
  border: 1px solid #fca5a5;
  color: #c0392b;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 14px;
}
.sub-submit-btn {
  width: 100%;
  padding: 15px;
  background: #0B1320;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 4px;
}
.sub-submit-btn:hover:not(:disabled) { background: #1a2540; }
.sub-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sub-secure-note {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
}
