
:root {
  --bg: #10251d;
  --panel: rgba(255, 255, 255, 0.93);
  --green: #4fd16b;
  --yellow: #ffd45c;
  --text: #10251d;
  --cream: #fff4d0;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream);
  background: radial-gradient(circle at top, #245b3b 0%, #10251d 48%, #07110d 100%);
}

a {
  color: inherit;
}

.hero {
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(7,17,13,0.92), rgba(7,17,13,0.25)),
    url("images/promo.png") center/cover no-repeat;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.logo {
  font-size: 2.5rem;
}

.links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.links a {
  text-decoration: none;
  opacity: 0.9;
}

.links a:hover {
  color: var(--yellow);
}

.hero-content {
  max-width: 1180px;
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.9;
  margin: 18px 0;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 24px var(--shadow);
}

.subtitle {
  max-width: 660px;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #f7ffe8;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: #122314;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 26px var(--shadow);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.primary {
  background: linear-gradient(135deg, var(--green), #a7ff65);
  color: #10251d;
}

.secondary {
  background: rgba(255,255,255,0.16);
  border: 2px solid rgba(255,255,255,0.28);
  color: white;
}

.small-note {
  max-width: 620px;
  margin-top: 14px;
  font-size: 0.95rem;
  opacity: 0.82;
}

.hero-image {
  padding: 12px;
  border-radius: 32px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 30px 80px var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-image img,
.gallery img,
.image-stack img {
  width: 100%;
  display: block;
  border-radius: 24px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section.dark {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  background: rgba(0,0,0,0.28);
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  margin: 14px 0 34px;
  letter-spacing: -0.04em;
}

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

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

.three {
  grid-template-columns: repeat(3, 1fr);
}

.panel,
.feature,
.controls,
.folder-list,
.gallery figure {
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 20px 60px var(--shadow);
}

.panel h3,
.feature h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.panel p,
.feature p,
.section.dark p {
  line-height: 1.65;
  font-size: 1.08rem;
}

.feature span {
  font-size: 3rem;
}

.folder-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.folder-list div {
  display: grid;
  gap: 4px;
}

code {
  padding: 4px 8px;
  border-radius: 8px;
  background: #10251d;
  color: #fff4d0;
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 14px;
  font-weight: 900;
  font-size: 1.1rem;
}

.controls {
  display: grid;
  gap: 14px;
}

.controls div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1.08rem;
  font-weight: 700;
}

kbd {
  min-width: 44px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: #1d2e25;
  color: white;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2 + 24px));
  color: rgba(255,255,255,0.8);
  background: #07110d;
}

footer a {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 850px) {
  .links {
    display: none;
  }

  .hero-content,
  .two,
  .three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 18px;
  }

  .hero-content {
    padding: 40px 0;
  }

  footer {
    flex-direction: column;
  }

  .footer-creators {
  margin-top: 4px;
  color: rgba(255,255,255,0.95);
  font-weight: 800;
}
}
