/* Split Hero */
.deneme-hero {
  padding: 88px 0 0;
  background: var(--bg-alt);
}
.deneme-hero-eyebrow {
  text-align: center;
  margin-bottom: 32px;
}
.deneme-hero-eyebrow h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 8px;
}
.deneme-hero-eyebrow p {
  color: var(--text-secondary);
  font-size: 1rem;
}
.deneme-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--success-light);
  color: var(--success);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* Price decimal */
.tg-price-decimal { font-size: 1.2rem; font-weight: 700; }
.tg-price-decimal-sm { font-size: 1rem; font-weight: 700; }

/* Trust strip */
.deneme-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.deneme-trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* How it works */
.deneme-how {
  padding: 72px 0;
  background: var(--bg);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.how-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow .15s, transform .15s;
}
.how-step:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.how-step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 12px;
}
.how-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.how-step p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison table */
.deneme-compare {
  padding: 72px 0;
  background: var(--bg-alt);
}
.compare-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: #fff;
}
.compare-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table thead th {
  background: #fff;
  padding: 16px 18px;
  text-align: center;
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.compare-col-tg {
  color: var(--primary-dark);
  background: var(--primary-light);
  border-top-right-radius: 14px;
}
.compare-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}
.compare-table tbody td {
  text-align: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
.compare-table tbody td:last-child { background: rgba(249,115,22,.04); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-yes { color: var(--success); font-weight: 700; }
.compare-no { color: var(--text-light); }
.deneme-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 40px rgba(0,0,0,.08);
  animation: heroRise .5s ease both;
}
.deneme-hero-split-3 {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1280px;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .deneme-hero-split { animation: none; }
}

/* --- Klasik side --- */
.hero-card-klasik {
  background: #fff;
  padding: 48px 44px 52px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}
.badge-free {
  background: var(--success-light);
  color: var(--success);
}
.badge-premium {
  background: var(--geometri-light);
  color: var(--geometri-dark);
}
.badge-brans {
  background: #ede9fe;
  color: #7c3aed;
}
.hero-card-klasik h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.hero-card-klasik .hero-card-sub {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.hero-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text);
}
.hero-card-features li svg { flex-shrink: 0; }
.hero-card-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-hero-klasik {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(249,115,22,.25);
  transition: box-shadow .15s, transform .12s;
}
.btn-hero-klasik:hover { box-shadow: 0 6px 20px rgba(249,115,22,.35); transform: translateY(-1px); }
.hero-card-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 2px;
  min-height: 1.1em;
}
.hero-card-note-tg { color: rgba(255,255,255,.55); }

