/* ================================
   YeetOrKeep Deals - Sleek Affiliate Site
   ================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   Affiliate Disclosure Banner
   ================================ */
.affiliate-disclosure {
    background: var(--dark-lighter);
    padding: 10px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.affiliate-disclosure a {
    color: var(--primary);
    text-decoration: none;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
}

.logo-badge {
    background: var(--gradient);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    padding: 80px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
}

/* Hero Visual - Comparison Cards */
.hero-visual {
    display: flex;
    align-items: center;
    gap: 20px;
}

.comparison-card {
    background: var(--dark-lighter);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 180px;
    box-shadow: var(--shadow-xl);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
}

.card-header.bad { color: var(--danger); }
.card-header.good { color: var(--success); }

.card-header .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.card-flags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flag {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.flag.red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.flag.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.arrow {
    font-size: 32px;
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.5; transform: translateX(5px); }
}

/* ================================
   Categories Section
   ================================ */
.categories {
    padding: 80px 0;
    background: var(--dark-lighter);
}

.categories h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.category-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.category-name {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.category-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* ================================
   Trending Products Section
   ================================ */
.trending {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* Product Card */
.product-card {
    background: var(--dark-lighter);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.product-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-verdict {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-verdict.suspect {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.product-verdict.caution {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.product-verdict.legit {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.original-product {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.product-summary {
    font-size: 14px;
    color: var(--light);
    line-height: 1.5;
}

.alternatives-section {
    padding: 20px;
}

.alternatives-title {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alternative-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--dark);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all 0.2s;
}

.alternative-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

.alternative-info {
    flex: 1;
}

.alternative-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.alternative-price {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
}

.per-unit {
    color: var(--gray);
    font-weight: 400;
    margin-left: 6px;
}

.buy-button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.buy-button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.savings-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dark-lighter);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================
   How It Works Section
   ================================ */
.how-it-works {
    padding: 80px 0;
    background: var(--dark-lighter);
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.step p {
    color: var(--gray);
    font-size: 14px;
}

/* ================================
   Bot CTA Section
   ================================ */
.bot-cta {
    padding: 100px 0;
    text-align: center;
}

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

.cta-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
}

.footer-disclosure h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--white);
}

.footer-disclosure p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-visual {
        flex-direction: column;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}
