/* Базовые CSS переменные для современной цветовой схемы */
:root {
  /* Основные цвета - дополнительная схема */
  --primary-color: #FF6B35;
  --primary-dark: #E55A2E;
  --primary-light: #FF8A5C;
  --secondary-color: #4A90E2;
  --secondary-dark: #3A7BD5;
  --secondary-light: #6BA6FF;
  
  /* Акцентные цвета */
  --accent-color: #F39C12;
  --accent-dark: #E67E22;
  --success-color: #27AE60;
  --warning-color: #F1C40F;
  --danger-color: #E74C3C;
  
  /* Нейтральные цвета */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #495057;
  --dark: #212529;
  --black: #000000;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  
  /* Типографика */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Размеры и отступы */
  --border-radius: 12px;
  --border-radius-large: 20px;
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
  
  /* Анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
}

/* Сброс стилей и базовые настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

.product-detail{
  padding-top: 50px;
  padding-bottom: 100px;
}
body {
  padding-top: 100px;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.875rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  font-size: 1.1rem;
}

/* Ссылки */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Глобальные стили кнопок */
.btn, .button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  min-height: 44px;
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

.btn:hover, .button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

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

/* Модификации кнопок */
.button.is-light {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.button.is-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.button.is-fullwidth {
  width: 100%;
}

/* Эффекты при наведении */
.hover-effect {
  transition: var(--transition-medium);
}

.hover-effect:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Контейнеры */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Анимации появления */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header/Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition-medium);
}

.navbar-brand .title {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0;
}

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

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

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

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  z-index: 1;
}

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

.hero .title {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

/* Parallax Sections */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition-medium);
  height: 100%;
  border: none;
}

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

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

.image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content .title {
  color: var(--dark);
  margin-bottom: 1rem;
}

.card-content .content {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Ratings */
.rating {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.125rem;
}

/* Pros and Cons */
.pros-cons {
  text-align: left;
  font-size: 0.9rem;
}

/* Contact Section */
#contact {
  background: var(--light-gray);
  padding: 5rem 0;
}

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

.contact-form .label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-info {
  padding: 2rem 0;
}

.contact-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.contact-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

/* Research Section */
#research {
  padding: 5rem 0;
}

#research .content {
  font-size: 1.125rem;
  line-height: 1.8;
}

#research .content h3 {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

#research .content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

#research .card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

/* Sustainability Section */
#sustainability {
  padding: 5rem 0;
}

#sustainability .content {
  font-size: 1.125rem;
  line-height: 1.8;
}

#sustainability .box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-large);
  border: none;
  box-shadow: var(--shadow-medium);
}

#sustainability .box ul {
  list-style: none;
  padding: 0;
}

#sustainability .box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-gray);
}

#sustainability .box li:last-child {
  border-bottom: none;
}

/* Pricing Section */
#pricing {
  background: var(--light-gray);
  padding: 5rem 0;
}

.price-tag {
  text-align: center;
  margin: 2rem 0;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  padding: 2rem 0;
  margin: 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-gray);
  font-size: 1rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-color);
  background: var(--gradient-primary);
  color: var(--white);
}

.card.featured .title,
.card.featured .pricing-features li {
  color: var(--white);
}

/* Careers Section */
#careers {
  padding: 5rem 0;
}

#careers .content {
  font-size: 1.125rem;
  line-height: 1.8;
}

#careers .content h3 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

#careers .content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

#careers .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

#careers .card ul {
  list-style: none;
  padding: 0;
}

#careers .card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark-gray);
}

#careers .card li:last-child {
  border-bottom: none;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.footer .title,
.footer .subtitle {
  color: var(--white);
}

.footer .title.is-4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.footer .title.is-5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

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

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--primary-color);
}

.footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

.footer .has-text-centered p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Социальные ссылки */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
  font-weight: 500;
}

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

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

.success-content {
  max-width: 600px;
}

.success-content .title {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.success-content .subtitle {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

/* Privacy и Terms страницы */
.legal-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-content .title {
  color: var(--dark);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content .content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

.legal-content h2,
.legal-content h3 {
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section .title.is-2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section .subtitle.is-5 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.125rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
  
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .buttons .button {
    width: 100%;
    max-width: 300px;
  }
  
  .card.featured {
    transform: none;
    margin: 1rem 0;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .social-links {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .social-links a {
    width: 100%;
    text-align: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .buttons {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* Утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 3rem; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 3rem; }

.p-4 { padding: 1.5rem; }
.p-6 { padding: 3rem; }

.has-text-white { color: var(--white) !important; }
.has-text-primary { color: var(--primary-color) !important; }
.has-text-success { color: var(--success-color) !important; }
.has-text-danger { color: var(--danger-color) !important; }

/* Специальные эффекты */
.glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-large);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Загрузка */
.loading {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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