/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: linear-gradient(135deg, #0F0A1E 0%, #1E1B4B 50%, #312E81 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #F8FAFC;
    text-decoration: none;
}

.nav-logo svg {
    animation: float 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #E2E8F0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: #6366F1;
    background: rgba(99, 102, 241, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #0F0A1E 0%, #1E1B4B 50%, #312E81 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #CBD5E1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(248, 250, 252, 0.1);
    color: #F8FAFC;
    border: 2px solid rgba(248, 250, 252, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(248, 250, 252, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6366F1;
    border: 2px solid #6366F1;
}

.btn-outline:hover {
    background: #6366F1;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual svg {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Feature Sections */
.feature-section {
    padding: 6rem 2rem;
    background: #F8FAFC;
    position: relative;
}

.feature-section.alternate {
    background: #EFF6FF;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-section.alternate .section-content {
    grid-template-columns: 1fr 1fr;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    color: #374151;
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '🥔';
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.section-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-visual svg {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 1rem;
}

/* Blog Preview Section */
.blog-preview {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    color: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #CBD5E1;
    margin-bottom: 3rem;
}

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

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

.blog-card {
    background: rgba(248, 250, 252, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 250, 252, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.blog-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #F8FAFC;
}

.blog-card p {
    color: #CBD5E1;
    line-height: 1.6;
}

/* Related Articles Styling */
.article-body a[href*="../"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.blog-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: #0F0A1E;
    color: #CBD5E1;
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h4 {
    color: #F8FAFC;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #6366F1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #6B7280;
}

/* Mars Hero Specific Styles */
.mars-hero {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #7F1D1D 100%);
}

.mars-hero::before {
    background: radial-gradient(circle at 30% 80%, rgba(220, 38, 38, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(185, 28, 28, 0.2) 0%, transparent 50%);
}

/* Video Section */
.video-section {
    padding: 6rem 2rem;
    background: #F8FAFC;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1rem;
}

/* Blog Styles */
.blog-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    color: white;
    text-align: center;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: #CBD5E1;
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    padding: 6rem 2rem;
    background: #F8FAFC;
}

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

.blog-post-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #6366F1;
}

.blog-post-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.blog-post-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
}

.blog-post-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-card h3 a:hover {
    color: #6366F1;
}

.blog-post-excerpt {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9CA3AF;
}

.blog-date {
    font-weight: 500;
}

.blog-category {
    background: #EEF2FF;
    color: #6366F1;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
}

/* Article Styles */
.blog-article {
    background: white;
}

.article-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    color: white;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.article-category {
    background: rgba(99, 102, 241, 0.2);
    color: #A5B4FC;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 500;
}

.article-date {
    color: #CBD5E1;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #CBD5E1;
    line-height: 1.6;
    max-width: 800px;
}

.article-content {
    padding: 4rem 2rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.article-body h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1F2937;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

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

.article-cta {
    background: #F3F4F6;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.article-cta p {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #4B5563;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-section.alternate .section-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        padding-bottom: 56.25%;
        margin: 0 -1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .feature-section {
        padding: 4rem 1rem;
    }
    
    .blog-section {
        padding: 4rem 1rem;
    }
    
    .article-content {
        padding: 2rem 1rem;
    }
    
    .article-body {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
}