/* Color Palette and Typography Variables */
:root {
  --primary-color: #8B5CF6; /* Purple - Main Accent */
  --primary-light: #A78BFA;
  --text-color-dark: #18181B; /* Almost Black */
  --text-color-muted: #4B5563; /* Dark Gray for secondary text */
  --background-dark: #0A0A0A; /* Black background for footer/sections */
  --background-light: #F4F4F5; /* Light Gray for alternating sections */
  --font-family-base: "Poppins", sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-base);
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: #ffffff;
}

/* Base Structure Classes (Updated Names) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Класс изменен: content-section (был section) */
.content-section {
  padding: 80px 0; /* Increased padding for better spacing */
  background: #ffffff;
}

.content-section:nth-child(even) {
  background: var(--background-light); /* Light gray for contrast */
}

/* Класс изменен: section-heading-area (был section-header) */
.section-heading-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2rem;
}

/* Класс изменен: section-main-icon (был section-icon) */
.section-main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(139, 92, 246, 0.1); /* Semi-transparent purple */
  border-radius: 50%;
  transition: all 0.3s ease;
}

.section-main-icon:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: scale(1.05);
}

.content-section h2 {
  font-size: 2.8rem;
  margin: 0;
  color: var(--text-color-dark);
  text-align: center;
  font-weight: 700;
}

.content-section > .container > p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  color: var(--text-color-muted);
}

/* Header Styles (Updated Names) */
/* Класс изменен: main-header (был header) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.in-hero {
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

/* Класс изменен: main-nav (был navbar) */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Класс изменен: brand-logo-link (был logo-link) */
.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
  transition: transform 0.3s ease;
}

.brand-logo-link:hover {
  transform: scale(1.05);
}

.site-logo {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.nav-brand-container h1 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

/* Класс изменен: nav-links-menu (был nav-menu) */
.nav-links-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

/* Класс изменен: nav-link-item (был nav-link) */
.nav-link-item {
  text-decoration: none;
  color: var(--text-color-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.nav-link-item:hover {
  color: var(--primary-color);
  background-color: rgba(139, 92, 246, 0.1);
  font-weight: 600;
}

.nav-link-item.active {
  color: var(--primary-color);
  background-color: rgba(139, 92, 246, 0.15);
  font-weight: 600;
}

.nav-link-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

/* Класс изменен: menu-toggle (был hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section Styles (Updated Names) */
/* Класс изменен: main-hero (был hero) */
.main-hero {
  /* Placeholder image, should be updated to a dark/purple theme image */
  background: url(images/bg-.jpg) center/cover no-repeat;
  padding: 220px 0 140px;
  text-align: center;
  position: relative;
}

.main-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Dark overlay - darker than previous */
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Класс изменен: hero-main-content (был hero-content) */
.hero-main-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-main-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-weight: 800;
}

.hero-main-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Класс изменен: btn-primary-cta (был cta-button) */
.btn-primary-cta {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 18px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary-cta:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.6);
}

/* Features Grid (Updated Names) */
/* Класс изменен: service-cards-grid (был features-grid) */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Класс изменен: service-card (был feature-card) */
.service-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid var(--background-light);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.2);
  border-color: var(--primary-color);
}

/* Класс изменен: card-main-icon (был block-icon) */
.card-main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--primary-color); /* Solid purple for focus */
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-color-muted);
}

