/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #f59e0b;
    --secondary-hover: #d97706;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-dark: #111827;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    width: 100%;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

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

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

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Features Strip */
.features-strip {
    background: var(--background-alt);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.feature-icon {
    font-size: 1.25rem;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

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

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.category-card h3 {
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--background-alt);
}

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

.product-card {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.product-badge.bestseller {
    background: var(--primary-color);
}

.product-image {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 4rem;
}

.product-content {
    padding: 24px;
}

.product-title {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: var(--background-alt);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

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

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

.rating-text {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: var(--border-radius);
    padding: 48px;
    text-align: center;
    color: white;
    margin-top: 48px;
}

.cta-box h3 {
    margin-bottom: 12px;
}

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

/* Guide Section */
.guide {
    padding: 80px 0;
    background: var(--background);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.guide-card {
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    margin-bottom: 12px;
    color: var(--text-color);
}

.guide-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: var(--background-alt);
    border-top: 1px solid var(--border-color);
}

.seo-content h2 {
    margin-bottom: 24px;
    color: var(--text-color);
}

.seo-content h3 {
    margin: 32px 0 16px;
    color: var(--text-color);
}

.seo-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1rem;
}

.seo-content strong {
    color: var(--text-color);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 64px 0 32px;
}

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

.footer-brand .logo-icon,
.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-au {
    color: var(--primary-color);
}

.footer-tagline {
    color: #9ca3af;
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
}

.affiliate-disclosure {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        gap: 20px;
    }

    .feature {
        flex: 1 1 45%;
        justify-content: center;
    }

    .categories,
    .products,
    .guide,
    .seo-content {
        padding: 60px 0;
    }

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

    .cta-box {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 48px 0;
    }

    .feature {
        flex: 1 1 100%;
    }

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #374151;
        --border-color: #9ca3af;
    }
}
