
/* Custom CSS for Avisa App */

/* Font */
body {
    font-family: 'Inter', sans-serif;
}

/* Custom Colors */
:root {
    --indigo-500: #8C91FF;
    --indigo-600: #6870F0;
    --indigo-100: #EEF0FF;
    --signal-500: #40D979;
    --signal-600: #35BD68;
    --signal-100: #E6FFF3;
    --slate-900: #1F2333;
    --slate-700: #3D4256;
    --slate-300: #D6DAE8;
    --porcelain-50: #FAFBFF;
    --emerald-400: #34C759;
    --amber-400: #FFC247;
    --coral-400: #FF5673;
}

/* Button Styles */
.btn-primary {
    background: var(--signal-500);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px 0 rgba(64, 217, 121, 0.30);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--signal-600);
    box-shadow: 0 4px 12px 0 rgba(64, 217, 121, 0.40);
    transform: scale(1.05);
}

.btn-secondary {
    color: var(--indigo-500);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid var(--indigo-500);
    background: white;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-secondary:hover {
    color: var(--indigo-600);
    border-color: var(--indigo-600);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--signal-500);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: bottom left;
}

.btn-secondary:hover::after {
    transform: scaleX(1);
}

/* Card Styles */
.card-feature {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--signal-100);
    transition: all 0.2s;
}

.card-feature:hover {
    border-color: var(--indigo-100);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* Gradient Background */
.gradient-hero {
    background: linear-gradient(135deg, rgba(140, 145, 255, 0.08) 0%, rgba(64, 217, 121, 0.08) 100%), var(--porcelain-50);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

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

/* Custom Utilities */
.grayscale {
    filter: grayscale(100%);
}

.grayscale:hover {
    filter: grayscale(0%);
}

/* FAQ Styles */
.faq-item {
    border: 1px solid var(--slate-300);
    border-radius: 12px;
    overflow: hidden;
}

.faq-button {
    width: 100%;
    padding: 16px 24px;
    text-align: left;
    background: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-button:hover {
    background: var(--indigo-100);
}

.faq-answer {
    padding: 16px 24px;
    background: var(--porcelain-50);
    border-top: 1px solid var(--slate-300);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .animate-float {
        animation: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu */
.mobile-menu-open {
    display: block !important;
}

/* Pricing Toggle */
.pricing-toggle-annual .pricing-value {
    color: var(--signal-500);
}

.pricing-toggle-annual .pricing-savings {
    display: block !important;
}

:root {
    --facebook-blue: #1877F2;
    --facebook-blue-dark: #166FE5;
}

.meta-provider-bar {
    background: linear-gradient(90deg, var(--facebook-blue), var(--facebook-blue-dark));
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.meta-provider-bar__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.meta-provider-bar__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.meta-provider-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    flex: 0 0 auto;
}

.meta-provider-text {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta-provider-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    text-decoration: none;
    flex: 0 0 auto;
}

.meta-provider-cta:hover {
    background: rgba(255,255,255,0.22);
}

@media (max-width: 640px) {
    .meta-provider-bar__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .meta-provider-text {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .meta-provider-cta {
        text-align: center;
        width: 100%;
    }
}
.meta-provider-logo {
    height: 18px;
    width: auto;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.10));
}

@media (max-width: 640px) {
    .meta-provider-logo {
        height: 20px;
    }
}
