/* Netiva Çok Sayfalı Tasarım ve İçerik Sistemi (Claude Official Frontend Standard) */
body {
  --bg: #11151b;
  --surface: #1a1f27;
  --surface-raised: #242b35;
  --border: #303946;
  --muted: #b0b9c8;
  --quiet: #9aa7b9;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-main {
  padding-top: 60px;
  padding-bottom: 0;
}

/* Page Hero */
.page-hero {
  max-width: 820px;
  padding-block: 24px 48px;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: #f0f4fc;
  margin: 0 0 16px;
}

.page-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
}

/* Grids & Cards */
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-block: 28px;
}

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

.page-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.page-card,
.content-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.page-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-card h2,
.page-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.5px;
}

.page-card p,
.content-panel p,
.content-panel li {
  color: var(--muted);
  line-height: 1.68;
  font-size: 14.5px;
}

.page-card .text-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Plan Category Switcher */
.plans-switcher-wrap {
  display: flex;
  justify-content: center;
  margin: 36px 0 26px;
}

.plans-category-nav {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  gap: 8px;
  max-width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.plans-category-tab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--muted);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.plans-category-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.plans-category-tab.is-active {
  color: var(--text);
  background: #1c2534;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.plans-category-tab .tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(138, 180, 255, 0.1);
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.plans-category-tab .tab-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.plans-category-tab.is-active .tab-icon {
  background: var(--accent);
  color: #0b1019;
}

.plans-category-tab.is-active .tab-icon svg {
  stroke: #0b1019;
  color: #0b1019;
}

.plans-category-tab .tab-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plans-category-tab .tab-main {
  font-weight: 700;
  font-size: 14px;
  color: inherit;
  line-height: 1.3;
}

.plans-category-tab .tab-sub {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--quiet);
  line-height: 1.2;
}

.plans-category-tab.is-active .tab-sub {
  color: var(--muted);
}

.plan-panel[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .plans-switcher-wrap {
    margin: 24px 0 16px;
  }
  .plans-category-nav {
    flex-direction: column;
    width: 100%;
  }
  .plans-category-tab {
    width: 100%;
  }
}

/* Billing Cycle Selector */
.billing-cycle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 28px;
  grid-column: 1 / -1;
  width: 100%;
}

.cycle-bar-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cycle-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.cycle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cycle-pill:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.cycle-pill.is-active {
  color: #0b1019;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(138, 180, 255, 0.28);
}

.cycle-pill-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(138, 180, 255, 0.2);
  color: var(--accent);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.cycle-pill.is-active .cycle-pill-badge {
  background: rgba(11, 16, 25, 0.22);
  color: #0b1019;
}

.plan-cycle-switch-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--quiet);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
}

.plan-cycle-switch-hint .hint-sep {
  opacity: 0.5;
}

.plan-cycle-switch-hint .hint-monthly,
.plan-cycle-switch-hint .hint-weekly {
  font-weight: 500;
}


/* Plan Cards */
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.plan-card:hover {
  border-color: var(--accent-border);
}

.plan-card.featured {
  border-color: var(--border);
  background: var(--surface);
  box-shadow: none;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.08);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  width: fit-content;
  margin-bottom: 16px;
}

.plan-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}

.plan-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.plan-price-block {
  margin: 0 0 20px;
  padding: 16px 18px;
  background: rgba(17, 21, 27, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.plan-price-amount {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}

.plan-price-custom {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.plan-price-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}

.plan-price-note {
  font-size: 11px;
  color: var(--quiet);
  margin-top: 6px;
  line-height: 1.4;
}

.plan-highlight {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.plan-sub {
  color: var(--quiet);
  font-size: 13px;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.5;
}

.plan-features li .check-icon,
.plan-features li .check-icon-svg {
  color: var(--accent);
  stroke: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2.5px;
}

.plan-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-actions-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.plan-actions-row .plan-select-btn {
  width: 100%;
  justify-content: center;
}

.plan-actions-row .plan-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-actions-row .plan-info-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(138, 180, 255, 0.08);
}

.plan-actions-row .plan-info-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Modeller Bölümü & Arama */
.section-anchor {
  scroll-margin-top: 100px;
}

.filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.filter-bar .field {
  margin-bottom: 0;
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

.filter-bar label {
  font-size: 12px;
  font-weight: 600;
  color: var(--quiet);
  margin-bottom: 6px;
}

.model-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.model-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.model-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-raised);
}

.model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.model-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.3px;
}

