html{scroll-behavior:smooth}.hero{background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;text-align:center;padding:6rem 2rem;border-radius:12px;animation:fadeIn 1s ease}.hero h1{font-size:2.5rem;margin-bottom:1rem}.hero .subtitle{font-size:1.2rem;margin-bottom:2rem}.hero .cta-buttons{display:flex;justify-content:center;gap:1rem}.hero .cta-buttons .btn{padding:.8rem 2rem;border-radius:6px;font-weight:600;text-decoration:none;transition:transform .3s}.hero .cta-buttons .btn:hover{transform:scale(1.05)}.hero .cta-buttons .primary{background:#fff;color:#4f46e5}.hero .cta-buttons .secondary{background:#fff3;color:#fff}.featured-posts{margin-top:4rem;text-align:center}.featured-posts h2{font-size:2rem;margin-bottom:2rem}.featured-posts .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.featured-posts .grid .card{background:#f9fafb;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000000d;transition:transform .3s ease,box-shadow .3s ease}.featured-posts .grid .card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #0000001a}.featured-posts .grid .card .image-container{position:relative}.featured-posts .grid .card .image-container img{width:100%;height:160px;object-fit:cover}.featured-posts .grid .card .image-container .trending{position:absolute;top:8px;left:8px;background:#ef4444;color:#fff;padding:.2rem .6rem;border-radius:4px;font-size:.8rem;font-weight:600}.featured-posts .grid .card .card-content{padding:1rem}.featured-posts .grid .card .card-content h3{margin-bottom:.5rem;color:#4f46e5}.featured-posts .grid .card .card-content p{margin-bottom:.5rem;color:#374151}.featured-posts .grid .card .card-content .author-info{font-size:.85rem;color:#6b7280;margin-bottom:1rem}.featured-posts .grid .card .card-content .btn.secondary{background:#e5e7eb;color:#4f46e5;padding:.5rem 1rem;border-radius:6px;font-weight:600;text-decoration:none}.featured-posts .grid .card .card-content .btn.secondary:hover{background:#dbeafe}.categories{margin-top:4rem;text-align:center}.categories h2{font-size:2rem;margin-bottom:1rem}.categories .category-list{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.categories .category-list .category{background:#f3f4f6;padding:.5rem 1rem;border-radius:6px;text-decoration:none;color:#4f46e5;font-weight:600;display:flex;align-items:center;gap:.5rem;transition:transform .3s,background .3s}.categories .category-list .category:hover{background:#e0e7ff;transform:translateY(-2px)}.categories .category-list .category .icon{font-size:1.2rem}.newsletter-cta{margin-top:4rem;text-align:center;background:#4f46e5;color:#fff;padding:3rem 2rem;border-radius:12px}.newsletter-cta h2{font-size:2rem;margin-bottom:1rem}.newsletter-cta p{margin-bottom:1.5rem}.newsletter-cta .cta-form{display:flex;justify-content:center;gap:.5rem}.newsletter-cta .cta-form input{padding:.8rem 1rem;border-radius:6px;border:none;width:250px}.newsletter-cta .cta-form .btn.primary{padding:.8rem 2rem;font-weight:600}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.hero h1{font-size:2rem}.featured-posts .grid{grid-template-columns:1fr}.categories .category-list,.newsletter-cta .cta-form{flex-direction:column}}.latest-articles{margin-top:4rem;text-align:center}.latest-articles h2{font-size:2rem;margin-bottom:2rem}.latest-articles .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.latest-articles .grid .card{background:#f9fafb;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000000d;transition:transform .3s ease,box-shadow .3s ease}.latest-articles .grid .card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #0000001a}.latest-articles .grid .card .image-container img{width:100%;height:160px;object-fit:cover}.latest-articles .grid .card .card-content{padding:1rem}.latest-articles .grid .card .card-content h3{margin-bottom:.5rem;color:#4f46e5}.latest-articles .grid .card .card-content p{margin-bottom:.5rem;color:#374151}.latest-articles .grid .card .card-content .author-info{font-size:.85rem;color:#6b7280;margin-bottom:1rem}.latest-articles .grid .card .card-content .btn.secondary{background:#e5e7eb;color:#4f46e5;padding:.5rem 1rem;border-radius:6px;font-weight:600;text-decoration:none}.latest-articles .grid .card .card-content .btn.secondary:hover{background:#dbeafe}.latest-articles .load-more{margin-top:2rem}.latest-articles .load-more .btn.primary{padding:.8rem 2rem;font-weight:600}@media (max-width:768px){.latest-articles .grid{grid-template-columns:1fr}}
