:root {
  --bg: #0b0f17;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --line: rgba(255, 255, 255, 0.14);
  --primary: #ff007f;
  --primary-2: #6a11cb;
  --accent: #2575fc;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.24);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(106, 17, 203, 0.28), transparent 55%),
    radial-gradient(900px 500px at 85% 20%, rgba(37, 117, 252, 0.22), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.container.narrow {
  width: min(820px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 23, 0.70);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.site-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: 180ms ease;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
  border-radius: 14px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 54px 0 26px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(106, 17, 203, 0.35), rgba(37, 117, 252, 0.25));
  border: 1px solid var(--line);
  color: var(--text);
  width: fit-content;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  margin: 0 0 12px;
}
.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}
.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.stat {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}
.stat strong { display: block; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.section { padding: 56px 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  margin: 0 0 12px;
}
.muted { color: var(--muted); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.quote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  background: rgba(255, 0, 127, 0.08);
  color: var(--text);
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 16px;
}
.cards { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, background 180ms ease;
}
.card:hover { transform: translateY(-2px); background: rgba(255,255,255,0.07); }
.card h3, .card h2 {
  margin: 0 0 8px;
}
.card p { margin: 0; color: var(--muted); }
.card--cta {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.14), rgba(37, 117, 252, 0.10));
}
.card__title { font-size: 1.15rem; }

.media-card video {
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(90deg, var(--primary-2), var(--accent));
  color: white;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.center { text-align: center; }
.stack { display: grid; gap: 10px; }

/* Page hero */
.page-hero {
  padding: 44px 0 14px;
}
.page-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.gallery__item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 220ms ease;
}
.gallery__item:hover img { transform: scale(1.04); }

/* Contact */
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  background: rgba(11, 15, 23, 0.6);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.footer-link:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,0.04); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.modal.is-open { display: grid; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}
.modal__panel {
  position: relative;
  margin: auto;
  width: min(740px, calc(100% - 28px));
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(106, 17, 203, 0.28), transparent 55%),
    rgba(18, 24, 36, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.icon-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.form { padding: 16px; }
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.form label { display: grid; gap: 6px; }
.form span { color: var(--muted); font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(255, 0, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 0, 127, 0.12);
}
textarea { resize: vertical; }
.col-span-2 { grid-column: span 2; }
.form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.form__hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card img { height: 320px; }
  .hero-stats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .site-nav {
    position: absolute;
    right: 16px;
    top: 64px;
    width: min(320px, calc(100% - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(11, 15, 23, 0.92);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 12px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cards, .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .col-span-2 { grid-column: span 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
