/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  
  /* 🔥 Фоновое изображение с затемнением */
  background-image: 
    /* Тёмный оверлей (затемнение) */
    linear-gradient(180deg, rgba(10, 5, 2, 0.85), rgba(10, 5, 2, 0.85)),
    /* Ваше изображение */
    url('../background.jpg');
  
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Параллакс-эффект при скролле */
  
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ===== FLUID CANVAS ===== */
#fluid-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: auto;
  opacity: 0.7;
  display: block;
}
.content {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.content a,
.content button,
.content input,
.content textarea,
.content label,
.form,
.nav,
.burger,
.hero__cta,
.product-card a {
  pointer-events: auto;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: rgba(10, 5, 2, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 80, 30, 0.2);
  transition: all 0.3s ease;
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #0a0502;
  font-size: 0.9rem;
}
.nav { display: flex; gap: 28px; list-style: none; }
.nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}
.nav a:hover, .nav a.active { color: #ffa500; }
.nav a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #ff4500, #ffa500);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.burger span {
  width: 24px; height: 3px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
}
.hero__content {
  max-width: 720px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 69, 0, 0.2);
  border: 1px solid rgba(255, 80, 30, 0.4);
  color: #ffd7a0;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero__title span {
  background: linear-gradient(135deg, #ff4500, #ffa500, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.3px;
}
.btn--primary {
  background: linear-gradient(135deg, #ff4500, #ff6a00);
  color: #0a0502;
  box-shadow: 0 8px 30px rgba(255, 69, 0, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 69, 0, 0.6);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: #ffa500;
  background: rgba(255, 165, 0, 0.12);
}

/* ===== SECTIONS ===== */
section { padding: 90px 24px; }
.section__inner { max-width: 1200px; margin: 0 auto; position: relative; }
.section__header { text-align: center; margin-bottom: 60px; }
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.section__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
  background: transparent;  /* ← Прозрачный фон */
  border-top: 1px solid rgba(255, 80, 30, 0.15);
  border-bottom: 1px solid rgba(255, 80, 30, 0.15);
  padding: 90px 24px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(35, 20, 15, 0.75);
  border: 1px solid rgba(255, 80, 30, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}
.feature-card:hover {
  border-color: rgba(255, 100, 40, 0.45);
  transform: translateY(-4px);
}
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(255,69,0,0.25), rgba(255,140,0,0.15));
  border: 1px solid rgba(255,80,30,0.35);
}
.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card__text {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== PRODUCT ===== */
.product { 
  background: transparent;  /* ← Прозрачный фон */
  padding: 90px 24px;
}
.product__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: start;
}
.product-card {
  background: rgba(35, 20, 15, 0.9);
  border: 1px solid rgba(255, 80, 30, 0.25);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff4500, #ffa500);
}
.product-card--highlight {
  border-color: rgba(255, 100, 40, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 69, 0, 0.25), 0 20px 60px rgba(0,0,0,0.45);
}
.product-card__badge {
  position: absolute;
  top: 20px; right: -30px;
  background: linear-gradient(135deg, #ff4500, #ff6a00);
  color: #0a0502;
  padding: 6px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}
.product-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.product-card__price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffb347;
  margin: 16px 0 24px;
}
.product-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.product-card__list { list-style: none; margin-bottom: 28px; }
.product-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.product-card__list li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
}
.product-card__note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.18);
}

/* ===== CONTACT ===== */
.contact { 
  background: transparent;  /* ← Прозрачный фон */
  padding: 90px 24px;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.contact__info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact__item:last-child { border-bottom: none; }
.contact__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 69, 0, 0.18);
  border: 1px solid rgba(255, 80, 30, 0.4);
  display: grid; place-items: center;
  color: #ffb347;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact__text { color: rgba(255,255,255,0.95); font-size: 1rem; }
.contact__text a { color: #ffa500; transition: color 0.2s; }
.contact__text a:hover { color: #ffb347; }

.form {
  background: rgba(35, 20, 15, 0.92);
  border: 1px solid rgba(255, 80, 30, 0.25);
  border-radius: 20px;
  padding: 32px;
}
.form__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.form__group { margin-bottom: 20px; }
.form__label {
  display: block;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form__input, .form__textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(20, 10, 8, 0.85);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: rgba(255, 80, 30, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}
.form__textarea { min-height: 120px; resize: vertical; }
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.form__checkbox input { margin-top: 3px; accent-color: #ff4500; }
.form__submit { width: 100%; margin-top: 8px; }
.form__message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form__message.success {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
  display: block;
}
.form__message.error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 24px 30px;
  border-top: 1px solid rgba(255, 80, 30, 0.15);
  background: rgba(10, 5, 2, 0.98);
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.footer__text { margin-bottom: 12px; }
.footer__compliance { font-size: 0.85rem; opacity: 0.85; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(15, 8, 5, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(255, 80, 30, 0.2);
  }
  .nav.active { transform: translateY(0); }
  .burger { display: flex; }
  .burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero__cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
}