/* ================================================
   LOYALTY REWARDS PAGE - ENHANCED STYLES (REFINED)
   Modern, Clean, Lots of White Space
   ================================================ */

/* New Visitor Banner - Subtle and Light */
.new-visitor-banner {
    background: #ffffff;
    border-bottom: 1px solid #e8f5e9;
    padding: 20px 0;
}

.visitor-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.banner-emoji {
    font-size: 24px;
}

.visitor-banner-content p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.visitor-banner-content a {
    color: #4a7c59;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    padding-bottom: 2px;
}

.visitor-banner-content a:hover {
    border-bottom: 2px solid #4a7c59;
}

/* Value Summary Section - Clean with Strategic Green Accent */
.value-summary-section {
    background: #ffffff;
    padding: 50px 0;
    border-bottom: 1px solid #f0f0f0;
}

.value-summary-card {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.value-header {
    text-align: center;
    margin-bottom: 35px;
}

.value-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.value-header p {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

.value-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 0;
    text-align: center;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-icon {
    font-size: 48px;
    color: #4a7c59;
    transition: transform 0.3s ease;
}

.value-amount {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    line-height: 1;
}

.value-label {
    font-size: 15px;
    color: #666;
    display: block;
    margin-top: 8px;
}

.value-total {
    background: #f8fdf9;
    border: 2px solid #4a7c59;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.total-calculation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 20px;
    color: #1a1a1a;
}

.total-amount {
    font-size: 64px;
    font-weight: 800;
    color: #4a7c59;
    line-height: 1;
}

.total-bonus {
    text-align: center;
    font-size: 16px;
    color: #666;
}

.total-bonus i {
    color: #4a7c59;
    margin-right: 8px;
}

.total-bonus strong {
    color: #1a1a1a;
    font-weight: 600;
}

.value-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-value-cta {
    display: inline-block;
    background: #4a7c59;
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-value-cta:hover {
    background: #3a6347;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 124, 89, 0.2);
}

.btn-value-cta i {
    margin-right: 10px;
}

.btn-value-cta-black {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-value-cta-black:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-value-cta-black i {
    margin-right: 10px;
}

/* Social Proof Section - Minimal and Clean */
.social-proof-section {
    padding: 80px 0;
    background: #fafafa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #4a7c59;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-stars {
    color: #4a7c59;
    margin-bottom: 20px;
    font-size: 16px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.testimonial-author strong {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
}

.testimonial-author span {
    color: #999;
    font-size: 14px;
}

.social-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 0;
    background: transparent;
}

.stat-icon {
    font-size: 40px;
    color: #4a7c59;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: #666;
}

/* Comparison Table Section - Clean and Modern */
.comparison-section {
    padding: 80px 0;
    background: #ffffff;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.rewards-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.rewards-comparison-table thead tr {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.rewards-comparison-table th {
    padding: 20px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.rewards-comparison-table th:first-child {
    text-align: left;
    background: #ffffff;
}

.subscriber-column {
    background: #f8fdf9;
    color: #4a7c59;
    position: relative;
}

.subscriber-column i {
    margin-right: 6px;
    font-size: 16px;
}

.onetime-column {
    background: #ffffff;
    color: #666;
}

.rewards-comparison-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.rewards-comparison-table tbody tr:hover {
    background: #fafbfc;
}

.rewards-comparison-table tbody tr:last-child {
    border-bottom: none;
}

.rewards-comparison-table td {
    padding: 20px 24px;
    font-size: 15px;
    vertical-align: middle;
}

.benefit-name {
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
}

.subscriber-value {
    background: transparent;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
}

.subscriber-value strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.onetime-value {
    color: #999;
    text-align: center;
}

.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #d4edda;
    color: #28a745;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 8px;
}

.cross {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #f8d7da;
    color: #dc3545;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 8px;
}

.value-note {
    display: block;
    font-size: 12px;
    color: #6c757d;
    font-weight: normal;
    margin-top: 2px;
}

.total-row {
    background: #f8fdf9 !important;
    border-top: 3px solid #4a7c59 !important;
}

.total-row td {
    padding: 24px !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 17px !important;
}

.total-value {
    font-size: 32px;
    color: #4a7c59 !important;
    font-weight: 800 !important;
}

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

.comparison-note {
    font-size: 17px;
    margin-bottom: 25px;
    color: #333;
}

.comparison-note i {
    color: #4a7c59;
    margin-right: 8px;
}

.btn-comparison {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-comparison:hover {
    background: #3a6347;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.2);
}

.btn-comparison i {
    margin-right: 10px;
}

/* Points Calculator Section - Minimal with Focus */
.points-calculator-section {
    padding: 80px 0;
    background: #fafafa;
}

.calculator-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    border: 1px solid #e8e8e8;
    max-width: 900px;
    margin: 0 auto;
}

.calculator-input {
    margin-bottom: 35px;
}

.calculator-input label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.range-wrapper {
    position: relative;
    margin-bottom: 15px;
}

#weekly-spend {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #e8e8e8 0%, #e8e8e8 100%);
    outline: none;
    -webkit-appearance: none;
}

#weekly-spend::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e8e8e8;
}

#weekly-spend::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4a7c59;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 4px solid #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    margin-top: -10px;
}

#weekly-spend::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

#weekly-spend::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e8e8e8;
}

#weekly-spend::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4a7c59;
    cursor: pointer;
    border: 4px solid #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.range-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: #999;
}

