/* AuctionBidder24 — landing + contact shared styles */
:root {
  --bg: #0b0f17;
  --bg-2: #0f1524;
  --surface: #131b2c;
  --surface-2: #182238;
  --border: #24304a;
  --text: #e7ecf5;
  --muted: #9aa7bd;
  --faint: #6b7890;
  --brand: #4f8cff;
  --brand-2: #7c5cff;
  --ok: #2fbf71;
  --ok-bg: rgba(47, 191, 113, 0.14);
  --warn: #e6a23c;
  --danger: #ef5f6b;
  --grey: #3a465f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(79, 140, 255, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: #7aa8ff; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 23, 0.72);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 16px rgba(79, 140, 255, 0.35);
}
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  color: var(--text);
  background: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.28);
}
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--text); }
.btn-block { width: 100%; }
.btn-mini { padding: 6px 12px; font-size: 13px; border-color: var(--border); background: var(--surface-2); }
.btn-mini:hover { border-color: var(--brand); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(79, 140, 255, 0.12);
  border: 1px solid rgba(79, 140, 255, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -0.5px; }
.grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { color: var(--muted); font-size: 18px; margin: 20px 0 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row {
  margin-top: 26px;
  color: var(--faint);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-row .sep { color: var(--border); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.dot-lock { background: var(--brand); box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18); }

/* hero mock panel */
.hero-panel { position: relative; }
.panel-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.3), transparent);
  filter: blur(20px);
  z-index: 0;
}
.mock-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); }
.mock-title { margin-left: auto; color: var(--faint); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.mock-body { padding: 20px 18px; display: grid; gap: 14px; }
.mock-line { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.mk { color: var(--faint); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; }
.mv { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mv.ok { color: var(--ok); }
.mock-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.svc {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.svc-on { color: var(--ok); background: var(--ok-bg); border-color: rgba(47, 191, 113, 0.3); }
.mock-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mock-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---------- Features ---------- */
.features { padding: 48px 0; }
.section-title { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 0; }
.feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(79, 140, 255, 0.4); }
.feature-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(79,140,255,0.18), rgba(124,92,255,0.18));
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* supported auctions strip */
.supported { margin-top: 40px; }
.supported-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-bottom: 18px;
}
.supported-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.supported-item {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.supported-item .svc-ico { width: 34px; height: 34px; font-size: 18px; border-radius: 9px; }
.supported-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.supported-name { font-weight: 700; font-size: 15px; }
.supported-desc { color: var(--muted); font-size: 13px; }

/* ---------- Access / Auth ---------- */
.access { padding: 40px 0 80px; }
.auth {
  max-width: 460px;
  margin: 34px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tabs { display: flex; border-bottom: 1px solid var(--border); }
.tab {
  flex: 1;
  padding: 15px 0;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); }
.tab.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.auth-form { padding: 26px 24px 28px; display: none; }
.auth-form.active { display: block; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field .opt { color: var(--faint); font-style: normal; font-weight: 400; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18);
}
.form-hint { min-height: 20px; margin: 12px 0 0; font-size: 14px; }
.form-hint.err { color: var(--danger); }
.form-hint.ok { color: var(--ok); }
.form-hint.pending { color: var(--warn); }

/* login/register result blocks */
.result {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.result h4 { font-size: 15px; margin-bottom: 12px; }
.result-ok { border-color: rgba(47, 191, 113, 0.35); background: var(--ok-bg); }
.result-ok p { margin: 0; color: var(--text); font-size: 14px; }

.svc-list { display: grid; gap: 10px; }
.svc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
}
.svc-item { flex-wrap: wrap; }
.svc-item .name { font-weight: 700; letter-spacing: 0.3px; }
.svc-ico {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 15px;
  line-height: 1;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(79,140,255,0.16), rgba(124,92,255,0.16));
  border: 1px solid var(--border);
  overflow: hidden;
}
.svc-ico-img { object-fit: contain; padding: 3px; background: rgba(255,255,255,0.9); }

/* per-service connection detail (subtle) */
.svc-conn {
  flex-basis: 100%;
  margin: 6px 0 0 2px;
  display: grid;
  gap: 3px;
}
.conn-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: var(--faint);
}
.conn-k {
  flex: 0 0 auto;
  min-width: 54px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--faint);
}
.conn-v {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  word-break: break-all;
}
.badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-on { color: var(--ok); background: var(--ok-bg); border: 1px solid rgba(47,191,113,0.3); }
.badge-off { color: var(--faint); background: rgba(107,120,144,0.12); border: 1px solid var(--border); }
.svc-reason { color: var(--faint); font-size: 12px; flex-basis: 100%; margin-left: 2px; }

.token-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.token-chip {
  font-size: 13px;
  font-weight: 700;
  color: var(--ok);
  background: var(--ok-bg);
  border: 1px solid rgba(47,191,113,0.3);
  padding: 6px 12px;
  border-radius: 999px;
}
.copy-note { font-size: 13px; color: var(--muted); }

/* ---------- Contact page ---------- */
.page-hero { padding: 56px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 16px auto 0; font-size: 17px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 72px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h2 { font-size: 20px; margin-bottom: 16px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; flex-direction: column; gap: 3px; }
.info-list .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--faint); font-weight: 700; }
.info-list .value { color: var(--text); font-size: 15px; }
.info-list .value a { font-weight: 600; }
.privacy-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
.contact-form .field { margin-bottom: 16px; }
.contact-form textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18);
}
.form-foot-note { font-size: 12px; color: var(--faint); margin-top: 10px; }
.back-home { display: inline-block; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(15, 21, 36, 0.6);
  padding: 30px 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-legal { color: var(--faint); font-size: 12px; width: 100%; margin: 6px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
}
@media (max-width: 520px) {
  .hero { padding: 48px 0 24px; }
  .nav a[href="#features"] { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
