/* ============================================================
   VSC.BD - COMPLETE DESIGN SYSTEM
   Theme: Dark Red Glassmorphism / Matrix Aesthetic
   Version: 2.0.1
   ============================================================ */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
    /* Colors */
    --bg-void: #050505;
    --bg-surface: #0a0a0a;
    --primary: #FF003C;
    --primary-dark: #D90429;
    --primary-glow: rgba(255, 0, 60, 0.4);
    --primary-subtle: rgba(255, 0, 60, 0.15);
    --glass-bg: rgba(15, 15, 15, 0.65);
    --glass-border: rgba(255, 0, 60, 0.25);
    --glass-border-hover: rgba(255, 0, 60, 0.5);
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --success: #00FF88;
    --warning: #FFB800;
    --error: #FF003C;

    /* Typography */
    --font-header: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --nav-height: 72px;
    --section-padding: 100px;
    --container-max: 1200px;
    --container-padding: 24px;

    /* Effects */
    --glass-blur: blur(15px);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========== UTILITY CLASSES ========== */
.mono-text {
    font-family: var(--font-mono);
}

.accent {
    color: var(--primary);
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== AMBIENT BACKGROUND ========== */
.ambient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -150px;
    animation: ambientPulse 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-dark);
    bottom: -100px;
    left: -100px;
    animation: ambientPulse 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ambientPulse 12s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.08; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.1); }
}

/* ========== MATRIX CANVAS ========== */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

/* ========== GLASS CARD BASE ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 0, 60, 0.15), 0 0 30px rgba(255, 0, 60, 0.05);
    border-color: var(--glass-border-hover);
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 0, 60, 0.1);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    border-bottom-color: rgba(255, 0, 60, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo,
.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo-bracket { color: var(--text-muted); }
.logo-text { color: var(--text-primary); }
.logo-dot { color: var(--primary); }
.logo-bd { color: var(--primary); }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    position: relative;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 0, 60, 0.08);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-link-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: 700 !important;
}

.nav-link-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.4);
}

.nav-link-cta.active::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== MOBILE PANEL ========== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    z-index: 1002;
    transition: right var(--transition-base);
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.mobile-panel.active {
    right: 0;
}

.mobile-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.mobile-panel-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.mobile-close {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    line-height: 1;
}

.mobile-close:hover {
    color: var(--primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.mobile-link:hover {
    color: var(--text-primary);
    background: rgba(255, 0, 60, 0.08);
}

.mobile-link.active {
    color: var(--primary);
    background: rgba(255, 0, 60, 0.1);
}

.mobile-link.cta {
    color: var(--primary);
    border: 1px solid var(--glass-border);
    margin-top: 8px;
}

.mobile-link-index {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.mobile-panel-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-panel-footer .mono-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.status-active {
    color: var(--success);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 120px var(--container-padding) 80px;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.hero-status {
    margin-bottom: 32px;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    background: rgba(255, 0, 60, 0.06);
    border: 1px solid rgba(255, 0, 60, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-header);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    letter-spacing: 4px;
}

.hero-title-line.accent {
    color: var(--primary);
    animation: heartbeatGlow 2s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 0, 60, 0.3);
}

@keyframes heartbeatGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 0, 60, 0.2);
    }
    14% {
        text-shadow: 0 0 40px rgba(255, 0, 60, 0.5);
    }
    28% {
        text-shadow: 0 0 20px rgba(255, 0, 60, 0.2);
    }
    42% {
        text-shadow: 0 0 50px rgba(255, 0, 60, 0.6);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.strike-text {
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.7;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.4), 0 10px 40px rgba(255, 0, 60, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 0.95rem;
}

.btn-icon {
    font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-family: var(--font-header);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 0, 60, 0.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator .mono-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ========== SECTIONS COMMON ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-header);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== DIRECTIVES SECTION ========== */
