:root {
  --bg-color: #050505;
  --text-color: #ffffff;
  --accent-color: #7000ff;
  --secondary-color: #00d4ff;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: "Inter", sans-serif;
  --font-heading: "Syne", 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;
}

/* Аврора-эффект на фоне */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(112, 0, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 40%
    );
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

.header__logo-img {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-color);
  text-transform: uppercase;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.header__link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
  transition: var(--transition);
}

.header__link:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.header__cta {
  background: var(--text-color);
  color: var(--bg-color);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.header__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-color);
  transition: var(--transition);
}

/* Footer Styles */
.footer {
  padding: 100px 0 40px;
  border-top: 1px solid var(--border-color);
  margin-top: 100px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__title {
  font-family: var(--font-heading);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

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

.footer__list li {
  margin-bottom: 12px;
}

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

.footer__list a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer__bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  opacity: 0.5;
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .header__nav {
    display: none;
  }
  .header__burger {
    display: block;
  }
}

/* Hero Section */
.hero {
  padding: 160px 0 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}

/* Bento Box Base */
.hero__item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.hero__item:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Main Block (Big) */
.hero__item--main {
  grid-column: span 3;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(112, 0, 255, 0.2);
  border: 1px solid var(--accent-color);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin-bottom: 24px;
  width: fit-content;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero__title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-color);
}

.hero__text {
  max-width: 500px;
  font-size: 1.1rem;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* Buttons */
.hero__actions {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 18px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--text-color);
  color: var(--bg-color);
}

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

.btn:hover {
  transform: scale(1.05);
}

/* Side Blocks */
.hero__item--info {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.hero__item--accent {
  grid-column: span 1;
  background: linear-gradient(135deg, var(--accent-color), #4e00b3);
}

.hero__item--visual {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__visual-circle {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  filter: blur(80px);
  opacity: 0.3;
}

.hero__visual-stats {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 16px;
  font-size: 0.8rem;
}

.stat-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 8px;
}

.stat-progress {
  width: 99%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Reveal Animation Class */
.bento-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.bento-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Adaptive Hero */
@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__item--main {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__item--main,
  .hero__item--info,
  .hero__item--accent,
  .hero__item--visual {
    grid-column: span 1;
  }
}

/* Vision Section - Editorial Style */
.vision {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.vision__header {
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision__meta {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--secondary-color);
  font-weight: 600;
}

.vision__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  max-width: 900px;
}

.vision__content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.vision__text-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vision__description {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 300;
}

.vision__description strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.vision__line {
  width: 60px;
  height: 1px;
  background: var(--text-color);
}

.vision__subtext {
  font-size: 1rem;
  opacity: 0.6;
  max-width: 400px;
}

.vision__image-wrapper {
  position: relative;
}

.vision__image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.vision__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2);
  transition: var(--transition);
}

.vision__image-placeholder:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.05);
}

.vision__label {
  position: absolute;
  bottom: 20px;
  left: -40px;
  transform: rotate(-90deg);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.vision__link {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.2rem;
  transition: var(--transition);
}

.vision__link:hover {
  color: var(--secondary-color);
  gap: 25px;
}

/* Adaptive Vision */
@media (max-width: 992px) {
  .vision__content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .vision__image-wrapper {
    order: -1;
  }
}

/* Tech Section - Utilitarian Style */
.tech {
  position: relative;
  padding: 100px 0;
  background-color: #080808;
  overflow: hidden;
}

/* Сетка на фоне */
.tech__grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.tech__header {
  text-align: center;
  margin-bottom: 60px;
}

.tech__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tech__subtitle {
  font-family: "Courier New", Courier, monospace;
  color: var(--secondary-color);
  letter-spacing: 2px;
}

.tech__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px; /* Эффект линий между картами */
  background: var(--border-color);
  border: 1px solid var(--border-color);
}

.tech__card {
  background: #080808;
  padding: 40px;
  position: relative;
  transition: var(--transition);
}

.tech__card:hover {
  background: #0c0c0c;
}

.tech__card--active {
  background: rgba(112, 0, 255, 0.05);
}

.tech__card-plus {
  position: absolute;
  top: -10px;
  left: -10px;
  color: var(--secondary-color);
  font-family: monospace;
  font-size: 20px;
}

.tech__card-num {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.tech__card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.tech__card-text {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 25px;
  min-height: 80px;
}

.tech__card-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.7rem;
  padding: 4px 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  opacity: 0.5;
}

.tech__footer {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.tech__button {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  transition: var(--transition);
}

.tech__button-code {
  background: var(--text-color);
  color: var(--bg-color);
  padding: 15px 20px;
  font-family: monospace;
  font-weight: bold;
}

.tech__button-text {
  padding: 0 30px;
  font-weight: 600;
}

.tech__button:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

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

/* Education Section - Bento Layout */
.edu {
  padding: 100px 0;
}

.edu__header {
  margin-bottom: 60px;
  text-align: left;
}

.edu__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.edu__subtitle {
  opacity: 0.6;
  font-size: 1.1rem;
}

.edu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.edu__item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.edu__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
}

