/* --- Global Styles & AI Theme Setup --- */
:root {
    /* Define Core Theme Colors (Dark Mode Aesthetic with Bright Accents) */
    --color-background: #0D1117; /* Deep Charcoal/Black */
    --color-text-primary: #f0f6fc; /* Light Gray/White */
    --color-text-secondary: #8b949e; /* Faded Gray */
    --color-accent-blue: #0077ff; /* Primary Action Blue */
    --color-accent-magenta: #ff0077; /* Secondary Neon Accent */
    --color-border: #30363d; /* Subtle Divider */
    --font-primary: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
}

/* --- Utility & Typography --- */
h1, h2, h3, h4 {
    font-weight: 800; /* Bold Typography Trend */
    line-height: 1.2;
}

h2 { font-size: 3rem; }
h3 { font-size: 2rem; margin-bottom: 2rem; }
h4 { font-size: 1.5rem; }

section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gradient-text {
    /* Futuristic Gradient/Neon Effect */
    background: linear-gradient(90deg, var(--color-accent-blue) 0%, var(--color-accent-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overline-text {
    color: var(--color-accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.large {
    background-color: var(--color-accent-blue);
    color: var(--color-background);
    border: 2px solid var(--color-accent-blue);
    padding: 12px 30px;
}

.cta-button.large:hover {
    background-color: var(--color-accent-magenta);
    border-color: var(--color-accent-magenta);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-accent-blue);
    border: 2px solid var(--color-accent-blue);
}

.cta-button.secondary:hover {
    background-color: rgba(0, 119, 255, 0.1);
    color: var(--color-accent-blue);
}

/* --- 1. Header/Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-background);
    backdrop-filter: blur(10px);
}

.logo-container {
    /* Ensures the logo and any potential text stay aligned */
    display: flex;
    align-items: center;
}

.logo-symbol {
    /* FIX FOR LOGO STRAIGHTNESS AND SIZE */
    /* Standard logo height for a navigation bar */
    height: 90px; 
    width: auto; /* Maintain aspect ratio */
    
    /* Ensure it behaves like a standard element */
    display: block; 
    
    /* Reset any transformation that could cause skewing */
    transform: none; 
    
    /* Remove large, unnecessary margin from the original file */
    margin-right: 0; 
}

nav a {
    color: var(--color-text-primary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-accent-blue);
}

/* --- 2. Hero Section --- */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 5;
}

.hero-content h2 {
    font-size: 4.5rem;
    margin: 1rem 0;
}

.hero-content .sub-text {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Futuristic Abstract Visual (CSS Animation/Style) */
.abstract-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 70% 30%, rgba(0, 119, 255, 0.1), transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(255, 0, 119, 0.1), transparent 50%);
    animation: pulse 10s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

/* --- 3. Video Archive Section --- */
.video-archive-section {
    text-align: center;
    background-color: #161B22; /* Slightly Lighter Dark Background */
    border-radius: 12px;
    margin-bottom: 80px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    text-align: left;
    transition: border-color 0.3s;
}

.video-card:hover {
    border-color: var(--color-accent-blue);
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* --- 4. Blogs/News Section --- */
.blog-section {
    text-align: center;
}

.blog-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-post-card {
    text-align: left;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.blog-post-card:hover {
    background-color: #1e242d;
}

.post-meta {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.blog-post-card h4 {
    color: var(--color-accent-blue);
    margin-bottom: 10px;
}

.blog-post-card a {
    color: var(--color-accent-magenta);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 15px;
}

/* --- 5. Footer --- */
footer {
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-accent-blue);
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    .hero-content h2 {
        font-size: 3rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .abstract-visual {
        display: none; /* Hide complex animation on small screens for performance */
    }
    .main-header {
        flex-direction: column;
    }
    nav {
        margin-top: 15px;
    }
    nav a {
        margin: 0 10px;
    }
}