.spending-display {
    text-align: center;
    margin-top: 20px;
}

.spending-amount {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.spending-label {
    font-size: 14px;
    color: #999;
    margin-left: 8px;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 35px;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    background: transparent;
    border-left: none;
}

.result-icon {
    font-size: 28px;
    color: #4a7c59;
    margin-top: 3px;
}

.result-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.calculator-annual {
    background: #f8fdf9;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #e0f2e4;
}

.annual-summary {
    text-align: center;
    color: #1a1a1a;
    font-size: 17px;
}

.annual-summary i {
    color: #4a7c59;
    margin-right: 10px;
    font-size: 24px;
}

.annual-amount {
    font-size: 42px;
    font-weight: 700;
    color: #4a7c59;
    margin: 0 10px;
}

.annual-note {
    color: #666;
}

/* Progress Tracking Section - Clean Horizontal Layout */
.progress-tracking-section {
    padding: 80px 0;
    background: #ffffff;
}

.progress-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.progress-icon {
    font-size: 56px;
    color: #4a7c59;
    flex-shrink: 0;
}

.progress-content {
    flex: 1;
}

.progress-content h3 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.progress-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.btn-dashboard {
    display: inline-block;
    background: #4a7c59;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-dashboard:hover {
    background: #3a6347;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.2);
}

.btn-dashboard i {
    margin-right: 10px;
}

/* Rewards FAQ Section - Spacious Grid */
.rewards-faq-section {
    padding: 80px 0;
    background: #fafafa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.faq-item {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #4a7c59;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-icon {
    font-size: 36px;
    color: #4a7c59;
    margin-bottom: 20px;
}

.faq-item h4 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

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

.faq-cta p {
    font-size: 17px;
    margin-bottom: 25px;
    color: #333;
}

.btn-faq {
    display: inline-block;
    background: #ffffff;
    color: #4a7c59;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #4a7c59;
    transition: all 0.3s ease;
}

.btn-faq:hover {
    background: #4a7c59;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 124, 89, 0.2);
}

.btn-faq i {
    margin-right: 10px;
}

/* Tablet Responsiveness (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .comparison-section {
        padding: 60px 0;
    }
    
    .section-header.centered h2 {
        font-size: 32px;
    }
    
    .section-header.centered p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        margin: 0 -20px 40px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .rewards-comparison-table {
        min-width: 700px;
    }
    
    .rewards-comparison-table th,
    .rewards-comparison-table td {
        padding: 20px 16px;
        font-size: 14px;
    }
    
    .benefit-name {
        min-width: 180px;
    }
    
    .total-value {
        font-size: 24px;
    }
    
    .comparison-note {
        font-size: 16px;
        padding: 0 20px;
    }
}

/* Mobile Responsiveness (below 768px) */
@media (max-width: 767px) {
    .value-summary-section {
        padding: 40px 0;
    }
    
    .value-summary-card {
        padding: 0 20px;
    }
    
    .value-header {
        margin-bottom: 25px;
    }
    
    .value-header h2 {
        font-size: 28px;
    }
    
    .value-header p {
        font-size: 15px;
    }
    
    .value-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .total-calculation {
        flex-direction: column;
        gap: 15px;
    }
    
    .total-amount {
        font-size: 48px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-stats {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Comparison Table Mobile Optimization */
    .comparison-section {
        padding: 50px 0;
    }
    
    .section-header.centered {
        margin-bottom: 40px;
    }
    
    .section-header.centered h2 {
        font-size: 26px;
        padding: 0 10px;
    }
    
    .section-header.centered p {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .comparison-table-wrapper {
        overflow-x: auto;
        margin: 0 -20px 35px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        box-shadow: inset -15px 0 15px -15px rgba(0,0,0,0.05);
    }
    
    .rewards-comparison-table {
        min-width: 650px;
        font-size: 13px;
    }
    
    .rewards-comparison-table th {
        padding: 18px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .rewards-comparison-table td {
        padding: 18px 12px;
        font-size: 13px;
    }
    
    .benefit-name {
        min-width: 160px;
        font-size: 14px;
    }
    
    .subscriber-value,
    .onetime-value {
        font-size: 13px;
    }
    
    .checkmark,
    .cross {
        font-size: 16px;
        margin-right: 6px;
    }
    
    .value-note {
        font-size: 11px;
        margin-top: 3px;
    }
    
    .total-row td {
        font-size: 15px !important;
    }
    
    .total-value {
        font-size: 22px !important;
    }
    
    .comparison-cta {
        padding: 0 20px;
    }
    
    .comparison-note {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .btn-comparison {
        padding: 14px 32px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
    }
    
    .calculator-card {
        padding: 30px 20px;
    }
    
    .calculator-input {
        margin-bottom: 25px;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .spending-amount {
        font-size: 36px;
    }
    
    .progress-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
        gap: 30px;
    }
    
    .progress-icon {
        font-size: 48px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Additional Polish */
.section-header.centered {
    margin-bottom: 60px;
}

.section-header.centered h2 {
    font-size: 40px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header.centered p {
    font-size: 17px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.milestone-perks-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 25px auto 0;
    text-align: left;
}

.milestone-perks-list li {
    font-size: 17px;
    color: #333;
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.6;
}

.milestone-perks-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a7c59;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #4a7c59;
    background: #f8fdf9;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid #e0f2e4;
}