/* Card illustrations */
.hero-card-illus {
  margin-bottom: 24px;
  border-radius: 12px;
  padding: 12px 14px;
}
.hero-card-illus svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-illus-klasik { background: #fff7ed; }
.hero-illus-brans { background: #faf5ff; }
.hero-illus-tg {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

/* Keep CTA blocks aligned at the bottom of every card */
.hero-card-features { margin-bottom: 24px; }
.hero-card-cta { margin-top: auto; }

/* --- Branş side --- */
.hero-card-brans {
  background: #fff;
  padding: 48px 44px 52px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.hero-card-brans h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.hero-card-brans .hero-card-sub {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.hero-brans-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.hero-brans-chips span {
  font-size: .72rem;
  font-weight: 600;
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  padding: 4px 10px;
  border-radius: 100px;
}
.btn-hero-brans {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(124,58,237,.25);
  transition: box-shadow .15s, transform .12s;
}
.btn-hero-brans:hover { box-shadow: 0 6px 20px rgba(124,58,237,.35); transform: translateY(-1px); }

/* --- TG countdown --- */
.hero-countdown {
  margin-bottom: 24px;
}
.hero-countdown-label {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.hero-countdown-boxes {
  display: flex;
  gap: 8px;
}
.hero-cd-box {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
}
.hero-cd-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-cd-lbl {
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin-top: 3px;
}
.hero-countdown.is-live .hero-cd-val { color: #4ade80; }

/* --- TG side --- */
.hero-card-tg {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  padding: 48px 44px 52px;
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-card-tg::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(165,180,252,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-tg h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 10px;
}
.hero-card-tg .hero-card-sub {
  color: rgba(255,255,255,.75);
  font-size: .93rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero-card-tg .hero-card-features li {
  color: rgba(255,255,255,.75);
}
.hero-card-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  line-height: 1.1;
}
.hero-stat-lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  margin-top: 2px;
}
.btn-hero-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #0f172a;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s, box-shadow .12s;
}
.btn-hero-tg:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.btn-hero-tg-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: background .15s;
}
.btn-hero-tg-outline:hover { background: rgba(255,255,255,.18); }

@media (max-width: 1000px) {
  .deneme-hero-split-3 {
    grid-template-columns: 1fr;
    border-radius: 16px 16px 0 0;
  }
  .deneme-hero-split-3 .hero-card-klasik,
  .deneme-hero-split-3 .hero-card-brans {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .hero-card-klasik, .hero-card-brans, .hero-card-tg { padding: 36px 28px 40px; }
}

@media (max-width: 768px) {
  .deneme-hero-split {
    grid-template-columns: 1fr;
    border-radius: 16px 16px 0 0;
  }
  .hero-card-klasik { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 28px 40px; }
  .hero-card-brans { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 28px 40px; }
  .hero-card-tg { padding: 36px 28px 40px; }
  .deneme-hero { padding: 76px 0 0; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-step { padding: 24px 22px; }
  .deneme-how, .deneme-compare, .tg-schedule-section, .tg-buy-section, .tg-plans-section { padding: 48px 0; }
}

/* legacy aliases kept for next-exam-bar etc */
.tg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0f172a;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.tg-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.tg-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .15s;
}
.tg-btn-secondary:hover { background: rgba(255,255,255,.2); }

/* Next Exam Countdown */
.next-exam-bar {
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
.next-exam-bar strong { color: #fff; }
.countdown-timer {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  margin-left: 8px;
}

/* Schedule Section */
.tg-schedule-section {
  padding: 72px 0;
  background: var(--bg-alt);
}
.tg-schedule-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.tg-schedule-section .section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.tg-schedule-section .section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}
.tg-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.tg-exam-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.tg-exam-row:last-child { border-bottom: none; }
.tg-exam-row:hover { background: var(--bg-alt); }
.tg-exam-row.state-live { background: var(--success-light); }
.tg-exam-row.state-past { opacity: .6; }
.tg-exam-row-check {
  flex-shrink: 0;
}
.tg-exam-row-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}
.tg-exam-row-info {
  flex: 1;
  min-width: 0;
}
.tg-exam-row-title {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tg-exam-row-date {
  font-size: .78rem;
  color: var(--text-secondary);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tg-exam-row-badge {
  flex-shrink: 0;
}
.tg-state-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-upcoming { background: var(--geometri-light); color: var(--geometri-dark); }
.badge-live { background: var(--success-light); color: var(--success); animation: pulse-badge 1.5s ease-in-out infinite; }
.badge-past { background: var(--bg-alt); color: var(--text-secondary); }
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}
.tg-exam-row-price {
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
}
.tg-exam-row-access {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16a34a;
  font-size: .78rem;
  font-weight: 600;
}

.tg-register-form {
  max-width: 800px;
  margin: 28px auto 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.tg-register-form-inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.tg-register-field {
  flex: 1;
  min-width: 220px;
}
.tg-register-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.tg-register-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s;
}
.tg-register-field input:focus {
  outline: none;
  border-color: var(--primary);
}
.tg-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .12s;
  white-space: nowrap;
  font-family: inherit;
}
.tg-register-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.tg-register-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.tg-register-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tg-register-summary-text {
  font-size: .85rem;
  color: var(--text-secondary);
}
.tg-register-summary-text strong {
  color: var(--text);
  font-weight: 700;
}
.tg-register-summary-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.tg-register-note {
  margin-top: 12px;
  font-size: .78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tg-select-all-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--primary-light);
  border-bottom: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.tg-select-all-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}
.tg-select-all-row label {
  cursor: pointer;
  padding: 12px 0;
  margin: -12px 0;
}
.tg-pack-hint {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 100px;
}
.tg-exam-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  flex-shrink: 0;
}
.tg-exam-buy-btn:hover { background: var(--primary-dark); }

/* Buy Section */
.tg-buy-section {
  padding: 72px 0;
  background: var(--bg);
}
.tg-buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.tg-buy-card {
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow .15s;
}
.tg-buy-card:hover { box-shadow: 0 8px 32px rgba(99,102,241,.1); }
.tg-buy-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
}
.tg-buy-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.tg-buy-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tg-buy-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.tg-buy-price-sub {
  font-size: .82rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.tg-buy-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}
.tg-buy-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-secondary);
  padding: 5px 0;
}
.tg-buy-features li svg { flex-shrink: 0; }
.tg-buy-cta {
  width: 100%;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.tg-buy-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,.25); }
