/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    font-family: inherit;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-deal {
    background: var(--success);
    color: var(--white);
}

.btn-deal:hover {
    background: #059669;
    color: var(--white);
    transform: translateY(-1px);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    color: var(--gray-900);
    white-space: nowrap;
}

.logo:hover {
    color: var(--gray-900);
}

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

.logo-text strong {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px;
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
}

/* Nav Search */
.nav-search {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 0 4px 0 12px;
    margin-left: auto;
}

.nav-search input {
    border: none;
    background: transparent;
    padding: 8px 4px;
    font-size: 0.85rem;
    width: 160px;
    font-family: inherit;
    outline: none;
}

.nav-search button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--gray-400);
    display: flex;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 50%, #f5f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

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

.stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 80px 0;
}

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

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    color: var(--gray-800);
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--gray-800);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.category-count {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: 12px;
}

/* ===== REVIEW CARDS ===== */
.featured-reviews {
    padding: 80px 0;
    background: var(--gray-50);
}

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

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

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

.review-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-image-placeholder {
    font-size: 4rem;
    opacity: 0.6;
}

.review-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--primary);
    color: var(--white);
}

.review-badge.best-choice {
    background: var(--accent);
    color: var(--gray-900);
}

.review-badge.price-tip {
    background: var(--success);
    color: var(--white);
}

.review-content {
    padding: 20px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-date {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.review-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.review-content h3 a {
    color: var(--gray-900);
}

.review-content h3 a:hover {
    color: var(--primary);
}

.review-content > p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--gray-300);
    font-size: 1rem;
}

.star.filled {
    color: var(--accent);
}

.star.half {
    color: var(--accent);
    opacity: 0.6;
}

.rating-score {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.9rem;
}

.review-pros {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.pro {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 12px;
    font-weight: 500;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.review-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

/* ===== COMPARISON ===== */
.comparison-section {
    padding: 80px 0;
}

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

.comparison-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.comparison-card:hover {
    box-shadow: var(--shadow-lg);
}

.comparison-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.comparison-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--gray-50);
}

.comparison-item.winner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.rank {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--gray-400);
    min-width: 28px;
}

.comparison-item.winner .rank {
    color: var(--primary);
}

.item-info {
    flex: 1;
}

.item-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.item-score {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.item-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-700);
    white-space: nowrap;
}

/* ===== DEALS ===== */
.deals-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.deal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

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

.deal-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    z-index: 1;
}

.deal-image-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    opacity: 0.7;
}

.deal-content {
    padding: 20px;
}

.deal-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.deal-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.deal-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.old-price {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--danger);
}

/* ===== HOW WE REVIEW ===== */
.how-we-review {
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}

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

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    border-color: rgba(255,255,255,0.6);
}

.newsletter-form .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.newsletter-form .btn-primary:hover {
    background: var(--gray-100);
}

.newsletter small {
    opacity: 0.6;
    font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 0;
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
}

.affiliate-disclosure {
    background: rgba(255,255,255,0.05);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.affiliate-disclosure p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.affiliate-disclosure a {
    color: var(--gray-300);
    text-decoration: underline;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.85rem;
    flex: 1;
    color: var(--gray-300);
}

.cookie-content a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-actions .btn-outline {
    color: var(--white);
    border-color: var(--gray-500);
}

.cookie-actions .btn-outline:hover {
    background: var(--gray-700);
    border-color: var(--gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-search {
        display: none;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat strong {
        font-size: 1.35rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-meta {
        flex-direction: column;
        gap: 4px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
