/*
Theme Name: PASS24 Child
Theme URI: https://pass24.online
Description: Дочерняя тема для pass24.online на основе GeneratePress
Author: PASS24
Author URI: https://pass24.online
Template: generatepress
Version: 1.0.0
Text Domain: pass24-child
*/

/* ============================================================
   DESIGN SYSTEM — CSS VARIABLES
   ============================================================ */
:root {
  /* Primary */
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #DBEAFE;

  /* Accent */
  --accent:         #10B981;
  --accent-dark:    #059669;

  /* Text */
  --text-primary:   #111827;
  --text-secondary: #6B7280;

  /* Backgrounds */
  --bg-primary:     #FFFFFF;
  --bg-secondary:   #F9FAFB;
  --bg-dark:        #111827;

  /* Status */
  --success:        #10B981;
  --warning:        #F59E0B;
  --error:          #EF4444;

  /* Borders */
  --border:         #E5E7EB;
  --border-light:   #F3F4F6;

  /* Typography */
  --font-main:      "Inter", "Segoe UI", -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --card-radius:     12px;
  --btn-radius:      8px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
body {
  font-family: var(--font-main);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

.hero-title   { font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.1; }
.section-title{ font-size: clamp(24px, 4vw, 36px); font-weight: 700; }
.card-title   { font-size: 20px; font-weight: 600; line-height: 1.4; }
.text-secondary { color: var(--text-secondary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: var(--primary-light);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--section-padding); }
.section-alt { background: var(--bg-secondary); }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar a { color: #fff; font-size: 15px; text-decoration: none; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}
