:root {
  --bg-dark: #0a0a0a;
  --accent-silver: #c0c0c0;
  --text-main: #e0e0e0;
  --text-dim: #a0a0a0;
  --glass: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --font-primary: "Inter", sans-serif;
  --font-heading: "Cinzel", serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Aurora Background */
.mesh-gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(60, 60, 60, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(40, 40, 40, 0.15) 0%,
      transparent 40%
    );
  filter: blur(80px);
}

/* Header Styles */
.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  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;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #fff;
}

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

.header__link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.header__link:hover {
  color: var(--accent-silver);
}

.header__cta {
  background: #fff;
  color: #000;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: var(--transition);
}

.header__cta:hover {
  background: var(--accent-silver);
  transform: translateY(-2px);
}

/* Burger Menu */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  left: 0;
  transition: var(--transition);
}

.burger::before {
  top: 0;
}
.burger span {
  top: 9px;
}
.burger::after {
  bottom: 0;
}

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

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

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

.footer__description {
  color: var(--text-dim);
  margin-top: 20px;
  max-width: 300px;
}

.footer__list {
  list-style: none;
}

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

.footer__list a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer__list a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer__contact-info {
  list-style: none;
}

.footer__contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer__contact-info svg {
  width: 18px;
  color: var(--accent-silver);
}

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

/* Mobile Adjustments */
@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .header__menu {
    display: none; /* JS will toggle this */
  }
  .burger {
    display: block;
  }
}

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

/* Hero Section Styles (Bento Grid) */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
}

.hero__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.hero__main-card {
  grid-row: span 2;
  background: var(--glass);
  padding: 60px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  backdrop-filter: blur(15px);
}

.hero__label {
  display: inline-block;
  color: var(--accent-silver);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero__title span {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 40px;
}

/* Кнопки */
.btn-primary {
  background: #fff;
  color: #000;
  padding: 18px 36px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  margin-right: 20px;
  display: inline-block;
  transition: var(--transition);
}

.btn-secondary {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: scale(1.05);
  background: var(--accent-silver);
}

/* Bento Side Cards */
.hero__side-card {
  background: var(--glass);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__stat-number {
  display: block;
  font-size: 3rem;
  font-family: var(--font-heading);
  color: #fff;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-silver);
}

.hero__bottom-card {
  background: var(--glass);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}

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

/* Expertise Section Styles */
.expertise {
  padding: 120px 0;
  position: relative;
}

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

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

.section-title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-silver);
}

.section-subtitle {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* Bento Grid for Expertise */
.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}

.expertise__item {
  background: var(--glass);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise__item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.expertise__item--large {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.expertise__item--wide {
  grid-column: span 3;
}

.expertise__icon {
  width: 40px;
  height: 40px;
  color: var(--accent-silver);
  margin-bottom: 25px;
}

.expertise__item h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.expertise__item p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.expertise__list {
  list-style: none;
  margin-top: 25px;
}

.expertise__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.expertise__list svg {
  width: 18px;
  color: var(--accent-silver);
}

.expertise__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.expertise__link svg {
  width: 16px;
  transition: var(--transition);
}

.expertise__link:hover svg {
  transform: translate(3px, -3px);
}

.expertise__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Эффект свечения для большой карточки */
.marble-glow {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 992px) {
  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .expertise__grid {
    grid-template-columns: 1fr;
  }
  .expertise__item--large,
  .expertise__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .expertise__flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Strategy Section Styles */
.strategy {
  padding: 150px 0;
  background: #080808;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.strategy__wrapper {
  display: flex;
  gap: 80px;
}

.strategy__sidebar {
  flex: 1;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.7rem;
  letter-spacing: 5px;
  color: var(--accent-silver);
  opacity: 0.5;
  margin-bottom: 20px;
}

.strategy__title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.9;
  margin: 20px 0;
}

.strategy__title span {
  display: block;
  margin-left: 20px;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}

.strategy__desc {
  color: var(--text-dim);
  margin-bottom: 30px;
  max-width: 350px;
}

.strategy__badge .monospace {
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  padding: 5px 10px;
  border: 1px solid var(--border-color);
  color: var(--accent-silver);
}

/* Steps Column */
.strategy__steps {
  flex: 1.5;
}

.strategy__step {
  display: flex;
  gap: 40px;
  padding-bottom: 60px;
  border-left: 1px solid var(--border-color);
  padding-left: 40px;
  position: relative;
}

.strategy__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
}

.strategy__number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-silver);
  opacity: 0.3;
}

.strategy__content h4 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.strategy__content p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 450px;
}

.strategy__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  background: #fff;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: var(--transition);
}

.strategy__btn:hover {
  background: var(--accent-silver);
  gap: 15px;
}

@media (max-width: 992px) {
  .strategy__wrapper {
    flex-direction: column;
  }
  .strategy__sidebar {
    position: static;
  }
  .strategy__title {
    font-size: 3rem;
  }
}