.model-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
}

.result-count {
  font-size: 13px;
  color: var(--quiet);
  margin-bottom: 12px;
}

/* Data Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-block: 24px;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.data-table thead th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: none;
}

.data-table tbody tr:hover td,
.data-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.015);
}

.data-table td:first-child,
.data-table th:first-child {
  color: var(--text);
  font-weight: 600;
}

.data-table code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  background: rgba(138, 180, 255, 0.08);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* Code Blocks */
.code-wrap {
  background: #090d15;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-block: 18px;
}

.code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0e1420;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--quiet);
  letter-spacing: 0.5px;
}

.copy-button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-button:hover {
  color: var(--text);
  border-color: var(--accent-border);
  background: rgba(138, 180, 255, 0.08);
}

.code-block {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #cddcf5;
}

/* Documentation Layout & Paginated Section Viewer */
.docs-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 28px;
}

/* Sol Menü / Modern Developer Sidebar */
.docs-sidebar {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, rgba(26, 31, 39, 0.96) 0%, rgba(17, 21, 27, 0.98) 100%);
  border: 1px solid rgba(138, 180, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.docs-sidebar::-webkit-scrollbar {
  width: 5px;
}
.docs-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.docs-sidebar::-webkit-scrollbar-thumb {
  background: rgba(138, 180, 255, 0.2);
  border-radius: 999px;
}

.docs-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(138, 180, 255, 0.1);
}

.docs-sidebar-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}

.docs-sidebar-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent);
  text-transform: uppercase;
}

.docs-step-badge {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--text);
  background: rgba(138, 180, 255, 0.12);
  border: 1px solid rgba(138, 180, 255, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Sidebar Search Box */
.docs-search-box {
  position: relative;
  width: 100%;
}

.docs-search-svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--quiet);
  pointer-events: none;
}

.docs-search-field {
  width: 100%;
  height: 34px;
  padding: 0 10px 0 32px;
  background: rgba(17, 21, 27, 0.85);
  border: 1px solid rgba(138, 180, 255, 0.18);
  border-radius: 8px;
  color: var(--text);
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.docs-search-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(138, 180, 255, 0.2);
}

.docs-search-field::placeholder {
  color: var(--quiet);
}

/* Nav List & Items */
.docs-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.docs-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  background: transparent;
  transition: all 0.16s ease;
  cursor: pointer;
  user-select: none;
}

.docs-nav-item:hover {
  background: rgba(138, 180, 255, 0.07);
  color: var(--text);
  border-color: rgba(138, 180, 255, 0.1);
  border-left-color: rgba(138, 180, 255, 0.4);
}

.docs-nav-item.is-active {
  background: linear-gradient(90deg, rgba(138, 180, 255, 0.16) 0%, rgba(138, 180, 255, 0.04) 100%);
  border: 1px solid rgba(138, 180, 255, 0.18);
  border-left: 3px solid var(--accent);
  color: #ffffff;
}

.docs-nav-badge {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--quiet);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.docs-nav-item:hover .docs-nav-badge {
  color: var(--text);
  border-color: rgba(138, 180, 255, 0.2);
}

.docs-nav-item.is-active .docs-nav-badge {
  color: var(--accent);
  background: rgba(138, 180, 255, 0.2);
  border-color: rgba(138, 180, 255, 0.35);
}

.docs-nav-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.docs-nav-title {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  color: inherit;
}

.docs-nav-item.is-active .docs-nav-title {
  color: #ffffff;
  font-weight: 600;
}

.docs-nav-tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--quiet);
  text-transform: uppercase;
}

.docs-nav-item.is-active .docs-nav-tag {
  color: var(--accent);
}

