:root {
  --bg-color: #0a0a0c;
  --text-color: #ffffff;
  --accent-1: #a8edea;
  --accent-2: #fed6e3;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Manrope", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 25px;
}

/* Background Effects */
.mesh-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(at 0% 0%, hsla(180, 50%, 40%, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(320, 50%, 40%, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 100%, hsla(220, 50%, 30%, 0.1) 0px, transparent 50%);
  filter: blur(100px);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Header Styles */
.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav__link {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.7;
  transition: var(--transition);
}

.nav__link:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(168, 237, 234, 0.5);
}

.btn {
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-heading);
}

.btn--header {
  background: var(--glass);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
}

.btn--header:hover {
  background: var(--accent-1);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(168, 237, 234, 0.2);
}

/* Footer Styles */
.footer {
  padding: 100px 0 40px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  margin-top: 100px;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--accent-1);
}

.footer__menu,
.footer__contacts {
  list-style: none;
}

.footer__menu li,
.footer__contacts li {
  margin-bottom: 12px;
}

.footer__menu a,
.footer__contacts a {
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.6;
  transition: var(--transition);
}

.footer__menu a:hover,
.footer__contacts a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--accent-2);
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0.8;
}

.footer__contacts i {
  width: 18px;
  color: var(--accent-1);
}

.footer__bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Mobile styles */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
  .burger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }
  .burger span,
  .burger::before,
  .burger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    left: 0;
    transition: 0.3s;
  }
  .burger::before {
    top: 0;
  }
  .burger span {
    top: 9px;
  }
  .burger::after {
    bottom: 0;
  }
}

@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Organic Blobs */
.blob {
  position: absolute;
  filter: blur(60px);
  border-radius: 50%;
  opacity: 0.4;
  transition: transform 0.1s ease-out;
}

.blob--1 {
  width: 500px;
  height: 500px;
  background: var(--accent-1);
  top: -100px;
  right: -100px;
}

.blob--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: 10%;
  left: -50px;
}

.blob--3 {
  width: 300px;
  height: 300px;
  background: #6e8efb;
  top: 40%;
  right: 30%;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero__title span {
  background: linear-gradient(
    120deg,
    var(--accent-1),
    var(--accent-2),
    #a8edea
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.8;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 20px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-1), #8edce0);
  color: var(--bg-color);
}

.btn--primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(168, 237, 234, 0.4);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-color);
}

.btn--outline:hover {
  background: var(--glass);
  border-color: var(--accent-2);
}

/* Image/Card side */
.hero__image-wrapper {
  position: relative;
}

.hero__card-glass {
  position: relative;
  padding: 20px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  clip-path: circle(70.7% at 50% 50%); /* Organic feeling */
  animation: float 6s ease-in-out infinite;
}

.hero__img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  display: block;
}

.hero__floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero__floating-element--1 {
  top: 10%;
  left: -15%;
  animation: float-alt 5s ease-in-out infinite;
}

.hero__floating-element--2 {
  bottom: 15%;
  right: -10%;
  animation: float 7s ease-in-out infinite;
}

.hero__floating-element i {
  color: var(--accent-1);
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes float-alt {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(15px) scale(1.05);
  }
}

/* Mobile Adaptive */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 100px;
  }
  .hero__subtitle {
    margin: 0 auto 40px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__image-wrapper {
    margin-top: 60px;
  }
}

/* Global Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--accent-1);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
}

.section-title span {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  max-width: 700px;
  margin: 20px auto 0;
  opacity: 0.7;
}

/* Lift Section Styles */
.lift {
  padding: 120px 0;
  position: relative;
}

.lift__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lift__card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 50px 40px;
  border-radius: 60px 20px 60px 20px; /* Fluid shape start */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lift__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(168, 237, 234, 0.1),
    rgba(254, 214, 227, 0.1)
  );
  opacity: 0;
  transition: var(--transition);
}

.lift__card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-1);
  border-radius: 20px 60px 20px 60px; /* Fluid shape change on hover */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lift__card:hover::before {
  opacity: 1;
}

