/* --- Base Variables --- */
:root {
    --bg-main: #0f1115;
    --bg-secondary: #1a1d24;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-color: #3b82f6;
    --accent-hover: #60a5fa;
    --border-color: #334155;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Native smooth scrolling for anchor links */
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* --- Typography & Layout Helpers --- */
.section-padding {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-large {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* --- Hero Section --- */
#hero {
    padding: 12rem 2rem 8rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

#hero .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* --- Grids & Cards --- */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card, .feature-box {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.custom-list {
    list-style: none;
}

.custom-list li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.custom-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* --- Media (Images & Videos) --- */
.media-container {
    text-align: center;
    margin: 2rem 0;
}

.responsive-img, .responsive-video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.video-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 6rem 2rem 4rem 2rem;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.copyright {
    margin-top: 4rem;
    font-size: 0.85rem;
    color: #475569;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 900px) {
    .grid-2-col, .grid-3-col, .video-grid {
        grid-template-columns: 1fr;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none; /* In a full build, this would toggle via JS. Hidden for minimal clean UI on narrowest screens if no hamburger is present, but let's keep them wrapping instead */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    header {
        position: static; /* Prevent overlap on small screens with wrapping menus */
    }
    
    #hero {
        padding-top: 4rem;
    }
}