:root {
  color-scheme: dark;
  --bg: #030b18;
  --surface: #0b213f;
  --surface-2: #102d53;
  --line: rgba(126, 186, 255, 0.28);
  --text: #f6f9ff;
  --muted: #b8c9e3;
  --blue: #2181ff;
  --blue-2: #69b7ff;
  --gold: #ffd56a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(28, 113, 255, 0.2), transparent 33rem),
    radial-gradient(circle at 90% 15%, rgba(44, 156, 255, 0.12), transparent 28rem),
    var(--bg);
  line-height: 1.65;
}

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

.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: -5rem;
  z-index: 99;
  padding: 0.7rem 1rem;
  color: #00152f;
  background: white;
  border-radius: 0.7rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
  padding: 0.8rem max(1rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(3, 11, 24, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand img { width: 44px; height: 44px; }

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
}

.site-header nav a,
footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
footer a:hover,
footer a:focus-visible { color: white; }

.language-menu { position: relative; }
.language-menu summary {
  cursor: pointer;
  min-width: 7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--muted);
  font-weight: 750;
  list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-grid {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.7rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(8.5rem, 1fr));
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #07182e;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
.language-grid a {
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  color: var(--muted);
  text-decoration: none;
}
.language-grid a:hover,
.language-grid a:focus-visible { color: white; background: var(--surface-2); }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.hero,
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 66vh;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.hero img {
  width: min(100%, 520px);
  margin-inline: auto;
  filter: drop-shadow(0 28px 50px rgba(0, 83, 199, 0.38));
}

h1,
h2,
h3 { line-height: 1.12; text-wrap: balance; }
h1 { margin: 0.35rem 0 1.2rem; font-size: clamp(2.35rem, 6vw, 5rem); letter-spacing: -0.045em; }
h2 { margin: 0.35rem 0 1.2rem; font-size: clamp(1.7rem, 3.4vw, 3rem); letter-spacing: -0.025em; }
h3 { margin: 0.4rem 0 0.7rem; font-size: 1.25rem; }
h2 a,
h3 a { text-decoration: none; }

.eyebrow {
  margin: 0;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead { max-width: 52rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 1rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  color: white;
  background: linear-gradient(135deg, #146ae3, #2695ff);
  box-shadow: 0 10px 30px rgba(33, 129, 255, 0.23);
  font-weight: 850;
  text-decoration: none;
}
.button:hover,
.button:focus-visible { background: linear-gradient(135deg, #247cf5, #54b0ff); }
.button.secondary { border-color: var(--line); color: var(--muted); background: transparent; box-shadow: none; }
.text-link { color: var(--blue-2); font-weight: 800; text-decoration: none; }

.section,
.faq { padding: clamp(3rem, 7vw, 6rem) 0; }
.hub-grid,
.product-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hub-grid article,
.product-card,
.reviews-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(155deg, rgba(16, 45, 83, 0.78), rgba(7, 24, 46, 0.88));
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.2);
}

.hub-grid article,
.reviews-grid article { padding: 1.25rem; }
.hub-grid p,
.product-card p,
.reviews-grid p,
.reviews-grid blockquote { color: var(--muted); }

.product-grid { padding-bottom: clamp(3rem, 7vw, 6rem); }
.product-card { overflow: hidden; }
.product-card > div { padding: 1.15rem; }
.product-image { display: block; aspect-ratio: 16 / 10; background: rgba(0, 0, 0, 0.2); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 180ms ease; }
.product-image:hover img { transform: scale(1.025); }
.product-card .price { color: var(--gold); font-size: 1.05rem; font-weight: 900; }

.page-heading { max-width: 880px; padding: clamp(3rem, 8vw, 6rem) 0; }
.page-heading > p:not(.eyebrow) { color: var(--muted); }

.breadcrumbs { padding-top: 1.35rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: var(--muted); font-size: 0.9rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 0.45rem; opacity: 0.5; }
.breadcrumbs a { color: var(--blue-2); text-decoration: none; }

.product-detail { align-items: start; min-height: 0; }
.product-copy > p:not(.eyebrow),
.product-copy > p:not(.eyebrow) + p { color: var(--muted); }
.product-detail figure {
  position: sticky;
  top: 100px;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--surface);
}
.product-detail figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.product-detail figcaption { padding-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }
.purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-top: 1.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(16, 45, 83, 0.6);
}
.purchase span { color: var(--muted); }
.purchase strong { color: var(--gold); font-size: 1.3rem; }
.purchase .button { margin: 0; margin-inline-start: auto; }

.faq { max-width: 880px; }
.faq details { margin-top: 0.8rem; padding: 1rem 1.15rem; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq details p { color: var(--muted); }

.reviews-grid { padding-bottom: clamp(3rem, 7vw, 6rem); }
.reviews-grid blockquote { margin: 0.8rem 0; }
.stars { color: var(--gold); letter-spacing: 0.14em; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer p { margin: 0; }

@media (max-width: 850px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .language-menu { justify-self: end; }
  .hero,
  .product-detail { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero { padding-top: 4rem; }
  .hero img { width: min(88vw, 390px); max-height: 430px; margin-top: 1rem; border-radius: 1.2rem; object-fit: cover; }
  .product-detail figure { position: static; order: -1; width: min(100%, 520px); margin-inline: auto; }
  .hub-grid,
  .product-grid,
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  main { width: min(100% - 1.1rem, 1180px); }
  .site-header { padding-inline: 0.75rem; }
  .brand span { display: none; }
  .language-grid { grid-template-columns: 1fr 1fr; }
  .hub-grid,
  .product-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .purchase .button { width: 100%; margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
