:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --bg-warm: #fffbeb;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

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

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.025em;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

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

.nav-links .shop-link {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.nav-links .shop-link:hover {
    background: var(--primary-dark);
    color: white;
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.home-page {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.hero .hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero .badge {
    background: rgba(255,255,255,0.2);
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.featured-articles h2,
.cta-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

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

.article-card {
    padding: 1.75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

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

.article-card:hover::before {
    transform: scaleY(1);
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text);
    transition: color 0.2s;
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    align-items: center;
}

.category {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-light);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.date {
    color: var(--text-muted);
}

.article-content {
    grid-column: 1;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.article-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.875rem;
}

.article-body {
    line-height: 1.8;
    font-size: 1.0625rem;
}

.article-body h2 {
    margin: 2rem 0 1rem;
}

.article-body h3 {
    margin: 1.5rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body code {
    background: var(--bg-alt);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.article-body pre {
    background: var(--bg-alt);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.article-body pre code {
    background: none;
    padding: 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.share-buttons a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: var(--text);
}

.share-buttons a:hover {
    background: var(--bg-alt);
}

.cta-box {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.cta-box h3 {
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-decoration: none;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.sidebar {
    grid-column: 2;
}

.widget {
    margin-bottom: 2rem;
}

.widget h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-list,
.category-list {
    list-style: none;
}

.article-list li,
.category-list li {
    margin-bottom: 0.75rem;
}

.article-list a,
.category-list a {
    color: var(--text);
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius-lg);
    margin-top: 4rem;
    border: 2px solid var(--accent);
    position: relative;
}

.cta-section::before {
    content: '⚡';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cta-section h2 {
    font-size: 2rem;
    color: #92400e;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: #b45309;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.site-footer {
    background: var(--text);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.site-footer .footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.site-footer a:hover {
    opacity: 1;
    color: white;
}

.site-footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .sidebar {
        display: none;
    }
    
    .hero {
        padding: 2.5rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-section {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-cta .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.floating-cta .cta-button::before {
    content: '🚀 ';
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    z-index: 1001;
    transition: width 0.1s;
}

.product-highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.product-highlight h3 {
    color: #0369a1;
    margin-bottom: 0.5rem;
}

.product-highlight p {
    color: #075985;
    margin-bottom: 1rem;
}

.product-highlight .price {
    font-size: 2rem;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.product-highlight .price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.trust-badges .badge::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

.article-card .preview-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.read-time::before {
    content: '⏱';
    font-size: 0.75rem;
}