/* ===== THE UGC AGENCY - SUPPLEMENTAL STYLES =====
   common.css is the source of truth for foundational styles
   (reset, :root tokens, body, .container, #nav, .btn, .section, footer, etc.)
   This file ONLY adds utility classes and components NOT defined in common.css.
   ================================================================= */

/* ===== UTILITY GRIDS (page-builder helpers) ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== SECTION HELPER CLASSES ===== */
.section-sm { padding: 60px 0; }
.section-label {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-label-green { background: rgba(51, 212, 120, 0.1); color: var(--green); }
.section-label-orange { background: rgba(247, 122, 32, 0.1); color: var(--orange); }
.section-subtitle {
    font-size: 17px;
    color: var(--text-sub);
    max-width: 560px;
    line-height: 1.6;
}

/* ===== STAT HELPERS ===== */
.stat-num {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 14px;
    color: var(--text-sub);
    font-weight: 500;
}

/* ===== PRICING (used on pricing.php and homepage) ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border-radius: var(--r-2xl);
    padding: 40px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s var(--ease);
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.1);
}
.pricing-card.popular {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(247, 122, 32, 0.08);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    padding: 5px 18px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pricing-price {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 12px 0 4px;
}
.pricing-sub {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 24px;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
    padding: 0;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
}

/* ===== ANIMATION HELPERS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s var(--ease) both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: calc(100% - 40px);
    background: #fff;
    border-radius: var(--r-lg);
    padding: 20px 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.cookie-banner.show { display: flex; }
.cookie-banner p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}
.cookie-banner a { color: var(--orange); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; }
.cookie-btns button {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.cookie-accept { background: var(--orange); color: #fff; }
.cookie-accept:hover { background: #e86d18; }
.cookie-reject { background: rgba(0, 0, 0, 0.05); color: var(--text); }
.cookie-reject:hover { background: rgba(0, 0, 0, 0.1); }

/* ===== WHATSAPP FLOAT (alternative compact version) ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s var(--spring);
    cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== LEAD MAGNET MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
    background: #fff;
    border-radius: var(--r-2xl);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-card h3 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.modal-card p {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 24px;
}
.modal-card input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    margin-bottom: 12px;
}
.modal-card input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(247, 122, 32, 0.1);
}

/* ===== EXIT POPUP ===== */
.exit-popup { display: none; }
.exit-popup.show { display: block; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}