.docs-nav-chevron {
  color: var(--quiet);
  transition: transform 0.16s ease, color 0.16s ease;
  flex-shrink: 0;
  opacity: 0.35;
}

.docs-nav-item:hover .docs-nav-chevron {
  opacity: 0.8;
}

.docs-nav-item.is-active .docs-nav-chevron {
  color: var(--accent);
  opacity: 1;
  transform: translateX(2px);
}

/* Sidebar Links */
.docs-sidebar-links {
  padding-top: 10px;
  border-top: 1px solid rgba(138, 180, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-sidebar-link:hover {
  background: rgba(138, 180, 255, 0.08);
  color: #ffffff;
}

/* Mobile Bar */
.docs-mobile-bar {
  display: none;
}

.docs-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
}

.docs-mobile-current {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.docs-mobile-pill {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.12);
  border: 1px solid rgba(138, 180, 255, 0.25);
  padding: 2px 7px;
  border-radius: 6px;
}

.docs-mobile-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-mobile-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Paginated Sections */
.docs-page-section {
  display: none;
}

.docs-page-section.is-active {
  display: block;
  animation: docsSectionFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes docsSectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Top Indicator */
.docs-section-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(138, 180, 255, 0.12);
}

.docs-section-step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-badge-step {
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.12);
  border: 1px solid rgba(138, 180, 255, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.docs-badge-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--quiet);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Pagination Bottom Bar */
.docs-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(138, 180, 255, 0.14);
  gap: 16px;
}

.docs-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid rgba(138, 180, 255, 0.18);
  color: var(--text);
  transition: all 0.16s ease;
  max-width: 46%;
  font-family: inherit;
}

.docs-page-btn:hover {
  border-color: var(--accent);
  background: rgba(138, 180, 255, 0.09);
  color: #ffffff;
}

.docs-page-btn-placeholder {
  min-width: 40px;
}

.docs-page-btn-next {
  margin-left: auto;
  text-align: right;
}

.docs-page-btn-finish {
  border-color: rgba(138, 180, 255, 0.35);
  background: linear-gradient(135deg, rgba(138, 180, 255, 0.12) 0%, rgba(26, 31, 39, 0.9) 100%);
}

.docs-page-btn-finish:hover {
  border-color: var(--accent);
  background: rgba(138, 180, 255, 0.2);
}

.docs-page-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.docs-page-btn-sub {
  font-size: 10.5px;
  color: var(--quiet);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.docs-page-btn-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docs-page-btn:hover .docs-page-btn-title {
  color: #ffffff;
}

.docs-pagination-counter {
  display: flex;
  align-items: center;
}

.docs-pagination-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(138, 180, 255, 0.15);
  border-radius: 999px;
}

/* Fallback TOC */
.toc {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc .eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--quiet);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.toc a {
  color: var(--muted);
  font-size: 13.5px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.toc a:hover {
  color: var(--accent);
  background: rgba(138, 180, 255, 0.06);
}

.reading-flow {
  display: grid;
  gap: 48px;
}

.reading-flow section {
  scroll-margin-top: 100px;
}

.reading-flow h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.reading-flow h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

/* Steps */
.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}

.step {
  counter-increment: step-counter;
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.step::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.08);
  border: 1px solid var(--accent-border);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Auth Layout */
body[data-route="login"] main:not([data-auth-gate="guest"]) .auth-wrapper,
body[data-route="register"] main:not([data-auth-gate="guest"]) .auth-wide-wrapper {
  display: none;
}
main[data-auth-gate] .api-notice > :is([data-auth-retry], a) {
  grid-column: 2;
  justify-self: start;
}

.auth-wrapper {
  max-width: 440px;
  margin: 40px auto 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin: 0 0 8px;
}

.auth-header p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.auth-notice {
  background: rgba(138, 180, 255, 0.06);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--accent);
  line-height: 1.5;
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.auth-footer-text {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
}

.auth-footer-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

/* Wide Auth Layout (Sign Up) */
.auth-wide-wrapper {
  max-width: 1160px;
  margin: 36px auto 70px;
}

.auth-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 48px;
  align-items: stretch;
}