.directives {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.directives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.directive-card {
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
}

.card-index {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.card-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.card-status.error {
    background: rgba(255, 0, 60, 0.15);
    color: var(--error);
}

.card-status.success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.card-status.warning {
    background: rgba(255, 184, 0, 0.1);
    color: var(--warning);
}

.card-metric {
    color: var(--text-muted);
}

/* ========== ARCHITECTS SECTION ========== */
.architects {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

/* Lead Architect Card */
.architect-lead {
    padding: 48px;
    margin-bottom: 40px;
}

.architect-lead:hover {
    transform: translateY(-5px);
}

.architect-lead-inner {
    display: flex;
    gap: 48px;
    align-items: center;
}

.architect-avatar-container {
    text-align: center;
    flex-shrink: 0;
}

.architect-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.lead-avatar {
    width: 140px;
    height: 140px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.lead-avatar .avatar-placeholder {
    font-size: 2.2rem;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 60, 0.3);
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.architect-badge {
    margin-top: 16px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(255, 0, 60, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
}

.architect-info {
    flex: 1;
}

.architect-role-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.architect-name {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.architect-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.architect-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 4px;
    color: var(--text-secondary);
    background: rgba(255, 0, 60, 0.05);
}

.architect-links {
    display: flex;
    gap: 20px;
}

.architect-link {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.architect-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

/* Architects Grid */
.architects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.architect-card {
    padding: 30px 24px;
    text-align: center;
}

.architect-card .architect-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.architect-card .avatar-placeholder {
    font-size: 1.2rem;
}

.architect-card .architect-role-tag {
    font-size: 0.6rem;
    margin-bottom: 8px;
}

.architect-card-name {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.architect-card-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.architect-tags.small {
    justify-content: center;
}

.architect-tags.small .tag {
    font-size: 0.6rem;
    padding: 4px 10px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.cta-glass {
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(255, 0, 60, 0.3);
}

.cta-glass:hover {
    transform: translateY(-5px);
}

.cta-title {
    font-family: var(--font-header);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 16px 0;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== PAGE HEADER (Sub-pages) ========== */
.page-header {
    position: relative;
    z-index: 1;
    padding: 140px 0 60px;
    text-align: center;
}

.page-title {
    font-family: var(--font-header);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FILTER BAR ========== */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    background: transparent;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--glass-border);
    color: var(--text-primary);
    background: rgba(255, 0, 60, 0.06);
}

.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 0, 60, 0.1);
}

/* ========== ARTICLES SECTION ========== */
.articles-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 var(--section-padding);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.article-card.hidden {
    display: none;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.article-category {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(255, 0, 60, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.article-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.65rem;
    color: #fff;
    letter-spacing: 1px;
}

.author-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
}

.author-role {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.article-read-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== PROJECTS SECTION ========== */
.projects-section {
    position: relative;
    z-index: 1;
    padding: 20px 0 var(--section-padding);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    padding: 30px;
}

.project-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-status {
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.project-status.success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
}

.project-status.warning {
    background: rgba(255, 184, 0, 0.1);
    color: var(--warning);
}

.project-status.error {
    background: rgba(255, 0, 60, 0.1);
    color: var(--error);
}

.project-tech {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.project-title {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    position: relative;
    z-index: 1;
    padding: 20px 0 var(--section-padding);
}

.about-block {
    padding: 48px;
    margin-bottom: 24px;
}

.about-block:hover {
    transform: translateY(-5px);
}

.about-heading {
    font-family: var(--font-header);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 12px 0 20px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

/* Timeline */
.timeline {
    margin-top: 30px;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(255, 0, 60, 0.1));
}

.timeline-item {
    position: relative;
    padding: 0 0 32px 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-void);
}

.timeline-date {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.timeline-title {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== REGISTRATION SECTION ========== */
.registration-section {
    position: relative;
    z-index: 1;
    padding: 140px 0 var(--section-padding);
    min-height: 100vh;
}

.registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.registration-header {
    text-align: center;
    margin-bottom: 40px;
}

.registration-form {
    padding: 48px;
}

.registration-form:hover {
    transform: none;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 0, 60, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 0, 60, 0.1);
}

.form-input.error {
    border-color: var(--error);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}

.form-select option {
    background: #0a0a0a;
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    font-size: 0.7rem;
    color: var(--error);
    margin-top: 6px;
    min-height: 18px;
    letter-spacing: 0.5px;
}

/* Checkbox */
.form-checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    position: relative;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkbox-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    justify-content: center;
    position: relative;
}

.btn-submit .btn-loading {
    display: none;
    align-items: center;
    gap: 10px;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-note {
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 20px;
}

/* Registration Success */
.registration-success {
    padding: 60px;
    text-align: center;
}

.registration-success:hover {
    transform: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--success);
    margin: 0 auto 24px;
}

.success-title {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.success-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.success-details {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.success-details p {
    margin-bottom: 4px;
}

/* ========== LOGIN SECTION ========== */
.login-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--container-padding);
}

.login-container {
    width: 100%;
    max-width: 480px;
}

.login-card {
    padding: 48px;
}

.login-card:hover {
    transform: none;
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-title {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 12px 0 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    transition: opacity var(--transition-fast);
    font-size: 1rem;
}

.password-toggle:hover {
    opacity: 1;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.forgot-link {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.forgot-link:hover {
    color: #fff;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.login-footer .mono-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.accent-link {
    color: var(--primary);
    font-weight: 600;
}

.accent-link:hover {
    color: #fff;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 0, 60, 0.1);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-status .mono-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom .mono-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets */
@media (max-width: 1024px) {
    .directives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .directives-grid .directive-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .architects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architect-lead-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .architect-tags {
        justify-content: center;
    }

    .architect-links {
        justify-content: center;
    }

    .articles-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
        --container-padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title-line {
        letter-spacing: 2px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .directives-grid {
        grid-template-columns: 1fr;
    }

    .directives-grid .directive-card:last-child {
        max-width: 100%;
    }

    .architects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architect-lead {
        padding: 30px;
    }

    .architect-name {
        font-size: 1.5rem;
    }

    .articles-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-glass {
        padding: 40px 24px;
    }

    .registration-form {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .login-card {
        padding: 30px 20px;
    }

    .filter-bar {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.65rem;
    }

    .about-block {
        padding: 30px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .architects-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .login-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .glass-card:hover {
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 60, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 60, 0.5);
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(255, 0, 60, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(255, 0, 60, 0.3);
    color: #fff;
}






.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ছবিটি চ্যাপ্টা হবে না, ঠিকভাবে ফ্রেম হবে */
    border-radius: 50%; /* পুরোপুরি গোল করার জন্য */
    display: block;
    position: relative;
    z-index: 2; /* যাতে রিং এর উপরে থাকে */
}

/* বর্তমান লাল বৃত্তটিকে মানানসই করতে */
.architect-avatar.lead-avatar {
    background: none; /* আগের লাল ব্যাকগ্রাউন্ড সরিয়ে ফেলবে */
    border: 2px solid #FF003C; /* চারপাশে লাল বর্ডার */
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.5); /* হালকা লাল গ্লো */
    overflow: hidden;
}
