/* Internet Marketing Grid - Tech Affiliate Website Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667EEA;
    --secondary-color: #764BA2;
    --accent-color: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --danger-color: #EF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

/* Disclosure Banner */
.disclosure-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
}

.disclosure-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Header */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon, .menu-toggle {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.icon:hover, .menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Categories Section */
.categories {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--text-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-label {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-desc {
    color: var(--text-light);
    font-size: 14px;
}

/* Products Section */
.products {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.placeholder-img {
    font-size: 80px;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editor-choice {
    background: var(--accent-color);
    color: white;
}

.bestseller {
    background: var(--success-color);
    color: white;
}

.trending {
    background: var(--primary-color);
    color: white;
}

.new {
    background: var(--danger-color);
    color: white;
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-rating {
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 12px;
}

.review-count {
    color: var(--text-light);
    font-size: 13px;
    font-weight: normal;
}

.product-excerpt {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    margin-bottom: 20px;
}

.price-label {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--success-color);
    margin-right: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 18px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    color: var(--primary-color);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    transition: color 0.3s;
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

/* Latest Reviews Section */
.latest-reviews {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.review-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.review-content {
    padding: 25px;
}

.review-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.review-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.review-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Trust Section */
.trust-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--bg-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.trust-card {
    text-align: center;
    padding: 30px 20px;
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
}

.trust-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.trust-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 5%;
    text-align: center;
    color: white;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 18px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto 15px;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    border-radius: 8px;
}

.newsletter-form button {
    background: white;
    color: var(--primary-color);
    padding: 16px 35px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.newsletter-note {
    font-size: 13px;
    opacity: 0.8;
}

.newsletter-note a {
    color: white;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-column p {
    color: #D1D5DB;
    margin-bottom: 15px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
}

.disclaimer {
    font-size: 13px;
    font-style: italic;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .category-grid,
    .product-grid,
    .reviews-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    nav {
        padding: 15px 5%;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .categories,
    .products,
    .latest-reviews,
    .trust-section {
        padding: 50px 5%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}