/* Left Column: Showcase & Value Props */
.auth-showcase {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.auth-showcase-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(138, 180, 255, 0.08);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  width: fit-content;
}

.auth-showcase-badge .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.auth-showcase h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
}

.auth-showcase-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.auth-value-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.auth-value-item {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.auth-value-item:hover {
  border-color: var(--accent-border);
  background: rgba(138, 180, 255, 0.03);
}

.auth-value-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--surface-raised);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.auth-value-icon svg {
  width: 18px;
  height: 18px;
}

.auth-value-item h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 3px;
}

.auth-value-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Metric Strip */
.auth-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.auth-metric-box strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.auth-metric-box span {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 34px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-card-header {
  margin-bottom: 20px;
}

.auth-card-header .eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 1.2px;
}

.auth-card-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin: 0 0 6px;
}

.auth-card-header p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}

/* OAuth Social Buttons */
.auth-oauth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  background: #0d121b;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.oauth-btn:hover {
  border-color: var(--accent-border);
  background: var(--surface-raised);
  transform: translateY(-1px);
}

.oauth-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 18px;
  color: var(--quiet);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Form Two-Column Rows */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Password Strength Indicator */
.password-strength-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: 2px;
}

.password-strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.strength-bar {
  height: 3.5px;
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: background-color 0.25s ease;
}

.strength-bar.is-active[data-strength="1"] {
  background: #f85149;
}
.strength-bar.is-active[data-strength="2"] {
  background: #e3b341;
}
.strength-bar.is-active[data-strength="3"] {
  background: var(--accent);
}
.strength-bar.is-active[data-strength="4"] {
  background: #3fb950;
}

.strength-label {
  font-size: 11px;
  color: var(--quiet);
  font-weight: 600;
  white-space: nowrap;
}

/* Trust Perks Under Form */
.auth-card-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: 10px;
  margin-top: 18px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.perk-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Auth Card form field comfort */
.auth-card .form-grid {
  gap: 13px;
}

.auth-card .field {
  gap: 5px;
}

.auth-card .field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.auth-card .field-hint {
  font-size: 11.5px;
}

.auth-card .field input,
.auth-card .field select {
  height: 42px;
  padding: 10px 13px;
  font-size: 13.5px;
  border-radius: 8px;
}

.auth-card .field select {
  padding-right: 40px;
  background-position: right 13px center;
}

.auth-card .password-wrap input {
  padding-right: 40px;
}

.auth-card .password-toggle {
  width: 28px;
  height: 28px;
  right: 6px;
  border-radius: 6px;
}

.auth-card .password-toggle svg {
  width: 17px;
  height: 17px;
}

.auth-card .checkbox-label {
  font-size: 12.5px;
  gap: 9px;
  line-height: 1.45;
}

@media (max-width: 920px) {
  .auth-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .auth-showcase h1 {
    font-size: 28px;
  }
  .auth-wide-wrapper {
    margin: 20px auto 60px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .auth-card-perks {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Forms */
.form-grid {
  display: grid;
  gap: 9px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.field-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.1px;
}

.field-hint {
  font-size: 11px;
  color: var(--quiet);
  font-weight: 500;
}

/* Site Genelinde Form Elemanları: Input, Select ve Textarea */
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea,
select {
  box-sizing: border-box;
  width: 100%;
  background-color: #0d121b;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
select {
  height: 38px;
  padding: 8px 11px;
}

.field textarea {
  padding: 8px 11px;
  min-height: 100px;
  resize: vertical;
}

/* Hover durumları */
.field input:not([type="checkbox"]):not([type="radio"]):hover:not(:disabled):not(:focus),
.field select:hover:not(:disabled):not(:focus),
.field textarea:hover:not(:disabled):not(:focus),
select:hover:not(:disabled):not(:focus) {
  border-color: var(--accent-border);
}

/* Focus durumları */
.field input:focus,
.field select:focus,
.field textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138, 180, 255, 0.15);
}

/* Select için Özel Input Tipi Tasarımı (Custom SVG Chevron Ok ve Native Reset) */
select,
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  cursor: pointer;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238794a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px 15px;
}

select::-ms-expand {
  display: none;
}

select:hover:not(:disabled),
.field select:hover:not(:disabled) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px 15px;
}

