:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --navy: #0f172a;
  --blue: #2563eb;
  --green: #10b981;
  --soft-blue: #dbeafe;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  min-height: 720px;
  background:
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.28), transparent 38%),
    linear-gradient(135deg, #0f172a 0%, #12345d 55%, #0e7490 100%);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: #a7f3d0;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e5edff;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  cursor: pointer;
}

.nav-links a:hover,
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 46px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 92px;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.subtitle {
  max-width: 690px;
  color: #c7dbff;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.badges,
.stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.badges span,
.stack-grid span {
  border: 1px solid rgba(147, 197, 253, 0.7);
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
}

.creator {
  color: #d1fae5;
  font-size: 17px;
}

.notice {
  max-width: 660px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
  color: #e5edff;
  padding: 16px 18px;
}

.notice strong {
  color: #fff;
}

.hero-visual {
  justify-self: end;
}

.hero-visual img {
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.38));
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.intro p,
.offline-card p {
  color: #334155;
  font-size: 20px;
}

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

.feature-grid article,
.included div,
.offline-card,
.login-box,
.video-wrap,
.shot {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.feature-grid article {
  padding: 22px;
}

.feature-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-grid p,
.included span,
.muted {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shot {
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid var(--line);
}

.shot span {
  display: block;
  padding: 14px 16px;
  font-weight: 800;
}

.video-wrap {
  overflow: hidden;
  padding: 10px;
}

.video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
}

.stack-grid {
  margin-top: 0;
}

.included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.included div {
  padding: 22px;
}

.included strong,
.included span {
  display: block;
}

.included strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 16px;
}

.credentials p {
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
  padding: 18px;
}

.credentials span,
.credentials strong {
  display: block;
}

.credentials span {
  color: var(--muted);
}

.credentials strong {
  color: var(--blue);
  font-size: 28px;
}

.offline-card {
  padding: 28px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 0;
    z-index: 10;
    display: none;
    width: min(300px, 100%);
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.96);
    padding: 10px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-visual {
    justify-self: stretch;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
  }

  .hero-logo {
    width: 180px;
  }

  .feature-grid,
  .gallery,
  .included,
  .credentials {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .badges span,
  .stack-grid span {
    width: 100%;
    text-align: center;
  }
}
