/**
 * Section Styles
 * Headers, containers, and layouts
 */

/* ============================================
   SECTION CONTAINER
   ============================================ */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-content {
  position: relative;
  z-index: 10;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   SECTION HEADER WITH ACTIONS
   ============================================ */
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-header-left {
  flex: 1;
  min-width: 250px;
}

.section-header-left .section-title {
  text-align: left;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.section-header-left .section-description {
  text-align: left;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.section-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ============================================
   SECTION STATS (для Hero)
   ============================================ */
.section-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--foreground);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* @media (max-width: 768px) { */

/* ============================================
   MONITORING SECTION
   ============================================ */

.monitoring-section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Monitoring Container */
.monitoring-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    overflow: hidden;
}

/* Iframe Styling */
.monitoring-iframe {
    display: block;
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .monitoring-section {
        padding: 3rem 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .monitoring-container {
        padding: 1.5rem;
    }

    .monitoring-iframe {
        min-height: 350px;
    }
}