/* Steps Container (Updated Names) */
/* Класс изменен: progressive-path-container (был steps-container) */
.progressive-path-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Класс изменен: path-step (был step) */
.path-step {
  text-align: center;
  padding: 2rem;
  border: 2px dashed var(--primary-color);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.path-step:hover {
  background: var(--background-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Класс изменен: step-badge (был step-number) */
.step-badge {
  background-color: var(--primary-color);
  color: #ffffff;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.5);
}

.path-step h3 {
  margin-bottom: 1rem;
  color: var(--text-color-dark);
  font-weight: 600;
}

.path-step p {
  color: var(--text-color-muted);
}

/* Skills Grid (Updated Names) */
/* Класс изменен: skill-mastery-grid (был skills-grid) */
.skill-mastery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Класс изменен: skill-mastery-card (был skill-card) */
.skill-mastery-card {
  background: var(--background-dark); /* Dark Card Background */
  border: 1px solid var(--text-color-dark);
  padding: 2.5rem;
  border-radius: 18px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-color-light); /* Light text on dark background */
}

.skill-mastery-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.skill-mastery-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-mastery-card:hover::before {
  transform: scaleX(1);
}

/* Класс изменен: mastery-icon (был card-icon) */
.skill-mastery-card .mastery-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.skill-mastery-card h3 {
  color: var(--primary-light);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.skill-mastery-card p {
  color: white;
  line-height: 1.6;
}

/* Control Features (Updated Names) */
/* Класс изменен: evaluation-grid (был control-features) */
.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Класс изменен: evaluation-card (был control-card) */
.evaluation-card {
  background: var(--background-light);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.evaluation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
  border-color: var(--primary-color);
}

.evaluation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.evaluation-card .mastery-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.evaluation-card h3 {
  color: var(--text-color-dark);
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.evaluation-card p {
  color: var(--text-color-muted);
  line-height: 1.6;
}

/* Pricing Grid (Updated Names) */
/* Класс изменен: investment-grid (был pricing-grid) */
.investment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Класс изменен: investment-card (был pricing-card) */
.investment-card {
  background-color: var(--background-dark); /* Dark card for pricing */
  color: #ffffff;
  border: 2px solid var(--text-color-dark);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investment-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.investment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.investment-card.featured:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 18px 50px rgba(139, 92, 246, 0.5);
}

.investment-card h3 {
  color: var(--primary-light);
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
}

/* Класс изменен: price-tag (был price) */
.price-tag {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1.8rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.investment-card ul {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.investment-card li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #27272a;
  color: var(--text-color-light);
}

/* Класс изменен: btn-secondary-choice (был pricing-btn) */
.btn-secondary-choice {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
  font-size: 1.1rem;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.4);
}

.btn-secondary-choice:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Testimonials (Updated Names) */
/* Класс изменен: client-feedback (был testimonials) */
.client-feedback {
  background-color: var(--background-dark); /* Dark section */
  color: #ffffff;
}

/* Класс изменен: feedback-grid (был testimonials-grid) */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Класс изменен: feedback-card (был testimonial-card) */
.feedback-card {
  background-color: #1f2937; /* Darker gray background for contrast */
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--primary-color);
}

.feedback-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color-light);
}

/* Класс изменен: feedback-author (был testimonial-author) */
.feedback-author {
  margin-top: 1rem;
}

.feedback-author strong {
  color: var(--primary-light);
  display: block;
  font-weight: 700;
}

.feedback-author span {
  font-size: 0.9rem;
  color: var(--text-color-muted);
}

/* Team (Updated Names) */
/* Класс изменен: expert-team (был team) */
.expert-team {
  background: #ffffff;
}

/* Класс изменен: team-expert-grid (был team-grid) */
.team-expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Класс изменен: team-expert-card (был team-card) */
.team-expert-card {
  text-align: center;
  padding: 2.5rem;
  background: var(--background-light);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.team-expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.15);
  border-color: var(--primary-color);
}

/* Класс изменен: expert-photo (был team-photo) */
.expert-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  margin: 0 auto 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
  transition: all 0.3s ease;
}

.team-expert-card:hover .expert-photo {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 0;
}

