/**
 * Numex AI - Abonelik / Pro Plan
 */
#n-subscription {
  position: absolute;
  inset: 0;
  z-index: 435;
  display: flex;
  flex-direction: column;
  background: var(--n-bg, #09090B);
  overflow: hidden;
}

.n-sub-header {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 2;
  border-bottom: 1px solid var(--n-bd);
}
.n-sub-header .n-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--n-s2);
  border: 1px solid var(--n-bd);
  color: var(--n-t2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.n-sub-header h2 { flex: 1; font-size: 15px; font-weight: 600; margin: 0; text-align: center; }
.n-sub-header .n-spacer { width: 38px; }

.n-sub-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 120px;
  position: relative;
  z-index: 1;
  -webkit-overflow-scrolling: touch;
}

.n-sub-hero {
  text-align: center;
  padding: 8px 24px 28px;
}
.n-sub-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--n-grad);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px var(--n-acg);
}
.n-sub-hero h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.n-sub-hero h1 span { color: var(--n-ac); }
.n-sub-hero p { font-size: 14px; color: var(--n-t2); line-height: 1.5; max-width: 300px; margin: 0 auto; }

.n-sub-plans {
  display: flex;
  gap: 8px;
  padding: 0 14px;
  margin-bottom: 20px;
}
.n-sub-plan {
  flex: 1;
  padding: 14px 8px;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  background: var(--n-s1);
  border: 2px solid var(--n-bd);
  transition: 0.25s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.n-sub-plan.sel { background: var(--n-acs); border-color: var(--n-ac); }
.n-sub-plan .popular-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--n-ac);
  font-size: 9px;
  font-weight: 700;
  color: #09090B;
  white-space: nowrap;
}
.n-sub-plan .name { font-size: 11px; color: var(--n-tm); font-weight: 500; margin-bottom: 4px; }
.n-sub-plan .price-wrap { display: flex; align-items: baseline; justify-content: center; gap: 1px; }
.n-sub-plan .price-cur { font-size: 10px; color: var(--n-tm); }
.n-sub-plan .price { font-size: 24px; font-weight: 800; }
.n-sub-plan.sel .price { color: var(--n-ac); }
.n-sub-plan .period { font-size: 10px; color: var(--n-tm); }
.n-sub-plan .save {
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(74,222,128,0.08);
  font-size: 10px;
  font-weight: 600;
  color: var(--n-grn);
  display: inline-block;
}

.n-sub-compare-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  color: var(--n-t);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin: 0 14px 8px;
  -webkit-tap-highlight-color: transparent;
}
.n-sub-compare-btn svg { transition: transform 0.3s; }
.n-sub-compare-btn.open svg { transform: rotate(180deg); }

.n-sub-compare-box {
  margin: 0 14px 20px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 14px;
  overflow: hidden;
}
.n-sub-compare-hdr {
  display: grid;
  grid-template-columns: 1fr 60px 60px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--n-bd);
}
.n-sub-compare-row {
  display: grid;
  grid-template-columns: 1fr 60px 60px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--n-bd);
  align-items: center;
}
.n-sub-compare-row:last-child { border-bottom: none; }
.n-sub-compare-feat { display: flex; align-items: center; gap: 8px; min-width: 0; }
.n-sub-compare-feat .icon { font-size: 14px; flex-shrink: 0; }
.n-sub-compare-feat .title { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-sub-compare-cell { text-align: center; }
.n-sub-compare-cell .check { color: var(--n-grn); }
.n-sub-compare-cell .x { color: var(--n-tm); }
.n-sub-compare-cell .txt { font-size: 10px; color: var(--n-tm); }
.n-sub-compare-cell .txt.pro { color: var(--n-grn); font-weight: 600; }

.n-sub-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px;
  margin-bottom: 20px;
}
.n-sub-highlight {
  padding: 14px 12px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  text-align: center;
}
.n-sub-highlight .icon { font-size: 20px; margin-bottom: 4px; }
.n-sub-highlight .val { font-size: 15px; font-weight: 700; color: var(--n-ac); }
.n-sub-highlight .lbl { font-size: 11px; color: var(--n-tm); }

