/* =========================
   Secure Domain Check PRO
   Vertical List + Staggered Animation
   ========================= */

/* ---- Tokens ---- */
.sdcpro-wrap{
  --bg:#ffffff; --surface:#ffffff; --muted:#f6f8fc; --line:#e7eaf0;
  --text:#0f172a; --sub:#6b7280; --sub-2:#9aa3b2;
  --brand:#2563eb; --brand-ink:#1e40af; --brand-weak:#eef2ff;
  --ok:#10b981; --ok-ink:#065f46; --no:#ef4444; --no-ink:#991b1b;
  --maybe:#9ca3af; --maybe-ink:#475569;

  --r-xs:8px; --r-sm:12px; --r-md:16px; --r-lg:20px;
  --shadow-sm:0 4px 12px rgba(2,6,23,.05);
  --shadow-md:0 10px 30px rgba(2,6,23,.07);
  --shadow-lg:0 16px 38px rgba(2,6,23,.09);

  --dur-fast:.16s; --dur-med:.22s; --dur-slow:.36s;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color:var(--text); background:var(--bg);
  max-width:960px; margin:34px auto; padding:0 18px;
}

/* ---- Header ---- */
.sdcpro-header{ margin:2px auto 16px; text-align:center; }
.sdcpro-title{ margin:0 0 4px; font-weight:900; font-size:clamp(22px,2.6vw,28px); letter-spacing:.2px; color:#0b1324; }
.sdcpro-sub{ margin:0; color:var(--sub); font-size:14px; }

/* ---- Steps / Progress ---- */
.sdcpro-progress{
  display:flex; align-items:center; gap:12px; padding:10px 0 8px; margin:0 auto 12px; max-width:920px;
  border-bottom:1px solid var(--line);
}
.sdcpro-progress .pitem{ display:flex; align-items:center; gap:8px; color:var(--sub); font-weight:800; font-size:13px; }
.sdcpro-progress .dot{ width:26px; height:26px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.sdcpro-progress .pitem.active{ color:#111827; }
.sdcpro-progress .pitem.active .dot{ background:var(--brand); color:#fff; border-color:var(--brand); }
.sdcpro-progress .pline{ flex:1; height:1px; background:var(--line); }

.sdcpro-steps{ display:grid; gap:16px; }
.sdcpro-step{ display:none; }
.sdcpro-step.active{ display:block; animation:sdc-fade .18s ease both; }
@keyframes sdc-fade{ from{opacity:0; transform:translateY(4px)} to{opacity:1; transform:translateY(0)} }

/* ---- Cards ---- */
.sdcpro-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  padding:20px; box-shadow:var(--shadow-md);
  transition:box-shadow var(--dur-med) ease, transform var(--dur-fast) ease;
}
.sdcpro-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-1px); }
.sdcpro-input-card{ padding:22px; }

/* ---- Input segment ---- */
.sdcpro-bar{ display:flex; gap:12px; align-items:center; }
.seg-inline{ width:100%; display:flex; gap:10px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--r-sm); padding:12px 14px; }
.seg{ display:inline-flex; align-items:center; }
.seg-prefix{ color:var(--sub-2); font-weight:900; letter-spacing:.3px; }
.seg-input{ flex:1; min-width:200px; background:transparent; border:none!important; outline:none!important; font-size:16px; color:#0f172a; padding:6px 6px!important; }
.seg-input::placeholder{ color:#c3c9d6; }

.sdcpro-hint{ margin-top:10px; color:var(--sub); font-size:13px; }
.chip{ display:inline-block; padding:6px 10px; border-radius:999px; background:#fff; border:1px solid var(--line); margin-right:6px; font-weight:800; color:#1f2937; }

/* ---- Summary ---- */
.sdcpro-summary{ background:#fff; border:1px dashed var(--line); border-radius:var(--r-sm); padding:12px 14px; margin:12px 0 16px; }
.sdcpro-preview{ font-size:18px; font-weight:900; letter-spacing:.2px; }
.sdcpro-preview .pre,.sdcpro-preview .dot{ color:#9aa3af; }
.sdcpro-help{ font-size:13px; color:var(--sub); margin-top:6px; }

/* ---- Buttons ---- */
.sdcpro-actions{ display:flex; gap:12px; margin-top:16px; }
.sdcpro-actions.right{ justify-content:flex-end; }
.sdcpro-actions.between{ justify-content:space-between; }
.sdcpro-btn{ position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:12px!important; padding:12px 18px!important; line-height:1!important; font-weight:900!important; cursor:pointer!important; border:1px solid transparent!important; transition:transform var(--dur-fast) ease, box-shadow var(--dur-med) ease, background var(--dur-fast) ease, color var(--dur-fast) ease; }
.sdcpro-btn:focus-visible{ outline:2px solid #c7d2fe; outline-offset:2px; }
.sdcpro-btn-primary{ background:var(--brand)!important; color:#fff!important; box-shadow:0 10px 20px rgba(37,99,235,.18)!important; }
.sdcpro-btn-primary:hover{ transform:translateY(-1px)!important; box-shadow:0 14px 24px rgba(37,99,235,.24)!important; background:var(--brand-ink)!important; }
.sdcpro-btn-ghost{ background:#fff!important; color:#111827!important; border-color:var(--line)!important; }
.sdcpro-btn-ghost:hover{ background:#f7f9fd!important; color:#0f172a!important; }
.sdcpro-btn.loading .txt{ opacity:.55; }
.sdcpro-spinner{ width:16px; height:16px; border-radius:50%; border:2px solid rgba(255,255,255,.6); border-top-color:#fff; display:none; }
.sdcpro-btn.loading .sdcpro-spinner{ display:inline-block; animation:sdc-spin .8s linear infinite; }
@keyframes sdc-spin{ to{ transform:rotate(360deg) } }

/* ---- Results: vertical list + stagger ---- */
.sdcpro-result{ margin-top:14px; }

/* Tek sütun, alt alta */
.sdcpro-grid{
  display:flex; flex-direction:column; gap:14px;
}

/* Stagger kontrol sınıfı: .stagger.play geldiğinde kartlar sırayla görünür */
.sdcpro-grid.stagger .sdcpro-card{
  opacity:0; transform:translateY(10px);
  will-change: transform, opacity;
}
.sdcpro-grid.stagger.play .sdcpro-card{
  animation: sdc-stagger-up var(--dur-slow) cubic-bezier(.22,.9,.22,1) var(--delay, 0s) forwards;
}
@keyframes sdc-stagger-up{
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Kart içi */
.sdcpro-card-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }
.sdcpro-domain{ font-weight:900; letter-spacing:.2px; font-size:16px; overflow-wrap:anywhere; color:#0b1324; }
.sdcpro-chip{ font-size:12px; padding:6px 10px; border-radius:999px; font-weight:900; border:1px solid transparent; }
.sdcpro-chip.ok{ background:#e8fbf4; color:var(--ok-ink); border-color:#b7f0d9; }
.sdcpro-chip.no{ background:#feecec; color:var(--no-ink); border-color:#f8c0c0; }
.sdcpro-chip.maybe{ background:#f1f5f9; color:var(--maybe-ink); border-color:#e2e8f0; }

.sdcpro-meta{ color:var(--sub); font-size:13px; margin:4px 0 12px; }

/* Mobilde satın alma/iletişim tam genişlik */
@media (max-width:720px){ .sdcpro-card .buy{ width:100%; justify-content:center; } }

/* ---- WHOIS ---- */
.sdcpro-whois summary{ cursor:pointer; font-weight:900; color:#263248; margin-bottom:8px; list-style:none; display:inline-flex; align-items:center; }
.sdcpro-whois summary::-webkit-details-marker{ display:none; }
.sdcpro-whois summary::after{ content:""; width:8px; height:8px; margin-left:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); transition:transform var(--dur-fast) ease; }
.sdcpro-whois[open] summary::after{ transform:rotate(-135deg); }
.sdcpro-whois-body{ font-size:13px; display:grid; gap:8px; padding:12px 14px; background:var(--muted); border:1px dashed var(--line); border-radius:var(--r-sm); }

/* ---- Empty / Skeleton ---- */
.sdcpro-empty{ display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:120px; text-align:center; gap:10px; color:var(--sub); background:#fff; border:1px dashed var(--line); border-radius:var(--r-md); padding:24px; box-shadow:var(--shadow-sm); }
.sdcpro-empty .icon{ font-size:22px; }

.skeleton{ position:relative; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:var(--r-md); min-height:96px; }
.skeleton::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg,#f8fafc 0%, #eef2f7 50%, #f8fafc 100%); animation:sdc-shimmer 1.1s ease-in-out infinite; opacity:.9; border-radius:inherit; }
.sdcpro-line{ height:14px; background:transparent; border-radius:8px; margin:10px 0; }
.sdcpro-line.w60{ width:60%; }
@keyframes sdc-shimmer{ 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

/* ---- Utilities ---- */
.sdcpro-hp{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; }
.sdcpro-toast{ position:fixed; left:50%; bottom:18px; transform:translate(-50%,12px); background:#111827; color:#fff; padding:12px 16px; border-radius:12px; font-size:14px; opacity:0; transition:all var(--dur-med) ease; z-index:9999; box-shadow:0 12px 26px rgba(0,0,0,.22); }
.sdcpro-toast.in{ opacity:1; transform:translate(-50%,0); }
.sdcpro-visuallyhidden{ position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