.edu__step-tag {
  font-family: "Courier New", monospace;
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.edu__item-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.edu__item-text {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 30px;
}

/* Specific item adjustments */
.edu__item--step-1 {
  grid-column: span 2;
}

.edu__visual-auth {
  height: 60px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.auth-line {
  width: 60%;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

.auth-dot {
  width: 12px;
  height: 12px;
  background: var(--secondary-color);
  border-radius: 50%;
  margin-left: 10px;
  box-shadow: 0 0 15px var(--secondary-color);
}

.edu__item--support {
  background: linear-gradient(135deg, #1a1a1a, #050505);
  text-align: center;
  align-items: center;
  justify-content: center;
}

.edu__icon-circle {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.edu__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
}

.edu__btn:hover {
  gap: 15px;
}

@media (max-width: 992px) {
  .edu__grid {
    grid-template-columns: 1fr 1fr;
  }
  .edu__item--step-1 {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .edu__grid {
    grid-template-columns: 1fr;
  }
  .edu__item--step-1 {
    grid-column: span 1;
  }
}

/* Benefits Section - Fluid & Organic Style */
.benefits {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

/* Organic Blobs */
.benefits__blob {
  position: absolute;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.2;
  border-radius: 50%;
}

.benefits__blob--1 {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  top: 10%;
  right: -100px;
}

.benefits__blob--2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  bottom: 10%;
  left: -50px;
}

.benefits__header {
  text-align: center;
  margin-bottom: 80px;
}

.benefits__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.benefits__items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.benefits__card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 50px 40px;
  border-radius: 60px 20px 60px 20px; /* Асимметричные углы */
  width: 350px;
  text-align: center;
  transition: var(--transition);
}

.benefits__card:hover {
  transform: rotate(2deg) scale(1.02);
  border-color: var(--secondary-color);
}

.benefits__shape {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text-color);
  color: var(--bg-color);
  transition: var(--transition);
}

.benefits__shape--circle {
  border-radius: 50%;
}
.benefits__shape--blob {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
} /* Fluid shape */
.benefits__shape--hexagon {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.benefits__card:hover .benefits__shape {
  background: var(--secondary-color);
  transform: rotate(-10deg);
}

.benefits__card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.benefits__card-text {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.6;
}

.benefits__info-badge {
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--border-color);
  border-radius: 100px;
  width: fit-content;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .benefits__card {
    width: 100%;
  }
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(to bottom, transparent, rgba(112, 0, 255, 0.05));
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 60px;
  border-radius: 40px;
  backdrop-filter: blur(20px);
}

.contact__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact__status {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

/* Form Styles */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 15px 20px;
  border-radius: 12px;
  color: var(--text-color);
  font-family: inherit;
  transition: var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
}

/* Custom Captcha */
.form__captcha {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 12px;
  margin: 10px 0;
}

.captcha__container {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.captcha__container input {
  display: none;
}

.captcha__checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
}

.captcha__container input:checked + .captcha__checkmark {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.captcha__container input:checked + .captcha__checkmark::after {
  content: "✓";
  position: absolute;
  color: var(--bg-color);
  font-weight: bold;
  left: 4px;
  top: -2px;
}

.captcha__logo {
  width: 30px;
  margin-left: auto;
  opacity: 0.5;
}

/* Policy Checkbox */
.policy__container {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  opacity: 0.6;
  cursor: pointer;
}

.form__button {
  background: var(--text-color);
  color: var(--bg-color);
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.form__button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.form__message--success {
  background: rgba(0, 255, 0, 0.1);
  color: #00ff00;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  margin-top: 15px;
}

@media (max-width: 992px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

/* Cookie Pop-up */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: #151515;
  border: 1px solid var(--accent-color);
  padding: 20px 30px;
  border-radius: 20px;
  z-index: 2000;
  width: calc(100% - 40px);
  max-width: 500px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cookie-popup--active {
  transform: translateX(-50%) translateY(0);
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-popup__icon {
  color: var(--secondary-color);
  flex-shrink: 0;
}
.cookie-popup__text {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}
.cookie-popup__text a {
  color: var(--secondary-color);
}
.cookie-popup__btn {
  background: var(--text-color);
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* Page Styles (Policy pages) */
.pages {
  padding: 160px 0 100px;
  min-height: 80vh;
}
.pages h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--secondary-color);
}
.pages p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.8;
}
.pages ul {
  margin-bottom: 30px;
  list-style: none;
}
.pages li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  opacity: 0.8;
}
.pages li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}
.pages strong {
  color: var(--text-color);
  font-weight: 600;
}
.pages a {
  color: var(--secondary-color);
  text-decoration: underline;
}
