/* === Custom properties for animatable gradients === */
@property --grad-1 {
    syntax: '<color>';
    inherits: true;
    initial-value: #8A2BE2;
}

@property --grad-2 {
    syntax: '<color>';
    inherits: true;
    initial-value: #8B7D6B;
}

:root {
    --grad-1: #8A2BE2;
    --grad-2: #8B7D6B;
}

/* === Button gradient (reusable) === */
.btn-gradient {
    background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
    transition: --grad-1 1.2s ease-in-out, --grad-2 1.2s ease-in-out, transform 0.3s ease, box-shadow 1.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 125, 107, 0.5);
}

/* === Carousel active state === */
.carousel-img.active {
    opacity: 1 !important;
}

/* === Float animation for phone === */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* === Pulse glow for CTA button === */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(138, 43, 226, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* === Scroll reveal animations === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.appear {
    opacity: 1;
    transform: translateY(0);
}

/* === FAQ accordion === */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    padding: 0.5rem 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #8A2BE2;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    color: #a0a0ab;
}

.faq-answer.show {
    margin-top: 1rem;
    max-height: 200px;
}

/* === Contact card hover === */
.contact-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05) !important;
}