/* ===== VARIABLES ===== */
:root {
  /* Брутализм триада цветовая схема */
  --primary-color: #FF4D4D;          /* Яркий красный */
  --primary-dark: #CC3939;           /* Темный красный */
  --primary-light: #FF7373;          /* Светлый красный */
  
  --secondary-color: #ffc74d;        /* Яркий зеленый */
  --secondary-dark: #daccab;         /* Темный зеленый */
  --secondary-light: #dbe163;        /* Светлый зеленый */
  
  --tertiary-color: #4D4DFF;         /* Яркий синий */
  --tertiary-dark: #3939CC;          /* Темный синий */
  --tertiary-light: #7373FF;         /* Светлый синий */
  
  --dark-color: #1A1A1A;             /* Почти черный */
  --dark-gray: #333333;              /* Темно-серый */
  --medium-gray: #777777;            /* Средне-серый */
  --light-gray: #EEEEEE;             /* Светло-серый */
  --white-color: #FFFFFF;            /* Белый */
  
  /* Фоновые градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  
  /* Закругления */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Шрифты */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Размеры шрифтов */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-md: 1rem;      /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */
  --text-5xl: 3rem;     /* 48px */
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Контейнеры */
  --container-width: 1200px;
  --container-padding: 2rem;
  
  /* Расстояния */
  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

a {
  color: var(--tertiary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--tertiary-dark);
  text-decoration: underline;
}

p {
  margin-bottom: var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-md);
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  color: var(--dark-color);
  font-size: var(--text-4xl);
  letter-spacing: 2px;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: var(--space-md) auto 0;
}

/* ===== BUTTON STYLES ===== */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:active,
button:active,
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--dark-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-tertiary {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: var(--white-color);
}

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
  border-color: var(--tertiary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-medium);
}

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

.logo {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-heading);
  z-index: 1001;
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.logo a:hover {
  color: var(--primary-dark);
}

.logo h1 {
  font-size: var(--text-2xl);
  margin-bottom: 0;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li {
  margin-left: var(--space-lg);
}

.desktop-nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 1px;
  padding-bottom: 0.25rem;
  text-decoration: none;
}

.desktop-nav a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.desktop-nav a:hover:before {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-icon span {
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  transition: all var(--transition-medium);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform var(--transition-medium);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav li {
  margin-bottom: var(--space-lg);
}

.mobile-nav a {
  font-size: var(--text-xl);
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color var(--transition-fast);
}

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

.mobile-nav.active {
  transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 10rem 0 8rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white-color);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero .title {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

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

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--space-3xl) 0;
  background-color: var(--white-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 5px solid var(--light-gray);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform var(--transition-medium);
}

.about-image:hover {
  transform: rotate(0);
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.progress-container {
  margin-top: var(--space-xl);
}

.progress-item {
  margin-bottom: var(--space-md);
}

.progress-item span {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: var(--light-gray);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  position: relative;
  border-radius: 5px;
  transition: width 1.5s ease;
}

.progress-fill::after {
  content: attr(data-percentage);
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white-color);
  font-size: var(--text-xs);
  font-weight: 700;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--space-3xl) 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.card {
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.card-content {
  padding: var(--space-lg);
  flex: 1;
  width: 100%;
}

.card-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-size: var(--text-xl);
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies {
  padding: var(--space-3xl) 0;
  background-color: var(--white-color);
}

.case-studies-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.slider-container {
  overflow: hidden;
}

.slide {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-lg);
  background-color: var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
}

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

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

.slide-content {
  flex: 1;
}

.slide-content h3 {
  color: var(--tertiary-color);
  margin-bottom: var(--space-md);
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--primary-color);
}

.prev-btn,
.next-btn {
  background-color: var(--dark-color);
  color: var(--white-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-color);
}

/* ===== RESOURCES SECTION ===== */
.resources {
  padding: var(--space-3xl) 0;
  background-color: var(--light-gray);
}

.resources-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  background-color: var(--white-color);
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--primary-color);
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--light-gray);
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: var(--text-lg);
  color: var(--dark-color);
}

.toggle-icon {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-color);
  transition: transform var(--transition-medium);
}

.accordion-item.active .toggle-icon {
  transform: rotate(45deg);
}

.accordion-content {
  background-color: var(--white-color);
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: var(--space-lg);
}

