/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #1a1a1a;
    --background-color: #f5f5f5;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --gradient-1: #6366f1;
    --gradient-2: #8b5cf6;
    --transition-speed: 0.3s;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(245, 245, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-scrolled {
    background: rgba(245, 245, 245, 0.95);
    box-shadow: var(--card-shadow);
}

.nav-brand {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    position: relative;
    padding: 0.5rem 0;
}

.nav-button {
    background: linear-gradient(
        135deg,
        var(--gradient-1),
        var(--gradient-2)
    );
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: none;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* Hero Section */
.hero {
    padding-top: clamp(7rem, 15vw, 10rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: clamp(1rem, 5vw, 2rem);
    padding-right: clamp(1rem, 5vw, 2rem);
    text-align: center;
    gap: 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    line-height: 1.1;
    text-shadow: var(--text-shadow);
    background: linear-gradient(135deg, var(--primary-color), #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradient 8s ease infinite;
}

@keyframes titleGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:first-child {
    background: var(--accent-color);
    color: white;
}

.cta-button:first-child:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: rgba(26, 26, 26, 0.05);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: rgba(26, 26, 26, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: clamp(2rem, 5vw, 4rem);
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    display: block;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.7;
}

/* Content */
.content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
}

/* Features Section */
.topics {
    width: 100%;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
}

.topics-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Posts/Courses */
.post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post:hover {
    transform: translateY(-5px);
}

.post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.gradient-bg {
    position: relative;
    height: 100%;
    filter: blur(20px) brightness(1.1);
    transform: scale(1.1);
    transition: all var(--transition-speed) ease;
    will-change: transform, filter;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(20px);
}

.post:hover .gradient-bg {
    filter: blur(15px) brightness(1.2);
    transform: scale(1.15);
}

.post-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.post-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.post-meta i {
    margin-right: 0.3rem;
}

.read-more {
    margin-top: auto;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-speed) ease;
}

.read-more:hover {
    transform: translateX(10px);
}

/* Featured Posts Grid */
.featured-posts {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.post-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.post-card-image {
    height: 200px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.post-card-content {
    padding: 1.5rem;
}

.post-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card-image {
        height: 180px;
    }
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    color: #fff;
    padding: 5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #a8b2d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.footer-desc {
    color: #a8b2d1;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #a8b2d1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-section a i {
    font-size: 1rem;
    opacity: 0.8;
}

.footer-section a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-section a:hover i {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #a8b2d1;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        position: relative;
    }

    .nav-links a:not(.nav-button) {
        display: none;
    }

    .nav-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-brand {
        font-size: 1.3rem;
    }

    .hero {
        padding-top: 8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .tech-icons {
        gap: 1.5rem;
    }
    
    .tech-item i {
        font-size: 1.8rem;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Add styles for larger screens */
@media (min-width: 769px) {
    .nav-links {
        display: flex;
        gap: clamp(1.5rem, 3vw, 2.5rem);
        align-items: center;
    }

    .nav-link {
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent-color);
        transition: width var(--transition-speed) ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Add styles for tech stack after hero section */
.tech-stack {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 4vw, 4rem);
    flex-wrap: wrap;
}

.tech-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

.tech-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--card-shadow);
}

.tech-item i {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    opacity: 0.8;
    transition: all var(--transition-speed) ease;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.tech-item:hover i {
    opacity: 1;
    color: var(--accent-color);
}

.tech-item:hover span {
    opacity: 1;
    color: var(--accent-color);
}

/* Add styles for tools meta info */
.post-meta .tools {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-meta .tools i {
    font-size: 1rem;
    color: var(--accent-color);
}

/* No Code Section */
.no-code-section {
    padding: 6rem clamp(1rem, 5vw, 4rem);
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.05),
        rgba(139, 92, 246, 0.05)
    );
}

.no-code-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.no-code-section .section-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    opacity: 0.8;
    max-width: 700px;
    margin: -1rem auto 4rem;
}

.no-code-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.no-code-feature {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed) ease;
}

.no-code-feature:hover {
    transform: translateY(-5px);
}

.no-code-feature i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.no-code-feature h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.no-code-feature p {
    opacity: 0.8;
    line-height: 1.6;
}

.no-code-cta {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .no-code-section {
        padding: 4rem 1rem;
    }
    
    .no-code-features {
        gap: 1.5rem;
    }
    
    .no-code-feature {
        padding: 1.5rem;
    }
}

/* Smooth scroll behavior for anchor links */
html {
    scroll-padding-top: 100px; /* Accounts for fixed header */
    scroll-behavior: smooth;
}

/* Loading state for interactive elements */
.cta-button, .nav-button {
    position: relative;
    overflow: hidden;
}

.cta-button::after, .nav-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:active::after, .nav-button:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Reviews Section */
.reviews-section {
    width: 100%;
    padding: 6rem 0;
    background: white;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.reviewer-title {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.review-content {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--primary-color);
    opacity: 0.9;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.review-date {
    font-size: 0.9rem;
    opacity: 0.6;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-left: auto;
}

.review-source i {
    font-size: 1.1rem;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.review-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 4rem 0;
    }

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

    .review-card {
        padding: 1.5rem;
    }
}

/* Quote decorations */
.review-content::before {
    content: '"';
    position: absolute;
    left: -2.5rem;
    top: -0.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

@media (max-width: 768px) {
    .topics, .reviews-section {
        padding: 4rem 0;
    }
}

/* Topics Section */
.topics-section {
    width: 100%;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
}

.topics-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Reviews Section */
.reviews-section {
    width: 100%;
    padding: 6rem 0;
    background: white;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

@media (max-width: 768px) {
    .topics-section,
    .reviews-section {
        padding: 4rem 0;
    }
}

.review-banner {
    background: linear-gradient(135deg, #2d46b9, #1e308a);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-banner p {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.linkedin-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #0077b5;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.linkedin-cta:hover {
    transform: translateY(-2px);
}

.blur-overlay {
    filter: blur(4px);
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.view-all:hover {
    opacity: 0.8;
}

#featuredPostsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post:hover {
    transform: translateY(-5px);
}

.post-image {
    height: 200px;
    background: var(--gradient-bg);
}

.post-content {
    padding: 1.5rem;
}

.post-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #featuredPostsContainer {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 180px;
    }
}

.showcase-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #fff, #f5f5f5);
}

.showcase-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.showcase-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.website-preview {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    background: #f8f9fa;
    overflow: hidden;
}

.website-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.showcase-item:hover .preview-overlay {
    opacity: 1;
}

.preview-link {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.showcase-item:hover .preview-link {
    transform: translateY(0);
}

.showcase-content {
    padding: 2rem;
}

.showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.showcase-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tags span {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .showcase-section {
        padding: 4rem 1rem;
    }

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

    .website-preview {
        padding-top: 75%; /* 4:3 Aspect Ratio for mobile */
    }
}

/* Fallback for when iframe loading fails */
.website-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    z-index: -1;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state for hamburger */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Update mobile media query */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(245, 245, 245, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block !important;
        font-size: 1.2rem;
        opacity: 0;
        transform: translateX(50px);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
        transition: all 0.3s ease;
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }

    .nav-button {
        margin-top: 1rem;
    }
} 