select:focus,
select:focus-visible,
.field select:focus,
.field select:focus-visible {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ab4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px 15px;
}

select:disabled,
.field select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #0b0f17;
  border-color: var(--border);
}

/* Select açılır menü (Option / Optgroup) stilleri */
select option,
.field select option {
  background-color: var(--surface);
  color: var(--text);
  font-size: 13px;
  padding: 10px 12px;
}

select optgroup,
.field select optgroup {
  background-color: var(--surface);
  color: var(--quiet);
  font-weight: 700;
  font-size: 11px;
}

/* WebKit search input reset */
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.field-error {
  color: #ff7b72;
  font-size: 11.5px;
  line-height: 1.3;
  display: none;
}

.field-error:not(:empty) {
  display: block;
  margin-top: 2px;
}

.field-help {
  color: var(--quiet);
  font-size: 11px;
  margin-top: 1px;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Password Input & SVG Eye Toggle */
.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  width: 100%;
  padding-right: 36px;
}

.password-wrap input[type="password"] {
  letter-spacing: 2px;
}

.password-wrap input::-ms-reveal,
.password-wrap input::-ms-clear {
  display: none;
}

.password-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: var(--quiet);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.password-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.password-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.password-toggle .eye-hide {
  display: none;
}

.password-toggle[aria-pressed="true"] .eye-show {
  display: none;
}

.password-toggle[aria-pressed="true"] .eye-hide {
  display: block;
}

.password-toggle[aria-pressed="true"] {
  color: var(--accent);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.4;
  margin-top: 1px;
}

.checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  margin-top: 1px;
  flex-shrink: 0;
}

.checkbox-label a.legal-link,
.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.checkbox-label a.legal-link:hover,
.checkbox-label a:hover {
  color: var(--accent-hover);
}

.form-status {
  display: none;
}

.form-status:not(:empty) {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

/* FAQ Details/Summary */
.faq-stack {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-block: 24px;
}

.faq-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-detail:hover {
  border-color: var(--border-hover);
}

.faq-detail[open] {
  border-color: var(--accent-border);
}

.faq-detail summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-detail summary::-webkit-details-marker {
  display: none;
}

.faq-detail summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-detail[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* Notice & Callouts */
.notice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.6;
  margin-block: 20px;
}

.page-cta {
  background: linear-gradient(145deg, #1e2633 0%, var(--surface) 100%);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 0;
}

/* Page CTA ve ana sayfa içeriği ile footer arasındaki dikey boşluk */
.page-main + .site-footer {
  margin-top: 48px;
}

.page-cta h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}

.page-cta p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .docs-mobile-bar {
    display: block;
    margin-bottom: 16px;
  }
  .docs-sidebar {
    display: none;
    position: static;
    max-height: none;
    margin-bottom: 20px;
  }
  .docs-sidebar.is-mobile-open {
    display: flex;
    animation: docsSectionFadeIn 0.2s ease;
  }
  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .docs-pagination-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .docs-page-btn {
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
  }
  .docs-pagination-counter {
    order: -1;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-main {
    padding-top: 40px;
    padding-bottom: 0;
  }
  .page-cta {
    margin-top: 36px;
    margin-bottom: 0;
  }
  .page-main + .site-footer {
    margin-top: 36px;
  }
  .page-grid,
  .page-grid.cols-2,
  .page-grid.cols-4,
  .model-grid {
    grid-template-columns: 1fr;
  }
  .page-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .action-row {
    width: 100%;
    flex-direction: column;
  }
  .action-row .button {
    width: 100%;
    text-align: center;
  }
  .auth-wrapper,
  .auth-card {
    margin: 20px auto 60px;
    padding: 24px 20px;
  }
}

/* Plan Details Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  background: rgba(26, 31, 39, 0.6);
}

.modal-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-header-text .plan-badge {
  margin-bottom: 2px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.6px;
  margin: 0;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.modal-close-btn:hover {
  color: var(--text);
  border-color: var(--accent-border);
  background: var(--surface-raised);
}

.modal-body {
  padding: 22px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.modal-highlight-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #111722;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.modal-highlight-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-highlight-label {
  font-size: 10.5px;
  color: var(--quiet);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-highlight-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-section-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.modal-section-header p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.modal-multiplier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.modal-multiplier-table th {
  background: #151c27;
  padding: 9px 12px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.3px;
}

.modal-multiplier-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  vertical-align: middle;
}

.multiplier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.multiplier-badge.badge-included {
  background: rgba(138, 180, 255, 0.12);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.multiplier-badge.badge-unavailable {
  background: rgba(111, 132, 165, 0.1);
  color: var(--quiet);
  border: 1px solid rgba(111, 132, 165, 0.2);
}

.modal-params-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  background: #111722;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}

.modal-param-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding-block: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-param-row span {
  color: var(--muted);
}

.modal-param-row strong {
  color: var(--text);
  font-weight: 600;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  background: rgba(26, 31, 39, 0.6);
}

@media (max-width: 768px) {
  .modal-highlight-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .modal-params-grid {
    grid-template-columns: 1fr;
  }
  .modal-card {
    max-height: 94vh;
  }
  .modal-header, .modal-body, .modal-footer {
    padding-inline: 16px;
  }
  .plan-actions-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .modal-highlight-box {
    grid-template-columns: 1fr;
  }
}

/* Custom Plan CTA Banner Under Daily Packages */
.custom-plan-cta-card {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(26, 31, 39, 0.95), rgba(17, 21, 27, 0.98));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 12px;
  transition: all 0.22s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.custom-plan-cta-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.custom-plan-cta-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
}

