@import "../font/Artistic/stylesheet.css";
@import "../font/Mont/stylesheet.css";

@import "./header.css";
@import "./hero.css";
@import "./benefits.css";
@import "./training.css";
@import "./equipment.css";
@import "./audience.css";
@import "./changes.css";
@import "./pricing.css";
@import "./results.css";
@import "./footer.css";
@import "./responsive.css";


:root {
    --sol-color-primary: #FAFFC7;
    --sol-color-secondary: #FAFFC7;
    --sol-color-accent: #BED9F4;
    --sol-color-light: #FAFFC7;
    --sol-color-pink: #FFD1D5;
    --sol-color-text-dark: #4D4D4D;
    --sol-color-text-light: #FDFDF1;
    --sol-color-white: #FDFDF1;
    --sol-color-black: #4D4D4D;
    --sol-gradient-primary: linear-gradient(135deg, #EC5E27 0%, #FFD1D5 100%);
    --sol-gradient-secondary: linear-gradient(135deg, #BED9F4 0%, #FAFFC7 100%);
    --sol-shadow-soft: 0 10px 40px rgba(236, 94, 39, 0.1);
    --sol-shadow-hover: 0 20px 60px rgba(236, 94, 39, 0.15);
    --sol-border-radius-sm: 12px;
    --sol-border-radius-md: 24px;
    --sol-border-radius-lg: 36px;
    --sol-border-radius-full: 70px;
    --sol-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

section {
    margin: 100px 0;
}

i::before {
    color: var(--sol-color-pink);
}

.sol-page {
    font-family: 'Mont', sans-serif;
    line-height: 1.6;
    color: var(--sol-color-text-dark);
    background-color: var(--sol-color-white);
    overflow-x: hidden;
}

.sol-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.sol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0 32px;
    height: 50px;
    border: 1px solid var(--sol-color-primary);
    border-radius: var(--sol-border-radius-lg);
    font-family: 'Mont', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--sol-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    line-height: normal;
    width: max-content;
}

.sol-btn--primary {
    background: var(--sol-color-primary);
    color: var(--sol-color-black);
}

.sol-btn--primary:hover {
    border: 1px solid var(--sol-color-black);
    transition: var(--sol-transition);
}

.sol-btn--outline {
    background: transparent;
    color: var(--sol-color-white);
    border: 1px solid var(--sol-color-white);
}

.sol-btn--outline:hover {
    background: var(--sol-color-primary);
    color: var(--sol-color-black);
    transition: var(--sol-transition);
}

/* Section Headers */
.sol-section-header {
    text-align: left;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sol-section-span {
    border-radius: var(--sol-border-radius-full);
    background: var(--sol-color-primary);
    color: var(--sol-color-text-dark);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.sol-section-title {
    font-size: clamp(2rem, 4vw, 4.5rem);
    font-weight: 900;
    color: var(--sol-color-text-dark);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.sol-section-subtitle {
    font-size: 1.2rem;
    color: #8E8E8E;
}

.sol-section-line {
    width: 80px;
    height: 4px;
    background: var(--sol-color-light);
    margin: 2rem auto;
    border-radius: 2px;
}


/* Responsive Design */
@media (max-width: 768px) {

}


/* Loading states */
.sol-page.sol-loading * {
    animation-play-state: paused;
}

.sol-page.sol-loaded * {
    animation-play-state: running;
}

/* Additional hover effects */
.sol-hero__badge:hover {
    transform: rotate(0deg) scale(1.1);
}

.sol-achievement__decoration {
    animation: sol-float 4s ease-in-out infinite;
}

.sol-achievement:hover .sol-achievement__decoration {
    animation-duration: 2s;
}

/* Utility classes */
.sol-text-center { text-align: center; }
.sol-text-primary { color: var(--sol-color-primary); }
.sol-text-secondary { color: var(--sol-color-secondary); }
.sol-bg-light { background: var(--sol-color-light); }
.sol-bg-white { background: var(--sol-color-white); }





.marquee {
    width: 100%;
    position: relative;
    opacity: 0.4;
}

.marquee__viewport {
  --h: 120px;
  --gap: 24px;
  --speed: 100s;
  position: relative;
  height: var(--h, 80px);
  overflow: hidden;
}

.marquee__track {
    position: absolute; inset: 0 auto 0 0;
    display: inline-flex; height: 100%;
    will-change: transform;
    animation: marquee-slide var(--speed,40s) linear infinite;
    animation-fill-mode: both;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    transform: translate3d(0,0,0);
    flex-direction: row;
    flex-wrap: nowrap;
    pointer-events: none;
    /* JS встановить --distance у px: на скільки зсувати */
    margin-left: calc(var(--gap) * 1px);
  }

  .marquee__row {
    display: flex; align-items: center;
    height: 100%;
    flex: 0 0 auto;
    white-space: nowrap;  
    justify-content: space-between;
    margin-left: 40px;
  }
  
  .marquee__tile + .marquee__tile{ /* заміна gap */
    margin-left: calc(var(--gap) * 1px);
  }

  .marquee__tile { flex: 0 0 auto; height: 100%; display: block; }
  .marquee__tile img {
    height: 100%; width: auto; display: block;
    transform: translateZ(0); -webkit-transform: translateZ(0);
  }

  @keyframes marquee-slide {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(calc(var(--distance,0px) * -1), 0, 0); }
  }

/* Floating Support Button */
.floating-support-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-support-btn--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-support-btn__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 35px;
    background: linear-gradient(135deg,  var(--sol-color-accent) 0%, var(--sol-color-pink) 100%);
    color: var(--sol-color-text-dark);
    text-decoration: none;
    border-radius: var(--sol-border-radius-full);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    transition: all 0.3s;
    font-weight: 600;
    font-size: 17px;
    white-space: nowrap;
    min-width: max-content;
}

.floating-support-btn__link:hover {
    background: linear-gradient(135deg, var(--sol-color-pink) 0%, var(--sol-color-accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 136, 204, 0.4);
    color: var(--sol-color-text-dark);
    transition: all 0.3s;
}

.floating-support-btn__icon {
    font-size: 22px;
    animation: pulse 2s infinite;
}

.floating-support-btn__icon::before {
    color: var(--sol-color-text-dark);
}

.floating-support-btn__text {
    font-family: 'Mont', sans-serif;
}

.sol-pricing__desc {
    font-size: 12px;
}

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

/* Responsive adjustments for floating button */
@media (max-width: 768px) {
    .floating-support-btn {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-support-btn__link {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .floating-support-btn__icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .floating-support-btn__text {
        display: none;
    }
    
    .floating-support-btn__link {
        padding: 12px;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        justify-content: center;
    }
}

/* Popup для Публічної оферти */
.offer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offer-popup.active {
    opacity: 1;
    visibility: visible;
}

.offer-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.offer-popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--sol-color-white);
    border-radius: var(--sol-border-radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.offer-popup.active .offer-popup__content {
    transform: translate(-50%, -50%) scale(1);
}

.offer-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: var(--sol-color-primary);
    border-bottom: 1px solid #E5E5E5;
}

.offer-popup__title {
    font-family: 'Mont', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sol-color-text-dark);
    margin: 0;
    text-transform: uppercase;
}

.offer-popup__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--sol-color-text-dark);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.offer-popup__close:hover {
    background: rgba(77, 77, 77, 0.1);
    transform: rotate(90deg);
}

.offer-popup__body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.offer-popup__text {
    padding: 32px;
    font-family: 'Mont', sans-serif;
    line-height: 1.6;
    color: var(--sol-color-text-dark);
}

.offer-popup__text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sol-color-text-dark);
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-popup__text p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.offer-popup__text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.offer-popup__text li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.offer-popup__text strong {
    font-weight: 600;
    color: var(--sol-color-text-dark);
}

/* Стилізація скролбара для попапа */
.offer-popup__body::-webkit-scrollbar {
    width: 6px;
}

.offer-popup__body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.offer-popup__body::-webkit-scrollbar-thumb {
    background: var(--sol-color-primary);
    border-radius: 3px;
}

.offer-popup__body::-webkit-scrollbar-thumb:hover {
    background: var(--sol-color-accent);
}

/* Responsive для попапа */
@media (max-width: 768px) {
    .offer-popup__content {
        width: 95%;
        max-height: 95vh;
    }
    
    .offer-popup__header {
        padding: 20px 24px;
    }
    
    .offer-popup__title {
        font-size: 1.2rem;
    }
    
    .offer-popup__text {
        padding: 24px;
    }
    
    .offer-popup__text h3 {
        font-size: 1rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .offer-popup__text p,
    .offer-popup__text li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .offer-popup__header {
        padding: 16px 20px;
    }
    
    .offer-popup__title {
        font-size: 1rem;
    }
    
    .offer-popup__text {
        padding: 20px;
    }
    
    .offer-popup__close {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
}