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

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --secondary: #2196f3;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --light: #f8f9fa;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --success: #10b981;
  --gradient: linear-gradient(135deg, #e91e63 0%, #2196f3 100%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
}

.logo img {
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--light);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover {
  border-bottom-color: var(--primary);
  color: var(--light);
}

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--darker);
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content */
main {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at top, #1a1a3e 0%, var(--dark) 70%);
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--light);
  border: 2px solid var(--gray-light);
}

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

/* CTA Button */
.cta-btn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  padding: 16px 32px;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

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

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: all 0.3s;
  color: var(--dark);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(233, 30, 99, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--dark);
  line-height: 1.7;
}

/* How It Works */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.step {
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--gray);
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--gray);
  font-size: 1rem;
  margin-top: 5px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  color: var(--dark);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-card-content {
  padding: 30px;
}

.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-card p {
  color: var(--dark);
  margin-bottom: 20px;
}

.blog-card-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--gray);
  line-height: 1.7;
  padding-bottom: 20px;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 60px auto 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--darker);
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--light);
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--gray);
  font-size: 0.95rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  padding: 120px 0 60px;
  background: radial-gradient(ellipse at top, #1a1a3e 0%, var(--dark) 70%);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.content-section p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.content-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.content-section li {
  color: var(--gray);
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-floating {
    bottom: 20px;
    right: 20px;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--light);
}

p {
  margin-bottom: 1rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Icons */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

/* Lists */
ul, ol {
  padding-left: 1.5rem;
}

/* Blog Article */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.blog-content ul,
.blog-content ol {
  margin: 1.5rem 0;
}

.blog-content li {
  margin-bottom: 0.75rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 30px;
}

.back-link:hover {
  color: var(--primary-dark);
}

/* Table of Contents */
.toc {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 40px;
}

.toc h3 {
  margin-bottom: 15px;
}

.toc ul {
  list-style: none;
  padding-left: 0;
}

.toc li {
  margin-bottom: 8px;
}

.toc a {
  color: var(--gray);
}

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

/* Success Stories */
.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary);
  color: var(--dark);
}

.testimonial-text {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.7;
}

.testimonial-author {
  color: var(--dark);
  font-size: 0.95rem;
}

/* Two Column */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.column-content {
  /* стили оставляем как есть - они уже в .two-column grid */
}

.column-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.column-content p {
  color: var(--gray);
  line-height: 1.7;
}

.column-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Safety Tips List */
.safety-list {
  list-style: none;
  counter-reset: safety-counter;
}

.safety-list li {
  counter-increment: safety-counter;
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
  color: var(--gray);
}

.safety-list li::before {
  content: counter(safety-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Links in content */
.content-link {
  color: var(--primary);
  font-weight: 500;
}

.content-link:hover {
  text-decoration: underline;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* Blog Meta */
.blog-meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-meta span {
  margin-right: 15px;
}

.blog-card .blog-meta {
  color: var(--dark);
}

/* Related Posts */
.related-posts {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.related-list a {
  color: var(--dark);
  display: block;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.related-list a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

/* Page Content Layout */
.page-content {
  padding: 80px 0;
}

.page-content .container {
  max-width: 900px;
}

/* Focus on content blocks */
.content-block {
  margin-bottom: 50px;
}

.content-block h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--light);
}

.content-block p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Highlight boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
  border: 1px solid rgba(233, 30, 99, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  margin: 40px 0;
  color: var(--dark);
}

.highlight-box h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .cta-floating {
    bottom: 15px;
    right: 15px;
    left: 15px;
    text-align: center;
  }
}

/* Utility Classes */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mt-5 { margin-top: 4rem; }

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

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

/* Additional spacing utilities for consistent design */
.mt-15 { margin-top: 0.9375rem; } /* 15px */
.mt-20 { margin-top: 1.25rem; }   /* 20px */
.mt-40 { margin-top: 2.5rem; }    /* 40px */
.mt-50 { margin-top: 3.125rem; }  /* 50px */
.mt-60 { margin-top: 3.75rem; }   /* 60px */
.ml-10 { margin-left: 0.625rem; } /* 10px */

.section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--gray);
  line-height: 1.7;
}

.btn-full { width: 100%; }

.footer-text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.gradient-box {
  background: linear-gradient(135deg, rgba(233,30,99,0.2) 0%, rgba(33,150,243,0.2) 100%);
  height: 300px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-section-alt {
  background: rgba(255,255,255,0.03);
  color: var(--dark);
}

/* Override text colors in light background sections */
.bg-section-alt h1,
.bg-section-alt h2,
.bg-section-alt h3,
.bg-section-alt h4,
.bg-section-alt h5,
.bg-section-alt h6,
.bg-section-alt .section-title,
.bg-section-alt .column-content,
.bg-section-alt .column-content p,
.bg-section-alt .column-content h2,
.bg-section-alt .content-block,
.bg-section-alt .content-block p,
.bg-section-alt .content-block h2,
.bg-section-alt .btn-secondary,
.bg-section-alt .stat-label,
.bg-section-alt .faq-question,
.bg-section-alt .faq-answer {
  color: var(--dark);
}

.bg-section-alt .btn-secondary {
  border-color: var(--dark);
}

.blog-preview-section {
  background: rgba(255,255,255,0.03);
}