.team-expert-card h3 {
  color: var(--text-color-dark);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Класс изменен: expert-role (был team-role) */
.team-expert-card .expert-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.team-expert-card p {
  color: var(--text-color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Registration Form (Updated Names) */
/* Класс изменен: contact-form (был registration-form) */
.contact-form {
  max-width: 650px;
  margin: 3rem auto 0;
  background-color: var(--background-light);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text-color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #e5e7eb;
  background: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.error-message {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

/* Класс изменен: btn-submit-request (был submit-btn) */
.btn-submit-request {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 16px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100%;
  text-transform: uppercase;
}

.btn-submit-request:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* FAQ Section (Updated Names) */
/* Класс изменен: faq-accordion (был faq-container) */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  margin-top: 2rem;
}

/* Класс изменен: faq-item-block (был faq-item) */
.faq-item-block {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-block:hover {
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
  border-color: var(--primary-color);
}

/* Класс изменен: faq-question-title (был faq-question) */
.faq-question-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #fcfcfc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question-title:hover {
  background: var(--background-light);
}

.faq-question-title h3 {
  margin: 0;
  color: var(--text-color-dark);
  font-size: 1.15rem;
  font-weight: 600;
}

/* Класс изменен: faq-control-toggle (был faq-toggle) */
.faq-control-toggle {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item-block.active .faq-control-toggle {
  transform: rotate(45deg);
}

/* Класс изменен: faq-content-answer (был faq-answer) */
.faq-content-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item-block.active .faq-content-answer {
  padding: 1.5rem;
  max-height: 500px;
  border-top: 1px solid #e5e7eb;
}

.faq-content-answer p {
  margin: 0;
  color: var(--text-color-muted);
  line-height: 1.6;
}

/* Contact (Updated Names) */
/* Класс изменен: contact-details (был contact-info) */
.contact-details {
  text-align: center;
  margin-top: 3rem;
}

/* Класс изменен: detail-item (был contact-item) */
.detail-item {
  margin-bottom: 2rem;
}

.detail-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.detail-item a {
  color: var(--text-color-dark);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.detail-item a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Footer (Updated Names) */
/* Класс изменен: main-footer (был footer) */
.main-footer {
  background-color: var(--background-dark);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

/* Класс изменен: footer-structure (был footer-content) */
.footer-structure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 0 auto 2.5rem auto;
  padding: 0 20px;
}

/* Класс изменен: footer-block (был footer-section) */
.footer-block h3 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-block p {
  color: var(--text-color-muted);
}

.footer-block ul {
  list-style: none;
}

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

.footer-block ul li a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-block ul li a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Класс изменен: footer-copyright (был footer-bottom) */
.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: var(--text-color-muted);
  font-size: 0.9rem;
}

/* Methods Section Styles (Updated Names) */
/* Класс изменен: protocol-grid (был methods-grid) */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Класс изменен: protocol-card (был method-card) */
.protocol-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.protocol-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

/* Класс изменен: protocol-icon (был method-icon) */
.protocol-card .protocol-icon {
  margin-bottom: 1rem;
}

.protocol-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.protocol-card p {
  color: var(--text-color-muted);
  line-height: 1.6;
}

/* Gallery Section Styles (Updated Names) */
/* Класс изменен: case-study-grid (был gallery-grid) */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Класс изменен: case-study-item (был gallery-item) */
.case-study-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.case-study-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
  border-color: var(--primary-color);
}

.case-study-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Класс изменен: case-study-content (был gallery-content) */
.case-study-content {
  padding: 1.5rem;
}

.case-study-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.case-study-content p {
  color: var(--text-color-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Resources Section Styles (Updated Names) */
/* Класс изменен: free-resource-grid (был resources-grid) */
.free-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Класс изменен: free-resource-card (был resource-card) */
.free-resource-card {
  background: var(--background-dark); /* Dark Card */
  color: var(--text-color-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #1f2937;
}

.free-resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
  border-color: var(--primary-color);
}

/* Используем protocol-icon, так как он уже стилизован */
.free-resource-card .protocol-icon {
  margin: 0 auto 1rem auto;
}

.free-resource-card h3 {
  color: var(--primary-light);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.free-resource-card p {
  color: white;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Класс изменен: btn-resource-download (был resource-btn) */
.btn-resource-download {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  font-size: 1rem;
}

.btn-resource-download:hover {
  background: var(--primary-light);
}

/* Cookie Popup (Updated Names) */
/* Класс изменен: cookie-notice (был cookie-popup) */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 800px;
  width: calc(100% - 40px);
  background: var(--background-dark); /* Dark background for the cookie notice */
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: none;
  color: var(--text-color-light);
}

/* Класс изменен: cookie-notice-content (был cookie-content) */
.cookie-notice-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Класс изменен: cookie-notice-actions (был cookie-buttons) */
.cookie-notice-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cookie-notice p {
  margin: 0;
  color: white;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.cookie-link:hover {
  text-decoration: underline;
  color: var(--primary-light);
}

/* Класс изменен: btn-cookie-accept (был cookie-accept) */
.btn-cookie-accept {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-cookie-accept:hover {
  background-color: var(--primary-light);
}

.cookie-notice.show {
  display: block;
  transform: translateX(0);
}

/* Policy Pages Styles (Updated Names) */
.policy-content,
.terms-content,
.cookie-content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  line-height: 1.8;
  color: var(--text-color-dark);
}

.policy-content h1,
.terms-content h1,
.cookie-content-page h1 {
  color: var(--primary-color);
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 3rem;
  position: relative;
  font-weight: 800;
}

.policy-content h2,
.terms-content h2,
.cookie-content-page h2 {
  color: var(--text-color-dark);
  margin: 3.5rem 0 1.5rem;
  font-size: 1.8rem;
  padding: 1rem;
  background: var(--background-light);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 700;
}

.policy-content h3,
.terms-content h3,
.cookie-content-page h3 {
  color: var(--primary-color);
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

/* Updated Policy Icons to match new primary color */
.policy-content h1::before,
.terms-content h1::before,
.cookie-content-page h1::before {
  content: "🛡️"; /* Kept the same emoji for general protection */
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.terms-content h1::before {
  content: "📋";
}

.cookie-content-page h1::before {
  content: "🍪";
}

.policy-content h2::before,
.terms-content h2::before,
.cookie-content-page h2::before {
  content: "▶";
  color: var(--primary-color);
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.policy-content h3::before,
.terms-content h3::before,
.cookie-content-page h3::before {
  content: "🔹"; /* Changed to a simpler geometric shape for bullet */
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.content-section-policy { /* New name for policy content division */
  background: #ffffff;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.highlight-box {
  background: linear-gradient(135deg, #f3e8ff 0%, #dcd0ff 100%); /* Purple highlight */
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  color: var(--text-color-dark);
}

.highlight-box::before {
  content: "💡"; /* Changed warning to info/tip icon */
  position: absolute;
  top: -10px;
  left: 20px;
  background: #ffffff;
  padding: 0 10px;
  font-size: 1.2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card h4 {
  color: var(--text-color-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.info-card h4::before {
  content: "✔️"; /* Changed pin to checkmark */
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.back-link {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(139, 92, 246, 0.3);
}

.back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(139, 92, 246, 0.4);
}

.back-link::before {
  content: "🏠";
  margin-right: 0.5rem;
}

.policy-content li,
.terms-content li,
.cookie-content-page li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.policy-content li::before,
.terms-content li::before,
.cookie-content-page li::before {
  content: "•"; /* Changed checkmark to simple bullet for list */
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.last-updated {
  background: var(--background-light);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-color-muted);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-table th {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.cookie-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: var(--text-color-dark);
}

.cookie-table tr:nth-child(even) {
  background: var(--background-light);
}

.cookie-table tr:hover {
  background: #e5e7eb;
}

.cookie-type-section {
  background: #ffffff;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-color);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile Responsive */
@media (max-width: 1006px) {
  /* Menu toggle changes to match new class name */
  .nav-links-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }

  .nav-links-menu.active {
    left: 0;
  }

  .nav-links-menu li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

@media (max-width: 768px) {
  .hero-main-content h2 {
    font-size: 2.5rem;
  }

  .hero-main-content p {
    font-size: 1.1rem;
  }

  .content-section {
    padding: 60px 0;
  }

  .content-section h2 {
    font-size: 2.2rem;
  }

  /* Updated grid classes */
  .service-cards-grid,
  .progressive-path-container,
  .skill-mastery-grid,
  .evaluation-grid,
  .investment-grid,
  .feedback-grid,
  .team-expert-grid {
    grid-template-columns: 1fr;
  }

  .investment-card.featured {
    transform: none;
  }

  .investment-card.featured:hover {
    transform: translateY(-5px);
  }

  .cookie-notice-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-notice-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cookie-accept {
    width: 100%;
  }

  .main-nav {
    padding: 1rem;
  }

  .container {
    padding: 0 15px;
  }

  /* FAQ responsive (Updated Names) */
  .faq-question-title {
    padding: 1rem;
  }

  .faq-question-title h3 {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .faq-item-block.active .faq-content-answer {
    padding: 1rem;
  }

  /* New sections responsive styles (Updated Names) */
  .protocol-grid,
  .case-study-grid,
  .free-resource-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .protocol-card,
  .free-resource-card {
    padding: 1.5rem;
  }

  .case-study-item img {
    height: 180px;
  }

  .case-study-content {
    padding: 1rem;
  }

  .investment-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .main-hero {
    padding: 120px 0 80px;
  }

  .hero-main-content h2 {
    font-size: 2rem;
  }

  .content-section {
    padding: 40px 0;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .service-card,
  .skill-mastery-card,
  .evaluation-card,
  .investment-card,
  .feedback-card,
  .team-expert-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .btn-primary-cta {
    padding: 14px 25px;
    font-size: 1.05rem;
  }

  .price-tag {
    font-size: 2.5rem;
  }
}