/* ==========================================================================
   МЪЖКА ЖИЗНЕНА СИЛА - CSS STYLESHEET
   Design Palette: Premium Black, White, Charcoal & Gray Scale
   ========================================================================== */

:root {
  --bg-main: #0c0d10;
  --bg-card: #14161b;
  --bg-card-light: #1c1e24;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #111827;
  --text-dark-muted: #4b5563;
  --border-dark: #27272a;
  --border-light: #e5e7eb;
  --accent-white: #ffffff;
  --accent-gray: #3f3f46;
  --accent-silver: #a1a1aa;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background-color: rgba(12, 13, 16, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-dark);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg-white);
}

.logo-badge {
  background: var(--bg-white);
  color: var(--bg-main);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--bg-white);
}

.btn-primary {
  display: inline-block;
  background-color: var(--bg-white);
  color: var(--bg-main);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: 1px solid var(--bg-white);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background-color: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--bg-white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--bg-card);
  border-color: var(--accent-silver);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-dark);
  background: radial-gradient(circle at top right, #1f222a 0%, #0c0d10 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-silver);
  margin-bottom: 24px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 900;
  color: var(--bg-white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.stat-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bg-white);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.95);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(20, 22, 27, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-badge-icon {
  font-size: 1.8rem;
}

.hero-badge-text h5 {
  font-size: 0.95rem;
  color: var(--bg-white);
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STORY SECTION
   ========================================================================== */

.story-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-silver);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.story-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.story-author-box {
  text-align: center;
  padding: 24px;
  background-color: var(--bg-main);
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
}

.story-author-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px auto;
  border: 3px solid var(--accent-silver);
}

.story-author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-white);
}

.story-author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.story-text-paragraphs p {
  margin-bottom: 18px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.quote-box {
  border-left: 3px solid var(--bg-white);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--accent-silver);
}

/* ==========================================================================
   INTERACTIVE QUIZ / CALCULATOR SECTION
   ========================================================================== */

.quiz-section {
  padding: 90px 0;
  background-color: #101216;
  border-bottom: 1px solid var(--border-dark);
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.quiz-progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: var(--bg-main);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}

.quiz-progress-bar {
  height: 100%;
  width: 25%;
  background-color: var(--bg-white);
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.quiz-question {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.quiz-option-btn:hover {
  border-color: var(--bg-white);
  background-color: var(--bg-card-light);
}

.quiz-option-btn.selected {
  border-color: var(--bg-white);
  background-color: var(--bg-white);
  color: var(--bg-main);
  font-weight: 700;
}

.quiz-result-box {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.quiz-score-badge {
  display: inline-block;
  padding: 10px 24px;
  background: var(--bg-main);
  border: 1px solid var(--accent-silver);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 20px;
}

.quiz-result-title {
  font-size: 1.8rem;
  color: var(--bg-white);
  margin-bottom: 14px;
}

.quiz-result-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* ==========================================================================
   BLOG ARTICLES SECTION
   ========================================================================== */

.blog-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-silver);
}

.blog-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-silver);
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   CERTIFICATES & QUALITY GUARANTEE SECTION
   ========================================================================== */

.certificates-section {
  padding: 90px 0;
  background-color: #0e1014;
  border-bottom: 1px solid var(--border-dark);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.cert-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
  background-color: var(--bg-main);
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--bg-white);
}

.cert-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ORDER FORM & PRODUCT PAGE STYLES
   ========================================================================== */

.order-hero {
  padding: 60px 0;
}

.order-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 50px;
}

.product-summary-box {
  padding-right: 20px;
}

.product-image-frame {
  background-color: var(--bg-main);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.product-image-frame img {
  max-height: 320px;
  margin: 0 auto;
  object-fit: contain;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 20px 0;
}

.price-current {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--bg-white);
}

.price-old {
  font-size: 1.4rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount-badge {
  background-color: var(--bg-white);
  color: var(--bg-main);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 4px;
}

.lead-form-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 36px;
}

.lead-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.lead-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--bg-white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--bg-white);
}

.form-input::placeholder {
  color: #6b7280;
}

.form-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thankyou-wrapper {
  max-width: 650px;
  margin: 100px auto;
  text-align: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 60px 40px;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-white);
  color: var(--bg-main);
  font-size: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-weight: bold;
}

.thankyou-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.thankyou-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ==========================================================================
   LEGAL PAGES (PRIVACY, TERMS, DISCLAIMER, COOKIES)
   ========================================================================== */

.legal-content {
  padding: 80px 0;
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.4rem;
  color: var(--bg-white);
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--bg-white);
  margin: 32px 0 16px 0;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.legal-content ul {
  color: var(--text-muted);
  margin-left: 20px;
  margin-bottom: 16px;
}

.disclaimer-banner {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent-silver);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.disclaimer-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(150%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-header {
  font-weight: 700;
  color: var(--bg-white);
  font-size: 1rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: #07080a;
  border-top: 1px solid var(--border-dark);
  padding: 60px 0 30px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid, .order-wrapper, .story-content {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-dark);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .order-wrapper {
    padding: 24px;
  }
}
