@font-face {
  font-family: "Blue Winter";
  src: url("assets/fonts/blue-winter.ttf") format("truetype");
  font-display: swap;
}

:root {
  --blue: #1E9BFF;
  --blue-deep: #0A6FD8;
  --navy: #16163A;
  --panel: #16161C;
  --panel-raised: #1F1F27;
  --panel-line: rgba(255, 255, 255, 0.08);
  --ui-text: #D6DAE0;
  --ui-muted: #8C93A0;
  --accent: #0095FE;
  --white: #FFFFFF;

  --radius: 18px;
  --title: "Blue Winter", "Arial Black", "Segoe UI Black", sans-serif;
  --text: "Segoe UI", system-ui, -apple-system, sans-serif;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blue) url("assets/img/fond-tile.png") 0 0 / 420px 420px repeat;
  color: var(--white);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
}

.title-relief {
  color: var(--white);
  font-family: var(--title);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-text-stroke: 0.12em var(--navy);
  paint-order: stroke fill;
  text-shadow: 0 0.09em 0 var(--navy);
}

.title-md {
  font-size: clamp(34px, 5vw, 52px);
}

.kicker {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.kicker-muted {
  color: var(--ui-muted);
}

.lead {
  max-width: 620px;
  font-size: clamp(17px, 1.8vw, 20px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font: 700 16px/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(2px);
}

.btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 4px 0 var(--navy);
}

.btn-white:hover {
  background: #EAF5FF;
}

.btn-white:active {
  box-shadow: 0 2px 0 var(--navy);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 22, 28, 0.92);
  border-bottom: 1px solid var(--panel-line);
  backdrop-filter: blur(8px);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title);
  font-size: 22px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ui-text);
  font-size: 15px;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--panel-raised);
  color: var(--white);
}

.nav-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.nav .btn-ghost {
  border-color: var(--panel-line);
  color: var(--ui-text);
}

.nav-buy {
  background: var(--accent);
  color: var(--white);
}

.nav-buy:hover {
  background: #0A85E6;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions { margin-left: 12px; }
}

@media (max-width: 480px) {
  .nav-buy { display: none; }
}

.hero {
  padding: 64px 0 80px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(64px, 13vw, 132px);
}

.subtitle {
  margin-top: -6px;
  color: var(--white);
  font-family: var(--title);
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.14em var(--navy);
  paint-order: stroke fill;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
}

.facts li::before {
  content: "✓";
  margin-right: 8px;
}

.window {
  overflow: hidden;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 6px 0 var(--navy), 0 30px 60px -30px rgba(10, 20, 60, 0.6);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--panel-line);
  color: var(--ui-muted);
  font-size: 13px;
}

.window-bar img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.win-ctl {
  flex: none;
  width: 92px;
  height: 12px;
  margin-left: auto;
  overflow: visible;
  fill: none;
  stroke: var(--ui-muted);
  stroke-width: 1.5;
}

.window-hero {
  max-width: 980px;
  margin: 48px auto 0;
}

.section {
  padding: 72px 0;
}

@media (min-width: 900px) {
  .section { padding: 96px 0; }
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  text-align: center;
}

.features {
  display: grid;
  gap: 56px;
}

.feature {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
  }

  .feature:nth-child(even) .window {
    order: 2;
  }
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-num {
  font-family: var(--title);
  font-size: 22px;
  color: var(--navy);
  opacity: 0.55;
}

.feature h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  text-shadow: 0 2px 0 rgba(22, 22, 58, 0.35);
}

.feature p {
  font-size: 18px;
}

.panel {
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ui-text);
  box-shadow: 0 6px 0 var(--navy);
}

.panel h2,
.panel h3 {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--title);
  font-size: 22px;
}

.step h3 {
  font-size: 21px;
}

.step p {
  color: var(--ui-muted);
  font-size: 16px;
}

.packs {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 32px 26px;
}

@media (min-width: 900px) {
  .packs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
    padding: 44px;
  }
}

.packs-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.packs h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.packs p:not(.kicker) {
  color: var(--ui-muted);
}

.packs strong {
  color: var(--white);
}

.items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.items li {
  aspect-ratio: 1;
  min-width: 0;
  padding: 12%;
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  background: var(--panel-raised);
}

.items img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}

.items li:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.requirements {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.9;
}

.footer {
  padding: 26px 0 34px;
  background: var(--panel);
  color: var(--ui-text);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer p {
  color: var(--ui-muted);
  font-size: 15px;
}

.footer p a {
  color: var(--ui-text);
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .items img { transition: none; }
}
