.blog-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, #0F1729 0%, #1a2438 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(99, 102, 241, 0.05) 0%,
        rgba(99, 102, 241, 0.02) 25%,
        transparent 50%
    );
    animation: gradientMove 8s ease-in-out infinite;
}

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

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.blog-title {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.blog-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #94A3B8;
    margin-bottom: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blog-meta {
    color: #94A3B8;
    font-size: 14px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.8;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
    color: #E2E8F0;
    font-size: 18px;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 24px;
    color: #CBD5E1;
}

.blog-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 64px 0 32px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.feature-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-box h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-box p {
    color: #94A3B8;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.blog-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 24px;
    margin: 48px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    display: block;
    object-fit: cover;
}

.blog-image:hover {
    transform: scale(1.02);
}

.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    margin: 64px 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.cta-section h2 {
    margin-top: 0;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .blog-image {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        border-radius: 0;
        max-width: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0 8px;
    }

    .blog-meta {
        padding: 0 16px;
    }

    .cta-section {
        margin: 32px -16px;
        padding: 32px 16px;
        border-radius: 0;
    }

    .blog-content {
        padding: 60px 16px;
    }
}

/* Fix mobile side scrolling */
body {
    overflow-x: hidden;
    width: 100%;
    margin-top: 80px;
}

/* Ensure all containers respect padding */
* {
    box-sizing: border-box;
}

/* Add these header styles to blog.css */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 41, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(15, 23, 41, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
}

.nav-links a:not(.waitlist-btn):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.waitlist-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #94A3B8;
    padding: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 41, 0.98);
        padding: 16px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .waitlist-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Blog Post Mobile Navigation Styles */
.mobile-nav {
    display: none;
    background: #0F1024;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-logo img {
    width: 24px;
    height: 24px;
}

.mobile-logo-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-button {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 16, 36, 0.95);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.mobile-menu-link {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    padding: 8px 16px;
}

.mobile-menu-link.active {
    background: rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    color: #A855F7;
}

.waitlist-btn {
    background: #6366F1;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    header nav {
        display: none !important;
    }

    .mobile-nav {
        display: block;
    }

    .blog-hero {
        padding-top: 20px;
    }

    .blog-title {
        font-size: 28px;
    }

    .blog-subtitle {
        font-size: 16px;
    }
}