:root {
  --bg-base: #07090f;
  --bg-elev: #0d111a;
  --surface: rgba(17, 22, 33, 0.82);
  --surface-strong: rgba(15, 20, 31, 0.96);
  --text: #f4f6ff;
  --text-muted: #a8b1c7;
  --brand: #ff2e43;
  --brand-soft: #ff6474;
  --accent: #ff9c3f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --container: min(1120px, calc(100% - 3rem));
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-lg: 0 20px 65px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 46, 67, 0.2), transparent 36%),
    radial-gradient(circle at 85% 35%, rgba(255, 156, 63, 0.17), transparent 30%),
    linear-gradient(170deg, #05060b 0%, #080b12 48%, #05060b 100%);
  color: var(--text);
  font-family: "Sora", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -3;
}

.bg-glow {
  background:
    radial-gradient(circle at 14% 72%, rgba(255, 46, 67, 0.12), transparent 40%),
    radial-gradient(circle at 82% 16%, rgba(255, 156, 63, 0.1), transparent 38%);
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

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

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

.site-header {
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.9), rgba(5, 7, 11, 0.45));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  left: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
}

.header-shell {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  min-height: 74px;
  width: var(--container);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
}

.brand-logo {
  filter: drop-shadow(0 0 14px rgba(255, 46, 67, 0.45));
  height: 2.4rem;
  object-fit: contain;
  width: 2.4rem;
}

.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(255, 46, 67, 0.35);
}

.header-controls {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.language-select {
  appearance: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 6 5-6'/%3E%3C/svg%3E");
  background-position: center, right 0.52rem center;
  background-repeat: no-repeat;
  background-size: auto, 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  color: var(--text);
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 7.1rem;
  padding: 0.48rem 1.65rem 0.48rem 0.62rem;
}

.language-select option {
  background: #0f131f;
  color: #f2f6ff;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: rgba(255, 156, 63, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 156, 63, 0.15);
  outline: 0;
}

.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-toggle span {
  background: var(--text);
  border-radius: 3px;
  display: block;
  height: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
  width: 24px;
}

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

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

.scroll-progress {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  height: 2px;
  width: 0;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

main {
  padding-bottom: 4.5rem;
}

.eyebrow {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  align-items: center;
  display: grid;
  gap: 2.3rem;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  min-height: calc(100vh - 74px);
  padding-top: 2.8rem;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.1rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-top: 0.4rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 1rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.btn {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.72rem 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-soft) 55%, var(--accent) 100%);
  box-shadow: 0 10px 26px rgba(255, 46, 67, 0.3);
  color: #fff5f6;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin-top: 1.35rem;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.78rem;
  padding: 0.34rem 0.68rem;
}

.hero-visual {
  background: linear-gradient(160deg, rgba(15, 20, 31, 0.95), rgba(9, 13, 21, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 0.65rem;
  transition: transform 180ms ease;
  will-change: transform;
}

.hero-visual img {
  border-radius: calc(var(--radius-md) - 2px);
  display: block;
  max-height: 78vh;
  object-fit: cover;
  width: 100%;
}

.section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 5.6rem;
  padding-top: 2rem;
}

.section-header {
  display: grid;
  gap: 0.65rem;
}

.section-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.card {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 1.35rem;
  padding: 0;
}

.prose {
  display: grid;
  gap: 0.95rem;
  max-width: 92ch;
}

.prose p {
  border-left: 2px solid rgba(255, 156, 63, 0.42);
  color: var(--text-muted);
  padding-left: 1rem;
}

.feature-grid {
  display: grid;
  gap: 0.8rem 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.feature {
  border-bottom: 1px solid var(--line);
  min-height: 126px;
  padding: 0.2rem 0 0.9rem;
}

.feature-grid .feature:nth-last-child(-n + 2) {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature h3 {
  align-items: center;
  display: inline-flex;
  font-size: 1.06rem;
  font-weight: 700;
  gap: 0.55rem;
  line-height: 1.2;
}

.feature h3::before {
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 999px;
  content: "";
  height: 0.46rem;
  width: 0.46rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.42rem;
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.gallery-item::after {
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.5) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.gallery-item:hover,
.gallery-item:focus-within {
  border-color: rgba(255, 156, 63, 0.65);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48);
  transform: translateY(-6px);
  z-index: 5;
}

.gallery-item img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.04);
}

.gallery-item--1,
.gallery-item--2,
.gallery-item--3,
.gallery-item--4,
.gallery-item--5,
.gallery-item--6 {
  grid-column: span 1;
}

.split-grid {
  display: grid;
  gap: 1.1rem 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.split-grid .card {
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  margin-top: 0;
  padding-left: 1rem;
}

.split-grid h3 {
  font-size: 1.08rem;
}

.split-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.42rem;
}

.update-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.35rem;
}

.update-card {
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(255, 46, 67, 0.45);
  border-radius: 0;
  padding: 0 0 0 1rem;
}

.update-card + .update-card {
  padding-top: 0.45rem;
}

.update-card h3 {
  font-size: 1.08rem;
}

.update-card ul {
  color: var(--text-muted);
  margin-top: 0.55rem;
  padding-left: 1.1rem;
}

.update-card li + li {
  margin-top: 0.35rem;
}

.small-note {
  color: #ffcfaa;
  font-size: 0.86rem;
  margin-top: 0.6rem;
}

.cta {
  background: linear-gradient(145deg, rgba(15, 20, 31, 0.95), rgba(9, 13, 21, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.6rem;
}

.cta h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  letter-spacing: 0.02em;
  line-height: 0.94;
}

.cta p {
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.15rem;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.privacy-nav {
  align-items: center;
  display: flex;
  gap: 1.3rem;
  justify-content: flex-end;
  margin-left: auto;
}

.privacy-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.privacy-nav a:hover,
.privacy-nav a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(255, 46, 67, 0.35);
}

.privacy-nav a[aria-current="page"] {
  color: var(--text);
}

.privacy-main {
  padding-bottom: 4.5rem;
}

.privacy-intro {
  border-top: 0;
  margin-top: 2.2rem;
  padding-top: 0;
}

.privacy-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
}

.privacy-subtitle {
  color: var(--text-muted);
  margin-top: 0.45rem;
  max-width: 78ch;
}

.privacy-meta {
  color: #c9d1e6;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  margin-top: 0.7rem;
  text-transform: uppercase;
}

.privacy-card {
  margin-top: 1.5rem;
}

.privacy-content {
  display: grid;
  gap: 1rem;
  max-width: 95ch;
}

.privacy-content h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-top: 0.6rem;
}

