/* ============================== */
/* Gradient text                  */
/* ============================== */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================== */
/* Buttons                        */
/* ============================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3), 0 0 60px rgba(124, 58, 237, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5), 0 0 80px rgba(124, 58, 237, 0.2);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    color: #a1a1aa;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.75rem;
    border: 1px solid #27272a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    color: #fafafa;
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
}

/* ============================== */
/* Feature cards                  */
/* ============================== */
.feature-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.08);
    transform: translateY(-4px);
}

/* ============================== */
/* App mockup                     */
/* ============================== */
.app-mockup-glow {
    position: relative;
}

.app-mockup-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(167, 139, 250, 0.15), rgba(124, 58, 237, 0.3));
    z-index: -1;
    filter: blur(1px);
}

.app-mockup-glow::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 2rem;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    z-index: -2;
}

/* ============================== */
/* Integration icons              */
/* ============================== */
.integration-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.integration-icon:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

/* ============================== */
/* Overlay previews               */
/* ============================== */
.overlay-preview-inner {
    height: 220px;
    background: #0d0d10;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.overlay-preview:hover .overlay-preview-inner {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
}

/* ============================== */
/* Scroll reveal                  */
/* ============================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================== */
/* Hero fade-in                   */
/* ============================== */
.hero-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-fade:nth-child(1) { animation-delay: 0.1s; }
.hero-fade:nth-child(2) { animation-delay: 0.2s; }
.hero-fade:nth-child(3) { animation-delay: 0.35s; }
.hero-fade:nth-child(4) { animation-delay: 0.5s; }
.hero-fade:nth-child(5) { animation-delay: 0.65s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================== */
/* Navbar scroll effect           */
/* ============================== */
#navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

/* ============================== */
/* Particles canvas               */
/* ============================== */
#particles {
    opacity: 0.6;
}

/* ============================== */
/* Smooth scrollbar               */
/* ============================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* ============================== */
/* Pricing cards                  */
/* ============================== */
.pricing-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.06);
}

.pricing-card-pro {
    background: linear-gradient(180deg, #1a1625 0%, #18181b 100%);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.1), inset 0 1px 0 rgba(124, 58, 237, 0.15);
}

.pricing-card-pro:hover {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(124, 58, 237, 0.2);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================== */
/* Billing toggle                 */
/* ============================== */
.billing-toggle-btn {
    color: #71717a;
    cursor: pointer;
    background: transparent;
    border: none;
}

.billing-toggle-btn.active {
    color: #fafafa;
    background: #27272a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.billing-toggle-btn:hover:not(.active) {
    color: #a1a1aa;
}

/* ============================== */
/* FAQ accordion                  */
/* ============================== */
.faq-item {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #3f3f46;
}

.faq-item.open {
    border-color: rgba(124, 58, 237, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #e4e4e7;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question:hover {
    color: #fafafa;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.25rem;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    font-size: 0.875rem;
    color: #a1a1aa;
    line-height: 1.6;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

/* ============================== */
/* Cookie consent bar             */
/* ============================== */
.consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(39, 39, 42, 0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
