:root {
  color-scheme: dark;
  --bg: #07100f;
  --panel: #101b1d;
  --panel-strong: #132225;
  --text: #f3fbf5;
  --muted: #a8b8b2;
  --line: rgba(167, 255, 187, 0.14);
  --green: #39ee69;
  --green-2: #0bbf83;
  --yellow: #f8c14a;
  --red: #f15a6d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(57, 238, 105, 0.18), transparent 28rem),
    linear-gradient(180deg, #08110f 0%, #0b1518 48%, #07100f 100%);
  color: var(--text);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 16, 15, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand span span {
  color: var(--green);
}

.brand__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.footer__link:hover {
  color: var(--green);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
  background: rgba(57, 238, 105, 0.14);
  border: 1px solid rgba(57, 238, 105, 0.34);
  color: var(--green);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 112px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
}

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

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: 0;
}

.hero__text,
.app-showcase__copy p,
.feature-card p,
.price-card p,
.faq p,
.footer p {
  color: var(--muted);
  line-height: 1.72;
}

.hero__text {
  max-width: 660px;
  margin-bottom: 30px;
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button--primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04100b;
  box-shadow: 0 16px 42px rgba(57, 238, 105, 0.25);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.hero__stats div,
.feature-card,
.price-card,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 29, 0.76);
  box-shadow: var(--shadow);
}

.hero__stats div {
  padding: 18px;
}

.hero__stats strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.hero__stats span {
  color: var(--muted);
  font-size: 13px;
}

.snake-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.shield-snake {
  width: min(88vw, 560px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.38));
}

.shield-snake__aura {
  fill: rgba(57, 238, 105, 0.12);
  filter: blur(20px);
  transform-origin: 310px 315px;
  animation: snake-aura 4.8s ease-in-out infinite;
}

.shield-snake__orbit {
  fill: none;
  stroke: rgba(57, 238, 105, 0.18);
  stroke-width: 1.5;
  stroke-dasharray: 6 18;
  transform-origin: 310px 315px;
  animation: snake-orbit 18s linear infinite;
}

.shield-snake__tail-layer,
.shield-snake__front-layer {
  transform-origin: 310px 315px;
  animation: snake-body-live 5.8s ease-in-out infinite;
}

.shield-snake__tail-shadow,
.shield-snake__front-shadow,
.shield-snake__tail,
.shield-snake__front,
.shield-snake__belly {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shield-snake__tail-shadow,
.shield-snake__front-shadow {
  stroke: rgba(0, 0, 0, 0.32);
  stroke-width: 72;
  transform: translateY(16px);
}

.shield-snake__tail,
.shield-snake__front {
  stroke: url(#liveSnakeSkin);
  stroke-width: 58;
}

.shield-snake__belly {
  stroke: url(#liveSnakeBelly);
  stroke-width: 17;
  stroke-dasharray: 34 28;
  opacity: 0.8;
  animation: snake-belly-slide 4.5s ease-in-out infinite;
}

.shield-snake__shield path:first-child {
  fill: url(#heroShield);
  stroke: var(--green);
  stroke-width: 7;
  filter: drop-shadow(0 0 24px rgba(57, 238, 105, 0.32));
}

.shield-snake__shield-edge {
  fill: rgba(7, 16, 15, 0.8);
  stroke: rgba(57, 238, 105, 0.44);
  stroke-width: 3;
}

.shield-snake__shield text {
  fill: var(--green);
  font-family: Inter, system-ui, sans-serif;
  font-size: 76px;
  font-weight: 900;
  letter-spacing: 0;
}

.shield-snake__lock {
  stroke: var(--green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.88;
}

.shield-snake__head {
  transform-origin: 462px 210px;
  animation: snake-head-live 3.2s ease-in-out infinite;
}

.shield-snake__tongue {
  stroke: #ff5d73;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: snake-tongue-flick 1.7s ease-in-out infinite;
}

.shield-snake__scales circle {
  fill: rgba(239, 255, 218, 0.24);
  animation: snake-scale-pulse 3.4s ease-in-out infinite;
}

@keyframes snake-body-live {
  0%, 100% {
    transform: translateY(0) rotate(-0.7deg) scale(1);
  }

  50% {
    transform: translateY(-10px) rotate(1.1deg) scale(1.018);
  }
}

@keyframes snake-head-live {
  0%, 100% {
    transform: translate(0, 0) rotate(-2deg);
  }

  50% {
    transform: translate(8px, -7px) rotate(5deg);
  }
}

@keyframes snake-tongue-flick {
  0%, 36%, 100% {
    opacity: 0;
    stroke-dasharray: 1 80;
  }

  50%, 72% {
    opacity: 1;
    stroke-dasharray: 48 20;
  }
}

@keyframes snake-belly-slide {
  0%, 100% {
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dashoffset: 36;
  }
}

@keyframes snake-scale-pulse {
  0%, 100% {
    opacity: 0.18;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes snake-aura {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.94);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes snake-orbit {
  to {
    transform: rotate(360deg);
  }
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.trust-strip span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section__intro {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card,
.price-card {
  padding: 28px;
}

.feature-card__icon,
.price-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: rgba(57, 238, 105, 0.13);
  color: var(--green);
  font-weight: 900;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  background: linear-gradient(90deg, rgba(57, 238, 105, 0.07), rgba(248, 193, 74, 0.04));
}

.app-showcase__image img {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.app-showcase__copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(57, 238, 105, 0.55);
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.price-card .button {
  margin-top: auto;
}

.price-card--featured {
  background: linear-gradient(180deg, rgba(57, 238, 105, 0.18), rgba(16, 27, 29, 0.88));
  border-color: rgba(57, 238, 105, 0.5);
}

.price {
  margin: 10px 0 18px;
  color: var(--text);
  font-size: 42px;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.faq p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #06100e;
}

.footer p {
  margin: 0;
}

.footer__link {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 75px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 16, 15, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 14px 12px;
  }

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

  .hero {
    padding-top: 104px;
  }

  .snake-scene {
    min-height: 0;
    padding-top: 20px;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  h1 {
    max-width: 100%;
    font-size: 46px;
  }

  .hero__text {
    font-size: 17px;
  }

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

  .shield-snake {
    width: min(94vw, 390px);
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .button {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