.lift__icon-box {
  width: 70px;
  height: 70px;
  background: var(--bg-color);
  border-radius: 35% 65% 58% 42% / 41% 45% 55% 59%; /* Organic Shape */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border: 1px solid var(--accent-1);
  color: var(--accent-1);
  transition: var(--transition);
}

.lift__card:hover .lift__icon-box {
  background: var(--accent-1);
  color: var(--bg-color);
  transform: rotate(15deg);
}

.lift__card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
}

.lift__card p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 30px;
  flex-grow: 1;
  position: relative;
}

.lift__link {
  text-decoration: none;
  color: var(--accent-1);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

.lift__link i {
  width: 18px;
  transition: transform 0.3s ease;
}

.lift__link:hover {
  color: var(--accent-2);
}

.lift__link:hover i {
  transform: translateX(5px);
}

/* Mobile Adaptive for Lift */
@media (max-width: 992px) {
  .lift__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lift__card {
    padding: 40px 30px;
  }
}

/* Method Section */
.method {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.method__path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.method__item {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Направляем блоки змейкой */
.method__item--1 {
  justify-content: flex-start;
}
.method__item--2 {
  justify-content: flex-end;
}
.method__item--3 {
  justify-content: flex-start;
}

.method__shape {
  max-width: 500px;
  padding: 50px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  position: relative;
  transition: var(--transition);
  /* Органическая форма через clip-path или border-radius */
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.method__item:nth-child(even) .method__shape {
  border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

.method__shape:hover {
  border-color: var(--accent-1);
  transform: scale(1.02);
  border-radius: 50%; /* Стремление к кругу при наведении */
  box-shadow: 0 0 50px rgba(168, 237, 234, 0.15);
}

.method__number {
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  opacity: 0.1;
  color: var(--accent-1);
}

.method__shape h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--accent-1);
}

.method__shape p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.method__list {
  list-style: none;
}

.method__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.method__list i {
  width: 18px;
  color: var(--accent-2);
}

/* Декоративная линия на фоне */
.method__line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  pointer-events: none;
}

.method__footer {
  margin-top: 100px;
  text-align: center;
  padding: 40px;
  background: rgba(168, 237, 234, 0.05);
  border-radius: 100px;
  border: 1px dashed var(--glass-border);
}

.method__footer p {
  margin-bottom: 25px;
  font-style: italic;
  opacity: 0.7;
}

/* Адаптив */
@media (max-width: 768px) {
  .method__shape {
    border-radius: 40px !important;
    padding: 30px;
  }
  .method__line {
    display: none;
  }
  .method__footer {
    border-radius: 30px;
  }
}

/* Stories Section */
.stories {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(
    circle at 10% 50%,
    rgba(168, 237, 234, 0.05) 0%,
    transparent 40%
  );
}

.stories__wrapper {
  position: relative;
  margin-top: 50px;
  padding-bottom: 40px;
}

.stories__track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.stories__track::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.stories__card {
  min-width: 400px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 40px 10px 40px 10px;
  scroll-snap-align: start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Iridescent border effect */
.stories__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), #6e8efb)
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.stories__card:hover {
  transform: translateY(-10px) scale(1.02);
  border-radius: 10px 40px 10px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stories__card:hover::after {
  opacity: 0.5;
}

.stories__user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.stories__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-1);
  background: var(--bg-color);
}

.stories__name {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.stories__pos {
  font-size: 0.85rem;
  opacity: 0.6;
}

.stories__text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.stories__stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-1);
}

.stories__stats i {
  width: 20px;
  color: var(--accent-2);
}

/* Nav Buttons */
.stories__nav {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.stories__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.stories__btn:hover {
  background: var(--accent-1);
  color: var(--bg-color);
  border-color: var(--accent-1);
}

/* Adaptive */
@media (max-width: 768px) {
  .stories__card {
    min-width: 280px;
    padding: 25px;
  }
}

/* Blog Bento Grid */
.blog {
  padding: 100px 0;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
  margin-top: 50px;
}

.blog__item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.blog__item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Bento Sizing */
.blog__item--main {
  grid-column: span 2;
  grid-row: span 2;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)),
    url("img/placeholder.png");
  background-size: cover;
  background-position: center;
  justify-content: flex-end;
}

