/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/
/* ==================================================
   POSVIEWER PREMIUM THEME
   ================================================== */
/* Плавний скрол для всього сайту */
html {
  scroll-behavior: smooth;
}

/* Відступ для "якорів", щоб шапка сайту не перекривала заголовки блоків */
:target {
  scroll-margin-top: 90px;
}
:root {
  --pv-primary: #0062ff;
  --pv-primary-hover: #0050d4;
  --pv-dark: #070b14;
  --pv-darker: #030509;
  --pv-text: #94a3b8;
}

/* ==================================================
   ЕФЕКТ СКЛА ДЛЯ ШАПКИ
   ================================================== */
.pv-glass-header {
  background-color: rgba(7, 11, 20, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
/* 1. Трюк для 100% ширини екрану (Breakout) */
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* 2. Головний екран (Hero) */
.pv-hero {
  background: radial-gradient(circle at 80% -20%, rgba(0, 98, 255, 0.15), transparent 50%),
              linear-gradient(180deg, var(--pv-darker) 0%, var(--pv-dark) 100%);
  color: white;
  padding: 120px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-badge {
  background: rgba(0, 98, 255, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(0, 98, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.pv-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 1.5rem 0;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pv-subtitle {
  font-size: 1.25rem;
  color: var(--pv-text);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

/* 3. Кнопка завантаження зі світінням */
.pv-btn-primary {
  background: var(--pv-primary);
  color: white;
  padding: 18px 40px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 98, 255, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.pv-btn-primary:hover {
  background: var(--pv-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -5px rgba(0, 98, 255, 0.6);
  color: white;
}

/* 4. Імітація вікна програми (Glassmorphism) */
.pv-mockup {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.pv-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.pv-mockup-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pv-dot { width: 12px; height: 12px; border-radius: 50%; }
.pv-dot-r { background: #ef4444; }
.pv-dot-y { background: #eab308; }
.pv-dot-g { background: #22c55e; }

/* 5. Картки переваг */
.pv-features { padding: 100px 0; background: #ffffff; }

.pv-card {
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 40px 30px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -5px rgba(0, 98, 255, 0.1);
  border-color: rgba(0, 98, 255, 0.2);
}

.pv-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 98, 255, 0.1);
  color: var(--pv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* 6. Блок "Як працює" (Чорний) */
.pv-steps {
  background: var(--pv-darker);
  color: white;
  padding: 100px 0;
}

.pv-step-number {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  margin-bottom: -30px;
  position: relative;
  z-index: 1;
}

.pv-step-content { position: relative; z-index: 2; }
/* 7. FAQ (Часті запитання) */
.pv-faq-section {
  padding: 100px 0;
  background: var(--pv-light);
}

.pv-accordion .accordion-item {
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.pv-accordion .accordion-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.pv-accordion .accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px 25px;
  color: var(--pv-dark);
  background: #ffffff;
}

.pv-accordion .accordion-button:not(.collapsed) {
  background: rgba(0, 98, 255, 0.03);
  color: var(--pv-primary);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}

.pv-accordion .accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.pv-accordion .accordion-body {
  padding: 20px 25px;
  color: var(--pv-text);
  background: #ffffff;
  line-height: 1.7;
}

/* ==================================================
   ДИНАМІЧНІ ВІДЖЕТИ ПІДВАЛУ (FOOTER)
   ================================================== */
.pv-dynamic-widgets h2.widget-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.pv-dynamic-widgets, 
.pv-dynamic-widgets p {
  color: #94a3b8;
  line-height: 1.6;
}

.pv-dynamic-widgets ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pv-dynamic-widgets ul li {
  margin-bottom: 0.75rem;
}

.pv-dynamic-widgets a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.pv-dynamic-widgets a:hover {
  color: #ffffff;
}