﻿:root {
  --bg: #030712;
  --bg-alt: #071022;
  --surface: rgba(9, 16, 32, 0.85);
  --card: rgba(14, 22, 41, 0.85);
  --accent: #4db5ff;
  --accent-soft: rgba(77, 181, 255, 0.14);
  --accent-warm: #f3b15a;
  --text: #f5f7ff;
  --muted: #9fb4d9;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: linear-gradient(135deg, #050c1c 0%, #040615 40%, #070b1a 100%);
  position: relative;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 0.75rem;
}

.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
  opacity: 0.09;
  z-index: 0;
}

main,
header,
footer,
.modal {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1rem, 6vw, 3rem);
  background: rgba(5, 9, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 90;
}

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

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}

.brand-title {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.brand-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  color: #03101b;
  box-shadow: 0 10px 30px rgba(77, 181, 255, 0.35);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

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

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.hero {
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  position: relative;
  min-height: 75vh;
  background-image: linear-gradient(110deg, rgba(12, 18, 35, 0.9), rgba(5, 8, 15, 0.6)), url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.hero-glow {
  position: absolute;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(77, 181, 255, 0.35), transparent 60%);
  top: -5rem;
  right: -5rem;
  filter: blur(10px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  padding-left: 1.25rem;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 2rem clamp(1rem, 6vw, 4rem);
}

.metrics article {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
}

.metric {
  font-size: 2.2rem;
  margin: 0;
}

.label {
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.section {
  padding: clamp(2rem, 7vw, 4.5rem) clamp(1rem, 6vw, 4rem);
}

.section-heading {
  max-width: 60ch;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--muted);
}

.card-grid,
.feature-grid,
.shop-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.highlights .highlight-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.highlights article {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.highlights h3 {
  margin-top: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  margin-left: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(77, 181, 255, 0.08);
}

.card,
.feature,
.shop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workflow {
  background: rgba(4, 8, 18, 0.85);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.steps li {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(10, 17, 31, 0.7);
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -0.75rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #010308;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cta {
  margin: 3rem clamp(1rem, 6vw, 4rem);
  padding: 2.5rem;
  background: linear-gradient(120deg, rgba(77, 181, 255, 0.4), rgba(243, 177, 90, 0.3));
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 120;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(7, 12, 25, 0.95);
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  width: min(90vw, 420px);
  position: relative;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  gap: 0.5rem;
}

input {
  background: rgba(2, 6, 16, 0.8);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 1rem;
}

input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -0.5rem;
}

.status {
  min-height: 1.5rem;
  font-size: 0.9rem;
}

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

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

  .cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
