/* Free Trial Popup Styles */
.ftp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.ftp-popup {
    background: var(--ftp-bg-color, #1e3a8a);
    color: var(--ftp-text-color, #ffffff);
    border-radius: 20px;
    padding: 40px;
    max-width: 670px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.ftp-popup-overlay.ftp-active .ftp-popup {
    transform: scale(1) translateY(0);
}

.ftp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--ftp-text-color, #ffffff);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ftp-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.ftp-gift-icon {
    text-align: center;
    margin-bottom: 20px;
}

.ftp-gift-icon svg {
    width: 60px;
    height: 60px;
    color: #fbbf24;
    animation: ftp-pulse 2s ease-in-out infinite;
}

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

.ftp-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ftp-subtitle {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 15px;
    opacity: 0.95;
    color: #fbbf24;
    font-weight: 600;
}

.ftp-description {
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
}

.ftp-form-group {
    margin-bottom: 15px;
}

.ftp-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ftp-text-color, #ffffff);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ftp-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.ftp-input:focus {
    outline: none;
    border-color: #fbbf24;
    background: rgba(255, 255, 255, 0.15);
}

.ftp-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.ftp-button {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background: var(--ftp-btn-bg, #10b981);
    color: var(--ftp-btn-text, #ffffff);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.ftp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.ftp-button:active {
    transform: translateY(0);
}

.ftp-button.ftp-loading {
    pointer-events: none;
    opacity: 0.8;
}

.ftp-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: ftp-spin 0.8s linear infinite;
    display: none;
}

.ftp-button.ftp-loading .ftp-spinner {
    display: block;
}

.ftp-button.ftp-loading .ftp-btn-text {
    display: none;
}

@keyframes ftp-spin {
    to { transform: rotate(360deg); }
}

.ftp-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.ftp-message.ftp-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
    display: block;
}

.ftp-message.ftp-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    display: block;
}

.ftp-privacy {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.ftp-privacy a {
    color: inherit;
    text-decoration: underline;
}

/* WhatsApp Button Styles */
.ftp-whatsapp-section {
    text-align: center;
    margin: 20px 0;
}

.ftp-whatsapp-section.ftp-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ftp-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25D366;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.ftp-whatsapp-button.ftp-button-center {
    margin: 0 auto;
}

.ftp-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    filter: brightness(1.1);
}

.ftp-whatsapp-button:active {
    transform: translateY(0);
}

.ftp-whatsapp-button svg {
    flex-shrink: 0;
}

.ftp-whatsapp-hint {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 15px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 480px) {
    .ftp-popup {
        padding: 30px 25px;
        width: 95%;
    }
    
    .ftp-title {
        font-size: 1.5rem;
    }
    
    .ftp-subtitle {
        font-size: 1rem;
    }
}

/* Animation for gift icon bounce */
@keyframes ftp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ftp-gift-icon svg {
    animation: ftp-bounce 2s ease-in-out infinite;
}
