/* Landing page extracted styles */
.hero-section {
    background: linear-gradient(135deg,#f8faff 0,#eef4ff 60%,#ffffff 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section:before, .hero-section:after {
        content: "";
        position: absolute;
        width: 800px;
        height: 800px;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, rgba(67,97,238,.15), transparent 60%);
        top: -250px;
        left: -250px;
        z-index: 0;
    }

    .hero-section:after {
        top: auto;
        bottom: -300px;
        left: auto;
        right: -300px;
        background: radial-gradient(circle at 70% 70%, rgba(139,92,246,.15), transparent 65%);
    }

    .hero-section > .container {
        position: relative;
        z-index: 1;
    }

.metric-badge {
    background-color: #e8f0ff;
    color: #4361ee;
    padding: .55rem 1rem;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .5px;
}

    .metric-badge i {
        margin-right: .5rem;
    }

.hero-title {
    font-size: 2.2rem;
    /* ReSharper disable once InvalidValue */
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #1e293b;
    letter-spacing: -1px;
    line-height: 1.1;
}

    .hero-title span {
        color: #4361ee;
        background: linear-gradient(90deg,#4361ee,#8b5cf6);
        -webkit-background-clip: text;
        color: transparent;
    }

.hero-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 780px;
    margin: 0 auto 2.2rem;
}

.btn-brand {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: .85rem 1.5rem;
    border-radius: .6rem;
    font-weight: 600;
    box-shadow: 0 5px 18px -4px #4361ee;
    box-shadow: 0 5px 18px -4px rgba(67,97,238,.55);
    transition: all .3s ease;
}

.btn-brand:hover {
        background: #3951d1;
        transform: translateY(-3px);
    }

.btn-outline {
    background: white;
    color: #4361ee;
    border: 1px solid #4361ee;
    padding: .85rem 1.5rem;
    border-radius: .6rem;
    font-weight: 600;
    transition: all .3s ease;
}

    .btn-outline:hover {
        background: #f1f5ff;
    }

    .btn-outline i {
        margin-right: .45rem;
    }

#features {
    scroll-margin-top: 80px;
}

.feature-card {
    background-color: white;
    border-radius: .9rem;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all .35s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

    .feature-card:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(67,97,238,.08), rgba(255,255,255,0));
        opacity: 0;
        transition: opacity .35s;
    }

    .feature-card:hover:before {
        opacity: 1;
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 35px -15px #1e293b;
        box-shadow: 0 18px 35px -15px rgba(30,41,59,.25);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.3rem;
}

    .feature-icon.blue {
        color: #4361ee;
    }

    .feature-icon.green {
        color: #10b981;
    }

    .feature-icon.purple {
        color: #8b5cf6;
    }

    .feature-icon.orange {
        color: #f97316;
    }

    .feature-icon.red {
        color: #ef4444;
    }

    .feature-icon.gold {
        color: #f59e0b;
    }

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: .75rem;
    color: #1e293b;
}

.feature-description {
    color: #64748b;
    font-size: .95rem;
}

.integration-section {
    padding: 5rem 0 4rem;
}

.code-card {
    background: #0f172a;
    color: #f1f5f9;
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    box-shadow: 0 18px 40px -15px #0f172a;
    box-shadow: 0 18px 40px -15px rgba(15,23,42,.6);
}

.code-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
}

.code-tab {
    background: #1e293b;
    color: #94a3b8;
    padding: .4rem .85rem;
    border-radius: .5rem;
    font-size: .8rem;
    cursor: pointer;
    user-select: none;
}

    .code-tab.active {
        background: linear-gradient(90deg,#4361ee,#8b5cf6);
        color: #fff;
    }

pre {
    margin: 0;
    font-size: .8rem;
    line-height: 1.4;
    overflow: auto;
}

    pre code {
        font-family: "Source Code Pro", Menlo, Consolas, Monaco, monospace;
    }

.copy-btn {
    position: absolute;
    top: .85rem;
    right: .85rem;
    background: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: .25rem .6rem;
    border-radius: .4rem;
    font-size: .7rem;
    cursor: pointer;
}

    .copy-btn:hover {
        color: #fff;
    }

.live-metrics {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    height: 100%;
    box-shadow: 0 10px 25px -12px #0f172a;
    box-shadow: 0 10px 25px -12px rgba(15,23,42,.15);
}

.metric-stream {
    font-family: "Source Code Pro", Menlo, Consolas, monospace;
    font-size: .75rem;
    background: #0f172a;
    color: #38bdf8;
    padding: .75rem;
    border-radius: .5rem;
    height: 300px;
    overflow: auto;
}

.metric-line {
    opacity: 0;
    transform: translateY(6px);
    transition: all .4s ease;
}

    .metric-line.visible {
        opacity: 1;
        transform: translateY(0);
    }

#pricing {
    scroll-margin-top: 80px;
}

.pricing-section {
    padding: 5rem 0 4rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2.2rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px -18px #1e293b;
        box-shadow: 0 20px 40px -18px rgba(30,41,59,.25);
    }

.pricing-card.popular {
        border: 2px solid #4361ee;
    }

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(90deg,#4361ee,#8b5cf6);
    color: #fff;
    padding: .35rem .6rem;
    border-radius: .4rem;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .5px;
}

.price {
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -1px;
}

    .price span {
        font-size: .9rem;
        color: #64748b;
        font-weight: 500;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.75rem;
}

    .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: .6rem;
        font-size: .85rem;
        margin-bottom: .55rem;
        color: #475569;
    }

    .feature-list i {
        color: #10b981;
        margin-top: 2px;
    }

.faq-section {
    padding: 4rem 0 3rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all .25s ease;
}

    .faq-item.open {
        border-color: #4361ee;
        box-shadow: 0 8px 25px -15px #1e293b;
        box-shadow: 0 8px 25px -15px rgba(30,41,59,.25);
    }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
}

.faq-answer {
    font-size: .9rem;
    color: #64748b;
    margin-top: .5rem;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.final-cta {
    background: linear-gradient(90deg,#4361ee,#6d55f4,#8b5cf6);
    border-radius: 1.25rem;
    padding: 3.2rem 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px -30px #4361ee;
    box-shadow: 0 25px 60px -30px rgba(67,97,238,.6);
}

.final-cta:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 60%);
        pointer-events: none; /* ADD THIS */
        z-index: 0;           /* (optional but good practice) */
    }

    .final-cta > * {
        position: relative;
        z-index: 1; /* ensure content (including links) is above the overlay */
    }

    .final-cta h3 {
        font-weight: 700;
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .final-cta p {
        color: #ffffff;
        color: rgba(255,255,255,.85);
        font-size: 1rem;
    }

.final-cta .btn-brand {
        background: #fff;
        color: #4361ee;
        box-shadow: none;
    }

        .final-cta .btn-brand:hover {
            background: #f2f5ff;
        }
