/* Giriş, Gold, ödeme ve Hesabım sayfaları. Temel değişkenler, menü, kart ve footer /css/ulke.css'ten gelir. */

:root { --gold: #FBBF24; --gold-deep: #F59E0B; --danger: #F87171; --ok: #34D399; --info: #8B7AFF; --input-bg: rgba(255,255,255,0.04); }
html.light { --gold: #B45309; --gold-deep: #D97706; --danger: #DC2626; --ok: #059669; --info: #5B45E0; --input-bg: #fff; }

.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
a { color: var(--purple-light); }
html.light a { color: #5B45E0; }

/* Sayfa iskeleti (menü sabit, 64px) */
.page { padding: 112px 24px 80px; min-height: calc(100vh - 140px); }
.page-narrow { max-width: 680px; margin: 0 auto; }
.page h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 900; letter-spacing: -1px; line-height: 1.2; margin-bottom: 18px; }
.page .lead { font-size: 15.5px; color: var(--sub); line-height: 1.7; margin-bottom: 22px; }
.page .card h2 { font-size: 18px; }
.card-soft { background: linear-gradient(135deg, rgba(106,82,255,0.10), rgba(139,92,246,0.04)); border-color: rgba(106,82,255,0.28); }

/* Düğmeler */
.btn, button.btn-primary { font-family: inherit; cursor: pointer; border: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s, background .2s; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(106,82,255,0.4); }
html.light .btn-primary { color: #fff; }
.btn-gold { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #1F1503 !important; box-shadow: 0 4px 18px rgba(245,158,11,0.25); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(245,158,11,0.38); }
.btn-outline { background: transparent; color: var(--fg) !important; border: 1px solid var(--border); }
.btn-outline:hover { border-color: rgba(106,82,255,0.5); background: rgba(106,82,255,0.08); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, button:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--purple-light); font-weight: 600; cursor: pointer; text-decoration: underline; }
.inline-form { margin: 0; }

/* Uyarılar */
.alert { border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.6; margin-bottom: 18px; border: 1px solid; }
.alert a { font-weight: 700; }
.alert-error { background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.35); color: var(--fg); }
.alert-warn { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.35); color: var(--fg); }
.alert-info { background: rgba(139,122,255,0.08); border-color: rgba(139,122,255,0.35); color: var(--fg); }
.alert-ok { background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.35); color: var(--fg); }

/* Giriş */
.auth-box { max-width: 440px; margin: 0 auto; }
.auth-providers { display: grid; gap: 10px; }
.provider-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--input-bg); color: var(--fg); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.provider-btn:hover { border-color: rgba(106,82,255,0.5); background: rgba(106,82,255,0.08); }
.provider-btn .g { font-weight: 800; color: #4285F4; }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 12.5px; color: var(--muted); }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--sub); margin-bottom: 6px; }
.form-field input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--input-bg); color: var(--fg); font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form-field input:focus { border-color: rgba(106,82,255,0.7); box-shadow: 0 0 0 3px rgba(106,82,255,0.18); }
.form-actions { margin-top: 18px; }
.auth-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* Özet satırları */
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-row > span:first-child { color: var(--muted); }
.summary-row > span:last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* Gold paketleri */
.gold-hero { padding: 120px 24px 24px; text-align: center; max-width: 820px; margin: 0 auto; }
.gold-hero .hero-badge { border-color: rgba(251,191,36,0.4); color: var(--gold); }
.gold-hero h1 .accent { background: linear-gradient(135deg, #F59E0B, #FDE68A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
html.light .gold-hero h1 .accent { background: linear-gradient(135deg, #B45309, #F59E0B); -webkit-background-clip: text; background-clip: text; }
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.package-grid.compact { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 16px; }
.package-card { position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.package-card:hover { transform: translateY(-3px); border-color: rgba(251,191,36,0.35); }
.package-card.featured { border-color: rgba(251,191,36,0.5); background: linear-gradient(180deg, rgba(251,191,36,0.08), var(--card-bg)); box-shadow: 0 0 50px rgba(245,158,11,0.10); }
.package-card .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #1F1503; border-radius: 999px; padding: 3px 14px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.package-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.package-card .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.package-card .price span { font-size: 36px; font-weight: 900; letter-spacing: -1.5px; }
.package-card .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.package-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; flex: 1; }
.package-card li { font-size: 13.5px; color: var(--sub); padding-left: 24px; position: relative; }
.package-card li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 5px; background: rgba(251,191,36,0.15); color: var(--gold); font-size: 10px; display: flex; align-items: center; justify-content: center; }
.package-grid.compact .package-card { padding: 20px 18px; }
.package-grid.compact .package-card .price span { font-size: 28px; }
.package-grid.compact .package-card ul { display: none; }
.price-note { max-width: 640px; margin: 22px auto 0; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.6; }
.section-block { padding: 24px 24px 40px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.section-head h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; letter-spacing: -0.8px; margin-bottom: 8px; }
.section-head p { color: var(--sub); font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 22px; }
.feature-card .ico { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(106,82,255,0.14); color: var(--purple-light); margin-bottom: 12px; }
.feature-card .ico svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--sub); line-height: 1.6; }

/* Ödeme */
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-bg); font-size: 14px; line-height: 1.6; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #6A52FF; flex-shrink: 0; }
#checkout { margin-top: 18px; }
.spinner { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; border: 3px solid rgba(106,82,255,0.2); border-top-color: #6A52FF; animation: sr-spin .8s linear infinite; }
@keyframes sr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* Sonuç / hata kutusu */
.status-box { text-align: center; padding: 40px 28px; }
.status-box h1 { margin-bottom: 10px; }
.status-icon { font-size: 40px; margin-bottom: 10px; }
.steps-list { text-align: left; max-width: 420px; margin: 18px auto 0; padding-left: 20px; color: var(--sub); font-size: 14.5px; line-height: 1.9; }
.store-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--card-bg); color: var(--fg) !important; text-decoration: none; }
.store-badge .icon { font-size: 20px; }
.store-badge .lines { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge small { font-size: 11px; color: var(--muted); }
.store-badge strong { font-size: 14px; }

/* Tablo */
.table-wrap { overflow-x: auto; margin-top: 8px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th { text-align: left; font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data td { padding: 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-ok { background: rgba(52,211,153,0.14); color: var(--ok); }
.badge-muted { background: rgba(127,127,127,0.14); color: var(--muted); }

/* Hukuki metin */
.legal h2 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--sub); line-height: 1.75; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 8px 0; }

@media (max-width: 600px) {
  .page { padding: 96px 16px 64px; }
  .card { padding: 22px 18px; }
  .summary-row { flex-direction: column; gap: 2px; }
  .summary-row > span:last-child { text-align: left; }
}
