/* ============================================
   DASHBOARD SECTION - TESTIMONIAL PATTERN
   ============================================ */

.dashboard-features {
    padding: 120px 0;
    background: #09090b;
    position: relative;
    overflow: hidden;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 80px;
}

.dashboard-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.03em;
}

.dashboard-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Container */
.dashboard-carousel-wrapper {
    position: relative;
    margin-top: 64px;
}

.dashboard-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 4px 60px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.dashboard-carousel::-webkit-scrollbar {
    display: none;
}

/* Feature Cards (Testimonial Style) */
.dashboard-feature-card {
    flex: 0 0 calc(50% - 16px);
    min-width: 600px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    scroll-snap-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.dashboard-feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
}

.card-logo {
    font-size: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.card-headline {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.card-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.card-main-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: center;
}

.card-visual {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.card-quote-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-text {
    font-size: 16px;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.author-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.card-footer {
    display: flex;
    justify-content: flex-start;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

/* Carousel Nav */
.dashboard-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
}

.nav-arrows {
    display: flex;
    gap: 16px;
}

.dash-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.dash-nav-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
}

.dash-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.dash-dots {
    display: flex;
    gap: 12px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dash-dot.active {
    width: 32px;
    border-radius: 10px;
    background: var(--accent);
}

@media (max-width: 1200px) {
    .dashboard-feature-card {
        flex: 0 0 100%;
        min-width: unset;
    }

    .card-main-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .dashboard-feature-card {
        padding: 32px;
    }

    .card-headline {
        font-size: 24px;
    }

    .card-footer {
        flex-direction: column;
        gap: 24px;
    }
}

/* ============================================
   TRIAL PILL - PREMIUM REDESIGN
   ============================================ */

.trial-pill,
.trial-indicator-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: white !important;
    font-weight: 800;
    font-size: 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 8px;
    white-space: nowrap;
}

.trial-pill span {
    margin-right: 3px;
    font-size: 11px;
}

/* Glassmorphism version for Active Mode Label */
.trial-indicator-pill {
    background: rgba(168, 85, 247, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: none;
    font-size: 9px;
    padding: 1px 6px;
}

/* Micro-animation for updates */
.pulse-update {
    animation: pill-pulse 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pill-pulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.15);
        filter: brightness(1.4);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* Pro User State (cleaner) */
.trial-pill.is-pro-user {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #a855f7 !important;
    box-shadow: none;
}