/* Fonts are loaded via HTML link tags for better loading reliability. */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-text);
}

.btn-primary {
    background: var(--gradient-gold);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.5);
}

.btn-blue {
    background-color: var(--blue);
    color: #fff;
}

.btn-blue:hover {
    background-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--primary);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.2);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Global Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control,
.form-select,
textarea.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: var(--bg-white);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.2);
    transform: translateY(-1px);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* -------------------------------------
 * Psyk UX/CRO TIER 1 & 3 - Floating Widgets 
 * ------------------------------------- */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* Telegram Floating Button */
.telegram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    right: 40px;
    background-color: #0088cc;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-blue 2s infinite;
}

.telegram-float:hover {
    background-color: #0077b3;
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}
\/* Mobile Sticky CTA Bar */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 12px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
}

.mobile-sticky-cta .price-teaser {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

.mobile-sticky-cta .price-teaser span {
    color: var(--accent);
    font-size: 1.2rem;
    display: block;
}

.mobile-sticky-cta .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    .telegram-float {
        bottom: 150px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .mobile-sticky-cta {
        display: flex;
        animation: slideUp 0.5s ease forwards;
    }

    /* Clear body padding so sticky footer doesn't overlap text */
    body {
        padding-bottom: 70px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Custom Live Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(-150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    background: rgba(0, 153, 255, 0.1);
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast-content p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.toast-content span {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: block;
    margin-top: 4px;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}