/**
 * Dual Auction Homepage Styles
 * Version 2.0 - Complete Package
 */

/* ========================================
   COLOR VARIABLES
   ======================================== */
:root {
    /* Penny Auction Colors */
    --penny-primary: #FF6B35;
    --penny-secondary: #F7B801;
    --penny-gradient: linear-gradient(135deg, #FF6B35 0%, #F7B801 100%);
    --penny-light: #FFF3E0;
    --penny-dark: #C63D00;
    
    /* Traditional Auction Colors */
    --traditional-primary: #667eea;
    --traditional-secondary: #764ba2;
    --traditional-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --traditional-light: #EDE9FE;
    --traditional-dark: #4C1D95;
    
    /* Shared Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --text-primary: #0F1419;
    --text-secondary: #6B7280;
    --success: #10B981;
    --error: #EF4444;
    --border: #E5E7EB;
}

/* ========================================
   SECTION CONTAINER
   ======================================== */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   DUAL HERO SECTION
   ======================================== */
.dual-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #FF6B35 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.dual-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-main-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 3rem 0;
    opacity: 0.95;
}

/* Hero Cards Grid */
.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.hero-card.penny-card {
    border-top: 4px solid var(--penny-primary);
}

.hero-card.traditional-card {
    border-top: 4px solid var(--traditional-primary);
}

.hero-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.hero-card-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
}

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.hero-features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.hero-cta-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.hero-cta-btn.penny-cta {
    background: var(--penny-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.hero-cta-btn.traditional-cta {
    background: var(--traditional-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.hero-stat .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-stats-bar {
        gap: 1.5rem;
    }
}

/* ========================================
   DUAL STATS SECTION
   ======================================== */
.dual-stats-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.stats-block {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stats-block.penny-stats {
    border-left: 4px solid var(--penny-primary);
}

.stats-block.traditional-stats {
    border-left: 4px solid var(--traditional-primary);
}

.stats-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-lbl {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.stats-divider {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-divider {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-num {
        font-size: 1.5rem;
    }
}

/* ========================================
   AUCTIONS SECTIONS
   ======================================== */
.auctions-section {
    padding: 4rem 0;
}

.auctions-section.penny-auctions-section {
    background: var(--bg-primary);
}

.auctions-section.traditional-auctions-section {
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.view-all-link {
    color: var(--traditional-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.view-all-link:hover {
    color: var(--traditional-dark);
    text-decoration: underline;
}

/* Section Tabs */
.section-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.section-tab:hover {
    border-color: var(--traditional-primary);
    background: var(--traditional-light);
}

.section-tab.active {
    background: var(--traditional-gradient);
    color: white;
    border-color: transparent;
}

.penny-auctions-section .section-tab.active {
    background: var(--penny-gradient);
}

/* Section CTA */
.section-cta-block {
    text-align: center;
    margin-top: 3rem;
}

.section-cta-btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s;
}

.section-cta-btn.penny-cta {
    background: var(--penny-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.section-cta-btn.traditional-cta {
    background: var(--traditional-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.section-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Features Bar */
.section-features-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-tabs {
        width: 100%;
    }
    
    .section-tab {
        flex: 1;
        text-align: center;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .section-features-bar {
        gap: 1rem;
    }
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 3rem 0;
}

.how-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.how-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.how-card.penny-how {
    border-top: 4px solid var(--penny-primary);
}

.how-card.traditional-how {
    border-top: 4px solid var(--traditional-primary);
}

.how-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    text-align: center;
}

.how-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--traditional-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.penny-how .step-number {
    background: var(--penny-gradient);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.step-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.how-example-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.how-example-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.how-example-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-example-box li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.how-cta-center {
    text-align: center;
}

.main-cta-btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #FF6B35 100%);
    color: white;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.main-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .how-comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-center {
        font-size: 1.75rem;
    }
}

/* ========================================
   COMPARISON TABLE SECTION
   ======================================== */
.comparison-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.table-header-row,
.table-body-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 0;
}

.table-header-row {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #FF6B35 100%);
    color: white;
}

.table-cell {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.table-header-row .table-cell {
    font-weight: 700;
    font-size: 1.125rem;
}

.empty-cell {
    background: transparent;
}

.header-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.table-body-row {
    border-bottom: 1px solid var(--border);
}

.table-body-row:last-child {
    border-bottom: none;
}

.label-cell {
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-secondary);
    justify-content: flex-start;
    padding-left: 2rem;
}

.data-cell {
    color: var(--text-secondary);
}

.table-body-row:hover .data-cell {
    background: var(--bg-secondary);
}

.highlight-row {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(102, 126, 234, 0.1));
}

.highlight-row .data-cell {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .table-header-row,
    .table-body-row {
        grid-template-columns: 1fr;
    }
    
    .table-header-row .empty-cell {
        display: none;
    }
    
    .table-body-row {
        padding: 1rem 0;
    }
    
    .label-cell {
        padding: 0.75rem 1rem;
        background: var(--bg-secondary);
        font-size: 0.875rem;
        font-weight: 800;
    }
    
    .data-cell {
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card.penny-testimonial {
    border-left: 4px solid var(--penny-primary);
}

.testimonial-card.traditional-testimonial {
    border-left: 4px solid var(--traditional-primary);
}

.testimonial-card.mixed-testimonial {
    border-left: 4px solid #10B981;
}

.testimonial-stars {
    color: #F7B801;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.testimonial-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    padding: 3rem 0;
    background: white;
}

.trust-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-icon {
    font-size: 2rem;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #FF6B35 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-btn.primary-cta {
    background: white;
    color: var(--traditional-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary-cta {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-btn {
        width: 100%;
    }
}

/* ========================================
   MY CREDITS SECTION
   ======================================== */
.my-credits-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
}
