/* Product Page Styles - ProMonitor.kz Landing */
/* Extends landing/index.css styles with product-specific components */

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

:root {
    --primary: #1B7FC0;
    --accent-start: #FF8C42;
    --accent-end: #FF6B35;
    --dark: #0A1628;
    --dark-lighter: #0F1B2D;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Mesh Gradient Background */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, var(--primary), var(--accent-end), #8B5CF6, #00274D);
    background-size: 400% 400%;
    animation: meshMove 20s ease infinite;
    opacity: 0.12;
    z-index: 0;
}

@keyframes meshMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding: 200px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.metric-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 140, 66, 0.5);
    box-shadow: 0 20px 60px rgba(255, 140, 66, 0.2);
}

.metric-value {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 140, 66, 0.15);
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: var(--accent-start);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-card.ai-feature {
    border-color: rgba(255, 140, 66, 0.3);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-start);
    box-shadow: 0 20px 60px rgba(255, 140, 66, 0.25);
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ==================== CAPABILITIES SECTION ==================== */
.capabilities-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.capability-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.capability-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(27, 127, 192, 0.25);
}

.capability-icon {
    font-size: 44px;
    margin-bottom: 20px;
    display: block;
}

.capability-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.capability-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-section {
    padding: 100px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    table-layout: fixed;
}

.comparison-table thead {
    background: rgba(255, 140, 66, 0.1);
}

.comparison-table th {
    padding: 24px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid var(--glass-border);
}

.comparison-table td {
    padding: 24px 20px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 15px;
}

.feature-col {
    width: 40%;
    font-weight: 600;
}

.product-col {
    width: 30%;
    text-align: center;
}

.product-col.highlight {
    background: rgba(255, 140, 66, 0.08);
}

.feature-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.has-feature {
    color: var(--success);
    font-weight: 600;
}

.no-feature {
    color: var(--error);
    font-weight: 600;
}

.limited-feature {
    color: var(--warning);
    font-weight: 600;
}

.price-value,
.time-value,
.target-value {
    color: rgba(255, 255, 255, 0.7);
}

.highlight {
    background: rgba(255, 140, 66, 0.08);
}

/* ==================== ADVANTAGES SECTION ==================== */
.advantages-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(27, 127, 192, 0.25);
}

.advantage-number {
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.advantage-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.advantage-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(27, 127, 192, 0.15) 0%, rgba(255, 140, 66, 0.15) 100%);
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 13px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 16px 12px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 160px 0 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .metric-card {
        padding: 30px 20px;
    }
    
    .metric-value {
        font-size: 32px;
    }
    
    .feature-card,
    .capability-card,
    .advantage-card {
        padding: 30px;
    }
    
    .features-grid,
    .capabilities-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================================
   CSS СТИЛИ для секции Методология
   Добавить в файл стилей сайта
   ============================================================================ */

/* ============================================================================
   1. ОБЩИЕ СТИЛИ
   ============================================================================ */

.methodology-section {
  scroll-margin-top: 80px; /* Для якорных ссылок */
}

/* Hover эффекты для карточек детекторов */
.detection-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}

/* ============================================================================
   2. PROGRESS BARS (Диаграмма покрытия)
   ============================================================================ */

.coverage-progress-bar {
  position: relative;
  overflow: visible;
}

.coverage-progress-bar::after {
  content: attr(data-percentage);
  position: absolute;
  right: -45px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 16px;
}

/* Анимация при появлении */
@keyframes slideInProgress {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.progress-bar-animated {
  animation: slideInProgress 1.5s ease-out;
}

/* ============================================================================
   3. FAQ ACCORDION (Опционально)
   ============================================================================ */

.faq-item {
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: #f0f0f0 !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 15px;
}

.faq-toggle-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

/* ============================================================================
   4. DISCLAIMER БЛОКИ
   ============================================================================ */

.methodology-disclaimer {
  border-left: 4px solid #f39c12;
  background: linear-gradient(to right, rgba(243, 156, 18, 0.1), transparent);
}

.tech-disclaimer {
  border-top: 2px solid #3498db;
}

/* ============================================================================
   5. CODE BLOCKS
   ============================================================================ */

.methodology-code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  background: #2c3e50;
  color: #ecf0f1;
  padding: 12px 16px;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre;
}

.methodology-code::before {
  content: '>';
  color: #3498db;
  margin-right: 8px;
  font-weight: bold;
}

/* ============================================================================
   6. RESPONSIVE (Мобильная адаптация)
   ============================================================================ */

@media (max-width: 768px) {
  
  /* Карточки детекторов - одна колонка */
  .detection-card {
    margin-bottom: 20px;
  }
  
  /* Заголовки меньше */
  .methodology-section h2 {
    font-size: 32px !important;
  }
  
  .methodology-section h3 {
    font-size: 20px !important;
  }
  
  /* Progress bars - убрать процент справа */
  .coverage-progress-bar::after {
    position: static;
    display: block;
    margin-top: 8px;
    text-align: right;
  }
  
  /* FAQ - меньше padding */
  .faq-item {
    padding: 20px !important;
  }
  
}

@media (max-width: 480px) {
  
  /* Badges меньше */
  .detection-card .badge {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }
  
  /* Code blocks - меньший шрифт */
  .methodology-code {
    font-size: 11px;
    padding: 10px 12px;
  }
  
}

/* ============================================================================
   7. ACCESSIBILITY (Доступность)
   ============================================================================ */

/* Focus states для клавиатурной навигации */
.faq-item:focus,
.detection-card:focus {
  outline: 3px solid #3498db;
  outline-offset: 2px;
}

/* Высокий контраст для текста */
.methodology-section p,
.methodology-section li {
  color: #34495e;
  line-height: 1.7;
}

/* ============================================================================
   8. PRINT STYLES (Для печати)
   ============================================================================ */

@media print {
  
  .methodology-section {
    page-break-inside: avoid;
  }
  
  .detection-card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd;
  }
  
  /* Убрать градиенты и тени при печати */
  .ai-methodology-intro,
  .coverage-summary,
  .tech-disclaimer {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
}

/* ============================================================================
   9. DARK MODE SUPPORT (Опционально)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
  
  .methodology-section {
    background: #1a1a1a !important;
    color: #ecf0f1;
  }
  
  .detection-card {
    background: #2c3e50 !important;
    color: #ecf0f1;
  }
  
  .faq-item {
    background: #2c3e50 !important;
  }
  
  .faq-item:hover {
    background: #34495e !important;
  }
  
}

/* ============================================================================
   10. УТИЛИТНЫЕ КЛАССЫ
   ============================================================================ */

.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-soft {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.shadow-medium {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.border-gradient {
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
}

/* Конец CSS стилей */