.custom-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.08);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
}

.custom-plan-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  margin: 0;
}

.custom-plan-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.custom-plan-cta-actions {
  flex-shrink: 0;
}

.custom-builder-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(138, 180, 255, 0.2);
  transition: all 0.2s ease;
}

.custom-builder-trigger-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(138, 180, 255, 0.32);
}

/* Custom Builder Modal Layout */
.modal-builder-card {
  max-width: 960px !important;
}

.builder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.builder-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.builder-control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(17, 21, 27, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.builder-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.builder-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.builder-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b1019;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.builder-quota-display {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.1);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Range Slider */
.builder-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #1c2534;
  outline: none;
  cursor: pointer;
  margin: 8px 0 4px;
}

.builder-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #0f141d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.builder-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #a4c7ff;
}

.builder-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #0f141d;
  cursor: pointer;
}

.builder-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.builder-quick-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.builder-preset-label {
  font-size: 11.5px;
  color: var(--quiet);
  font-weight: 500;
  margin-right: 2px;
}

.builder-preset-pill {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.builder-preset-pill:hover {
  color: var(--text);
  border-color: var(--accent-border);
}

.builder-preset-pill.is-active {
  background: rgba(138, 180, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Builder Cycle Toggle */
.builder-cycle-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.builder-cycle-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
}

.builder-cycle-btn:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.builder-cycle-btn.is-active {
  border-color: var(--accent);
  background: rgba(138, 180, 255, 0.08);
  box-shadow: 0 0 0 1px var(--accent);
}

.builder-cycle-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.builder-cycle-sub {
  font-size: 11px;
  color: var(--quiet);
}

.builder-cycle-btn.is-active .builder-cycle-title {
  color: var(--accent);
}

/* Builder Model Grid */
.builder-models-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.builder-model-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.builder-model-option:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.builder-model-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.builder-model-option.is-locked {
  opacity: 0.85;
  cursor: default;
}

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

.bm-info strong {
  font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--text);
}

.bm-info span {
  font-size: 11px;
  color: var(--muted);
}

.bm-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(138, 180, 255, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}

.bm-addon-price {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.builder-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
  width: 100%;
}

.builder-select:focus {
  border-color: var(--accent);
}

/* Builder Summary Card */
.builder-summary-card {
  background: #101621;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.builder-summary-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent);
  text-transform: uppercase;
}

.builder-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
}

