/* ═══════════════════════════════════════════════════════════
   Layra Pay – Ana Stil Dosyası
   ═══════════════════════════════════════════════════════════ */

/* ─── Değişkenler ────────────────────────────────────────── */
:root {
  --primary:      #62a638;
  --primary-dark: #4f872d;
  --primary-light:#c3e442;
  --accent:       #8fd44b;
  --success:      #62a638;
  --danger:       #ef4444;
  --warning:      #f59e0b;
  --pending:      #6b7280;

  --bg:           #0f0e17;
  --bg2:          #161523;
  --card:         rgba(255,255,255,0.05);
  --card-border:  rgba(255,255,255,0.08);
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-strong:  #f8fafc;

  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 32px rgba(0,0,0,0.4);
  --transition:   0.25s ease;

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
code { font-family: 'Courier New', Courier, monospace; font-size: 0.875em; }

/* ─── Utility ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mono { font-family: 'Courier New', Courier, monospace; font-size: 0.85em; }

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════ */
.landing-body { overflow-x: hidden; }

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,14,23,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 700; color: var(--text-strong);
}
.nav-brand a { display: inline-flex; align-items: center; }
.nav-brand img {
  display: block;
  width: 184px;
  max-width: 100%;
  height: auto;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--text-strong); }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.b1 { width: 600px; height: 600px; background: var(--primary); top: -150px; left: -100px; animation-delay: 0s; }
.b2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; right: -50px; animation-delay: 2s; }
.b3 { width: 300px; height: 300px; background: var(--primary-light); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 4s; }

@keyframes blobFloat {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.1) translateY(-20px); }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(98,166,56,0.16);
  border: 1px solid rgba(195,228,66,0.28);
  color: var(--primary-light);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 0 32px rgba(98,166,56,0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(98,166,56,0.38); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text); padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--primary-light); background: rgba(98,166,56,0.1); }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 20px 32px;
  backdrop-filter: blur(8px);
}
.stat { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.88rem; }
.stat i { color: var(--primary-light); }
.stat-divider { width: 1px; height: 20px; background: var(--card-border); }

/* ─── Sections ──────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header.light h2, .section-header.light p { color: var(--text-strong); }
.section-tag {
  display: inline-block;
  background: rgba(98,166,56,0.16); color: var(--primary-light);
  border: 1px solid rgba(195,228,66,0.25);
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--text-strong); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ─── Flow Steps ────────────────────────────────────────── */
.flow-steps {
  display: flex; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; justify-content: center;
}
.flow-step {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center; flex: 1; min-width: 200px; max-width: 240px;
  transition: transform var(--transition), border-color var(--transition);
}
.flow-step:hover { transform: translateY(-4px); border-color: rgba(195,228,66,0.35); }
.step-num { font-size: 0.7rem; font-weight: 800; color: var(--primary-light); letter-spacing: 0.15em; margin-bottom: 12px; }
.step-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(98,166,56,0.28), rgba(195,228,66,0.22));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary-light);
  margin: 0 auto 16px;
}
.flow-step h3 { font-size: 1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.flow-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.flow-arrow { color: var(--primary-light); font-size: 1.1rem; margin-top: 60px; opacity: 0.5; }

/* ─── API Cards ─────────────────────────────────────────── */
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .api-grid { grid-template-columns: 1fr; } }

.api-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
}
.api-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.method {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: .05em;
}
.method.post { background: rgba(98,166,56,0.18); color: var(--primary-light); border: 1px solid rgba(195,228,66,0.26); }
.method.get  { background: rgba(195,228,66,0.12); color: var(--accent); border: 1px solid rgba(195,228,66,0.22); }
.api-card-header code { color: var(--text-muted); font-size: 0.88rem; }
.api-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.api-section-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-light); margin: 14px 0 8px; }

