/* Variables */
:root {
  /* Colors */
  --neutral-white: #FFFFFF;
  --primary-color: #060606;
  --accent: #A1E716;

  --light-green: #6AA600;
  --dark-green: #558D00;
  --mega-light: #ECF8D9;

  /* Fonts */
  --font-primary: 'Barlow', Arial, sans-serif;

  /* Font size */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-4xl: 40px;
  @media (max-width: 768px) {
      --fs-lg: 16px;
      --fs-2xl: 20px;
      --fs-3xl: 24px;
      --fs-4xl: 32px;
  }

  /* Line height */
  --lh-text: 1.5;
  --lh-headings: 1.2;

  /* Font weight */
  --fw-regular: 400; 
  --fw-medium: 500; 
  --fw-semibold: 600; 
  --fw-bold: 700;
  --fw-extra-bold: 800;
  --fw-black: 900;

  /* Font style */
  --fst-normal: normal; 
  --fst-italic: italic;

  /* Spacing */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-56: 56px;
  --sp-64: 64px;
  --sp-72: 72px;
  --sp-80: 80px;
  --sp-88: 88px;
  --sp-96: 96px;
}

/* Main styles */
body {
  font-family: var(--font-primary);
  background-color: var(--primary-color);
  color: var(--neutral-white);
  line-height: var(--lh-text);
  font-family: var(--font-primary);
  font-size: var(--fs-lg);
  font-style: var(--fst-normal);
  font-weight: var(--fw-regular);
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
  color: var(--neutral-white);
  line-height: var(--lh-headings);
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  text-transform: capitalize;
}


h1 {
  margin-bottom: var(--sp-24);
  font-size: var(--fs-4xl);
}
h2 {
  margin-bottom: var(--sp-24);
  font-size: var(--fs-3xl);
}
h3 {
  margin-bottom: var(--sp-16);
  font-size: var(--fs-2xl);
}
h4 {
  margin-bottom: var(--sp-8);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
}
h5 {
  margin-bottom: var(--sp-8);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

p {
  margin-top: 0;
  margin-bottom: var(--sp-16);
}
p:last-of-type {
  margin-bottom: 0;
}

a {
  color: var(--neutral-white);
  text-decoration: none;
  font-weight: var(--fw-bold);
  white-space: nowrap;
  transition: all .3s;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.img-responsive {
  width: 100%;
  max-width: 100%;
}

.main {
  position: relative;
}

.container {
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 1140px;
  padding: 0 16px;
}

@media (max-width: 992px) {
  .container {
    width: 100%;
    max-width: 960px;
  }
}
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 720px;
  }
}
@media (max-width: 576px) {
  .container {
    width: 100%;
    max-width: 540px;
  }
}

/* ===== Button ===== */
.btn {
  margin: 42px auto 0;
  width: 300px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding: var(--sp-16);
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--primary-color);
  font-weight: var(--fw-bold);
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 12px rgba(161, 231, 22, 0.8);
  cursor: pointer;
  color: var(--primary-color);
  text-decoration: none;
}

.btn-copy {
  padding: 0;
  margin: 0;
  color: var(--accent);
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all .3s;
}
.btn-copy:hover {
  text-decoration: underline;
  color: var(--mega-light);
  transform: scale(1.07);';
}

/* === HEADER === */
.header {
  position: sticky;
  box-sizing: border-box;
  width: 100%;
  height: 88px;
  padding: 0 32px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.3s ease-in-out;
}

.header__logo {
  width: 240px;
  max-width: 100%;
  transition: width .5s ease;
}

.header__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.header__nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.header.scrolled {
  padding: 8px 32px;
  position: fixed;
  top: 0;
  left: 0;
  height: auto;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(255,255,255,0.2);
}
.header.scrolled .header__logo {
  width: 200px;
}

.header__nav li {
  padding: 0 4px;
  font-size: var(--fs-lg);
}
.header__nav--link {
  color: var(--neutral-white);
  text-align: center;
  transition: all 0.3s ease;
}
.header__nav--link:hover,
.header__nav--link.active {
    color: var(--accent);
    text-decoration: underline;
}

/* Humburger. Mobile Menu */
.header__hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 18px;
  width: 24px;
}
.header__hamburger .hamburger__line {
  width: 100%;
  height: 3px;
  background-color: var(--neutral-white);
  border-radius: 4px;
}

.header__hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 7px;
}
.header__hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}
.header__hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -7px;
}

.header__nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  right: 0;
  width: 100%;
  background: rgba(6, 6, 6, .95);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 1001;
  padding: 24px 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}
