:root {
  --bg: #07111d;
  --bg-deep: #040912;
  --panel: rgba(9, 17, 29, 0.84);
  --panel-strong: rgba(15, 27, 46, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(145, 184, 255, 0.17);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f8ff;
  --muted: #aeb9cf;
  --accent: #72d2ff;
  --accent-strong: #20b4d9;
  --gold: #f2c46f;
  --gold-soft: rgba(242, 196, 111, 0.18);
  --danger: #ff9f8c;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(114, 210, 255, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(242, 196, 111, 0.16), transparent 20%),
    linear-gradient(160deg, var(--bg-deep) 0%, #09121f 45%, #10203a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 56%, transparent 100%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.hero,
.hero-showcase,
.page-hero,
.feature-panel,
.spotlight,
.info-card,
.product-card,
.contact-panel,
.site-footer,
.auth-card,
.admin-panel {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 4px);
  background: rgba(6, 12, 23, 0.74);
  box-shadow: var(--shadow);
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), #fff0bf);
  box-shadow: 0 12px 28px rgba(242, 196, 111, 0.36);
  color: #08101c;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand strong,
h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(114, 210, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 999px;
}

main {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.hero,
.feature-band,
.section-grid,
.product-grid,
.custom-layout {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  align-items: stretch;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(10, 19, 33, 0.96), rgba(7, 13, 24, 0.82)),
    linear-gradient(135deg, rgba(114, 210, 255, 0.12), transparent 42%);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 12px 8px 12px 0;
}

.hero-showcase,
.page-hero,
.feature-panel,
.spotlight,
.info-card,
.product-card,
.contact-panel,
.auth-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
}

.hero-showcase {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(114, 210, 255, 0.12), rgba(13, 25, 42, 0.9)),
    var(--panel-strong);
}

.hero-badge,
.eyebrow,
.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--gold);
}

.hero h1,
.page-hero h1,
.auth-card h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.94;
}

.hero-text,
.page-hero p,
.feature-panel p,
.spotlight p,
.info-card p,
.product-card p,
.contact-panel p,
.auth-card p,
.admin-panel p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-actions,
.card-actions,
.contact-list,
.footer-links,
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #07101b;
  background: linear-gradient(135deg, var(--gold), #ffe8af);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.mini-cards,
.feature-stack {
  display: grid;
  gap: 16px;
}

.mini-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.mini-icon,
.product-visual {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(114, 210, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
}

.mini-icon {
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
}

.mini-card strong,
.product-card h2 {
  display: block;
}

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

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

.feature-panel,
.page-hero,
.spotlight,
.contact-panel,
.info-card,
.product-card,
.auth-card,
.admin-panel {
  padding: 28px;
}

.accent-panel {
  background:
    linear-gradient(145deg, var(--gold-soft), transparent 42%),
    var(--panel);
}

.color-swatches span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.note-inline {
  margin: 0;
}

.note-inline a,
.text-link,
.contact-list a,
.site-footer a,
.color-note a {
  color: var(--accent);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(114, 210, 255, 0.14), transparent 54%),
    var(--panel);
}

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

.product-card {
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 210, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.product-visual {
  width: 70px;
  height: 70px;
  font-size: 2rem;
}

.product-top h2 {
  margin: 8px 0 10px;
  font-size: 1.82rem;
}

.product-points,
.feature-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.8;
}

label {
  font-weight: 800;
}

select,
textarea,
input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
}

select:focus,
textarea:focus,
input:focus {
  outline: 2px solid rgba(114, 210, 255, 0.36);
  outline-offset: 2px;
}

.color-note,
.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.95rem;
  line-height: 1.6;
}

.custom-layout {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.product-card-form textarea {
  min-height: 170px;
  resize: vertical;
}

.spotlight,
.contact-panel,
.admin-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-list {
  align-items: flex-start;
}

.contact-list a {
  text-decoration: none;
}

.admin-auth {
  min-height: calc(100vh - 240px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 560px);
  box-shadow: var(--shadow);
}

.auth-card form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(6, 12, 23, 0.66);
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .feature-band,
  .section-grid,
  .product-grid,
  .custom-layout,
  .spotlight,
  .contact-panel,
  .admin-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero h1,
  .page-hero h1,
  .auth-card h1 {
    font-size: clamp(2.3rem, 10vw, 3.9rem);
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 16px;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero,
  .page-hero,
  .feature-panel,
  .spotlight,
  .info-card,
  .product-card,
  .contact-panel,
  .auth-card,
  .admin-panel,
  .site-footer {
    border-radius: 22px;
  }

  .hero,
  .page-hero,
  .feature-panel,
  .spotlight,
  .info-card,
  .product-card,
  .contact-panel,
  .auth-card,
  .admin-panel {
    padding: 22px 18px;
  }

  .hero-actions,
  .card-actions,
  .contact-list,
  .footer-links,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .mini-card {
    grid-template-columns: 48px 1fr;
  }

  .mini-icon {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 540px) {
  .site-shell {
    width: min(calc(100% - 16px), var(--container));
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    align-items: flex-start;
    max-width: calc(100% - 64px);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .hero {
    padding: 22px 16px;
  }

  .product-top h2 {
    font-size: 1.58rem;
  }
}