.privacy-content h3 {
  color: #ffe2b8;
  font-size: 1.06rem;
  margin-top: 0.4rem;
}

.privacy-content p {
  border-left: 2px solid rgba(255, 156, 63, 0.42);
  color: var(--text-muted);
  padding-left: 1rem;
}

.privacy-content ul {
  color: var(--text-muted);
  padding-left: 2rem;
}

.privacy-content li + li {
  margin-top: 0.35rem;
}

.privacy-content a {
  color: #ffd9b7;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
  color: #fff2df;
}

.privacy-note {
  color: #ffd3a9 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms ease, transform 480ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual img {
    max-height: none;
  }

  .feature-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid .feature {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.9rem;
  }

  .feature-grid .feature:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

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

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .site-header {
    position: sticky;
  }

  .main-nav {
    background: rgba(7, 10, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    left: 0.7rem;
    margin-left: 0;
    opacity: 0;
    padding: 0.8rem;
    pointer-events: none;
    position: absolute;
    right: 0.7rem;
    top: calc(100% + 0.55rem);
    transform: translateY(-8px);
    transition: transform 220ms ease, opacity 220ms ease;
    z-index: 12;
  }

  .main-nav a {
    border-radius: 8px;
    padding: 0.55rem 0.45rem;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .language-select {
    min-width: 5.9rem;
    padding: 0.43rem 1.55rem 0.43rem 0.55rem;
  }

  .privacy-nav {
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    justify-content: flex-end;
  }

  .privacy-nav a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1.9rem;
  }

  .section {
    margin-top: 4.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
