.cp-home {
    background-color: #f5f5fb;
}

/* HERO */
.cp-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    overflow: hidden;
}

.cp-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 55%), radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.35), transparent 55%);
    pointer-events: none;
}

/* Floating shapes */
.cp-hero-banner::before,
.cp-hero-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(1px);
    animation: cp-float 10s ease-in-out infinite alternate;
}

.cp-hero-banner::before {
    width: 260px;
    height: 260px;
    top: -60px;
    right: -40px;
}

.cp-hero-banner::after {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: -40px;
}

@keyframes cp-float {
    0% {
        transform: translateY(0px);
    }

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

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

.cp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.16);
    font-size: 0.875rem;
    backdrop-filter: blur(4px);
}

/* Search box */
.cp-search-box {
    max-width: 520px;
}

.cp-search-input {
    border-radius: 999px;
    padding-inline: 1.2rem;
}

/* Hero side card */
.cp-hero-card {
    border-radius: 1.5rem;
}

.cp-hero-list {
    font-size: 0.95rem;
}

.cp-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: rgba(37, 117, 252, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Stats strip */
.cp-stats-strip {
    background: linear-gradient(90deg, #fdf2ff, #e6f4ff);
}

.cp-stat-number {
    font-weight: 800;
    font-size: 1.7rem;
    color: #1b3a8a;
}

.cp-stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Section headers */
.cp-section-tag,
.cp-section-tag-light {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cp-section-tag {
    background-color: #e0e7ff;
    color: #3730a3;
}

.cp-section-tag-light {
    background-color: rgba(255, 255, 255, 0.18);
    color: #e5e7eb;
}

/* Path cards */
.cp-path-card {
    border-radius: 1.3rem;
    position: relative;
    overflow: hidden;
}

    .cp-path-card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.08;
        pointer-events: none;
        background: radial-gradient(circle at top left, #4f46e5, transparent 60%);
    }

.cp-path-seeker {
    border-top: 4px solid #3b82f6;
}

.cp-path-leader {
    border-top: 4px solid #22c55e;
}

.cp-path-pill {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background-color: #eff6ff;
    color: #1d4ed8;
}

/* Feature cards */
.cp-feature-card {
    border-radius: 1.3rem;
    transition: 0.25s ease;
    background: linear-gradient(145deg, #ffffff, #f3f4ff);
}

    .cp-feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    }

.cp-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Testimonials */
.cp-testimonials {
    background: radial-gradient(circle at top, #4f46e5, #1e3a8a);
    color: #fff;
}

.cp-testimonial-card {
    border-radius: 1.3rem;
    padding: 1.75rem;
    background-color: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Final CTA */
.cp-final-cta {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #eef2ff);
}

/* Utility */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 767.98px) {
    .cp-stat-number {
        font-size: 1.4rem;
    }
}

/* Footer starts here */

.cp-footer {
    background: linear-gradient(135deg, #4f46e5, #1e3a8a);
    color: #fff;
}

/* Links */
.cp-footer-link {
    display: block;
    color: #e0e7ff;
    margin-bottom: 0.35rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .cp-footer-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

/* Social Icons */
.cp-social-icon {
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

    .cp-social-icon:hover {
        opacity: 1;
    }

/* Subtle border */
.border-white-25 {
    border-color: rgba(255,255,255,0.25) !important;
}

/* Soft white text */
.text-white-75 {
    color: rgba(255,255,255,0.75);
}


/* Search Design */

.cp-search-wrapper {
    position: relative;
    max-width: 520px;
}

.cp-search-input {
    border-radius: 50px;
    padding-right: 60px;
    padding-left: 20px;
    height: 55px;
}

.cp-search-button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: #2563eb; /* blue circle */
    border: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cp-search-button:hover {
        background: #1d4ed8;
    }

.cp-search-svg {
    height: 20px;
    width: 20px;
}

/* START----------------------------------------------- */

/* Top right login button */

.cp-hero-auth {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

    .cp-hero-auth .btn {
        backdrop-filter: blur(4px);
        border-radius: 30px;
    }

/* END----------------------------------------------- */

/* Top bar inside hero: logo + auth buttons */
.cp-hero-topbar {
    position: relative;
    z-index: 2;
}

/* Logo: ENCOVERY */
.cp-logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f9fafb;
    text-decoration: none;
    cursor: pointer;
}

    .cp-logo-brand:hover {
        color: #ffffff;
    }

.cp-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.cp-logo-text {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Make login/register match hero style */
.cp-hero-topbar .btn {
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.cp-hero-topbar .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.cp-hero-topbar .btn-light:hover {
    background: #f9fafb;
}

/* SOCIAL ICON BASE */
.cp-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    /* Gradient background: matches cp-hero + cp-footer theme */
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    font-size: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

    /* HOVER EFFECT */
    .cp-social-icon:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 20px rgba(37, 117, 252, 0.4);
        opacity: 1;
    }

/* Optional subtle lower opacity before hover */
.cp-social-icon {
    opacity: 0.9;
}

/* According starts from here */


.cp-faq {
    border-radius: 1rem;
}

.cp-faq-item {
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

    .cp-faq-item[open] {
        border-color: #4f46e5;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

.cp-faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9fafb;
}

    /* Remove default triangle */
    .cp-faq-summary::-webkit-details-marker {
        display: none;
    }

    /* Custom arrow icon */
    .cp-faq-summary::after {
        content: "›";
        transform: rotate(90deg);
        transition: transform 0.2s ease;
        font-size: 0.9rem;
        color: #6b7280;
    }

.cp-faq-item[open] .cp-faq-summary::after {
    transform: rotate(-90deg);
}

.cp-faq-body {
    padding: 0.9rem 1.1rem 1rem;
    font-size: 0.95rem;
    color: #4b5563;
    background-color: #ffffff;
}

/* Reuses cp-auth styles already defined for login/register */

.cp-auth-card {
    border-radius: 1.5rem;
    background: #ffffff;
}

.cp-input {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 0.9rem;
}

    .cp-input:focus {
        border-color: #4f46e5;
        box-shadow: 0 0 0 0.15rem rgba(79, 70, 229, 0.15);
    }


.cp-feature-grid {
    /* just spacing handled by Bootstrap row; keep for future customizations */
}

.cp-feature-card {
    border-radius: 1rem;
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e5e7eb;
}

    .cp-feature-card:hover {
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        transform: translateY(-2px);
        transition: all 0.18s ease;
    }

.cp-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
}

.cp-final-cta {
    border-radius: 1.5rem;
}

/* For pricing page */

.cp-pricing-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.8rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .cp-pricing-card:hover {
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
        transform: translateY(-2px);
        transition: all 0.18s ease;
    }

.cp-pricing-header {
    margin-bottom: 0.75rem;
}

.cp-pricing-price {
    margin-bottom: 1rem;
}

.cp-price-amount {
    font-size: 2rem;
    font-weight: 800;
}

.cp-price-period {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.cp-pricing-features li {
    margin-bottom: 0.4rem;
}

.cp-pricing-featured {
    border-color: #4f46e5;
    box-shadow: 0 16px 45px rgba(79, 70, 229, 0.25);
}

.cp-pricing-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* For stories page */

.cp-story-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.cp-story-featured {
    border-radius: 1.5rem;
    background-color: #ffffff;
}

.cp-story-card {
    border-radius: 1.25rem;
}

.cp-story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.18s ease;
}

/* For learning page */

.cp-feature-card {
    border-radius: 1.25rem;
    background-color: #ffffff;
    padding: 1.4rem 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

    .cp-feature-card:hover {
        box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
        transform: translateY(-2px);
        transition: all 0.18s ease;
    }

.cp-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
}