/* 
 * Iniyaradhi - Divine & Elegant Design System v3.0 (Restored)
 */

:root {
    --gold-primary: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E0A5 100%);
    --navy-deep: #0A1128;
    --slate-text: #334155;
    --parchment: #FDFBF7;
    --pure-white: #FFFFFF;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-divine: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    --inner-light: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

    --container-max: 1200px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--parchment);
    color: var(--slate-text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Restored & Fixed */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-weight: 950;
    font-size: 1.4rem;
    letter-spacing: 5px;
    color: var(--navy-deep);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--slate-text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .logo a { font-size: 1.2rem; letter-spacing: 3px; }
    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-action { display: none; } /* Hide large button on mobile header */
}

.main-nav a:hover { color: var(--gold-primary); }

.gold-text { color: var(--gold-primary); }

/* Cinematic Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--navy-deep);
    text-align: center;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 17, 40, 0.5), rgba(10, 17, 40, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: white;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 950;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-tagline {
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.btn-premium {
    background: var(--gold-gradient);
    color: var(--navy-deep);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 100px 0;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-divine);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body { padding: 40px; }

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-card h3 a {
    text-decoration: none;
    color: var(--navy-deep);
    transition: color 0.3s;
}

.article-card h3 a:hover {
    color: var(--gold-primary);
}

/* Minimalist Footer Redesign */
.site-footer {
    background: var(--navy-deep);
    color: white;
    padding: 100px 0 60px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 950;
    letter-spacing: 5px;
    color: var(--gold-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-label {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-bottom: 15px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.site-footer a:hover {
    color: var(--gold-primary) !important;
    padding-left: 5px;
}

.social-link {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-primary) !important;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

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

/* Restoring the Neural Lab & Circadian Styles */
.neural-night { background-color: #050811; color: white; }
.glossary-term { border-bottom: 2px dotted var(--gold-primary); cursor: help; font-weight: 600; }
