
/* --- THEME 001: NEXUS MASTER TEMPLATE (DETERMINISTIC & FOOTPRINT-FREE) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #ff3c00;
    --secondary: #ff9900;
    --bg-main: #0f0505;
    --bg-alt: #1a0c0c;
    --bg-dark-section: #08080c;
    --accent-glow: rgba(255, 60, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border-color: #2a2a35;
    
    --font-sans: 'Inter', sans-serif;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --shadow-hover: 0 8px 40px rgba(255, 60, 0, 0.15);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Reset & Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.nx-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 0.5em; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
img { max-width: 100%; display: block; }

/* Navigation */
.nx-site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 10, 15, 0.8); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nx-logo-text {
    font-size: 1.5rem; font-weight: 800; letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nx-nav-link { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); position: relative; padding: 0.5rem 0; }
.nx-nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width var(--transition-base);
    box-shadow: 0 0 10px var(--accent-glow);
}
.nx-nav-link:hover { color: var(--text-primary); }
.nx-nav-link:hover::after { width: 100%; }

/* Hero Section */
.nx-hero-section {
    padding: 10rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-alt) 100%);
    position: relative; overflow: hidden;
}
.nx-hero-section::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 60, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.nx-site-title {
    font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #a0a0b0 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em; text-align: center;
}
.nx-btn-hero-primary {
    display: inline-flex; align-items: center; padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg-main); font-weight: 600; font-size: 0.875rem;
    border-radius: var(--radius); transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(255, 60, 0, 0.3);
    border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em;
}

/* Grid & Cards */
.nx-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2.5rem; padding: 4rem 0; }
.nx-article-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color);
    border-radius: var(--radius); overflow: hidden; transition: all var(--transition-base);
    display: flex; flex-direction: column;
}
.nx-article-card:hover { transform: translateY(-8px); border-color: rgba(255, 60, 0, 0.3); box-shadow: var(--shadow-hover); }
.nx-card-img { width: 100%; height: 240px; object-fit: cover; transition: transform var(--transition-slow); }
.nx-article-card:hover .nx-card-img { transform: scale(1.05); }
.nx-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.nx-card-meta {
    display: inline-block; padding: 0.25rem 0.75rem; background: rgba(255, 60, 0, 0.1);
    color: var(--primary); font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    border-radius: 9999px; border: 1px solid rgba(255, 60, 0, 0.2); margin-bottom: 1rem; width: fit-content;
}
.nx-card-title-link { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; display: block; }
.nx-article-card:hover .nx-card-title-link { color: var(--primary); }
.nx-card-excerpt { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.nx-card-read-more { color: var(--primary); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 0.5rem; }

/* Squad/Experts */
.nx-bg-dark-section { background-color: var(--bg-dark-section); padding: 6rem 0; position: relative; }
.nx-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.nx-squad-card {
    text-align: center; padding: 3rem 2rem; background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color); border-radius: var(--radius); transition: all var(--transition-base);
}
.nx-squad-img-container {
    width: 120px; height: 120px; margin: 0 auto 1.5rem; border-radius: 50%; overflow: hidden;
    background: linear-gradient(var(--bg-dark-section), var(--bg-dark-section)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border: 3px solid transparent; box-shadow: 0 0 20px rgba(255, 60, 0, 0.2);
}
.nx-squad-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nx-squad-card:hover .nx-squad-img { transform: scale(1.1); }
.nx-squad-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.nx-squad-role { color: var(--primary); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Discussion Section */
.nx-discussion-section { padding: 5rem 0; background-color: var(--bg-alt); border-top: 1px solid var(--border-color); }
.nx-form-input { width: 100%; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: white; margin-bottom: 1rem; font-family: inherit; font-size: 0.95rem; }
.nx-form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.nx-btn-submit { padding: 1rem 2.5rem; background: var(--primary); color: var(--bg-main); font-weight: 700; border: none; border-radius: var(--radius-sm); cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em; transition: all var(--transition-base); }
.nx-btn-submit:hover { transform: scale(1.02); filter: brightness(1.1); box-shadow: var(--shadow-glow); }

/* Footer */
.nx-site-footer { padding: 6rem 0 3rem; background-color: #000; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.nx-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.nx-footer-link { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.75rem; display: block; }
.nx-footer-link:hover { color: var(--primary); }

/* Article Content */
.nx-article-header { padding: 12rem 0 6rem; background: linear-gradient(180deg, var(--bg-main), var(--bg-alt)); text-align: center; }
.nx-article-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 2rem; }
.nx-article-meta { display: flex; justify-content: center; gap: 2rem; color: var(--text-muted); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; }
.nx-article-body { padding: 4rem 0; max-width: 800px; margin: 0 auto; font-size: 1.125rem; line-height: 1.8; color: var(--text-secondary); }
.nx-article-body p { margin-bottom: 2rem; }
.nx-article-body h2 { margin: 3rem 0 1.5rem; color: var(--text-primary); }

@media (max-width: 768px) {
    .nx-hero-section { padding: 8rem 0 3rem; }
    .nx-site-title { font-size: 3rem; }
    .nx-grid-3 { grid-template-columns: 1fr; }
    .nx-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
