:root {
  --ink: #08183a;
  --muted: #566680;
  --line: #d8e4f6;
  --blue: #2563eb;
  --danger: #ef4444;
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 28px 90px rgba(31, 55, 100, 0.14);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 16%, rgba(12, 195, 232, 0.16), transparent 28rem),
    linear-gradient(135deg, #f7fbff 0%, #eef5ff 42%, #f9fbff 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(166, 184, 216, 0.36);
  backdrop-filter: blur(18px);
}
.site-brand, .site-nav, .site-actions { display: flex; align-items: center; }
.site-brand { gap: 12px; font-weight: 800; font-size: 22px; }
.site-brand img { width: 42px; height: 42px; }
.site-nav { gap: 26px; color: var(--muted); font-weight: 650; font-size: 15px; }
.site-nav a[aria-current="page"] { color: var(--blue); }
.site-actions { gap: 12px; }

.button, .button-outline, .button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.button { color: #fff; background: linear-gradient(135deg, #1d62ff, #0a55ef); box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24); }
.button-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.button-danger { color: #991b1b; background: #fff; border-color: #fecaca; }
.button:disabled, .button-outline:disabled, .button-danger:disabled { opacity: 0.58; cursor: wait; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: calc(100vh - 79px);
}
.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 92px);
  color: #fff;
  background: radial-gradient(circle at 90% 84%, rgba(37, 99, 235, 0.24), transparent 22rem), linear-gradient(140deg, #071735 0%, #0b2147 100%);
}
.hero-panel::before, .hero-panel::after {
  content: "";
  position: absolute;
  right: -190px;
  border: 1px solid rgba(126, 177, 255, 0.12);
  border-radius: 999px;
}
.hero-panel::before { width: 520px; height: 520px; bottom: 40px; }
.hero-panel::after { width: 680px; height: 680px; bottom: -260px; }
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.eyebrow {
  margin: 0 0 14px;
  color: #2f72ff;
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-panel .eyebrow { color: #71a7ff; }
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero h1 span { color: #2d73ff; }
.hero-copy > p, .page-hero p { max-width: 620px; margin: 24px 0 0; color: #dbe7ff; font-size: 21px; line-height: 1.55; }
.page-hero p { color: var(--muted); }
.hero-list { display: grid; gap: 22px; margin-top: 58px; }
.hero-item { display: flex; gap: 16px; align-items: flex-start; }
.hero-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(147, 197, 253, 0.2);
}
.hero-item h2 { margin: 0 0 5px; font-size: 18px; }
.hero-item p { margin: 0; color: #d7e4fb; }
.hero-card-wrap { display: grid; place-items: center; padding: clamp(30px, 6vw, 84px); }

.product-card, .auth-card, .dashboard-card, .content-card, .feature-card, .release-card {
  border: 1px solid rgba(159, 179, 214, 0.44);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.product-card, .auth-card, .dashboard-card, .content-card { width: min(100%, 560px); padding: clamp(28px, 4vw, 44px); }
.product-card { display: grid; gap: 22px; }
.mini-window { overflow: hidden; border: 1px solid rgba(146, 166, 198, 0.35); border-radius: 16px; background: rgba(9, 17, 35, 0.78); color: #fff; box-shadow: 0 20px 60px rgba(11, 24, 54, 0.18); }
.mini-window-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mini-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; color: #d7ffee; background: rgba(16, 185, 129, 0.14); font-weight: 800; font-size: 13px; }
.mini-status::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #22c55e; }
.mini-window-body { padding: 22px; }
.mini-label { display: block; margin-bottom: 8px; color: #8bb9ff; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.mini-window-body p { margin: 0 0 22px; color: #f8fbff; font-size: 20px; line-height: 1.38; }

.section, .page-shell { width: min(1120px, calc(100vw - 40px)); margin: 0 auto; padding: clamp(52px, 7vw, 96px) 0; }
.section h2, .page-hero h1 { color: var(--ink); font-size: clamp(38px, 5vw, 64px); }
.section-intro, .content-card p, .content-card li, .feature-card p, .release-card p, .dashboard-card p, .auth-card p { color: var(--muted); line-height: 1.65; }
.grid-3, .grid-2, .dashboard-grid, .download-panel, .support-options, .auth-layout { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2, .dashboard-grid, .support-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.download-panel, .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, 500px); }
.feature-card, .release-card { padding: 28px; }
.feature-card h3, .release-card h3, .content-card h2 { margin: 0 0 10px; font-size: 22px; }
.content-card { width: 100%; }
.auth-card h1, .dashboard-card h1, .content-card h1 { margin: 0 0 10px; font-size: 34px; }

.form { display: grid; gap: 18px; margin-top: 28px; }
.form label { display: grid; gap: 8px; color: var(--ink); font-weight: 750; }
.form input, .form textarea { width: 100%; min-height: 50px; padding: 0 15px; color: var(--ink); border: 1px solid #cad8ee; border-radius: 10px; background: #fff; outline: none; }
.form textarea { min-height: 132px; padding-top: 13px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #8a96ab; font-weight: 400; }
.form input:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.form-row, .account-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.account-row span { color: var(--muted); }
.inline-link { color: var(--blue); font-weight: 800; }
.notice { margin-top: 18px; padding: 14px 16px; border: 1px solid #bfdbfe; border-radius: 12px; color: #1e3a8a; background: #eff6ff; }
.notice.error { color: #991b1b; border-color: #fecaca; background: #fff1f2; }
.release-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.release-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-stack { display: grid; gap: 18px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px clamp(20px, 5vw, 72px); color: var(--muted); border-top: 1px solid rgba(166, 184, 216, 0.36); background: rgba(255, 255, 255, 0.65); }
.site-footer nav { display: flex; gap: 18px; }
.is-hidden { display: none !important; }

@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; }
  .hero, .auth-layout, .download-panel, .dashboard-grid, .support-options, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
}

@media (max-width: 620px) {
  .site-header { padding: 14px 18px; }
  .site-actions { width: 100%; }
  .site-actions .button, .site-actions .button-outline { flex: 1; }
  .hero-panel, .hero-card-wrap, .section, .page-shell { padding: 34px 20px; width: 100%; }
  .product-card, .auth-card, .dashboard-card, .content-card { padding: 24px; }
}