.code-block {
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); padding: 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem; color: var(--text-muted);
  line-height: 1.7; white-space: pre;
  overflow-x: auto;
}
.code-block .key  { color: var(--primary-light); }
.code-block .str  { color: #34d399; }
.code-block .num  { color: #fb923c; }
.code-block .bool { color: #60a5fa; }

.api-note {
  background: rgba(98,166,56,0.08); border: 1px solid rgba(98,166,56,0.18);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 0.82rem; color: var(--text-muted); margin-top: 16px;
  display: flex; gap: 8px; align-items: flex-start;
}
.api-note i { color: var(--primary); margin-top: 2px; }

/* Status badges */
.status-table { display: flex; flex-direction: column; gap: 8px; }
.status-row { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }
.badge.pending    { background: rgba(107,114,128,0.2); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }
.badge.processing { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.badge.completed  { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.badge.failed     { background: rgba(239,68,68,0.2);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.badge.expired    { background: rgba(107,114,128,0.1); color: #6b7280; border: 1px solid rgba(107,114,128,0.2); }

/* ─── Güvenlik ───────────────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.security-item {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  transition: transform var(--transition), border-color var(--transition);
}
.security-item:hover { transform: translateY(-3px); border-color: rgba(195,228,66,0.25); }
.security-item > i {
  font-size: 1.8rem; color: var(--primary-light);
  margin-bottom: 16px; display: block;
}
.security-item h4 { font-size: 1rem; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.security-item p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ─── Footer ────────────────────────────────────────────── */
.footer { background: #0a0912; border-top: 1px solid var(--card-border); padding: 40px 24px; text-align: center; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.2rem; font-weight: 700; color: var(--text-strong); margin-bottom: 12px; }
.footer-brand img { display: block; width: 200px; max-width: 100%; height: auto; }
.footer-copy { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 16px; }
.footer-copy a { color: var(--primary-light); font-weight: 600; }
.footer-badges { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 0.8rem; color: var(--text-muted); }
.footer-badges span { display: flex; align-items: center; gap: 6px; }
.footer-badges i { color: var(--primary-light); }

/* ─── Private Notice ─────────────────────────────────────── */
.private-notice {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171; padding: 10px 20px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
  margin-bottom: 28px;
}
.private-notice i { font-size: 0.9rem; }

/* ─── Nav active link ────────────────────────────────────── */
.nav-links a.active { color: var(--text-strong); }

/* ─── Alert ─────────────────────────────────────────────── */
.alert-error {
  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3);
  color: #f87171; padding: 12px 20px; border-radius: var(--radius-sm);
  margin-bottom: 32px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   ÖDEME SAYFASI (pay.php)
   ═══════════════════════════════════════════════════════════ */

.pay-body {
  background: #0b0a17;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.pay-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ── Sol Panel ─────────────────────────────────────────── */
.order-panel {
  width: 400px;
  min-width: 320px;
  background: linear-gradient(160deg, #132112 0%, #0e1410 55%, #101913 100%);
  border-right: 1px solid rgba(195,228,66,0.12);
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.order-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(98,166,56,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.order-panel::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(195,228,66,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.brand-logo img {
  display: block;
  width: 198px;
  max-width: 100%;
  height: auto;
}

/* Tutar Kutusu */
.pay-amount-box {
  background: linear-gradient(135deg, rgba(98,166,56,0.18) 0%, rgba(195,228,66,0.12) 100%);
  border: 1px solid rgba(195,228,66,0.24);
  border-radius: 18px;
  padding: 26px 22px 22px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.pay-amount-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at top right, rgba(195,228,66,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.pay-amount-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(148,163,184,0.75);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
}
.pay-amount-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.pay-amount-sub {
  font-size: 0.71rem;
  color: rgba(148,163,184,0.55);
  font-family: 'Courier New', monospace;
  margin: 0;
}

/* Sipariş Detayları */
.order-details-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.odetail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.odetail-row:last-child { border-bottom: 0; }
.odetail-key {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(148,163,184,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.odetail-key i { width: 12px; color: var(--primary-light); font-size: 0.7rem; }
.odetail-val {
  font-size: 0.875rem;
  color: #e2e8f0;
  word-break: break-word;
  padding-left: 18px;
  line-height: 1.4;
}
.odetail-val.mono { font-family: 'Courier New', monospace; font-size: 0.78rem; color: #94a3b8; }

/* Süre Sayacı */
.pay-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: #fbbf24;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.pay-timer i { color: #f59e0b; flex-shrink: 0; }
.pay-timer strong { font-variant-numeric: tabular-nums; font-weight: 700; }
.pay-timer strong.urgent { color: #ef4444; }

.pay-spacer { flex: 1; min-height: 20px; }

/* Güvenlik Rozetleri */
.pay-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.pay-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 0.73rem;
  color: #94a3b8;
  font-weight: 500;
}
.pay-badges span i { color: #10b981; font-size: 0.78rem; }
.pay-badges .cc-icon { font-size: 1.15rem; color: #64748b; padding: 3px 10px; }

/* Alt yazı */
.pay-footer-text {
  font-size: 0.7rem;
  color: rgba(148,163,184,0.4);
  text-align: center;
  position: relative;
  z-index: 1;
}
.pay-footer-text i { color: var(--primary-light); margin-right: 4px; }

/* ── Sağ Panel ─────────────────────────────────────────── */
.payment-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 36px;
  background: #f0f2f8;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(98,166,56,0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(195,228,66,0.08) 0%, transparent 45%);
  min-height: 100vh;
}

.payment-card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(148,163,184,0.18);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.08),
    0 24px 64px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* Kart Üst Çubuğu */
.payment-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafbfc;
  border-bottom: 1px solid #eaecf2;
  padding: 14px 22px;
}
.pct-lock {
  width: 26px;
  height: 26px;
  background: #d1fae5;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.pct-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}
.pct-domain {
  margin-left: auto;
  font-size: 0.7rem;
  color: #9ca3af;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'Courier New', monospace;
}

.payment-card-body {
  padding: 0 0 10px;
}

.payment-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, rgba(248,250,252,0.95) 0%, rgba(255,255,255,1) 100%);
}

.payment-hero-copy h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.payment-hero-copy p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
}

.payment-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(98,166,56,0.08), rgba(195,228,66,0.12));
  border: 1px solid rgba(98,166,56,0.12);
  color: #4f872d;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.payment-hero-badge i { color: var(--primary); }

/* İframe alanı */
.iframe-wrapper {
  position: relative;
  min-height: 620px;
  padding: 16px 18px 12px;
}
.iframe-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  gap: 16px;
  color: #94a3b8;
  font-size: 0.875rem;
}

.payment-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 0.82rem;
}

.payment-note i {
  color: #0ea5e9;
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #e9ecef;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hata Kutusu (kartın içinde) */
.paytr-error-box {
  text-align: center;
  padding: 56px 36px;
  color: #334155;
}
.paytr-error-box > i { font-size: 2.5rem; color: #f59e0b; display: block; margin-bottom: 16px; }
.paytr-error-box h3 { font-size: 1.05rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.paytr-error-box p { color: #64748b; font-size: 0.875rem; margin-bottom: 6px; }
.paytr-error-box code {
  display: block;
  margin: 14px 0 0;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.76rem;
  color: #dc2626;
  text-align: left;
  word-break: break-all;
  line-height: 1.5;
}
.btn-retry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
  transition: background 0.2s;
  margin-top: 20px;
}
.btn-retry:hover { background: var(--primary-dark); }

/* ═══════════════════════════════════════════════════════════
   BAŞARI / HATA SAYFASI
   ═══════════════════════════════════════════════════════════ */
.result-body {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px 24px;
}
.success-body { background: linear-gradient(135deg, #0f0e17 0%, #0d1f18 100%); }
.fail-body    { background: linear-gradient(135deg, #0f0e17 0%, #1f0d0d 100%); }

.result-wrapper { max-width: 480px; width: 100%; }
.result-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--card-border);
  border-radius: 24px; padding: 48px 40px; text-align: center;
  backdrop-filter: blur(12px);
}

/* SVG İkon */
.result-icon { margin: 0 auto 32px; }
.result-icon svg { width: 80px; height: 80px; }

.icon-circle { fill: none; stroke: var(--success); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: 157; animation: drawCircle 0.6s ease forwards; }
.icon-check  { stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck 0.4s 0.6s ease forwards; }
.icon-circle-fail { fill: none; stroke: var(--danger); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: 157; animation: drawCircle 0.6s ease forwards; }
.icon-x { stroke: var(--danger); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck 0.4s 0.6s ease forwards; }

@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }

.result-title { font-size: 1.8rem; font-weight: 800; color: var(--text-strong); margin-bottom: 10px; }
.result-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px; line-height: 1.6; }

.result-details { text-align: left; background: rgba(0,0,0,0.2); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 32px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.875rem; gap: 16px; }
.detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-row > span:first-child { color: var(--text-muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.detail-row > span:first-child i { width: 14px; }
.detail-row > span:last-child, .detail-row > strong { color: var(--text-strong); font-size: 0.875rem; text-align: right; }

.btn-return {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem;
  width: 100%; margin-bottom: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.success-btn { background: linear-gradient(135deg, var(--success), #059669); color: #fff; box-shadow: 0 0 28px rgba(16,185,129,0.35); }
.success-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(16,185,129,0.5); }
.fail-btn { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.fail-btn:hover { background: rgba(239,68,68,0.25); }

.auto-redirect { font-size: 0.8rem; color: var(--text-muted); }
#countNum { font-weight: 700; color: var(--primary-light); font-variant-numeric: tabular-nums; }

.fail-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-retry-pay {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; padding: 14px 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem; width: 100%;
  box-shadow: 0 0 24px rgba(98,166,56,0.24);
  transition: transform var(--transition);
}
.btn-retry-pay:hover { transform: translateY(-2px); }

.result-footer { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--text-muted); }
.result-footer i { color: var(--success); }
.result-footer strong { color: var(--primary-light); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .pay-wrapper { flex-direction: column; }
  .order-panel { width: 100%; min-width: 0; padding: 24px 20px; border-right: 0; border-bottom: 1px solid rgba(195,228,66,0.12); }
  .pay-amount-value { font-size: 1.9rem; }
  .pay-spacer { display: none; }
  .payment-panel { padding: 20px 16px; min-height: auto; }
  .payment-card { max-width: 100%; }
  .payment-hero { flex-direction: column; align-items: stretch; }
  .payment-hero-badge { width: fit-content; }
  .iframe-wrapper { min-height: 520px; padding: 12px 12px 8px; }
  .iframe-loader { min-height: 500px; }
  .payment-note { margin: 0 14px 16px; }
  .nav-brand img { width: 158px; }
  .footer-brand img { width: 176px; }
  .brand-logo img { width: 172px; }
  .nav-links { display: none; }
  .flow-arrow { display: none; }
  .flow-steps { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; }
  .result-card { padding: 32px 24px; }
  .hero-stats { gap: 12px; padding: 16px; }
  .stat-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
