/* Landing Page Variant B - Why Section & Product Preview Styles */
/* Split from main CSS for code quality compliance */

/* ===========================================
   WHY RUN MY RETURN SECTION
   Mobile-first, card-based credibility section
   =========================================== */

.why-rmr {
    background: var(--landing-bg-primary);
    padding: 60px 20px;
}

.why-rmr .section-content {
    max-width: 400px;
    margin: 0 auto;
}

.why-rmr-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--landing-text-primary);
    margin-bottom: 32px;
    line-height: 1.2;
}

/* Credibility Stats Bar */
.credibility-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 16px;
    background: var(--landing-bg-secondary);
    border-radius: 16px;
    margin-bottom: 32px;
}

.credibility-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--landing-text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--landing-text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credibility-divider {
    width: 1px;
    height: 40px;
    background: var(--landing-border-default);
}

/* Contrast Cards */
.contrast-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contrast-card {
    background: var(--landing-bg-primary);
    border: 1px solid rgba(61, 64, 91, 0.12);
    border-radius: 16px;
    padding: 24px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(61, 64, 91, 0.06);
}

.contrast-card:hover {
    border-color: rgba(61, 64, 91, 0.2);
    box-shadow: 0 4px 16px rgba(61, 64, 91, 0.1);
}

/* Card top row - icon + header inline */
.card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(129, 178, 154, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--landing-accent-sage);
}

.card-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--landing-text-primary);
    letter-spacing: -0.01em;
}

/* Card lines - badge inline with text */
.card-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card-line:last-child {
    margin-bottom: 0;
}

.card-line.wrong {
    color: var(--landing-text-tertiary);
    text-decoration: line-through;
    text-decoration-color: rgba(217, 93, 72, 0.4);
}

.card-line.right {
    color: var(--landing-text-primary);
    font-weight: 500;
    text-decoration: none;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 0;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
    width: 52px;
    min-width: 52px;
}

.card-badge.wrong {
    background: rgba(217, 93, 72, 0.12);
    color: #D95D48;
}

.card-badge.right {
    background: rgba(129, 178, 154, 0.15);
    color: #4A7C67;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--landing-bg-secondary);
    border-radius: 10px;
    font-size: 14px;
    color: var(--landing-text-secondary);
    min-height: 48px;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--landing-accent-sage);
    flex-shrink: 0;
}

.trust-item.highlight {
    background: rgba(34, 197, 94, 0.08);
    color: var(--landing-text-primary);
    font-weight: 500;
}

.trust-item.highlight svg {
    stroke: #22C55E;
}

.why-footer {
    font-size: 14px;
    color: var(--landing-text-secondary);
    text-align: center;
    font-style: italic;
}

/* ===========================================
   END WHY RUN MY RETURN SECTION
   =========================================== */

/* ===========================================
   TABBED PRODUCT PREVIEW SECTION
   Mobile-first, swipeable tab interface
   =========================================== */

.product-preview {
    background: var(--landing-bg-secondary);
    padding: 60px 20px;
    text-align: center;
}

.product-preview .section-title {
    margin-bottom: 32px;
}

.tabbed-preview {
    max-width: 400px;
    margin: 0 auto;
}

/* Tab Navigation Container - Horizontal scroll on mobile */
.tab-nav-container {
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.tab-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    min-width: 80px;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    background: var(--landing-bg-primary);
    color: var(--landing-text-secondary);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.tab-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--landing-text-tertiary);
    transition: stroke 0.2s ease;
}

.tab-btn:hover {
    border-color: rgba(224, 122, 95, 0.3);
    background: rgba(224, 122, 95, 0.05);
}

.tab-btn.active {
    background: var(--landing-accent-coral);
    border-color: var(--landing-accent-coral);
    color: white;
}

.tab-btn.active svg {
    stroke: white;
}

/* Tab Panels */
.tab-panels {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

.panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel-image {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(61, 64, 91, 0.12);
    background: var(--landing-bg-primary);
}

.panel-image img {
    width: 100%;
    height: auto;
    display: block;
}

.panel-description {
    margin-top: 20px;
    font-size: 15px;
    color: var(--landing-text-primary);
    font-weight: 500;
    line-height: 1.4;
    max-width: 280px;
}

/* Swipe hint - mobile only */
.swipe-hint {
    font-size: 12px;
    color: var(--landing-text-tertiary);
    margin-top: 20px;
    opacity: 0.8;
}

/* ===========================================
   END TABBED PRODUCT PREVIEW
   =========================================== */
