/* Основные переменные темы */
:root {
  /* Основная цветовая схема - Раздельно-дополнительная */
  --primary-color: #FF5733;       /* Основной яркий оранжевый */
  --primary-dark: #D64022;        /* Темный оранжевый для hover */
  --primary-light: #FF8C72;       /* Светлый оранжевый для акцентов */
  
  --secondary-color: #3385FF;     /* Комплементарный синий */
  --secondary-dark: #1960D6;      /* Темно-синий для hover */
  --secondary-light: #72A8FF;     /* Светло-синий для акцентов */
  
  --tertiary-color: #33FF85;      /* Третичный зеленый */
  --tertiary-dark: #1ED66A;       /* Темно-зеленый */
  --tertiary-light: #72FFB0;      /* Светло-зеленый */
  
  --neutral-dark: #333333;        /* Темно-серый для текста */
  --neutral-medium: #777777;      /* Средне-серый для второстепенного текста */
  --neutral-light: #F8F8F8;       /* Светло-серый для фонов */
  --neutral-white: #FFFFFF;       /* Белый */
  
  /* Шрифты */
  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'DM Sans', sans-serif;
  
  /* Размеры и интервалы */
  --section-padding: 5rem 0;
  --container-padding: 0 1.5rem;
  --card-border-radius: 12px;
  --button-border-radius: 50px;
  
  /* Тени и эффекты */
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --button-shadow: 0 4px 12px rgba(255, 87, 51, 0.2);
  --hover-transition: all 0.3s ease;
}

/* Базовые стили */
html, body {
  font-family: var(--body-font);
  color: var(--neutral-dark);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Анимация частиц */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

@keyframes floatParticle {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translate(var(--tx, 100px), var(--ty, 100px)) rotate(var(--rot, 180deg)); opacity: 0; }
}

.hero-section::before,
.statistics-section::before,
.pricing-section::before,
.careers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 8%);
  background-size: 5vmin 5vmin;
  background-repeat: repeat;
  z-index: 1;
  pointer-events: none;
}

/* Пульсирующая анимация для кнопок */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 87, 51, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 8px 24px rgba(255, 87, 51, 0.4); }
  100% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 87, 51, 0.2); }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Адаптивная типографика */
@media screen and (min-width: 1408px) {
  html { font-size: 18px; }
  .title.is-1 { font-size: 3.5rem; }
  .title.is-2 { font-size: 2.8rem; }
  .title.is-3 { font-size: 2.2rem; }
  .title.is-4 { font-size: 1.8rem; }
}

@media screen and (max-width: 1407px) and (min-width: 1024px) {
  html { font-size: 17px; }
  .title.is-1 { font-size: 3.2rem; }
  .title.is-2 { font-size: 2.5rem; }
  .title.is-3 { font-size: 2rem; }
  .title.is-4 { font-size: 1.6rem; }
}

@media screen and (max-width: 1023px) and (min-width: 769px) {
  html { font-size: 16px; }
  .title.is-1 { font-size: 3rem; }
  .title.is-2 { font-size: 2.3rem; }
  .title.is-3 { font-size: 1.8rem; }
  .title.is-4 { font-size: 1.5rem; }
}

@media screen and (max-width: 768px) {
  html { font-size: 15px; }
  .title.is-1 { font-size: 2.5rem; }
  .title.is-2 { font-size: 2.1rem; }
  .title.is-3 { font-size: 1.6rem; }
  .title.is-4 { font-size: 1.4rem; }
}

/* Навигация */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9) !important;
  transition: var(--hover-transition);
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: var(--hover-transition);
}

.navbar-item:hover {
  color: var(--primary-color) !important;
  background-color: transparent !important;
}

.logo-text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
  margin-left: 0.5rem;
  color: var(--primary-color);
}

