/* ========================================================================
   Diamoon Landing Page Redesign
   ======================================================================== */

/* ── Social Proof Bar ── */
.social-proof-bar {
    border-top: 1px solid rgba(115, 103, 240, 0.08);
    border-bottom: 1px solid rgba(115, 103, 240, 0.08);
}
.counter-item .counter-value {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-primary);
}
.counter-item .counter-label {
    font-size: 0.875rem;
    color: #6e6b7b;
    margin-top: 0.25rem;
}
.dark-style .counter-item .counter-label {
    color: #b6bee3;
}

/* ── Problem-Agitation Cards ── */
.problem-card {
    border: 1px solid rgba(234, 84, 85, 0.12);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.problem-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ea5455, #ff9f43);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(234, 84, 85, 0.12);
    border-color: rgba(234, 84, 85, 0.25);
}
.problem-card:hover::before {
    opacity: 1;
}
.problem-card .problem-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(234, 84, 85, 0.08);
    color: #ea5455;
}
.problem-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.problem-card p {
    font-size: 0.9rem;
    color: #6e6b7b;
    margin-bottom: 0;
    line-height: 1.8;
}
.dark-style .problem-card {
    background: #2f3349;
    border-color: rgba(234, 84, 85, 0.18);
}
.dark-style .problem-card p {
    color: #b6bee3;
}

/* ── How It Works Steps ── */
.step-card {
    text-align: center;
    position: relative;
    padding: 1.5rem 1rem;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}
.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(115, 103, 240, 0.3);
}
.step-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.step-card p {
    font-size: 0.875rem;
    color: #6e6b7b;
    margin-bottom: 0;
    line-height: 1.8;
}
.dark-style .step-card p {
    color: #b6bee3;
}
/* Step connector line (desktop only) */
@media (min-width: 768px) {
    .step-card:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 2.2rem;
        left: 0;
        width: calc(100% - 56px);
        height: 2px;
        border-top: 2px dashed rgba(115, 103, 240, 0.3);
        transform: translateX(-50%);
    }
}

/* ── Dashboard Showcase ── */
.dashboard-showcase {
    position: relative;
    border-radius: .5rem;
    overflow: hidden;
}
.dashboard-showcase img {
    border-radius: .5rem;
    box-shadow: 0 25px 60px rgba(115, 103, 240, 0.2), 0 15px 30px rgba(0, 0, 0, 0.1);
}
.dashboard-badge-float {
    position: absolute;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}
.dashboard-badge-float:nth-child(2) { animation-delay: 0.5s; }
.dashboard-badge-float:nth-child(3) { animation-delay: 1s; }
.dashboard-badge-float:nth-child(4) { animation-delay: 1.5s; }
.dark-style .dashboard-badge-float {
    background: #2f3349;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

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

/* ── Testimonials ── */
.testimonial-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(115, 103, 240, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(115, 103, 240, 0.1);
}
.testimonial-stars {
    color: #ff9f43;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 2;
    color: #5e5873;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.testimonial-role {
    font-size: 0.8rem;
    color: #a5a2ad;
}
.dark-style .testimonial-card {
    background: #2f3349;
    border-color: rgba(115, 103, 240, 0.18);
}
.dark-style .testimonial-quote {
    color: #b6bee3;
}

/* ── Use Case Cards ── */
.usecase-card {
    border: 1px solid rgba(115, 103, 240, 0.08);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-right: 4px solid transparent;
}
.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(115, 103, 240, 0.12);
    border-right-color: var(--bs-primary);
}
.usecase-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.usecase-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.usecase-card p {
    font-size: 0.9rem;
    color: #6e6b7b;
    margin-bottom: 0;
    line-height: 1.8;
}
.dark-style .usecase-card {
    background: #2f3349;
    border-color: rgba(115, 103, 240, 0.18);
    border-right-color: transparent;
}
.dark-style .usecase-card:hover {
    border-right-color: var(--bs-primary);
}
.dark-style .usecase-card p {
    color: #b6bee3;
}

/* ── Comparison Table ── */
.comparison-table {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(115, 103, 240, 0.12);
}
.comparison-table thead th {
    font-weight: 600;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    vertical-align: middle;
}
.comparison-table tbody td {
    padding: 0.875rem 1.25rem;
    vertical-align: middle;
    font-size: 0.9rem;
}
.comparison-highlight {
    background: rgba(115, 103, 240, 0.04) !important;
}
.comparison-table .check-yes {
    color: #28c76f;
    font-weight: 600;
}
.comparison-table .check-no {
    color: #ea5455;
}
.comparison-table .check-limited {
    color: #ff9f43;
}
.dark-style .comparison-table {
    border-color: rgba(115, 103, 240, 0.2);
}
.dark-style .comparison-highlight {
    background: rgba(115, 103, 240, 0.08) !important;
}

/* ── Final CTA Section ── */
.landing-final-cta {
    background: linear-gradient(135deg, #7367f0 0%, #9b8cfc 50%, #7367f0 100%);
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.landing-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.landing-final-cta h2,
.landing-final-cta p {
    position: relative;
    z-index: 1;
}
.landing-final-cta .btn {
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Copy to clipboard button ── */
.btn-copy {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
.btn-copy.copied {
    background: #28c76f !important;
    border-color: #28c76f !important;
    color: #fff !important;
}

/* ── Transition text ── */
.transition-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.transition-text i {
    font-size: 1.25rem;
    animation: bounceDown 1.5s ease-in-out infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── Section spacing adjustments ── */
.section-py-sm {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ── Hero badge ── */
.hero-badge {
    display: inline-block;
    background: rgba(115, 103, 240, 0.08);
    color: var(--bs-primary);
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(115, 103, 240, 0.15);
}
.dark-style .hero-badge {
    background: rgba(115, 103, 240, 0.15);
    border-color: rgba(115, 103, 240, 0.25);
}

/* ── Demo link text ── */
.demo-link {
    font-size: 0.9rem;
    color: var(--bs-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--bs-primary);
    transition: all 0.2s ease;
}
.demo-link:hover {
    color: var(--bs-primary);
    border-bottom-style: solid;
}

/* ── Logo carousel adjustments ── */
.logo-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 1rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}
.logo-carousel-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.logo-carousel-item img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
}
