/* --- 1. Глобальные переменные и сброс --- */
html {
  scroll-behavior: smooth;
}

:root {
  --primary-yellow: #ffb800;
  --primary-yellow-hover: #e0a200;
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --bg-card-light: #2d2d2d;
  --bg-light: #f5f5f5;
  --bg-white: #fff;
  --text-white: #ffffff;
  --text-gray: #a2a2a2;
  --text-dark: #1a1a1a;
  --accent-blue: #007aff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-glow: 0 8px 30px rgba(255, 184, 0, 0.25);
  --transition: all 0.3s ease;
  --font-family: "Manrope", sans-serif;
  --font-scale: 1;
  --container-max-width: 1200px;
}

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

body {
  font-family: var(--font-family);
  font-size: calc(16px * var(--font-scale));
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.5;
}

/* --- Kazakh language styles (Noto Sans, 20% smaller) --- */
html[lang="kk"],
html[lang="kk-KZ"],
body.kk {
  --font-family: "Noto Sans", sans-serif;
  --font-scale: 0.8;
}

/* --- Large screens (bigger than laptop): 20% larger font, 20% wider container --- */
@media (min-width: 1600px) {
  :root {
    --font-scale: 1.2;
    --container-max-width: 1440px;
  }

  /* Kazakh on large screens: base * 0.8 * 1.2 = 0.96 */
  html[lang="kk"],
  html[lang="kk-KZ"],
  body.kk {
    --font-scale: 0.96;
  }
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* --- 2. Компоненты UI --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 16px;
  height: 48px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  border: none;
  border-radius: 12px;
}

.btn-primary {
  position: relative;
  background: linear-gradient(180deg, #ecc406 0%, #cc9902 100%);
  color: #1a1a1a;
  box-shadow:
    0px 2px 4px -1px rgba(163, 109, 5, 0.5),
    0px 0px 0px 1px #a36d05,
    inset 0px -1px 1.2px 0.4px #a36d05,
    inset 0px 0.5px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

/* Shimmer effect */
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary i,
.btn-primary span {
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #f4d020 0%, #d4a517 100%);
  transform: translateY(-1px);
  box-shadow:
    0px 4px 8px -1px rgba(163, 109, 5, 0.6),
    0px 0px 0px 1px #a36d05,
    inset 0px -1px 1.2px 0.4px #a36d05,
    inset 0px 0.5px 1px rgba(255, 255, 255, 0.9);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0px 1px 2px -1px rgba(163, 109, 5, 0.5),
    0px 0px 0px 1px #a36d05,
    inset 0px -1px 1.2px 0.4px #a36d05,
    inset 0px 0.5px 1px rgba(255, 255, 255, 0.8);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-outline:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

.section-padding {
  padding: 80px 0;
}
.text-highlight {
  color: var(--primary-yellow);
}
.text-center {
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 60px;
}

/* --- 3. Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
}

header.scrolled {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Header visible when mobile menu is open */
header.menu-open {
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo-icon {
  margin-top: -5px;
}

/* Логотип: изображение */
.logo-icon {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-white);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-yellow);
}

.burger {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--text-white);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  left: 0;
}

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-line:nth-child(3) {
  bottom: 0;
}

.burger.active .burger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.burger.active .burger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile browsers */
  padding: 20px;
  position: relative;
  overflow-y: auto;
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.mobile-menu-logo .logo-icon {
  height: 32px;
  width: auto;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  color: var(--text-white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: var(--primary-yellow);
  color: var(--text-dark);
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mobile-menu-overlay.active .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.25s;
}
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-nav-link {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  padding: 12px 0;
  position: relative;
  transition: var(--transition);
}

.mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-yellow);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-yellow);
}

.mobile-nav-link:hover::after {
  width: 60px;
}

.mobile-menu-overlay .mobile-menu-footer {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transition-delay: 0s;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 20px;
}