.n-sub-testimonials { padding: 0 14px; margin-bottom: 16px; }
.n-sub-test-title { font-size: 10.5px; font-weight: 700; color: var(--n-tm); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 4px; margin-bottom: 8px; }
.n-sub-test-card {
  padding: 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  margin-bottom: 8px;
}
.n-sub-test-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.n-sub-test-card .av { width: 32px; height: 32px; border-radius: 50%; background: var(--n-s3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--n-t2); }
.n-sub-test-card .name { font-size: 12px; font-weight: 600; }
.n-sub-test-card .role { font-size: 10px; color: var(--n-tm); }
.n-sub-test-card .text { font-size: 12.5px; color: var(--n-t2); line-height: 1.5; font-style: italic; }

.n-sub-faq { padding: 0 14px; }
.n-sub-faq details { background: var(--n-s1); border: 1px solid var(--n-bd); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.n-sub-faq summary {
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}
.n-sub-faq summary::-webkit-details-marker { display: none; }
.n-sub-faq .answer { padding: 0 14px 13px; font-size: 12.5px; color: var(--n-t2); line-height: 1.5; }

.n-sub-trust { text-align: center; padding: 20px 24px 0; }
.n-sub-trust span { font-size: 10px; color: var(--n-tm); margin: 0 6px; }

.n-sub-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 18px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom) + 12px);
  background: linear-gradient(to top, var(--n-bg) 70%, transparent);
  border-top: 1px solid var(--n-bd);
  z-index: 20;
}
.n-sub-cta button {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: var(--n-grad);
  border: none;
  color: #09090B;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px var(--n-acg);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
.n-sub-cta .hint { text-align: center; font-size: 11px; color: var(--n-tm); margin-top: 6px; }

/* Payment sheet */
.n-sub-order {
  padding: 18px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 16px;
  margin-bottom: 24px;
}
.n-sub-order-title { font-size: 11px; font-weight: 700; color: var(--n-tm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.n-sub-order-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.n-sub-order-row .plan { font-size: 14px; font-weight: 500; }
.n-sub-order-row .price { font-size: 14px; font-weight: 700; color: var(--n-ac); }
.n-sub-order-billed { font-size: 12px; color: var(--n-tm); }
.n-sub-order-divider { height: 1px; background: var(--n-bd); margin: 12px 0; }
.n-sub-order-total { display: flex; justify-content: space-between; }
.n-sub-order-total .lbl { font-size: 13px; font-weight: 600; }
.n-sub-order-total .val { font-size: 16px; font-weight: 700; color: var(--n-ac); }

.n-sub-payment-title { font-size: 11px; font-weight: 700; color: var(--n-tm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.n-sub-pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.n-sub-pay-method.sel { background: var(--n-acs); border-color: rgba(196,169,98,0.2); }
.n-sub-pay-method .icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: var(--n-s2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.n-sub-pay-method .body { flex: 1; }
.n-sub-pay-method .label { font-size: 13.5px; font-weight: 600; }
.n-sub-pay-method .desc { font-size: 11px; color: var(--n-tm); }
.n-sub-pay-method .radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--n-bds);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.n-sub-pay-method.sel .radio { border-color: var(--n-ac); background: var(--n-ac); }

.n-sub-form label { font-size: 12px; font-weight: 500; color: var(--n-t2); margin-bottom: 6px; display: block; }
.n-sub-form input {
  width: 100%;
  padding: 12px 14px;
  background: var(--n-s1);
  border: 1px solid var(--n-bd);
  border-radius: 12px;
  color: var(--n-t);
  font-size: 14px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.n-sub-form input::placeholder { color: var(--n-tm); }
.n-sub-form-row { display: flex; gap: 12px; }
.n-sub-form-row > div { flex: 1; }

.n-sub-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 8px;
  flex-wrap: wrap;
}
.n-sub-security span { font-size: 10px; color: var(--n-tm); padding: 3px 8px; background: var(--n-s2); border-radius: 6px; }

.n-sub-toast {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 18px;
  background: var(--n-s3);
  border: 1px solid var(--n-bds);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
  white-space: nowrap;
}
