/* Dark Whole — production marketing UI */
:root {
  --bg: #05070c;
  --bg2: #0a0e17;
  --card: rgba(16, 20, 32, 0.85);
  --card-solid: #101420;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(59, 130, 246, 0.35);
  --text: #f4f7fb;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-2: #22c55e;
  --glow: rgba(59, 130, 246, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(34, 197, 94, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 40%, #05070c 100%);
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px 48px;
}

/* ——— Nav ——— */
nav {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(5, 7, 12, 0.82);
  margin: 0 -22px;
  padding-left: 22px;
  padding-right: 22px;
}
nav .brand {
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  letter-spacing: -0.02em;
}
nav .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 18px var(--glow), 0 0 0 1px rgba(255,255,255,0.08);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 4px;
}
nav a:hover { color: #fff; text-decoration: none; }
nav .btn {
  margin-left: 4px;
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #4f8ff7 0%, #2563eb 100%);
  color: #fff !important;
  border: 0;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}
.btn.sec {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: none;
  color: #e2e8f0 !important;
}
.btn.sec:hover { background: rgba(255, 255, 255, 0.08); }
.btn.ok { background: var(--accent-2); color: #04120a !important; box-shadow: none; }
.btn.danger { background: #ef4444; box-shadow: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ——— Promo ——— */
.promo-banner {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.14));
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #d1fae5;
  font-size: 0.92rem;
  line-height: 1.5;
}
.promo-banner a { font-weight: 700; color: #86efac; }

/* ——— Hero ——— */
.hero {
  padding: 48px 0 28px;
  text-align: left;
  max-width: none;
  margin: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin: 0 0 16px;
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(105deg, #60a5fa 0%, #34d399 55%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.hero-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-pills li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-visual {
  width: min(240px, 58vw);
  aspect-ratio: 1;
  border-radius: 32%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(34, 197, 94, 0.18),
    0 0 60px rgba(59, 130, 246, 0.12);
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.25), transparent 55%),
    #0a0e17;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.35);
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-caption {
  margin: 16px 0 0;
  font-size: 0.82rem;
  text-align: center;
}

/* ——— Features ——— */
.section-title {
  margin: 48px 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.section-sub {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 0.95rem;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  padding: 8px 0 36px;
}
.feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  backdrop-filter: blur(8px);
}
.feat:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.feat-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(34,197,94,0.12));
  border: 1px solid rgba(255,255,255,0.06);
}
.feat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.feat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ——— Mobile band ——— */
.mobile-band {
  margin: 8px 0 44px;
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 200px at 0% 50%, rgba(34, 197, 94, 0.08), transparent),
    var(--card);
  box-shadow: var(--shadow);
}
.mobile-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.mobile-inner .app-shot {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.mobile-inner h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.mobile-inner p { margin: 0; max-width: 520px; }
.pill {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ——— Pricing ——— */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 8px 0 40px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card.featured {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 16px 40px rgba(37, 99, 235, 0.12);
}
.card-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 3px 8px;
  border-radius: 999px;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0 4px;
  letter-spacing: -0.03em;
}
.card .price span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.card .idm {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: line-through;
}
.card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 12px 0 18px;
  flex: 1;
}
.card ul li { margin: 6px 0; }
.card .btn { width: 100%; }

/* ——— SEO / footer ——— */
.seo-copy {
  margin: 8px 0 40px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}
.seo-copy h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.seo-copy p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 720px;
}
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.muted { color: var(--muted); }

/* ——— Forms / account / admin (shared) ——— */
.form { max-width: 420px; margin: 32px auto; }
label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 12px 0 4px;
}
input, textarea, select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 0.9rem;
}
.alert.err {
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid #7f1d1d;
  color: #fecaca;
}
.alert.ok {
  background: rgba(5, 46, 22, 0.45);
  border: 1px solid #14532d;
  color: #bbf7d0;
}
.alert.info {
  background: rgba(12, 26, 46, 0.6);
  border: 1px solid #1e3a5f;
  color: #bfdbfe;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}
th { color: var(--muted); font-weight: 600; }
.admin-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.stat b { display: block; font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: 0.8rem; }
.mono { font-family: ui-monospace, monospace; font-size: 0.85rem; }
pre.bank {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 10px;
  white-space: pre-wrap;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-pills { justify-content: center; }
  .hero-side { order: -1; }
}
@media (max-width: 640px) {
  .hero { padding: 28px 0 20px; }
  nav { gap: 10px; }
  .mobile-band { padding: 20px; }
  .nav-links { width: 100%; }
}