.mobile-menu-overlay.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.mobile-menu-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.mobile-social-link i {
  font-size: 20px;
  color: var(--primary-yellow);
  width: 24px;
}

.mobile-social-link:hover {
  color: var(--text-white);
  transform: translateX(5px);
}

.mobile-menu-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px !important;
  font-size: 15px !important;
}

/* .bg-mesh {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-mesh-light {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
} */

/* --- 4. Hero Section --- */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 70% 30%, #161616 0%, var(--bg-dark) 60%);

  overflow: hidden;
  /* min-height: 100vh; */
}

/* Тонкая сетка для светлой секции */
/* .hero-mesh {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
} */

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  /* background: rgba(0, 0, 0, 0.4); */
  /* padding: 40px; */
  /* border-radius: 20px; */
  /* backdrop-filter: blur(1px); */
  /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 14px;
  color: var(--text-gray);
  /* opacity: 0.7; */
}

/* 3D Mockup Simulation via CSS */
.hero-mockup {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #333;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2d2d2d 0%, #121212 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Элементы внутри телефона */
.app-header {
  height: 40px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.app-card-mock {
  background: #333;
  height: 120px;
  border-radius: 16px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}
.app-card-mock::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-yellow);
}

.floating-element {
  position: absolute;
  z-index: 2;
  background: rgba(30, 30, 30, 0.9);
  backdrop-filter: blur(5px);
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.float-1 {
  top: 15%;
  left: -20px;
  animation: float 5s ease-in-out infinite 1s;
}
.float-2 {
  bottom: 20%;
  right: -20px;
  animation: float 7s ease-in-out infinite 0.5s;
}
.icon-coin {
  color: var(--primary-yellow);
  font-size: 24px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 184, 0, 0);
  }
}

.beta-badge {
  display: inline-block;
  background: rgba(255, 184, 0, 0.1);
  color: var(--primary-yellow);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 184, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* --- Плавающие иконки и ореолы для hero секции --- */
.hero-floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-icon {
  position: absolute;
  font-size: 30px;
  opacity: 0;
  animation: floatIcon 15s infinite ease-in-out;
}

/* Ореолы */
.hero::before {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.25;
  }
  50% {
    transform: translate(30px, -80px) rotate(180deg);
    opacity: 0.15;
  }
  90% {
    opacity: 0.25;
  }
  100% {
    transform: translate(-20px, -120px) rotate(360deg);
    opacity: 0;
  }
}

/* --- Плавающие частицы (монеты, звезды) --- */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: -6s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  left: 80%;
  top: 40%;
  animation-delay: -3s;
  animation-duration: 15s;
}

.particle:nth-child(3) {
  left: 50%;
  top: 60%;
  animation-delay: -9s;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  left: 20%;
  top: 80%;
  animation-delay: -2s;
  animation-duration: 14s;
}

.particle:nth-child(5) {
  left: 70%;
  top: 15%;
  animation-delay: -8s;
  animation-duration: 16s;
}

.particle:nth-child(6) {
  left: 35%;
  top: 35%;
  animation-delay: -4s;
  animation-duration: 13s;
}

.particle:nth-child(7) {
  left: 85%;
  top: 70%;
  animation-delay: -7s;
  animation-duration: 17s;
}

.particle:nth-child(8) {
  left: 15%;
  top: 55%;
  animation-delay: -5s;
  animation-duration: 14.5s;
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  50% {
    transform: translate(30px, -80px) rotate(180deg);
    opacity: 0.2;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-20px, -120px) rotate(360deg);
    opacity: 0;
  }
}

/* --- 5. How It Works --- */
.how-it-works {
  background-color: var(--bg-white);
  color: var(--text-dark);
  position: relative;
}

/* Тонкая сетка для светлой секции */
/* .how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
} */

.how-it-works .container {
  position: relative;
  z-index: 1;
}