/* Insights Section Styles */
.insights {
  padding: 120px 0;
  background: var(--bg-dark);
}

.insights__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 30px;
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 450px;
  gap: 25px;
}

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

.insights__card--main {
  grid-column: span 2;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
}

.insights__card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-8px);
}

/* Holographic Effect on Hover */
.insights__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(100, 100, 255, 0.05) 50%,
    rgba(255, 100, 255, 0.05) 70%,
    transparent 100%
  );
  background-size: 200% 200%;
  opacity: 0;
  transition: 0.6s ease;
  z-index: 1;
}

.insights__card:hover::after {
  opacity: 1;
  background-position: 100% 100%;
}

.insights__tag {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.insights__date {
  display: block;
  font-size: 0.8rem;
  color: var(--accent-silver);
  margin-bottom: 15px;
}

.insights__card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.insights__card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.insights__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.insights__link-icon {
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.insights__card:hover .insights__link-icon {
  background: #fff;
  color: #000;
}

.insights__footer {
  margin-top: 50px;
  text-align: center;
  padding: 30px;
  border: 1px dashed var(--border-color);
  border-radius: 15px;
}

.insights__footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 992px) {
  .insights__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .insights__card--main {
    grid-column: span 2;
    min-height: 350px;
  }
  .insights__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .insights__grid {
    grid-template-columns: 1fr;
  }
  .insights__card--main {
    grid-column: span 1;
  }
}
/* Partners Section Styles */
.partners {
  padding: 100px 0;
  background: #050505;
  overflow: hidden;
}

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

.partners__subtitle {
  font-family: "Courier New", monospace;
  color: var(--accent-silver);
  letter-spacing: 5px;
  font-size: 0.8rem;
}

.partners__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-top: 10px;
}

/* Marquee Animation */
.partners__slider {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
}

.partners__track {
  display: flex;
  gap: 80px;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.partner-logo span {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dim);
  letter-spacing: 2px;
  opacity: 0.5;
  transition: var(--transition);
  cursor: default;
}

.partner-logo:hover span {
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Info Cards below Slider */
.partners__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.partners__info-card {
  display: flex;
  gap: 20px;
  padding: 30px;
  background: var(--glass);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.partners__info-card svg {
  width: 30px;
  height: 30px;
  color: var(--accent-silver);
  flex-shrink: 0;
}

.partners__info-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .partners__info {
    grid-template-columns: 1fr;
  }
  .partners__track {
    gap: 40px;
  }
}

/* Contact Section Styles */
.contact {
  padding: 120px 0;
  background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  background: var(--glass);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.contact__text {
  color: var(--text-dim);
  margin: 25px 0;
  font-size: 1.1rem;
}

.contact__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-silver);
  font-size: 0.9rem;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  width: fit-content;
}

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

.form__group {
  position: relative;
}

.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"] {
  width: 100%;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  transition: var(--transition);
}

.contact__form input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.error-msg {
  color: #ff4d4d;
  font-size: 0.75rem;
  margin-top: 5px;
  display: none;
}

/* Custom Checkboxes (Captcha & Agreement) */
.form__captcha,
.form__agreement {
  margin-top: 5px;
}

.captcha__container,
.checkbox__container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.captcha__checkmark,
.checkbox__checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked + .captcha__checkmark,
input[type="checkbox"]:checked + .checkbox__checkmark {
  background: #fff;
  border-color: #fff;
}

input[type="checkbox"]:checked + .captcha__checkmark::after,
input[type="checkbox"]:checked + .checkbox__checkmark::after {
  content: "✓";
  position: absolute;
  color: #000;
  font-size: 14px;
  left: 4px;
  top: -1px;
}

.btn-submit {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--accent-silver);
  transform: translateY(-3px);
}

/* Success Message Overlay */
.form__success {
  display: none;
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.5s forwards;
}

.form__success svg {
  width: 60px;
  height: 60px;
  color: #44ff44;
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #151515;
  border: 1px solid var(--border-color);
  padding: 20px 30px;
  border-radius: 50px;
  z-index: 9999;
  width: max-content;
  max-width: 90%;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.cookie-popup--active {
  bottom: 30px;
}

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

.cookie-popup p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.cookie-popup a {
  color: #fff;
}

.btn-cookie {
  background: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* Styles for Policy Pages (.pages) */
.pages {
  padding: 160px 0 100px;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 40px;
}
.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: var(--accent-silver);
}
.pages p {
  margin-bottom: 20px;
  color: var(--text-dim);
  line-height: 1.8;
}
.pages ul {
  margin-bottom: 25px;
  list-style-position: inside;
}
.pages li {
  margin-bottom: 10px;
  color: var(--text-dim);
}
.pages strong {
  color: #fff;
}
.pages a {
  color: var(--accent-silver);
  text-decoration: underline;
}
