/* Premium Developer Portfolio Styling System */

/* CSS Variables & Theme Setup */
:root {
    --bg-dark: #090d16;
    --bg-card: rgba(17, 24, 39, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(99, 102, 241, 0.35);
    --primary-gradient: linear-gradient(135deg, #6366f1, #06b6d4);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 140%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Glow Effect */
.glow-bg {
    position: fixed;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 700px;
    background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(0, 0, 0, 0) 80%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: rgba(9, 13, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

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

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

/* Hero Section */
.hero-section {
    padding: 120px 0 80px 0;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    font-family: var(--font-display);
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 680px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Projects Section */
.projects-section {
    padding: 80px 0 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tagline {
    font-family: var(--font-display);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

/* Glassmorphism Project Card */
.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 24px var(--accent-glow);
}

.project-card:hover .card-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    align-items: center;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #a5b4fc;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.arrow-icon {
    transition: var(--transition-smooth);
}

.project-card:hover .project-link {
    color: #c7d2fe;
}

.project-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* Contact Section */
.contact-section {
    padding: 80px 0 100px 0;
}

.contact-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(9, 13, 22, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

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

/* ==========================================================================
   Articles & Blog System (Public View)
   ========================================================================== */

.articles-page-wrapper {
    padding-bottom: 120px;
}

.page-hero-section {
    padding: 100px 0 60px 0;
    text-align: center;
}

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

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.page-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.articles-section {
    padding: 40px 0 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-glow);
}

.article-card-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.badge-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 102, 194, 0.15);
    border: 1px solid rgba(10, 102, 194, 0.4);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-native {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.article-title a:hover {
    color: #a5b4fc;
}

.article-perex {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #cbd5e1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-card-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.read-more-link:hover {
    color: #c7d2fe;
    transform: translateX(4px);
}

.read-more-link.external {
    color: #60a5fa;
}

.read-more-link.external:hover {
    color: #93c5fd;
}

.empty-state-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
}

/* ==========================================================================
   Article Detail Page Typography & Layout
   ========================================================================== */

.article-detail-wrapper {
    padding: 60px 0 120px 0;
}

.article-container {
    max-width: 960px;
    margin: 0 auto;
}

.article-breadcrumb {
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.back-link:hover {
    color: #a5b4fc;
    transform: translateX(-4px);
}

.article-full-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-detail-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

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

.article-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-main-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.article-lead-perex {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 32px;
    font-weight: 400;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.article-cover-wrapper {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
}

.article-cover-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Typography for Article Content Body */
.typography {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.typography h2 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 48px 0 20px 0;
    color: #ffffff;
}

.typography h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    margin: 36px 0 16px 0;
    color: #f1f5f9;
}

.typography p {
    margin-bottom: 24px;
}

.typography ul, .typography ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.typography li {
    margin-bottom: 8px;
}

.typography blockquote {
    border-left: 4px solid var(--accent);
    background: rgba(99, 102, 241, 0.08);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #c7d2fe;
}

.typography code {
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: monospace;
}

.typography pre {
    background: #050811;
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
}

.typography pre code {
    background: transparent;
    padding: 0;
    color: #e2e8f0;
}

/* Author Box Footer */
.article-detail-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.author-avatar-wrap {
    flex-shrink: 0;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.author-details h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ==========================================================================
   Administration & Web Editor Interface
   ========================================================================== */

.admin-page-wrapper {
    padding: 60px 0 120px 0;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}

.admin-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin: 10px 0;
}

.admin-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

.admin-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 24px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    font-size: 0.95rem;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.table-cell-title strong {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.table-subtext {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: monospace;
    margin-top: 4px;
}

.table-cell-date {
    color: var(--text-secondary);
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.published {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.status-badge.draft {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.table-action-btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-icon.edit:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

.btn-icon.delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Admin Form Card */
.admin-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-hint {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 6px;
}

.admin-input, .admin-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(9, 13, 22, 0.8);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.admin-input:focus, .admin-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.col-6 {
    flex: 1;
}

/* Article Type Switcher */
.type-switcher {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.switcher-option input[type="radio"] {
    display: none;
}

.switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.switcher-option input[type="radio"]:checked + .switcher-btn {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
}

.checkbox-group {
    margin: 32px 0;
}

.admin-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.admin-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: rgba(9, 13, 22, 0.9);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 24px;
}

.social-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .page-title {
        font-size: 2.6rem;
    }
    .article-main-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 72px;
    }
    .nav-links {
        display: none; /* simple mobile nav toggle */
    }
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -0.8px;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-section {
        padding: 80px 0 60px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 40px 24px;
    }
    .contact-title {
        font-size: 1.75rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .article-full-card {
        padding: 30px 20px;
    }
    .article-main-title {
        font-size: 1.8rem;
    }
    .admin-form-card {
        padding: 24px 16px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .type-switcher {
        flex-direction: column;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}
