:root {
  --bg-main: #050716;
  --accent-green: #7ccf00;
  --accent-green-soft: rgba(124, 207, 0, 0.8);
  --card-bg: rgba(26, 43, 12, 0.8); /* #1A2B0C 80% */
  --text-main: #f5f5f5;
  --text-muted: #a0a3b1;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
}

.falling-leaves {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
}

.falling-leaves span {
  position: absolute;
  top: -10vh;
  left: var(--leaf-left);
  font-size: var(--leaf-size);
  opacity: 0;
  filter: saturate(0.9);
  animation: leaf-fall var(--leaf-duration) linear var(--leaf-delay) infinite;
}

.falling-leaves span:nth-child(1) { --leaf-left: 8%; --leaf-size: 20px; --leaf-duration: 13s; --leaf-delay: -2s; }
.falling-leaves span:nth-child(2) { --leaf-left: 21%; --leaf-size: 16px; --leaf-duration: 16s; --leaf-delay: -8s; }
.falling-leaves span:nth-child(3) { --leaf-left: 37%; --leaf-size: 24px; --leaf-duration: 18s; --leaf-delay: -12s; }
.falling-leaves span:nth-child(4) { --leaf-left: 52%; --leaf-size: 18px; --leaf-duration: 14s; --leaf-delay: -5s; }
.falling-leaves span:nth-child(5) { --leaf-left: 66%; --leaf-size: 22px; --leaf-duration: 17s; --leaf-delay: -10s; }
.falling-leaves span:nth-child(6) { --leaf-left: 78%; --leaf-size: 17px; --leaf-duration: 15s; --leaf-delay: -1s; }
.falling-leaves span:nth-child(7) { --leaf-left: 89%; --leaf-size: 21px; --leaf-duration: 19s; --leaf-delay: -14s; }
.falling-leaves span:nth-child(8) { --leaf-left: 95%; --leaf-size: 15px; --leaf-duration: 12s; --leaf-delay: -7s; }

@keyframes leaf-fall {
  0% { opacity: 0; transform: translate3d(0, -10vh, 0) rotate(0deg); }
  12% { opacity: 0.72; }
  88% { opacity: 0.72; }
  100% { opacity: 0; transform: translate3d(-90px, 115vh, 0) rotate(540deg); }
}

@media (prefers-reduced-motion: reduce) {
  .falling-leaves {
    display: none;
  }
}

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

.page {
  min-height: 100vh;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 22, 0.98),
    rgba(5, 7, 22, 0.9),
    rgba(5, 7, 22, 0)
  );
  backdrop-filter: blur(18px);
}

.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo__text {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav {
  flex: 1 1 auto;
}

.nav__list {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--accent-green);
  transform: translateY(-1px);
}

.header__cta {
  white-space: nowrap;
  width: 140px;
  height: 36px;
  padding: 0;
  font-size: 14px;
  border-radius: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

.button--primary {
  background-color: var(--accent-green);
  color: #050716;
}

.button--primary:hover,
.button--primary:focus-visible {
  background-color: #a9ec39;
  transform: translateY(-1px) scale(1.03);
}

.button--telegram {
  gap: 9px;
  background-color: #229ed9;
  color: #ffffff;
}

.button--telegram:hover,
.button--telegram:focus-visible {
  background-color: #43b9ed;
  color: #ffffff;
  transform: translateY(-1px) scale(1.03);
}

.button__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.button--secondary {
  background-color: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.12);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 60px 30px 70px;
}

.hero__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
  padding-top: 207px;
}

.hero__kicker {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-main);
  margin: 0 0 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__kicker::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background-color: var(--accent-green);
}

.hero__kicker-highlight {
  color: var(--accent-green);
}

.hero__title {
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: none;
  margin: 0 0 20px;
  color: var(--accent-green);
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 30px;
  color: var(--text-muted);
  max-width: 520px;
}

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

.stat-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  width: 190px;
  height: 90px;
  padding: 0 20px 0 15px;
  border: 1px solid rgba(148, 217, 38, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card__value {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-green);
}