.tg-buy-cta-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.tg-buy-cta-secondary {
  background: var(--bg-alt);
  color: var(--text);
}
.tg-secure-note {
  text-align: center;
  margin-top: 24px;
  font-size: .82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Premium Plans */
.tg-plans-section {
  padding: 72px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}
.tg-plans-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.tg-plans-section .section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}
.tg-plans-section .section-header p {
  color: rgba(255,255,255,.75);
}
.tg-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}
.tg-plan-card {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: background .15s, transform .15s;
}
.tg-plan-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.tg-plan-card.featured-plan {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.9);
}
.tg-plan-card-free {
  position: relative;
  border-color: #f97316;
}
.tg-plan-free-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #f97316;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.tg-plan-name {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 12px;
}
.tg-plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.tg-plan-price-free {
  color: #fb923c;
}
.tg-plan-interval {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.tg-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
  text-align: left;
}
.tg-plan-features li {
  font-size: .83rem;
  color: rgba(255,255,255,.75);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tg-plan-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.tg-plan-btn {
  width: 100%;
  margin-top: auto;
  padding: 11px 16px;
  border-radius: 9px;
  font-weight: 700;
  font-size: .88rem;
  border: none;
  cursor: pointer;
  transition: transform .12s;
}
.tg-plan-btn:hover { transform: translateY(-1px); }
.tg-plan-btn-primary { background: var(--primary-light); color: var(--primary-dark); }
.tg-plan-btn-secondary { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.tg-plan-btn-free { background: #f97316; color: #fff; }

/* Loading state */
.tg-loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  color: var(--text-secondary);
  font-size: .95rem;
  gap: 10px;
}
.tg-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Auth gate inline */
.tg-auth-notice {
  background: var(--bg-warm);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.tg-auth-notice p {
  margin: 0;
  font-size: .9rem;
  color: #92400e;
}
.tg-auth-notice a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .tg-plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; row-gap: 28px; }
}
@media (max-width: 640px) {
  .tg-buy-grid { grid-template-columns: 1fr; }
  .tg-plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; row-gap: 28px; }
  .tg-plan-btn { padding: 14px 16px; }
  .tg-exam-row { gap: 10px; padding: 14px 14px; }
  .tg-exam-row-check input[type="checkbox"],
  .tg-select-all-row input[type="checkbox"] { width: 22px; height: 22px; }
  .tg-exam-buy-btn { padding: 10px 16px; font-size: .82rem; }
  .tg-register-form { padding: 20px 16px; }
  .tg-register-form-inner { flex-direction: column; align-items: stretch; }
  .tg-register-btn { width: 100%; justify-content: center; padding: 14px 28px; }
  .deneme-trust-strip .container { gap: 12px 20px; }
  .trust-item { font-size: .8rem; }
  .compare-table { font-size: .84rem; }
  .compare-table thead th, .compare-table tbody th, .compare-table tbody td { padding: 12px 12px; }
}
@media (max-width: 420px) {
  .tg-plans-grid { grid-template-columns: 1fr; }
  .tg-exam-row-price { font-size: .75rem; }
  .deneme-hero-tag { font-size: .74rem; }
}
