/* ===================================
   Paywize - Enhanced Features CSS
   Interactive Dashboard, Mockups, Videos, Stats
   =================================== */

/* ===================================
   1. INTERACTIVE DASHBOARD PREVIEW
   =================================== */

.interactive-dashboard {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    margin-top: 60px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.dashboard-tabs {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    position: relative;
    z-index: 20;
}

.dashboard-tab {
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 21;
    pointer-events: auto;
}

.dashboard-tab:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.dashboard-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: white;
}

.dashboard-content {
    padding: 32px;
    min-height: 500px;
}

.dashboard-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.dashboard-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Account Cards */
.account-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.account-card {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(40px, -40px);
}

.account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
}

.account-bank {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.account-balance {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.account-number {
    font-size: 13px;
    opacity: 0.8;
}

.account-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.account-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.account-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Transaction Feed */
.transaction-feed {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.feed-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.feed-filter {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.transaction-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.tx-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
}

.tx-icon.credit {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.tx-icon.debit {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.tx-icon.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.tx-details {
    flex: 1;
}

.tx-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tx-meta {
    font-size: 13px;
    color: var(--text-tertiary);
}

.tx-amount {
    font-size: 18px;
    font-weight: 700;
}

.tx-amount.credit {
    color: var(--success);
}

.tx-amount.debit {
    color: var(--text-primary);
}

/* Analytics Charts */
.analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.chart-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-period {
    display: flex;
    gap: 8px;
}

.period-btn {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.period-btn:hover, .period-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.chart-container {
    height: 300px;
    position: relative;
}

/* Stats Cards */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-mini {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-mini-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-mini-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-mini-change {
    font-size: 13px;
    margin-top: 8px;
}

.stat-mini-change.positive {
    color: var(--success);
}

.stat-mini-change.negative {
    color: var(--error);
}

/* Try Demo Overlay */
.demo-overlay {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.demo-trigger {
    padding: 14px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-trigger:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

/* ===================================
   2. ANIMATED PRODUCT MOCKUPS
   =================================== */

.mockup-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.device-mockup {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.device-mockup:hover {
    transform: translateY(-8px);
}

/* MacBook Mockup */
.macbook-mockup {
    position: relative;
}

.macbook-screen {
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid #2a2a2a;
}

.macbook-content {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.macbook-base {
    height: 8px;
    background: linear-gradient(to bottom, #d4d4d4, #a0a0a0);
    border-radius: 0 0 8px 8px;
    position: relative;
}

.macbook-base::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: #888;
    border-radius: 2px;
}

/* iPhone Mockup */
.iphone-mockup {
    width: 280px;
    margin: 0 auto;
}

.iphone-frame {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.iphone-screen {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    position: relative;
}

.iphone-content {
    width: 100%;
    height: 100%;
}

/* API/Code Mockup */
.api-mockup {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.api-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #2d2d2d;
    border-bottom: 1px solid #3a3a3a;
}

.api-dots {
    display: flex;
    gap: 6px;
}

.api-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.api-dot:nth-child(1) { background: #ff5f56; }
.api-dot:nth-child(2) { background: #ffbd2e; }
.api-dot:nth-child(3) { background: #27c93f; }

.api-title {
    color: #888;
    font-size: 13px;
    font-family: var(--font-mono);
}

.api-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #d4d4d4;
    max-height: 400px;
    overflow-y: auto;
}

.api-line {
    margin-bottom: 4px;
}

/* Mockup Animations */
.mockup-rotate {
    animation: mockupRotate 20s ease-in-out infinite;
}

@keyframes mockupRotate {
    0%, 100% { transform: perspective(1000px) rotateY(0deg); }
    50% { transform: perspective(1000px) rotateY(5deg); }
}

.screen-glow {
    position: relative;
}

.screen-glow::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.device-mockup:hover .screen-glow::after {
    opacity: 1;
}

/* ===================================
   3. VIDEO SECTIONS
   =================================== */

.video-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-player {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
}

.video-player video {
    width: 100%;
    height: 100%;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player:hover .video-controls {
    opacity: 1;
}

.play-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.video-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-time {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.video-chapters {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.chapter-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chapter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Feature Videos Grid */
.feature-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-video-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.feature-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.feature-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
}

.feature-video-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-play-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    font-size: 24px;
    transition: var(--transition-fast);
}

.feature-video-card:hover .video-play-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.feature-video-info {
    padding: 20px;
}

.feature-video-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-video-duration {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===================================
   4. ANIMATED STATISTICS
   =================================== */

.stats-dashboard-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 20px;
    color: var(--success);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card-live {
    padding: 32px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card-live::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-card-live:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon-live {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: white;
    border-radius: 16px;
    font-size: 28px;
    margin: 0 auto 20px;
}

.stat-value-live {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-label-live {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.chart-card-large {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.chart-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.chart-wrapper {
    height: 350px;
}

/* World Map */
.world-map {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
}

.map-container {
    height: 350px;
    background: var(--bg-secondary);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: mapDotPulse 2s ease-in-out infinite;
}

@keyframes mapDotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
}

/* ===================================
   5. CUSTOMER LOGO WALL
   =================================== */

.logo-wall-section {
    padding: 60px 0;
    background: white;
    overflow: visible;
}

.logo-wall-header {
    text-align: center;
    margin-bottom: 48px;
}

.logo-wall-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.logo-wall-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

.logo-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 48px;
    animation: logoScroll 40s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    cursor: pointer;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Logo text placeholder */
.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Industry Filter */
.logo-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tag:hover, .filter-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===================================
   TESTIMONIALS CAROUSEL (in Logo Wall Section)
   =================================== */

.logo-wall-section .container {
    overflow: visible;
}

.testimonials-carousel-wrapper {
    margin-top: 80px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    overflow: visible !important;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden !important;
    padding: 0 60px;
    width: 100%;
    height: auto;
}

.testimonials-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    overflow: visible !important;
    scroll-behavior: unset !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    align-items: stretch;
}

.testimonial-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    flex-shrink: 0 !important;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 40px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.04);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: var(--text-primary);
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn i {
    font-size: 16px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dots .dot:hover {
    background: var(--text-tertiary);
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 32px;
    color: var(--primary);
}

.testimonial-author {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    justify-content: center;
}

.testimonial-author .author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.testimonial-author .author-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.testimonial-author .author-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-author .author-info p::before {
    content: '•';
    margin: 0 6px;
    color: var(--border);
}

.testimonial-author .author-info .company-badge {
    margin-left: 4px;
}

/* Company Badge */
.company-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-badge.ecommerce {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.company-badge.saas {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.company-badge.logistics {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.company-badge.manufacturing {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.company-badge.retail {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.testimonial-rating i {
    font-size: 18px;
    color: #fbbf24;
}

/* Testimonial Content */
.testimonial-content {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

/* Testimonial Stats */
.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-stats .stat-item {
    text-align: center;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 10px;
}

.testimonial-stats .stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.testimonial-stats .stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Testimonials Carousel */
@media (max-width: 1024px) {
    .testimonials-carousel {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        margin-top: 60px;
    }
    
    .testimonials-carousel {
        padding: 0;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .testimonial-content {
        max-width: 100%;
    }
    
    .testimonial-content p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .testimonial-rating i {
        font-size: 16px;
    }
    
    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }
    
    .testimonial-avatar i {
        font-size: 28px;
    }
    
    .testimonial-author .author-info h4 {
        font-size: 15px;
    }
    
    .testimonial-author .author-info p {
        font-size: 12px;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 992px) {
    .interactive-dashboard {
        margin-top: 40px;
    }
    
    .account-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .account-cards {
        grid-template-columns: 1fr;
    }
}
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mockup-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .feature-videos {
        grid-template-columns: 1fr;
    }
    
    .stats-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .dashboard-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .stats-dashboard {
        grid-template-columns: 1fr;
    }
    
    .logo-track {
        gap: 24px;
    }
    
    .logo-item {
        width: 140px;
        height: 60px;
    }
}

/* ===================================
   PERFORMANCE TAB (INSIDE DASHBOARD)
   =================================== */

.performance-header {
    text-align: center;
    margin-bottom: 32px;
}

.live-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.live-badge-inline .live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.performance-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.stats-dashboard-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.charts-grid-inline {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

/* Responsive adjustments for Performance tab */
@media (max-width: 992px) {
    .stats-dashboard-inline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-grid-inline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-dashboard-inline {
        grid-template-columns: 1fr;
    }
    
    .dashboard-tab {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .dashboard-tab span {
        display: none;
    }
    
    .dashboard-tab i {
        font-size: 18px;
    }
}