:root {
  /* Основные цвета */
  --primary-color: #ff4d4d;
  --secondary-color: #4d79ff;
  --accent-color: #ffcc00;
  --dark-color: #1a1a2e;
  --light-color: #f7f7ff;

  /* Оттенки основных цветов */
  --primary-dark: #e63939;
  --secondary-dark: #3a63d9;
  --accent-dark: #e6b800;

  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff8080);
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-color),
    #80a6ff
  );
  --gradient-accent: linear-gradient(135deg, var(--accent-color), #ffe066);

  /* Тени */
  --shadow-sm: 4px 4px 0px rgba(0, 0, 0, 0.8);
  --shadow-md: 8px 8px 0px rgba(0, 0, 0, 0.8);
  --shadow-lg: 12px 12px 0px rgba(0, 0, 0, 0.8);

  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Отступы */
  --section-padding: 5rem 1.5rem;
  --card-padding: 1.5rem;
}

/* Базовые стили */
body {
  font-family: "Roboto", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

section {
  padding: var(--section-padding);
  position: relative;
}

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

/* Кнопки */
.button {
  transition: all var(--transition-normal);
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-sm);
}

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

.button.is-primary:hover {
  background: var(--primary-dark);
}

.button.is-light.is-outlined {
  border-color: white;
  color: white;
}

.button.is-light.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
  }
}

/* Заголовки */
.title {
  position: relative;
  display: inline-block;
}

.title.is-1,
.title.is-2 {
  margin-bottom: 2rem;
}

.title.is-1:after,
.title.is-2:after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 25%;
  width: 50%;
  height: 4px;
  background: var(--primary-color);
}

.has-text-white {
  color: white !important;
}

/* Карточки */
.card {
  border-radius: 0;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  background-color: white;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translate(-5px, -5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.card-content {
  padding: var(--card-padding);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar-menu {
  background-color: var(--dark-color);
}

.navbar {
  background-color: var(--dark-color);
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  color: var(--light-color);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.logo-text {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
  color: var(--light-color);
}

.navbar-burger {
  color: var(--light-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

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

.hero .title,
.hero .subtitle,
.hero-description {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features-section {
  background-color: var(--light-color);
}

.feature-card {
  height: 100%;
}

.feature-card .card-image {
  height: 250px;
  overflow: hidden;
}

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

/* Portfolio Section */
.portfolio-section {
  background-color: #f0f0f7;
}

.portfolio-card .card-image {
  height: 300px;
}

.portfolio-card .tag {
  margin-bottom: 0.75rem;
}

/* Media Section */
.media-section {
  background-color: var(--light-color);
}

.media-card {
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  background-color: white;
  padding: 1rem;
  height: 100%;
}

.media-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.media-card .card-image {
  height: 200px;
  margin-bottom: 1rem;
}

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

/* Innovation Section */
.innovation-section {
  background-color: var(--dark-color);
  color: var(--light-color);
}

.innovation-section .title,
.innovation-section .subtitle {
  color: var(--light-color);
}

.innovation-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.innovation-content {
  padding: 2rem;
  color: var(--light-color);
}

.methodology-steps {
  margin-top: 2rem;
}

.methodology-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h4 {
  color: var(--light-color);
  margin-bottom: 0.5rem;
}

/* Resources Section */
.resources-section {
  background-color: #f0f0f7;
}

.resource-card {
  height: 100%;
}

.resource-card a {
  color: var(--secondary-color);
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--secondary-dark);
  text-decoration: underline;
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(135deg, #f0f0f7 0%, #e0e0e7 100%);
}

.pricing-card {
  text-align: center;
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
}

.pricing-card.is-featured {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent-color);
}

.pricing-card .card-header {
  background-color: var(--dark-color);
  color: white;
  padding: 1.5rem;
  border-radius: 0;
}

.pricing-card .card-header-title {
  color: white;
  font-size: 1.5rem;
  justify-content: center;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 1.5rem 0 0.5rem;
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.period {
  font-size: 1rem;
  color: #777;
  margin-bottom: 2rem;
}

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

.features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 2rem;
}

.features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.popular-tag {
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 3;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
}

/* Awards Section */
.awards-section {
  background-color: var(--light-color);
}

.award-card {
  text-align: center;
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.award-card:hover {
  transform: translateY(-10px);
}

.award-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

/* Webinars Section */
.webinars-section {
  background-color: #f0f0f7;
}

.webinar-card {
  height: 100%;
}

.webinar-card .card-content {
  display: flex;
  align-items: flex-start;
  padding: 2rem;
}

.webinar-date {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.day {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.month {
  font-size: 1rem;
  text-transform: uppercase;
}

.webinar-info {
  flex-grow: 1;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--light-color);
}

.gallery-item {
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Projects Section */
.projects-section {
  background-color: #f0f0f7;
}

.project-card {
  height: 100%;
}

.project-card .card-image {
  height: 300px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #e0e0e7 100%);
}

.contact-info {
  background-color: white;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

.map-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-container {
  background-color: white;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .input,
.contact-form .textarea {
  border-radius: 0;
  border: 2px solid #ddd;
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: none;
}

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

.footer .title {
  color: var(--light-color);
}

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

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

.footer-links a,
.social-links a {
  color: #ccc;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.social-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.social-links a {
  margin-right: 1.5rem;
  font-weight: 500;
}

.copyright {
  margin-top: 3rem;
  color: #999;
  font-size: 0.9rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
  background-color: white;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

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

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  min-height: 100vh;
}

.privacy-content,
.terms-content {
  background-color: white;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

/* Cookie Consent */
#cookieConsentPopup {
  animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#acceptCookies:hover {
  background-color: #45a049;
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .pricing-card.is-featured {
    transform: scale(1);
  }

  .webinar-card .card-content {
    flex-direction: column;
  }

  .webinar-date {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .methodology-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --section-padding: 3rem 1rem;
  }

  .title.is-1 {
    font-size: 2.5rem;
  }

  .title.is-2 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .contact-item {
    flex-direction: column;
  }

  .contact-item i {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }

  .price {
    font-size: 2.5rem;
  }

  .innovation-image {
    height: 300px;
  }
}

/* Утилиты */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.mb-6 {
  margin-bottom: 3rem !important;
}

/* Читать далее ссылки */
.read-more {
  color: var(--secondary-color);
  font-weight: 500;
  position: relative;
  display: inline-block;
  transition: all var(--transition-fast);
}

.read-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

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

.read-more:hover:after {
  transform: translateX(5px);
}
