/* ===============================================
   C.R.I. PICKS - Unified Design Enhancements
   Additional styles to ensure consistency across all pages
   =============================================== */

/* Hero Image Slider */
.hero-slider {
    position: relative;
    height: 380px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.slide-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: var(--spacing-md);
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

.slider-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-control.prev {
    left: var(--spacing-lg);
}

.slider-control.next {
    right: var(--spacing-lg);
}

.slider-control i {
    width: 24px;
    height: 24px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Compact Newsletter Section */
.newsletter-compact {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
    padding: var(--spacing-lg) 0;
}

.newsletter-compact-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-xl);
    align-items: center;
}

.newsletter-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.newsletter-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-compact-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-compact-form input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    min-width: 200px;
}

.newsletter-compact-form button {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-compact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .newsletter-compact-form {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .newsletter-compact-form input {
        min-width: 180px;
    }
}

/* Site-wide font update */
body, 
.container, 
.nav-link, 
.btn, 
.section-title, 
.section-subtitle,
p, 
span {
    font-family: 'Space Grotesk', sans-serif !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .slide-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        padding: 0 var(--spacing-md);
    }
    
    .slider-control {
        padding: var(--spacing-sm);
    }
    
    .slider-control.prev {
        left: var(--spacing-sm);
    }
    
    .slider-control.next {
        right: var(--spacing-sm);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Enhanced button styles */
.btn-large {
    padding: var(--spacing-lg) var(--spacing-xxl);
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-gold {
    background: var(--secondary);
    color: var(--primary-dark);
    border: 2px solid var(--secondary-dark);
}

.btn-gold:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced stats grid */
.track-record {
    padding: var(--spacing-xxl) 0;
    background: var(--background);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    background: white;
    padding: var(--spacing-xxl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 0 auto var(--spacing-md);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.stat-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Enhanced free pick section */
.free-pick {
    padding: var(--spacing-xxl) 0;
    background: var(--surface);
}

/* Enhanced how it works section */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.step-card {
    background: white;
    padding: var(--spacing-xxl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.step-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin: var(--spacing-lg) auto;
}

.step-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced pricing section */
.pricing-preview {
    padding: var(--spacing-xxl) 0;
    background: var(--surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.pricing-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Roboto Mono', monospace;
}

.period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: var(--spacing-xl);
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.pricing-features i {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Enhanced testimonials */
.testimonials {
    padding: var(--spacing-xxl) 0;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.testimonial-stars {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.testimonial-stars i {
    width: 16px;
    height: 16px;
    color: var(--border-color);
}

.testimonial-stars .filled {
    color: var(--secondary);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-size: 1.125rem;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.testimonial-author strong {
    color: var(--primary-dark);
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Enhanced tracks section */
.tracks {
    padding: var(--spacing-lg) 0;
    background: var(--surface);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.track-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.track-card.featured {
    border-color: var(--primary);
}

.track-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--primary-light);
}

.track-card h3 {
    color: var(--primary-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm);
    padding: 0 var(--spacing-lg);
}

.track-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-lg);
}

/* Premium Track Overlay Effects */
.track-card:not(.featured) {
    position: relative;
}

.track-card:not(.featured)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 215, 0, 0.03) 0%, 
        rgba(255, 215, 0, 0.08) 50%, 
        rgba(255, 215, 0, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-lg);
}

.track-card:not(.featured):hover::before {
    opacity: 1;
}

.track-card:not(.featured)::after {
    content: '🔒 Premium Track - Subscribe to Access';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--secondary), #FFE082);
    color: var(--primary-dark);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-align: center;
    line-height: 1.4;
    min-width: 200px;
}

.track-card:not(.featured):hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.02);
}

/* Enhanced featured track styling */
.track-card.featured .track-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
}

.track-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(46, 125, 50, 0.02) 0%, 
        rgba(46, 125, 50, 0.05) 50%, 
        rgba(46, 125, 50, 0.02) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: var(--radius-lg);
}

.track-card.featured:hover::before {
    opacity: 1;
}

/* Track card content positioning for overlays */
.track-card > div {
    position: relative;
    z-index: 1;
}

.badge-active {
    background: var(--success);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    display: inline-block;
}

.badge-soon {
    background: var(--warning);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    display: inline-block;
}

/* Enhanced newsletter section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 2rem;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    min-width: 200px;
}

.newsletter-input:focus {
    outline: 2px solid var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-grid,
    .steps-grid,
    .pricing-grid,
    .testimonials-grid,
    .tracks-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        min-width: auto;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: var(--spacing-xl) 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .step-card,
    .stat-card,
    .pricing-card,
    .testimonial-card,
    .track-card {
        padding: var(--spacing-md);
    }
}

/* ===============================================
   Consistency Fixes for All Pages
   =============================================== */

/* Unified Page Header Styling - Light Gray Background */
.page-header {
    background: var(--background) !important;
    color: var(--text-primary) !important;
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    color: var(--text-primary) !important;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.page-header p {
    color: var(--text-secondary) !important;
    font-size: 1.125rem;
}

/* Unified Navigation Active State with Orange Underline */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 1px;
}