:root {
  --bg: #f4f7fb;
  --bg-alt: #eaf1fb;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #dbeafe;
  --white: #ffffff;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, calc(100% - 2.5rem)); margin: 0 auto; }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.92); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--white);
  border: 1px solid var(--line);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-quiet { opacity: 0.85; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.nav-cta, .btn-primary {
  background: var(--blue);
  color: #fff !important;
}
.nav-cta:hover, .btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  color: var(--ink);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
}

/* Hero — one composition, brand first, no screenshot */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 15% 80%, rgba(96, 165, 250, 0.18), transparent 50%),
    linear-gradient(160deg, #eff6ff 0%, #f8fafc 45%, #e8eef8 100%);
  animation: atmosphereDrift 14s ease-in-out infinite alternate;
}
.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}
@keyframes atmosphereDrift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.04) translateY(-12px); }
}
.hero-copy {
  text-align: center;
  padding: 4.5rem 0 5rem;
  max-width: 760px;
}
.hero-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  object-fit: cover;
  box-shadow: 0 18px 40px -24px rgba(37, 99, 235, 0.55);
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1rem;
  color: var(--ink);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.in {
  animation: riseIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 36rem;
  margin-bottom: 1.35rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.section-head p, .empty, .last-update { color: var(--muted); }

/* Compact service + status cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
  gap: 0.75rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  max-width: 240px;
}
.service-card.online { border-color: rgba(16, 185, 129, 0.4); }
.service-card.offline { border-color: rgba(239, 68, 68, 0.35); }
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.service-card-top h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.service-card-desc {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-deep);
  white-space: nowrap;
}
.badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  flex-shrink: 0;
}
.service-card.offline .badge {
  background: #fee2e2;
  color: #b91c1c;
}
.last-update { margin-top: 0.75rem; font-size: 0.82rem; }

/* Reseller — fixed 4-card row on desktop */
.seller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.seller-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
}
.seller-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-body { min-width: 0; }
.seller-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seller-role {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0.15rem 0 0.45rem;
}
.seller-links { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.seller-links a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-deep);
  border-bottom: 1px solid transparent;
}
.seller-links a:hover { border-bottom-color: var(--blue); }

.cta-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.16), transparent 45%),
    linear-gradient(135deg, #eff6ff, #dbeafe 60%, #eef2ff);
}
.cta-inner { text-align: center; max-width: 640px; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.cta-inner p { color: var(--muted); margin-bottom: 1.4rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.footer-inner p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 900px) {
  .seller-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-copy { padding: 3.5rem 0 4rem; }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card { max-width: none; }
}
@media (max-width: 520px) {
  .seller-grid,
  .service-grid { grid-template-columns: 1fr; }
}