.builder-price-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(17, 21, 27, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.builder-price-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.builder-price-curr {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.builder-price-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.8px;
}

.builder-price-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 2px;
}

.builder-tax-hint {
  font-size: 11px;
  color: var(--quiet);
}

.builder-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.builder-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.builder-specs-list li svg {
  color: var(--accent);
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.builder-specs-list li span strong {
  color: var(--text);
}

.builder-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.builder-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 11px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
}

.builder-cancel-btn {
  width: 100%;
  justify-content: center;
  padding: 9px;
  font-size: 12.5px;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .custom-plan-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .custom-plan-cta-actions {
    width: 100%;
  }
  .custom-builder-trigger-btn {
    width: 100%;
    justify-content: center;
  }
  .builder-grid {
    grid-template-columns: 1fr;
  }
  .builder-summary-card {
    position: static;
  }
}

/* Auth Selected Plan Banner */
.auth-selected-plan-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(138, 180, 255, 0.08);
  border: 1px solid rgba(138, 180, 255, 0.28);
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}

.auth-selected-plan-banner[hidden] {
  display: none !important;
}

.auth-selected-plan-banner svg {
  flex-shrink: 0;
  color: var(--accent);
  stroke: var(--accent);
}

/* Developer Sections & Endpoint Cards */
.endpoint-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.endpoint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid rgba(138, 180, 255, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  transition: all 0.15s ease;
}

.endpoint-pill:hover {
  background: rgba(138, 180, 255, 0.08);
  border-color: var(--accent);
  color: #ffffff;
}

.method-tag {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.method-post {
  background: rgba(138, 180, 255, 0.14);
  color: var(--accent);
  border: 1px solid rgba(138, 180, 255, 0.28);
}

.method-get {
  background: rgba(77, 171, 247, 0.14);
  color: #74c0fc;
  border: 1px solid rgba(116, 192, 252, 0.28);
}

.endpoint-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.endpoint-url-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

/* Architecture Pipeline Grid */
.arch-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 36px;
}

.arch-pipe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.arch-pipe-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.arch-pipe-step {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.1);
  border: 1px solid rgba(138, 180, 255, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
  align-self: flex-start;
}

.arch-pipe-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.arch-pipe-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 992px) {
  .arch-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Checkout & Order Process Styles (/siparis)
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 36px;
  align-items: flex-start;
  margin-top: 24px;
}

.checkout-main-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.checkout-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.checkout-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--quiet);
  transition: all 0.2s ease;
}

.checkout-step-item[role="button"] {
  cursor: pointer;
}

.checkout-step-item[role="button"]:hover {
  background: rgba(255, 255, 255, 0.04);
}

.checkout-step-item.is-active {
  background: rgba(138, 180, 255, 0.08);
  color: #ffffff;
}

.checkout-step-item.is-completed {
  color: var(--accent);
}

.step-num-badge {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: inherit;
  flex-shrink: 0;
}

.checkout-step-item.is-active .step-num-badge {
  background: var(--accent);
  color: #0b1019;
  border-color: var(--accent);
}

.checkout-step-item.is-completed .step-num-badge {
  background: rgba(138, 180, 255, 0.18);
  border-color: var(--accent);
  color: var(--accent);
}

.step-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.step-title-sm {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-desc-xs {
  font-size: 10px;
  color: var(--quiet);
}

.checkout-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  transition: border-color 0.2s ease;
}

.checkout-panel:hover {
  border-color: rgba(138, 180, 255, 0.28);
}

.checkout-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-panel-title h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.4px;
}

.checkout-panel-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(138, 180, 255, 0.1);
  border: 1px solid rgba(138, 180, 255, 0.22);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Plan Preview Card inside Step 1 */
.checkout-plan-preview-box {
  background: rgba(17, 21, 27, 0.6);
  border: 1px solid rgba(138, 180, 255, 0.22);
  border-radius: 12px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.checkout-plan-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-plan-info p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.checkout-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checkout-model-tag {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--muted);
}

.checkout-plan-price-block {
  text-align: right;
  flex-shrink: 0;
}

