:root {
  --bg: #07111d;
  --bg-soft: #0d1a2b;
  --surface: rgba(10, 22, 37, 0.78);
  --surface-2: rgba(8, 20, 34, 0.72);
  --text: #ecf5ff;
  --text-muted: #9cb0c8;
  --line: rgba(183, 209, 240, 0.12);
  --blue: #69b7ff;
  --cyan: #9df6ff;
  --green: #98f9c2;
  --orange: #ffbf73;
  --purple: #bca8ff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(98, 181, 255, 0.26), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(87, 255, 226, 0.12), transparent 18%),
    linear-gradient(180deg, #09131f 0%, #07111d 45%, #09192a 100%);
  font-family: "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 29, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: #05111d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text small {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
}

.nav-cta,
.btn-primary,
.mini-btn,
.admin-link {
  color: #07111d !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), #d4fbff);
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 999px;
}

.announce {
  padding-top: 16px;
}

.announce-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 22, 37, 0.64);
  box-shadow: var(--shadow);
}

.announce-badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #07111d;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), #ffe6ba);
}

.announce-bar p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero {
  padding: 54px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text,
.section-intro,
.product-card p,
.faq-copy p,
.footer-copy,
.footer-contact small,
.guide-step p {
  color: var(--text-muted);
}

.hero-text {
  margin: 22px 0 0;
  line-height: 1.8;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics,
.category-grid,
.product-grid,
.guide-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics li,
.hero-panel,
.category-card,
.product-card,
.guide-step,
.faq-list details,
.footer-contact {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 22, 37, 0.62);
}

.hero-metrics strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  margin-bottom: 6px;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(14, 33, 54, 0.92), rgba(9, 21, 36, 0.94)),
    var(--surface);
}

.tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag.blue {
  color: #06111d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.hero-panel h2 {
  margin: 18px 0 10px;
  font-size: 28px;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-stack span,
.pill {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 64px 0 20px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.section-intro {
  max-width: 430px;
  margin: 0;
  line-height: 1.7;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.guide-step {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface-2);
}

.category-card strong,
.product-card h3,
.guide-step h3 {
  display: block;
}

.category-card strong {
  margin: 18px 0 8px;
  font-size: 20px;
}

.category-card small {
  color: var(--text-muted);
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(12, 26, 43, 0.82), rgba(7, 17, 29, 0.98)),
    var(--surface);
}

.product-card.featured {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 80% 18%, rgba(105, 183, 255, 0.16), transparent 18%),
    linear-gradient(140deg, #152e4b, #08121f 72%);
}

.product-card h3 {
  margin: 16px 0 10px;
  font-size: 28px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
}

.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #07111d;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.guide-step h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.faq-copy p {
  margin-top: 18px;
  line-height: 1.8;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(10, 22, 37, 0.74);
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.site-footer {
  padding: 68px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 18px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-contact {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-contact p,
.footer-contact strong,
.footer-contact small {
  display: block;
}

.footer-contact p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-weight: 700;
}

.footer-contact strong {
  font-size: 20px;
  line-height: 1.5;
}

.footer-contact small {
  margin-top: 10px;
  line-height: 1.75;
}

.float-tools {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  display: grid;
  gap: 10px;
}

.float-btn {
  min-width: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 20, 34, 0.82);
  color: var(--text);
  box-shadow: var(--shadow);
}

.float-btn.accent {
  color: #07111d;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), #d4f8ff);
}

@media (max-width: 1100px) {
  .hero-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 100%);
  }

  .site-nav,
  .hero-metrics,
  .category-grid,
  .product-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .announce-bar,
  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(34px, 11vw, 52px);
  }

  .product-card.featured {
    grid-column: auto;
  }
}