.stat-card__label {
  margin: 0;
  font-size: 14px;
  color: var(--text-main);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__actions .button {
  width: 235px;
  height: 62px;
  font-size: 18px;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 130px;
}

.hero__circles {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(148, 217, 38, 0.25);
}

.hero__circle--outer {
  inset: 0;
}

.hero__circle--middle {
  inset: 50px;
}

.hero__circle--inner {
  inset: 100px;
}

.hero__frog {
  position: relative;
  z-index: 1;
  width: 400px;
  height: 400px;
  filter: drop-shadow(0 0 40px rgba(148, 217, 38, 0.45));
  transform-origin: center;
  will-change: transform;
}

.hero__frog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Generic section */
.section {
  padding: 80px 30px 60px;
}

.section + .section {
  margin-top: 20px;
}

.section + .section.section--cta {
  margin-top: 6px;
}

.section__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__title {
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 16px;
  color: #ffffff;
}

.section__title--split .section__title-accent-muted {
  color: #ffffff;
}

.section__title--split .section__title-accent {
  color: var(--accent-green);
}

.section__subtitle {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.section--about {
  padding-top: 80px;
}

.section--products {
  padding-top: 40px;
}

.section--portfolio {
  padding-top: 40px;
}

.section--reviews {
  padding-top: 40px;
}

.section--cta {
  padding-top: 20px;
  padding-bottom: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  gap: 70px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #121422;
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 245px;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: rgba(148, 217, 38, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.feature-card__icon img {
  /* Удалим width/height, чтобы SVG иконки отображались в своем исходном размере */
  object-fit: contain;
  display: block;
}

.feature-card__title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
}

.feature-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1 1 auto;
  width: 100%;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 433px);
  gap: 40px 32px;
  justify-content: center;
  margin-bottom: 48px;
}

.product-card {
  width: 433px;
  height: 445px;
  border-radius: 20px;
  overflow: hidden;
  background: #121422;
  border: 1px solid rgba(148, 217, 38, 0.2);
  display: flex;
  flex-direction: column;
}

.product-card__image {
  height: 50%;
  position: relative;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  flex: 1;
  padding: 20px 35px 30px 20px;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.product-card__text {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-card__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-green);
}

.button--product {
  font-size: 16px;
  font-weight: 600;
  width: 100px;
  height: 33px;
  padding: 0;
  border-radius: 10px;
  background-color: #213518;
  color: #7ccf00;
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.button--cta-large {
  font-size: 18px;
  font-weight: 600;
  width: 235px;
  height: 62px;
  padding: 0;
}

/* Portfolio */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.portfolio-filter {
  width: 133px;
  height: 49px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  background-color: #121422;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-filter--active {
  background-color: var(--accent-green);
  color: #050716;
  border-color: var(--accent-green);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 433px);
  gap: 40px 32px;
  justify-content: center;
  margin-bottom: 48px;
}

.portfolio-card {
  width: 433px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #121422;
  border: 1px solid rgba(148, 217, 38, 0.2);
  display: flex;
  flex-direction: column;
}

.portfolio-card__image{
  width: 100%;
  height: 290px;
  overflow: hidden;
  border-radius: 20px 20px 0 0; /* если надо совпасть с карточкой */
  position: relative;
  background: transparent; /* чтобы не светило серым */
}

.portfolio-card__image img{
  position: absolute;
  inset: 0;                /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.portfolio-card__body {
  flex: 1;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-card__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.portfolio-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 433px);
  gap: 40px 32px;
  justify-content: center;
}

.reviews-more {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.reviews-more__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8f9cff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.reviews-more__link:hover,
.reviews-more__link:focus-visible {
  color: #b5bcff;
  transform: translateY(-2px);
}

.review-card {
  width: 433px;
  height: 250px;
  background-color: #121422;
  border-radius: 20px;
  border: 1px solid rgba(148, 217, 38, 0.2);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.review-card__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-card__avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__meta {
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.review-card__name--with-youtube {
  display: flex;
  align-items: center;
  gap: 9px;
}

.review-card__tag {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.review-card__youtube {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ff4b4b;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.review-card__youtube svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.review-card__youtube:hover,
.review-card__youtube:focus-visible {
  color: #ff8585;
  transform: translateY(-1px);
}

.review-card__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.review-card__stars img,
.review-card__stars svg {
  width: 30px;
  height: 30px;
}

.review-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
}

/* Contact banner */
.contact-banner {
  max-width: 1000px;
  height: 285px;
  margin: 0 auto;
  background-color: #213518;
  border-radius: 20px;
  border: 1px solid rgba(148, 217, 38, 0.4);
  padding: 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.contact-banner__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.contact-banner__text {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.contact-banner__actions {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.contact-banner__button {
  width: 180px;
  height: 62px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-banner__button--discord {
  background-color: #5865f2;
  color: #ffffff;
}

.contact-banner__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Footer */
.footer {
  padding: 40px 30px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 100px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo-text {
  font-size: 24px;
  font-weight: 500;
}

.footer__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer__text {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--accent-green);
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px 16px;
  background: linear-gradient(
    to top,
    rgba(5, 7, 22, 0.98),
    rgba(5, 7, 22, 0.92),
    rgba(5, 7, 22, 0.9)
  );
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__link {
  color: var(--accent-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  color: #a9ec39;
}

.cookie-banner__button {
  white-space: nowrap;
  padding-inline: 24px;
  height: 40px;
  font-size: 14px;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__button {
    width: 100%;
  }
}



/* Developer badge */
.footer__bottom {
  max-width: 1440px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}

.developer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(124, 207, 0, 0.28);
  background:
    linear-gradient(135deg, rgba(124, 207, 0, 0.11), rgba(124, 207, 0, 0.025)),
    #121422;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, background 0.2s ease;
}

.developer-badge__text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 400;
}

.developer-badge__handle {
  color: var(--accent-green);
  font-size: 15px;
  font-weight: 700;
}

.developer-badge__icon {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  transition: transform 0.2s ease;
}

.developer-badge:hover,
.developer-badge:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(124, 207, 0, 0.62);
  background:
    linear-gradient(135deg, rgba(124, 207, 0, 0.17), rgba(124, 207, 0, 0.04)),
    #151827;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(124, 207, 0, 0.08);
}

.developer-badge:hover .developer-badge__icon,
.developer-badge:focus-visible .developer-badge__icon {
  transform: translate(2px, -2px);
}

/* Tablet / small desktop */
@media (max-width: 1024px) {
  .header__inner {
    padding-inline: 20px;
    gap: 16px;
  }

  .nav__list {
    gap: 20px;
  }

  .hero {
    padding: 48px 20px 64px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .hero__content {
    padding-top: 40px;
  }

  .hero__visual {
    padding-top: 24px;
    min-height: 360px;
  }

  .hero__title {
    font-size: 56px;
  }

  .hero__kicker {
    font-size: 22px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__frog {
    max-width: 260px;
  }

  .section {
    padding: 64px 20px 48px;
  }

  .section__title {
    font-size: 40px;
  }

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

  .product-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .product-card,
  .portfolio-card,
  .review-card {
    width: 100%;
    max-width: 430px;
  }

  .contact-banner {
    max-width: 100%;
    padding-inline: 32px;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
  }
}

/* Tablet portrait / large phones */
@media (max-width: 768px) {
  .hero__title {
    font-size: 48px;
  }

  .section__title {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .header__inner {
    padding-inline: 16px;
  }

  .nav {
    display: none;
  }

  .header__cta {
    width: auto;
    padding-inline: 18px;
  }

  .hero {
    padding: 32px 16px 40px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    justify-items: center;
  }

  .hero__content {
    max-width: 480px;
    padding-top: 24px;
    text-align: center;
  }

  .hero__title {
    font-size: 36px;
    letter-spacing: 0.12em;
    white-space: normal;
  }

  .hero__kicker {
    font-size: 18px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

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

  .stat-card {
    width: 100%;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .stat-card__value {
    font-size: 18px;
  }

  .stat-card__label {
    font-size: 12px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__circles {
    inset: 8% 10%;
  }

  .section {
    padding: 48px 16px 40px;
  }

  .section__title {
    font-size: 30px;
  }

  .section__subtitle {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 40px;
  }

  .feature-card {
    width: 100%;
    height: auto;
  }

  .product-grid,
  .portfolio-grid,
  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 40px;
  }

  .product-card,
  .portfolio-card,
  .review-card {
    width: 100%;
    height: auto;
  }

  .portfolio-filters {
    flex-wrap: wrap;
    gap: 10px;
  }

  .portfolio-filter {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .contact-banner {
    height: auto;
    padding: 24px 16px 28px;
  }

  .contact-banner__title {
    font-size: 26px;
  }

  .contact-banner__text {
    font-size: 16px;
  }

  .contact-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .contact-banner__button {
    width: 100%;
  }

  .footer {
    padding: 32px 16px 32px;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer__bottom {
    margin-top: 28px;
    padding-top: 20px;
  }

  .developer-badge {
    width: 100%;
    justify-content: center;
    min-height: 54px;
  }
}

/* Small mobile: 360–480px */
@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
    letter-spacing: 0.1em;
  }

  .hero__kicker {
    font-size: 16px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__visual {
    display: none;
  }

  .button--cta-large,
  .hero__actions .button {
    font-size: 16px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__frog {
    will-change: auto;
  }
}