.header.scrolled .header__nav.active {
  top: 58px;
}
.header__nav.active ul {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

/* ===== CTA ===== */
.cta {
  padding-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.cta .btn {
  margin: 0;
}

/* === HERO === */
.hero {
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.98));
  padding: 80px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.17) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: heroPatternMove 25s linear infinite;
  opacity: 0.4;
  z-index: 0;
}
@keyframes heroPatternMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* ===== LEFT CONTENT ===== */
.hero__text {
  width: 50%;
}
.hero__text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero__text .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}
.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.hero-benefits li span {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.hero-note {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 15px;
}
.hero-note strong {
  color: var(--accent);
}

.hero .cta {
  padding-top: 32px;
  align-items: flex-start;
}


/* ===== FORM BLOCK ===== */
.hero__image img {
  display: block;
  margin: 0 auto;
  width: 427px;
  max-width: 100%;
}


/* ===== HERO RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero .container {
    max-width: 100%;
    padding: 0 16px; 
    box-sizing: border-box;
  }

  .hero__inner {
    flex-direction: column;
    gap: 48px;
  }

  .hero__image,
  .hero__text {
    width: 100%;
    max-width: 700px;
  }
  .hero__text {
    display: flex;
    flex-direction: column;
  }

  .hero-benefits {
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .hero-benefits li {
    justify-content: flex-start;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 64px 0;
  }

  .hero__image,
  .hero__text {
    width: 100%;
    max-width: 600px;
  }

}

@media (max-width: 767px) {
  .hero {
    padding: 48px 0;
  }

  .hero__image,
  .hero__text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  .hero__text {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero__form {
    padding: 24px 12px;
  }
  .hero__text h1 {
    font-size: 2rem;
  }
  .hero-benefits li {
    font-size: 0.95rem;
  }
  .hero__image img {
    width: 240px;
  }
  .btn {
    width: 220px;
  }
}

/* === WHY === */
.why {
  padding: 128px 0;
  background: var(--primary-color);
  position: relative;
}
.why h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--neutral-white);
  position: relative;
}

.why__inner--container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why__inner--item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(40px);
}
.why__inner--item:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(161, 231, 22, 0.25);
}
.why__inner--item.show {
  animation: fadeUp 0.6s ease forwards;
}

.why__inner--item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.why__inner--item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
}

/* === SERVICES === */
.services {
  padding: 128px 0;
  background: linear-gradient(180deg, #111a12 0%, #050505 100%);
  position: relative;
}
.services h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--accent);
}

.services__inner--container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.services__inner--item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services__inner--item:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(161, 231, 22, 0.25);
}
.services__inner--item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.services__price p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent);
}
.services__price em {
  font-size: 0.9rem;
  opacity: 0.8;
}

.services-note {
  margin-top: 40px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.services-note.show {
  opacity: 1;
  transform: translateY(0);
}
.services-note strong {
  color: var(--accent);
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 128px 0;
  background: linear-gradient(180deg, #0d1414 0%, #060606 100%);
  position: relative;
}
.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--light-green);
}

.testimonials__item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.3s ease;
}
.testimonials__item:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 5px 18px rgba(161, 231, 22, 0.2);
}

.testimonials__author {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.testimonials__prof {
  font-size: 0.95rem;
  font-style: italic;
  color: #ccc;
  margin-bottom: 6px;
}
.testimonials__date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 12px;
}
.testimonials__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;
}