.checkout-plan-price-amt {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.checkout-plan-price-currency {
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

.checkout-plan-price-cycle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Coupon Box */
.checkout-coupon-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.checkout-coupon-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.checkout-coupon-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(138, 180, 255, 0.2);
}

.checkout-coupon-btn {
  padding: 10px 18px;
  background: rgba(138, 180, 255, 0.12);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.checkout-coupon-btn:hover {
  background: var(--accent);
  color: #0b1019;
}

.checkout-coupon-feedback {
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

.checkout-coupon-feedback.is-success {
  display: block;
  color: #74c0fc;
}

.checkout-coupon-feedback.is-error {
  display: block;
  color: #ff8787;
}

/* Billing Toggle Tabs */
.billing-type-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.billing-type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.billing-type-btn.is-active {
  background: rgba(138, 180, 255, 0.1);
  border-color: var(--accent);
  color: #ffffff;
}

/* Payment Method Tabs */
.payment-tabs-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.payment-tab-btn.is-active {
  background: rgba(138, 180, 255, 0.08);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.payment-tab-btn svg {
  flex-shrink: 0;
}

.payment-tab-btn.is-active svg {
  color: var(--accent);
}

/* Bank Transfer Box & Maintenance Notice */
.bank-transfer-box {
  background: rgba(17, 21, 27, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bank-maintenance-notice {
  background: rgba(245, 159, 0, 0.08);
  border: 1px solid rgba(245, 159, 0, 0.28);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bank-maintenance-notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f59f00;
  font-size: 13.5px;
  font-weight: 700;
}

.bank-maintenance-notice p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.checkout-back-link {
  transition: all 0.18s ease;
}

.checkout-back-link:hover {
  opacity: 0.8;
  transform: translateX(-3px);
}

.bank-account-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bank-iban {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.order-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(138, 180, 255, 0.1);
  border: 1px dashed var(--accent);
  font-family: ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 700;
}

/* Sticky Order Summary Column */
.checkout-summary-col {
  position: sticky;
  top: 100px;
}

.order-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.summary-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.summary-plan-details {
  background: rgba(17, 21, 27, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.summary-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.summary-plan-quota {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

.summary-rows-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
}

.summary-row.is-discount {
  color: #74c0fc;
}

.summary-row-val {
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.summary-row.is-discount .summary-row-val {
  color: #74c0fc;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}

.summary-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.summary-total-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.summary-perks-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.summary-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--quiet);
}

.summary-perk-item svg {
  color: var(--accent);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Success Activation Card */
.success-activation-card {
  background: var(--surface);
  border: 1px solid rgba(138, 180, 255, 0.4);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(138, 180, 255, 0.12);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.success-icon-badge svg {
  width: 32px;
  height: 32px;
}

.success-activation-card h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.6px;
}

.success-activation-card p {
  max-width: 580px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.api-key-box {
  width: 100%;
  max-width: 620px;
  background: #0b1019;
  border: 1px solid rgba(138, 180, 255, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.api-key-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-summary-col {
    position: static;
  }
  .checkout-stepper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .checkout-panel {
    padding: 22px 18px;
  }
  .checkout-plan-preview-box {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .checkout-plan-price-block {
    text-align: left;
  }
  .payment-tabs-row {
    flex-direction: column;
  }
  .checkout-stepper {
    grid-template-columns: 1fr;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Checkout Image Addon Selector */
.checkout-image-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .checkout-image-addon-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-addon-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.checkout-addon-option:hover {
  border-color: rgba(138, 180, 255, 0.4);
}

.checkout-addon-option.is-active,
.checkout-addon-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(138, 180, 255, 0.05);
}

.checkout-addon-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

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

.addon-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.addon-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.addon-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* FAQ Categories & Nav */
.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.faq-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-nav-pill:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(138, 180, 255, 0.08);
}

.faq-category-section {
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.faq-category-header {
  margin-bottom: 16px;
}

.faq-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 6px;
}

.faq-category-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.faq-category-header p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
#payment-card-wrap > .form-grid { display:none; }
#stripe-payment-element { padding: 14px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); }