/* Карусель контейнер */
.carousel-container {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  margin-top: -60px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card {
  position: absolute;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  width: 450px;
  height: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

/* Центральная активная карточка */
.step-card.active {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
}

/* Левая карточка */
.step-card.left {
  transform: translateX(-55%) scale(0.85) rotateY(25deg);
  opacity: 0.3;
  z-index: 1;
  /* filter: brightness(0.8); */
}

/* Правая карточка */
.step-card.right {
  transform: translateX(55%) scale(0.85) rotateY(-25deg);
  opacity: 0.3;
  z-index: 1;
  /* filter: brightness(0.8); */
}

/* Скрытые карточки */
.step-card.hidden {
  transform: scale(0.7);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255, 184, 0, 0.3);
  position: absolute;
  top: 20px;
  right: 30px;
}

.step-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.step-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* Навигационные кнопки */
.carousel-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  background: var(--primary-yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: all;
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Индикаторы */
.carousel-indicators {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-yellow);
  width: 30px;
  border-radius: 5px;
}

/* --- 6. Advantages --- */
.advantages {
  background-color: var(--bg-white);
  color: var(--text-dark);
  position: relative;
}

/* Точечный паттерн для белой секции */
.advantages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.advantages .container {
  position: relative;
  z-index: 1;
}

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

.feature-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-white);
  border: 1px solid #eee;
  transition: var(--transition);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  border-color: var(--primary-yellow);
  transform: translateY(-5px);
  box-shadow:
    0 15px 40px rgba(255, 184, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-icon {
  font-size: 32px;
  color: var(--primary-yellow);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* --- 7. Formats (App Style) --- */
.formats {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Градиентный блик для темной секции */
.formats::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.formats::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.formats .container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}

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

.format-card {
  text-align: left;
  position: relative;
  background: var(--bg-card-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.format-card h3 {
  margin-bottom: 16px;
}

.format-card:hover {
  border-color: var(--primary-yellow);
  background: #252525;
  transform: translateY(-5px);
}

.format-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.format-card:hover .format-icon {
  transform: scale(1.15);
}
.format-link {
  color: var(--primary-yellow);
  font-weight: 600;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --- 8. Partners --- */
.partners {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 60px 0 80px;
  overflow: hidden;
  position: relative;
}

.partners-marquee {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  height: 60px;
  width: auto;
  min-width: 80px;
  object-fit: contain;
  -webkit-object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  flex-shrink: 0;
  max-width: 200px;
  display: block;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

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

/* Partners mobile styles */
@media (max-width: 768px) {
  .partners-track {
    gap: 40px;
  }

  .partner-logo {
    height: 40px;
    width: 150px;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 60px;
  }
}

/* --- 9. Stats --- */
.stats {
  background-color: var(--bg-white);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

/* .stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
} */

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat-item {
  position: relative;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-15px) rotateX(5deg);
  border-color: var(--primary-yellow);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 0 40px rgba(255, 184, 0, 0.1);
}

.stat-content {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover .stat-content {
  transform: translateY(-20px);
}

.stat-icon {
  font-size: 56px;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
  display: inline-block;
}

.stat-item:hover .stat-icon {
  transform: scale(1.2) rotateY(360deg);
}

.stat-main {
  margin-bottom: 15px;
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  color: var(--primary-yellow);
  font-size: 42px;
  font-weight: 800;
  display: inline;
}

.stat-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: var(--text-dark);
}

/* Дополнительная информация при ховере */
.stat-extra {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-yellow), rgba(255, 184, 0, 0.8));
  color: var(--text-dark);
  padding: 15px;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.stat-item:hover .stat-extra {
  transform: translateY(0);
}

.stat-extra i {
  margin-right: 8px;
}

/* --- 10. CTA --- */
.cta-section {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Градиентный блик сверху справа */
.cta-section::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Градиентный блик снизу слева */
.cta-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 2;
}

/* Subtle corner dots для step-card */
.step-card::before {
  content: "●";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 8px;
  color: rgba(255, 184, 0, 0.2);
  transition: color 0.3s ease;
}

.step-card:hover::before {
  color: rgba(255, 184, 0, 0.6);
}

/* --- 11. Footer --- */
footer {
  background: #000;
  padding: 60px 0 20px;
  /* border-top: 1px solid #222; */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: #fff;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: var(--text-gray);
  font-size: 14px;
  transition: 0.3s;
}
.footer-col ul li a:hover {
  color: var(--primary-yellow);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #555;
  font-size: 14px;
}

/* --- 12. Banner Section --- */
.banner {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* .banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
} */

.banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary-yellow);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-yellow-hover);
}

.breadcrumb span {
  color: #999;
}

.banner h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.banner p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Universal secondary banner for all secondary pages */
.secondary-banner {
  position: relative;
  background: radial-gradient(circle at 70% 30%, #1c1c24 0%, var(--bg-dark) 60%);
  padding: 140px 0 60px;
  text-align: center;
  overflow: hidden;
}

/* .secondary-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
} */

.secondary-banner .container {
  position: relative;
  z-index: 1;
}

.secondary-banner h1 {
  font-size: 56px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.secondary-banner p {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

.secondary-banner .breadcrumb {
  color: var(--text-gray);
}

.secondary-banner .post-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 20px;
}

.secondary-banner .post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.secondary-banner .post-meta i {
  color: var(--primary-yellow);
}

/* --- 13. Blog Grid --- */
.blog-section-white {
  padding: 30px 0 50px;
}

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

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #eee;
  transition: var(--transition);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
  display: block;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-yellow);
  box-shadow:
    0 15px 40px rgba(255, 184, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
}

.blog-card-content {
  padding: 10px 20px 20px;
}

.blog-card-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-date i {
  color: var(--primary-yellow);
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  color: var(--primary-yellow);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

/* --- 14. Blog Post --- */
.post-banner {
  position: relative;
  /* height: 450px; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* margin-top: 80px; */
  padding: 120px 0 40px;
}

/* .post-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
} */

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  background: var(--bg-dark);
}

.post-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.post-banner .breadcrumb {
  color: rgba(255, 255, 255, 0.8);
}

.post-banner .breadcrumb a {
  color: var(--primary-yellow);
}

.post-banner .breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

.post-banner h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* .post-banner-excerpt {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
} */

.post-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta i {
  color: var(--primary-yellow);
}

.post-content {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 36px 0 80px;
}

.post-article {
  max-width: 800px;
  margin: 0 auto;
}

.post-article h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 20px;
}

.post-article h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 16px;
}

.post-article p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.post-article ul,
.post-article ol {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
}

.post-article li {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
}

.post-article strong {
  color: var(--text-dark);
  font-weight: 700;
}

.highlight-box {
  background: rgba(255, 184, 0, 0.08);
  border-left: 4px solid var(--primary-yellow);
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
}

.highlight-box p {
  margin: 0;
  color: var(--text-dark);
}

.quote {
  border-left: 4px solid var(--primary-yellow);
  padding-left: 24px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
  font-size: 18px;
}

/* --- 15. Contacts Page --- */
.contacts-form-section {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 80px 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-sidebar {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: var(--transition);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
}

.contact-card:not(.form-container):hover {
  border-color: var(--primary-yellow);
  transform: translateY(-5px);
  box-shadow:
    0 15px 40px rgba(255, 184, 0, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  /* font-size: 32px; */
  /* margin-bottom: 16px; */
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 32px;
  margin-bottom: 5px;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.contact-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.contact-link {
  color: var(--primary-yellow);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.contact-card:hover .contact-link {
  gap: 10px;
}

/* --- 16. Contact Form --- */
.form-container {
  /* background-color: var(--bg-white); */
  /* padding: 40px; */
  /* border-radius: var(--radius-lg); */
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
}

.form-container h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-align: left;
}

.form-container > p {
  text-align: left;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  font-family: "Manrope", sans-serif;
  transition: var(--transition);
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100% !important;
  font-family: "Manrope", sans-serif;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 42px;
  }
  .features-grid,
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-container {
    height: 450px;
  }

  .step-card {
    width: 380px;
    height: 350px;
    padding: 30px;
  }

  .step-card.left {
    transform: translateX(-50%) scale(0.8) rotateY(20deg);
  }

  .step-card.right {
    transform: translateX(50%) scale(0.8) rotateY(-20deg);
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-circle {
    width: 130px;
    height: 130px;
  }

  .stat-value {
    font-size: 28px;
  }

  .stat-suffix {
    font-size: 32px;
  }
  .carousel-container {
    height: 420px;
    margin-top: -40px;
  }

  .step-card {
    width: 90%;
    max-width: 350px;
    height: 340px;
    padding: 25px;
  }

  .step-card h3 {
    font-size: 22px;
  }

  .step-card p {
    font-size: 14px;
  }

  .step-card.left,
  .step-card.right {
    transform: scale(0.75);
    opacity: 0.3;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .carousel-nav {
    width: calc(100% + 20px);
    left: -10px;
    right: -10px;
  }

  .carousel-indicators {
    bottom: -10px;
  }
  .hero {
    padding-bottom: 150px;
  }
  .hero-image {
    margin-top: 30px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-mockup {
    height: 400px;
    margin-top: 40px;
  }
  .phone-frame {
    height: 400px;
    width: 220px;
  }

  .nav-menu {
    display: none;
  }
  .burger {
    display: block;
  }
  .desktop-btn {
    display: none;
  }

  .features-grid,
  .formats-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    flex-direction: column;
    gap: 40px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid #eee;
    /* padding-bottom: 20px; */
  }
  .stat-item:last-child {
    border: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contacts-sidebar {
    grid-template-columns: 1fr;
    order: 2;
  }

  .contacts-layout .form-container {
    order: 1;
  }

  .banner h1,
  .secondary-banner h1 {
    font-size: 36px;
  }

  .post-banner {
    height: 350px;
  }

  .post-banner h1 {
    font-size: 32px;
  }

  .post-article h2 {
    font-size: 26px;
  }

  .post-article h3 {
    font-size: 20px;
  }

  /* Breadcrumbs - no wrap, truncate with ellipsis */
  .breadcrumb {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
  }

  .breadcrumb a,
  .breadcrumb span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    flex-shrink: 1;
  }

  .breadcrumb span:not(:last-child) {
    flex-shrink: 0;
  }
}

/* --- Additional utility classes for inline styles --- */

/* Header button wrapper */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-btn {
  padding: 10px 20px !important;
  font-size: 14px !important;
  height: auto !important;
}

/* Hero icons positioning */
.hero-icon-1 {
  left: 10%;
  top: 15%;
  animation-delay: -7s;
  animation-duration: 14s;
}

.hero-icon-2 {
  left: 85%;
  top: 25%;
  animation-delay: -4s;
  animation-duration: 16s;
}

.hero-icon-3 {
  left: 20%;
  top: 70%;
  animation-delay: -9s;
  animation-duration: 13s;
}

.hero-icon-4 {
  left: 75%;
  top: 65%;
  animation-delay: -2s;
  animation-duration: 15s;
}

.hero-icon-5 {
  left: 50%;
  top: 40%;
  animation-delay: -8s;
  animation-duration: 17s;
}

.hero-icon-6 {
  left: 15%;
  top: 50%;
  animation-delay: -5s;
  animation-duration: 14s;
}

.hero-icon-7 {
  left: 90%;
  top: 80%;
  animation-delay: -6s;
  animation-duration: 16s;
}

.hero-icon-8 {
  left: 40%;
  top: 20%;
  animation-delay: -3s;
  animation-duration: 15s;
}

/* Floating element text styles */
.floating-element-subtitle {
  font-size: 12px;
  color: #aaa;
}

.floating-element-value {
  color: #fff;
}

.floating-element-status {
  color: var(--primary-yellow);
}

/* Hero mockup image */
.hero-mockup-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

/* Feature card descriptions - already covered by existing .feature-card p */

/* Format card descriptions - already covered by existing .format-card p */

/* Section spacing utilities */
.features-grid-spaced {
  margin-top: 50px;
}

.partners-section-title {
  margin-bottom: 40px;
}

.partners-marquee-spaced {
  margin-top: 50px;
}

/* CTA section heading styles - already covered */

.cta-title {
  font-size: 48px;
  width: fit-content;
  margin: 0 auto 30px;
  /* padding: 30px 40px; */
}

.cta-text {
  color: #aaa;
  font-size: 20px;
  margin-bottom: 30px;
}

.btn-large {
  width: fit-content;
  margin: 0 auto;
  padding: 30px 40px !important;
  font-size: 18px !important;
}

/* Footer utilities */
.footer-logo {
  margin-bottom: 20px;
}

.footer-description {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

/* Blog section white background */
.blog-section-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

/* Icon utilities */
.icon-yellow {
  color: var(--primary-yellow);
}

.icon-mr-10 {
  margin-right: 10px;
}

/* Blog banner with dark background */
.blog-banner {
  position: relative;
  background: radial-gradient(circle at 70% 30%, #1c1c24 0%, var(--bg-dark) 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* margin-top: 80px; */
  padding: 120px 0 40px;
}

/* .blog-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
} */

.blog-banner .container {
  position: relative;
  z-index: 1;
}

.blog-banner h1 {
  font-size: 56px;
  margin-bottom: 16px;
  color: var(--text-white);
}

.blog-banner p {
  font-size: 20px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* --- 17. Partner Text Logos --- */
.partner-text-logo {
  font-size: 24px;
  font-weight: 700;
  color: #666;
  opacity: 0.6;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.partner-text-logo:hover {
  opacity: 1;
  color: var(--text-dark);
}

/* --- 18. Formats Grid 5 columns --- */
.formats-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1400px) {
  .formats-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* --- 20. Modal Styles --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 450px;
  width: 90%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-white);
}

.modal-content h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.modal-content > p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.modal-options {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-options-vertical {
  flex-direction: column;
}

.modal-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 25px 30px;
  background: var(--bg-card-light);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 100px;
}

.modal-option:hover {
  border-color: var(--primary-yellow);
  background: #252525;
  transform: translateY(-3px);
}

.modal-option-icon {
  font-size: 32px;
}

img.modal-option-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.modal-option-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.modal-option-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 25px;
  background: var(--bg-card-light);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 500;
}

.modal-option-btn:hover {
  border-color: var(--primary-yellow);
  background: #252525;
}

.modal-option-btn i {
  font-size: 20px;
  color: var(--primary-yellow);
  width: 30px;
}

/* --- 21. Taxopark Form Section --- */
.taxopark-form-section {
  background: var(--bg-white);
  color: var(--text-dark);
}

.taxopark-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid #eee;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .taxopark-form-container {
    padding: 25px;
  }

  .modal-option {
    gap: 8px;
    padding: 15px 20px;
    min-width: 80px;
    width: 100%;
  }
  .modal-option-text {
    font-size: 13px;
  }
}

.platform-select {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.platform-option {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #f5f5f5;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.platform-option:hover {
  background: #eee;
}

.platform-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-yellow);
}

.platform-option input[type="radio"]:checked + span {
  color: var(--primary-yellow);
  font-weight: 600;
}

.platform-option:has(input:checked) {
  border-color: var(--primary-yellow);
  background: rgba(255, 184, 0, 0.1);
}

/* --- 22. Language Switcher --- */
.lang-switcher {
  display: flex;
  gap: 5px;
  margin-left: 15px;
}

.lang-btn {
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-gray);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

/* --- 23. Hero Slider --- */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-slider .floating-element {
  z-index: 10;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide {
  position: absolute;
  width: 280px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  height: auto;
  /* border-radius: 24px; */
  /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); */
}

.hero-slide.active {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
}

.hero-slide.left {
  transform: translateX(-40%) scale(0.8) rotateY(20deg);
  opacity: 0.5;
  z-index: 1;
}

.hero-slide.right {
  transform: translateX(40%) scale(0.8) rotateY(-20deg);
  opacity: 0.5;
  z-index: 1;
}

.hero-slide.hidden {
  transform: scale(0.6);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-slider-indicators {
  position: absolute;
  bottom: -60px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: var(--primary-yellow);
  width: 30px;
  border-radius: 5px;
}

/* Hero Slider Navigation Arrows */
.hero-slider-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
  padding: 0 10px;
}

.hero-slider-btn {
  width: 50px;
  height: 50px;
  background: var(--primary-yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: all;
}

.hero-slider-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.hero-slider-btn:active {
  transform: scale(0.95);
}

/* --- 24. Hero Buttons Mobile Stack --- */
@media (max-width: 768px) {
  .hero-btns {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-slider {
    height: 400px;
    margin-top: 30px;
  }

  .hero-slide {
    width: 220px;
  }

  .hero-slide.left {
    transform: translateX(-35%) scale(0.75);
    opacity: 0.4;
  }

  .hero-slide.right {
    transform: translateX(35%) scale(0.75);
    opacity: 0.4;
  }

  .hero-slider .floating-element {
    display: none;
  }

  .hero-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero-slider-nav {
    padding: 0;
  }
}

/* --- 25. Stats 4 columns --- */
@media (min-width: 769px) {
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- 26. Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
}

.back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* --- 27. Safari Fixes for Partners Marquee --- */
.partners-track {
  -webkit-animation: scroll 30s linear infinite;
  animation: scroll 30s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

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

/* --- 28. Global Overflow Fix --- */
html,
body {
  overflow-x: hidden;
}

/* =============================================
   Contact Form 7 Custom Styles
   (merged from cf7-custom.css)
   ============================================= */

/* --- Base Form Styles --- */
.wpcf7-form .form-group {
  margin-bottom: 24px;
}

.wpcf7-form .form-group > label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.screen-reader-response,
.hidden-fields-container {
  display: none;
}

.wpcf7-form .wpcf7-list-item input.valid,
.wpcf7-form .wpcf7-list-item textarea.valid {
  box-shadow: unset !important;
}

/* Add separator line after form header */
.form-container .wpcf7-form .form-group:first-of-type {
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  font-family: "Manrope", sans-serif;
  transition: all 0.3s ease;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

.wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Validation States --- */
.wpcf7-form .wpcf7-not-valid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.wpcf7-form input.valid,
.wpcf7-form textarea.valid {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1) !important;
}

/* --- Response Messages --- */
.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px 20px !important;
  border-radius: 12px !important;
  font-size: 14px;
  text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(39, 174, 96, 0.1) !important;
  border: 1px solid #27ae60 !important;
  color: #27ae60 !important;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
  background: rgba(231, 76, 60, 0.1) !important;
  border: 1px solid #e74c3c !important;
  color: #e74c3c !important;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background: rgba(241, 196, 15, 0.1) !important;
  border: 1px solid #f1c40f !important;
  color: #d4a800 !important;
}

.wpcf7-form.spam .wpcf7-response-output {
  background: rgba(231, 76, 60, 0.1) !important;
  border: 1px solid #e74c3c !important;
  color: #e74c3c !important;
}

/* --- Hide Default CF7 Spinner --- */
.wpcf7-spinner {
  display: none !important;
}

/* --- Submit Button with Loader --- */
.wpcf7-form .form-submit,
.wpcf7-form [type="submit"] {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 30px 40px !important;
  font-weight: 700;
  font-size: 18px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #ecc406 0%, #cc9902 100%);
  color: #1a1a1a;
  box-shadow:
    0px 2px 4px -1px rgba(163, 109, 5, 0.5),
    0px 0px 0px 1px #a36d05,
    inset 0px -1px 1.2px 0.4px #a36d05,
    inset 0px 0.5px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.wpcf7-form .form-submit:hover,
.wpcf7-form [type="submit"]:hover {
  background: linear-gradient(180deg, #f4d020 0%, #d4a517 100%);
  transform: translateY(-1px);
  box-shadow:
    0px 4px 8px -1px rgba(163, 109, 5, 0.6),
    0px 0px 0px 1px #a36d05,
    inset 0px -1px 1.2px 0.4px #a36d05,
    inset 0px 0.5px 1px rgba(255, 255, 255, 0.9);
}

/* Shimmer effect */
.wpcf7-form .form-submit::before,
.wpcf7-form [type="submit"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.wpcf7-form .form-submit:hover::before,
.wpcf7-form [type="submit"]:hover::before {
  left: 100%;
}

/* Submitting state with loader */
.wpcf7-form.submitting .form-submit,
.wpcf7-form.submitting [type="submit"] {
  pointer-events: none;
  opacity: 0.8;
}

.wpcf7-form.submitting .form-submit .submit-icon,
.wpcf7-form.submitting .form-submit i:first-child,
.wpcf7-form.submitting [type="submit"] i:first-child {
  display: none !important;
}

/* Loader for buttons with .submit-text span */
.wpcf7-form.submitting .form-submit .submit-text::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid rgba(26, 26, 26, 0.3);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: cf7-spin 0.8s linear infinite;
}

/* Loader for buttons without .submit-text span (fallback) */
.wpcf7-form.submitting [type="submit"]:not(:has(.submit-text))::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2px solid rgba(26, 26, 26, 0.3);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: cf7-spin 0.8s linear infinite;
}

@keyframes cf7-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Platform Select (Radio Buttons) --- */
.wpcf7-form .platform-select {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Reset CF7 wrapper styles */
.wpcf7-form .platform-select .wpcf7-form-control-wrap {
  display: contents;
}

.wpcf7-form .platform-select .wpcf7-radio {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Style each radio option as a button */
.wpcf7-form .platform-select .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

.wpcf7-form .platform-select .wpcf7-list-item label {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f5f5f5;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin: 0;
  font-weight: 500;
}

.wpcf7-form .platform-select .wpcf7-list-item label:hover {
  background: #eee;
}

.wpcf7-form .platform-select .wpcf7-list-item input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--primary-yellow);
  margin: 0;
  padding: 0;
}

.wpcf7-form .platform-select .wpcf7-list-item-label {
  font-weight: 500;
  color: var(--text-dark);
  text-transform: capitalize;
}

/* Checked state */
.wpcf7-form .platform-select .wpcf7-list-item:has(input:checked) label {
  border-color: var(--primary-yellow);
  background: rgba(255, 184, 0, 0.1);
}

.wpcf7-form .platform-select .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label {
  color: var(--primary-yellow);
  font-weight: 600;
}

/* --- Contact Sidebar Icons (Black) --- */
.contacts-sidebar .contact-icon {
  color: var(--text-dark);
}

.contacts-sidebar .contact-icon i {
  color: var(--text-dark) !important;
}

/* --- Form Rows --- */
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .wpcf7-form .form-row {
    grid-template-columns: 1fr;
  }
  .wpcf7-form .form-submit,
  .wpcf7-form [type="submit"] {
    font-size: 16px !important;
  }
}

/* --- Partner Type Badge --- */
.partner-type-badge {
  background: rgba(255, 184, 0, 0.1);
  color: var(--primary-yellow);
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* --- Pagination Styles --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid #eee;
  color: var(--text-dark);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination .page-numbers:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

.pagination .page-numbers.current {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--text-dark);
}

.pagination .prev,
.pagination .next {
  font-size: 14px;
}