.resource-links {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.resource-links li {
  margin-bottom: var(--space-sm);
}

.resource-links a {
  color: var(--tertiary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

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

.resource-links a::before {
  content: '→';
  margin-right: var(--space-sm);
  color: var(--primary-color);
}

/* ===== CUSTOMER STORIES SECTION ===== */
.customer-stories {
  padding: var(--space-3xl) 0;
  background-color: var(--white-color);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.customer-stories .card {
  height: 100%;
  background-color: var(--light-gray);
  text-align: center;
}

.customer-stories .card-image {
  width: 100%;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin: -50px auto 0;
  width: 150px;
  height: 150px;
  border: 5px solid var(--white-color);
  box-shadow: var(--shadow-md);
}

.customer-stories .card-content {
  padding-top: var(--space-xl);
}

.customer-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.testimonial {
  font-style: italic;
  position: relative;
  padding: 0 var(--space-md);
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: 0;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.rating {
  color: var(--primary-color);
  font-size: var(--text-xl);
  margin-top: var(--space-md);
}

/* ===== NEWS SECTION ===== */
.news {
  padding: var(--space-3xl) 0;
  background-color: var(--light-gray);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.news .card {
  background-color: var(--white-color);
}

.date {
  display: block;
  color: var(--medium-gray);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: var(--space-md);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.read-more::after {
  content: '→';
  margin-left: var(--space-sm);
  transition: margin-left var(--transition-fast);
}

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

.read-more:hover::after {
  margin-left: var(--space-md);
}

/* ===== COMMUNITY SECTION ===== */
.community {
  padding: var(--space-3xl) 0;
  background-color: var(--white-color);
}

.community-content {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.community-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-medium);
}

.community-image:hover {
  transform: perspective(1000px) rotateY(0);
}

.community-text {
  flex: 1;
}

.community-text h3 {
  color: var(--tertiary-color);
  margin-bottom: var(--space-lg);
}

.community-initiatives {
  margin-top: var(--space-xl);
}

.initiative {
  background-color: var(--light-gray);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.initiative:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.initiative h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  font-size: var(--text-lg);
}

.community-cta {
  margin-top: var(--space-xl);
  text-align: center;
  background-color: var(--light-gray);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 5px solid var(--primary-color);
}

.community-cta p {
  margin-bottom: var(--space-md);
  font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--space-3xl) 0;
  background-color: var(--light-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info {
  padding: var(--space-lg);
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.info-item .icon {
  font-size: var(--text-xl);
  margin-right: var(--space-md);
  color: var(--primary-color);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
  border: 3px solid var(--light-gray);
}

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

.contact-form-container {
  padding: var(--space-lg);
  background-color: var(--white-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-md);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo h2 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

.footer-logo p {
  color: var(--light-gray);
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  color: var(--white-color);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

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

.footer-links li,
.footer-legal li {
  margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-legal a,
.social-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.social-links a {
  position: relative;
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.newsletter {
  margin-top: var(--space-lg);
}

.newsletter p {
  margin-bottom: var(--space-md);
  color: var(--light-gray);
}

.newsletter form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-md);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--medium-gray);
  margin-bottom: var(--space-sm);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl);
}

.success-content {
  max-width: 600px;
  background-color: var(--white-color);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 1s ease-out;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

.success-content p {
  margin-bottom: var(--space-xl);
}

.success-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: var(--space-lg);
}

/* ===== PRIVACY & TERMS PAGES ===== */
.legal-page {
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white-color);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.legal-content h2 {
  color: var(--tertiary-color);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p,
.legal-content ul {
  margin-bottom: var(--space-md);
}

.legal-content ul {
  padding-left: var(--space-lg);
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1200px) {
  :root {
    --container-padding: 1.5rem;
  }
  
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  .hero .title {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-icon {
    display: flex;
  }
  
  .about-content,
  .community-content {
    flex-direction: column;
  }
  
  .about-image,
  .about-text,
  .community-image,
  .community-text {
    width: 100%;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --space-3xl: 3rem;
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .slide {
    flex-direction: column;
  }
  
  .image-container,
  .slide-content {
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: var(--text-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .newsletter form {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 8rem 0 5rem;
  }
  
  .hero .title {
    font-size: 1.75rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .newsletter input,
  .newsletter button {
    width: 100%;
  }
}