/* === ABOUT === */
.about {
  padding: 128px 0;
  background: linear-gradient(180deg, #0b0f0c 0%, #000000 100%);
  position: relative;
}

.about__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.about__text {
  flex: 1;
}

.about__text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.about__text p {
  margin-bottom: 16px;
  color: #ddd;
}

.about__text strong {
  color: var(--accent);
}

.about__contacts {
  padding: 16px 0;
  margin: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about__contacts a {
  color: var(--accent);
  text-decoration: underline;
}

.about__social {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about__social li {
  display: inline-block;
}

.about__social a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.about__social a:hover {
  background: var(--accent);
  color: var(--primary-color);
}

.about__photo {
  flex: 1;
  max-width: 400px;
}
.about__photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transform: scale(0.95);
  transition: all 0.8s ease;
}

.about__text,
.about__photo {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.about__photo img {
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.about__photo.show img {
  transform: scale(1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.about__text.show,
.about__photo.show {
  opacity: 1;
  transform: translateY(0);
}

/* === FAQ === */
.faq {
  padding: 128px 0;
  background: linear-gradient(180deg, #050505 0%, #0d0d0d 100%);
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: var(--accent);
}

.faq__accordion {
  max-width: 800px;
  margin: 0 auto 40px;
}

.faq__item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.faq__item.active {
  border-color: var(--accent);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq__icon {
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(-135deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  padding: 0 20px;
  transition: all 0.3s ease;
}

.faq__answer p {
  margin: 16px 0;
  color: #ddd;
}

.faq__item.active .faq__answer {
  max-height: 300px;
  padding-bottom: 16px;
}

/* === FOOTER === */
.footer {
  background: #050505;
  padding: 48px 0 32px;
  color: #ccc;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer.show {
  opacity: 1;
  transform: translateY(0);
}

.footer__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: center;
  gap: 32px;
}

.footer p {
  margin: 0 0 8px;
  line-height: 1.4;
}

.footer em {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: var(--neutral-white);
  font-weight: var(--fw-medium);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1200px) {
  .hero,
  .why,
  .services,
  .testimonials,
  .about,
  .faq {
    padding: 80px 0;
  }

  .why .container,
  .services .container,
  .testimonials .container,
  .about .container,
  .faq .container,
  .footer .container {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* === WHY === */
  .why__inner--container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

    /* === SERVICES === */
  .services__inner--container {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }

  /* === HEADER === */
  .header__logo {
      width: 220px;
  }
  .header.scrolled {
      padding: var(--sp-16);
  }
  .header.scrolled .header__logo {
      width: 200px;
  }
  .header__nav ul {
      gap: var(--sp-16);
  }

  /* === SERVICES === */
  .services__inner--container {
    grid-template-columns: repeat(3, 1fr);
  }

  /* === FAQ === */
  .faq__inner {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* === FOOTER === */
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
@media (max-width: 992px) {
  .hero,
  .why,
  .services,
  .testimonials,
  .about,
  .faq {
    padding: 72px 0;
  }

  /* === HEADER === */
  /* Hide by Default */
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: rgba(6, 6, 6, 0.95);
    backdrop-filter: blur(8px);
    padding: var(--sp-24) var(--sp-16);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    border-radius: 0 0 12px 12px;
    z-index: 1001;
  }

  /* Active */
  .header__nav.active {
    display: block;
    animation: mobileMenuSlide 0.3s ease forwards;
  }

  /* Vertical List */
  .header__nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-24);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Links */
  .header__nav--link {
    display: block;
    width: 100%;
    text-align: center;
    padding: var(--sp-8) 0;
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--neutral-white);
    transition: color 0.3s ease;
  }
  .header__nav--link:hover,
  .header__nav--link.active {
    color: var(--accent);
    text-decoration: none;
  }

  /* Hamburger */
  .header__hamburger {
    display: flex;
  }

  /* === WHY == */
  .why__inner--container {
    grid-template-columns: 1fr 1fr;
  }

  /* === SERVICES === */
  .services__inner--container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* === ABOUT === */
  .about {
    padding: 64px 0;
  }
  .about__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about__photo {
    max-width: 300px;
  }
  .about__social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero,
  .why,
  .services,
  .testimonials,
  .about,
  .faq {
    padding: 64px 0;
  }

  /* === FAQ === */
  .faq h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero,
  .why,
  .services,
  .testimonials,
  .about,
  .faq {
    padding: 48px 0;
  }

  /* === WHY === */
  .why__inner--container {
    grid-template-columns: 1fr;
  }

  /* === SERVICES === */
  .services__inner--container {
    grid-template-columns: 1fr;
  }
}

/* === ANIMATIONS === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards ease-out;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileMenuSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn.fade-in,
.email.fade-in {
  opacity: 0;
  transition: all 0.3s ease;
}
.btn.fade-in.show,
.email.fade-in.show {
  opacity: 1;
}

/* === SEND FORM === */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

.form-message.success {
    background: rgba(161, 231, 22, 0.15);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.form-message.error {
    background: rgba(255, 0, 0, 0.15);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Overlay for form message */
.form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.form-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* Popup box */
.form-popup {
    background: #111;
    padding: 24px 28px;
    border-radius: 12px;
    text-align: center;
    width: 320px;
    max-width: 90%;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.form-popup.show {
    transform: scale(1);
    opacity: 1;
}

.form-popup__icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.form-popup__text {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--neutral-white);
}

.form-popup.success .form-popup__text {
    color: var(--accent);
}

.form-popup.error .form-popup__text {
    color: #ff4d4d;
}

/* Close button */
.form-popup__close {
    background: var(--accent);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-popup__close:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(161, 231, 22, 0.8);
}


/* === POLICY === */
.policy .header,
.pnf .header {
  justify-content: center;
}

.policy__content,
.pnf__content {
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(20, 20, 20, 0.95), rgba(0, 0, 0, 0.98));
  padding: 128px 0;
  overflow: hidden;
}

.policy__content::before,
.pnf__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: heroPatternMove 25s linear infinite;
  opacity: 0.4;
  z-index: 0;
}

.policy__content::after,
.pnf__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(161,231,22,0.25), transparent 70%);
  z-index: 0;
}

.policy__content {
  padding: 48px 0;
}
.policy__content a,
.pnf__content a {
  color: var(--accent);
}
.policy .footer,
.pnf .footer {
  opacity: 1;
  transform: none;
}

.pnf__content {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

@media (max-width: 1200px) {
  .policy__content .container {
    max-width: 100%;
    padding: 0 16px; 
    box-sizing: border-box;
  }
  .pnf__content .container {
    max-width: 100%;
    padding: 64px 16px; 
    box-sizing: border-box;
  }
}
@media (max-width: 992px) {
  .pnf__content {
    min-height: 300px;
  }
}