:root {
  --bg: #030812;
  --bg-soft: #071426;
  --bg-card: rgba(255, 255, 255, 0.055);
  --bg-card-strong: rgba(255, 255, 255, 0.085);
  --text: #f7fbff;
  --text-muted: #9fb0c8;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --cyan-border: rgba(34, 211, 238, 0.34);
  --white-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-height: 78px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  padding-top: var(--header-height);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34rem),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 30rem),
    var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--white-border);
  background: rgba(3, 8, 18, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #06111f;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), #e0faff);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.32);
}

.brand-text {
  font-size: 1.1rem;
}

/* Mobile default: hamburger menu */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--white-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--white-border);
  border-radius: 20px;
  background: rgba(3, 8, 18, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-link {
  display: flex;
  width: 100%;
  padding: 13px 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  border-color: var(--cyan-border);
  background: var(--cyan-soft);
}

.section {
  padding: 76px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.04)),
    rgba(255, 255, 255, 0.012);
  border-block: 1px solid rgba(255, 255, 255, 0.055);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-top: 44px;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  background: var(--cyan-soft);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 13vw, 6.8rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.12rem;
  font-weight: 850;
}

p {
  color: var(--text-muted);
}

.hero-description {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 850;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-primary {
  color: #03101d;
  background: linear-gradient(135deg, var(--cyan), #dffaff);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.22);
}

.btn-outline {
  color: var(--text);
  border-color: var(--white-border);
  background: rgba(255, 255, 255, 0.045);
}

.btn-card {
  width: 100%;
  margin-top: auto;
  color: #04111f;
  background: var(--cyan);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.stat-card,
.trust-card,
.product-card,
.contact-card {
  border: 1px solid var(--white-border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-card {
  padding: 14px;
  border-radius: var(--radius-sm);
}

.stat-card span,
.trust-number {
  display: block;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.stat-card strong {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero-glow {
  position: absolute;
  inset: 8%;
  z-index: 1;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.25);
  filter: blur(56px);
}

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-header p:not(.eyebrow) {
  margin-top: 14px;
  font-size: 1rem;
}

.product-grid,
.trust-grid {
  display: grid;
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(255, 255, 255, 0.04)),
    var(--bg-soft);
}

.product-image::after {
  content: "Image";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge,
.category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 6px 10px;
  font-size: 0.73rem;
  font-weight: 900;
  border-radius: 999px;
  white-space: nowrap;
}

.badge {
  color: var(--text);
  border: 1px solid var(--white-border);
  background: rgba(255, 255, 255, 0.055);
}

.badge.ready {
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(34, 211, 238, 0.13);
}

.badge.limited {
  border-color: rgba(255, 214, 102, 0.42);
  background: rgba(255, 214, 102, 0.12);
}

.badge.soon {
  border-color: rgba(180, 190, 210, 0.34);
  background: rgba(180, 190, 210, 0.10);
}

.category {
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-body p {
  font-size: 0.94rem;
}

.price {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-size: 0.98rem;
}

.trust-grid {
  grid-template-columns: 1fr;
}

.trust-card {
  padding: 20px;
  border-radius: var(--radius-md);
}

.trust-card h3 {
  margin-top: 12px;
  margin-bottom: 10px;
}

.contact-section {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  text-align: left;
  border-radius: var(--radius-lg);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 38%;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  filter: blur(70px);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
}

.contact-card h2 {
  max-width: 720px;
}

.contact-card p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--white-border);
  background: rgba(3, 8, 18, 0.84);
  padding-bottom: env(safe-area-inset-bottom);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
  font-size: 0.92rem;
}

.footer-inner a {
  width: fit-content;
  color: var(--cyan);
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #04111f;
  font-size: 1.2rem;
  font-weight: 900;
  border: 0;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.28);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) {
  .btn:hover,
  .product-card:hover,
  .trust-card:hover {
    transform: translateY(-3px);
  }

  .btn-outline:hover {
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
  }

  .product-card:hover,
  .trust-card:hover {
    border-color: var(--cyan-border);
    background: var(--bg-card-strong);
  }
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .section {
    padding: 92px 0;
  }

  .hero {
    padding-top: 58px;
  }

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

  .contact-card {
    padding: 42px;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu,
  .nav-menu.open {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-link {
    width: auto;
    padding: 9px 15px;
    border-radius: 999px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 56px;
  }

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

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

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

  .hero-media img {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}



/* Mobile catalog accordion */
.section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  color: var(--text);
  text-align: left;
  font: inherit;
  font-size: clamp(1.45rem, 6vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.06;
  border: 1px solid var(--cyan-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
}

.section-toggle-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #04111f;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.24);
}

.catalog-section.is-open .section-toggle-icon {
  content: "-";
}

.catalog-section.is-open .section-toggle-icon {
  transform: rotate(45deg);
}

.section-content {
  margin-top: 18px;
}

@media (max-width: 1023px) {
  .catalog-section .section-header {
    margin-bottom: 0;
  }

  .catalog-section .section-content {
    display: none;
  }

  .catalog-section.is-open .section-content {
    display: block;
  }

  .catalog-section.is-open .section-header {
    margin-bottom: 18px;
  }

  .catalog-section .section-header p:not(.eyebrow) {
    margin-bottom: 18px;
  }
}

@media (min-width: 1024px) {
  .section-toggle {
    display: block;
    width: auto;
    padding: 0;
    font-size: clamp(2.1rem, 7vw, 4rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    pointer-events: none;
  }

  .section-toggle-icon {
    display: none;
  }

  .catalog-section .section-content {
    display: block;
  }
}



/* Keep mobile accordion stable while scrolling */
@media (max-width: 1023px) {
  .catalog-section.is-open .section-content {
    display: block;
  }
}



/* Accordion scroll position fix */
.catalog-section {
  scroll-margin-top: calc(var(--header-height) + 14px);
}