.blog__item--quiz {
  grid-column: span 1;
  grid-row: span 1;
  background: rgba(168, 237, 234, 0.1);
  justify-content: space-between;
}

.blog__item--award {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(254, 214, 227, 0.1),
    rgba(168, 237, 234, 0.1)
  );
}

.blog__item--medium {
  grid-column: span 1;
  grid-row: span 1;
}

.blog__item--info {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--bg-color);
  border: 1px dashed var(--glass-border);
  justify-content: center;
  text-align: center;
}

/* Blog Content Elements */
.blog__tag {
  position: absolute;
  top: 25px;
  left: 25px;
  padding: 5px 12px;
  background: var(--accent-1);
  color: var(--bg-color);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog__item h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.2;
}

.blog__item p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.blog__cta {
  text-decoration: none;
  color: var(--accent-1);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.blog__link {
  text-decoration: underline;
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

.blog__badge {
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-2);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.blog__note {
  font-size: 0.85rem !important;
  margin-bottom: 10px !important;
}

.blog__item--info i {
  color: var(--accent-1);
  margin: 0 auto;
}

/* Shiny effect on hover */
.blog__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.7s;
}

.blog__item:hover::before {
  left: 150%;
}

/* Adaptive Bento */
@media (max-width: 1100px) {
  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 650px) {
  .blog__grid {
    grid-template-columns: 1fr;
  }
  .blog__item--main {
    grid-column: span 1;
    height: 350px;
  }
}

/* Contact Section */
.contact {
  padding: 120px 0;
  position: relative;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact__features {
  margin-top: 40px;
}

.contact__feat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0.9;
}

.contact__feat-item i {
  color: var(--accent-1);
}

/* Form Styling */
.contact__form-wrapper {
  background: var(--glass);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 60px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 10px;
}

.form__group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 16px 20px;
  border-radius: 20px;
  color: var(--text-color);
  font-family: var(--font-main);
  transition: var(--transition);
}

.form__group input:focus {
  outline: none;
  border-color: var(--accent-1);
  background: rgba(255, 255, 255, 0.1);
}

.form__error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-left: 10px;
  display: none;
}

.form__group.invalid input {
  border-color: #ff6b6b;
}

.form__group.invalid .form__error {
  display: block;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.custom-checkbox:hover .checkmark {
  border-color: var(--accent-1);
}

.custom-checkbox input:checked ~ .checkmark {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.checkmark::after {
  content: "✓";
  color: var(--bg-color);
  font-weight: 900;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.form__captcha {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 20px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.captcha-logo i {
  opacity: 0.2;
}

.checkbox-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

.form__privacy .checkbox-text {
  font-size: 0.8rem;
  line-height: 1.3;
}

.btn--full {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

/* Success State */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(168, 237, 234, 0.2);
  color: var(--accent-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

.form__success h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact__form-wrapper {
    padding: 30px;
  }
}

/* --- ЭТАП 5: Cookie Pop-up --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: 30px;
  max-width: 500px;
  background: rgba(20, 20, 25, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 25px;
  border-radius: 30px;
  z-index: 2000;
  display: none; /* Скрыто по умолчанию */
  transform: translateY(100px);
  transition: var(--transition);
}

.cookie-popup.active {
  display: block;
  transform: translateY(0);
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.cookie-popup p {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.cookie-popup a {
  color: var(--accent-1);
  text-decoration: underline;
}

/* --- ЭТАП 5.2: Стилизация страниц политик (.pages) --- */
.pages {
  padding: 150px 0 100px;
  min-height: 100vh;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 40px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--accent-1);
}

.pages p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
}

.pages ul {
  margin-bottom: 30px;
  list-style: none;
  padding-left: 0;
}

.pages li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  opacity: 0.8;
}

.pages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 15px;
  height: 2px;
  background: var(--accent-2);
}

.pages strong {
  color: var(--text-color);
  font-weight: 600;
}

.pages a {
  color: var(--accent-1);
  transition: var(--transition);
}

.pages a:hover {
  color: var(--accent-2);
}