/* Общие стили для секций */
section {
  position: relative;
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Общие стили для карточек */
.card {
  border-radius: var(--card-border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--hover-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Стили для кнопок */
.button {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--hover-transition);
  box-shadow: var(--button-shadow);
  border: none;
  position: relative;
  overflow: hidden;
}

.button.is-primary {
  background-color: var(--primary-color);
  color: white;
}

.button.is-primary:hover, .button.is-primary:focus {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 87, 51, 0.3);
}

.button.is-light {
  background-color: var(--neutral-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button.is-light:hover, .button.is-light:focus {
  background-color: var(--neutral-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  border-color: var(--primary-dark);
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.button:hover::before {
  width: 300px;
  height: 300px;
}

/* Hero секция */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-body {
  z-index: 2;
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.buttons {
  margin-top: 2rem;
}

/* About секция */
.about-section {
  background-color: var(--neutral-light);
}

.image-container {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.03);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Process секция */
.process-section {
  background-color: var(--neutral-white);
}

.process-card {
  transition: var(--hover-transition);
  margin-bottom: 2rem;
}

.process-card .title {
  color: var(--primary-color);
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Statistics секция */
.statistics-section {
  color: var(--neutral-white);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--card-border-radius);
  margin-bottom: 2rem;
  transition: var(--hover-transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--tertiary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.statistics-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Team секция */
.team-section {
  background-color: var(--neutral-light);
}

.team-card {
  text-align: center;
}

.team-card .card-image {
  width: 100%;
  height: 300px;
}

.team-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .title {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.team-card .subtitle {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  font-size: 0.95rem;
  color: var(--neutral-medium);
}

/* Resources секция */
.resources-section {
  color: var(--neutral-white);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.resource-card {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--card-border-radius);
  height: 100%;
  transition: var(--hover-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.resource-card .title {
  color: var(--tertiary-light);
  margin-bottom: 1rem;
}

.resource-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Blog секция */
.blog-section {
  background-color: var(--neutral-white);
}

.blog-card .card-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--neutral-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.blog-card .title {
  color: var(--primary-color);
  transition: var(--hover-transition);
}

.blog-card:hover .title {
  color: var(--primary-dark);
}

.blog-excerpt {
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: var(--hover-transition);
  text-decoration: none;
}

.blog-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.blog-link:hover {
  color: var(--secondary-dark);
  text-decoration: none;
}

.blog-link:hover::after {
  width: 100%;
}

/* Pricing секция */
.pricing-section {
  color: var(--neutral-white);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pricing-card {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--neutral-dark);
  border-radius: var(--card-border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--hover-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
  z-index: 2;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.featured-tag {
  position: absolute;
  top: -12px;
  right: 30px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pricing-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--tertiary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.pricing-description {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--neutral-medium);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* FAQ секция */
.faq-section {
  background-color: var(--neutral-light);
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--card-border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--hover-transition);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  padding-right: 1.5rem;
}

.faq-answer {
  color: var(--neutral-medium);
  font-size: 1rem;
  line-height: 1.7;
}

/* Careers секция */
.careers-section {
  color: var(--neutral-white);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.careers-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.job-card {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--neutral-dark);
  border-radius: var(--card-border-radius);
  padding: 2rem;
  height: 100%;
  transition: var(--hover-transition);
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.job-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.job-location {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.job-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-description p {
  color: var(--neutral-dark);
  margin-bottom: 1rem;
}

.job-requirements {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.job-requirements li {
  margin-bottom: 0.5rem;
  color: var(--neutral-medium);
}

/* Contact секция */
.contact-section {
  background-color: var(--neutral-white);
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  margin-right: 1rem;
}

.map-container {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-container img {
  width: 100%;
  height: auto;
}

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  transition: var(--hover-transition);
  text-decoration: none;
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 87, 51, 0.3);
  color: white;
  text-decoration: none;
}

.contact-form-container {
  background-color: white;
  border-radius: var(--card-border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.contact-form .label {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-form .input,
.contact-form .textarea {
  border-radius: 5px;
  border: 2px solid #eee;
  padding: 0.75rem;
  transition: var(--hover-transition);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 87, 51, 0.1);
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-style: italic;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: var(--primary-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--hover-transition);
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  background-color: var(--neutral-light);
  padding: 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: 2rem;
}

.success-message {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-description {
  font-size: 1.2rem;
  color: var(--neutral-medium);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Privacy and Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-container,
.terms-container {
  background-color: white;
  border-radius: var(--card-border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
}

/* Счетчик с анимацией */
@keyframes countUp {
  from { content: attr(data-start-value); }
  to { content: attr(data-count); }
}

.count-up {
  position: relative;
}

.count-up::after {
  content: attr(data-count);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: countUp 2s ease forwards;
}

/* Утилиты и медиа-запросы */
@media screen and (max-width: 768px) {
  .hero-description {
    font-size: 1rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
}

/* Дополнительные стили для мобильной навигации */
.navbar-burger {
  color: var(--primary-color);
}

.navbar-burger:hover {
  background-color: transparent;
}

.navbar-menu.is-active {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
}

html,body{
  overflow-x: hidden;
}