/* Nexus - Premium Luxury Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Luxury Color Palette */
    --nx-black: #0a0a0a;
    --nx-charcoal: #1a1a1a;
    --nx-white: #ffffff;
    --nx-ivory: #fafaf8;
    --nx-cream: #f5f5f3;
    --nx-gold: #b8860b;
    --nx-gold-light: #d4a84b;
    --nx-gold-subtle: rgba(184, 134, 11, 0.08);
    --nx-text: #1a1a1a;
    --nx-text-light: #6b6b6b;
    --nx-text-muted: #999999;
    --nx-border: #e8e8e6;
    --nx-border-dark: #2a2a2a;

    /* Premium Shadows */
    --nx-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --nx-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --nx-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --nx-shadow-gold: 0 8px 30px rgba(184, 134, 11, 0.1);

    /* Typography */
    --nx-font-display: 'Playfair Display', Georgia, serif;
    --nx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --nx-section-padding: 8rem;
}

/* Base Styles */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--nx-font-body);
    font-weight: 400;
    color: var(--nx-text);
    background: var(--nx-white);
    line-height: 1.7;
}

/* Premium Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--nx-font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== NAVBAR ===== */
.navbar-nexus {
    background: var(--nx-white);
    border-bottom: 1px solid var(--nx-border);
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.navbar-nexus.scrolled {
    box-shadow: var(--nx-shadow-sm);
}

.navbar-nexus .navbar-brand {
    color: var(--nx-black);
    font-family: var(--nx-font-body);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.navbar-nexus .nav-link {
    color: var(--nx-text-light);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    transition: color 0.3s ease;
}

.navbar-nexus .nav-link:hover {
    color: var(--nx-black);
}

.navbar-nexus .navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-nexus .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nexus .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar brand text - hide on mobile to prevent overlap */
@media (max-width: 991px) {
    .navbar-nexus .navbar-brand span {
        display: none;
    }

    .navbar-nexus .navbar-brand img {
        height: 32px;
    }
}

/* ===== HERO SECTION ===== */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--nx-white);
    position: relative;
    overflow: hidden;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, var(--nx-cream) 0%, transparent 60%);
    transform: rotate(-12deg);
    pointer-events: none;
}

.hero-premium .hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--nx-gold);
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--nx-gold);
}

.hero-premium h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--nx-black);
    margin-bottom: 2rem;
    max-width: 800px;
}

.hero-premium h1 span {
    font-style: italic;
    color: var(--nx-gold);
}

.hero-premium .hero-text {
    font-size: 1.15rem;
    color: var(--nx-text-light);
    max-width: 540px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--nx-black);
    color: var(--nx-white);
    border: none;
    padding: 1.1rem 2.5rem;
    font-family: var(--nx-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium:hover {
    background: var(--nx-charcoal);
    color: var(--nx-white);
    transform: translateY(-2px);
    box-shadow: var(--nx-shadow-lg);
}

.btn-premium-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--nx-black);
    border: 1px solid var(--nx-black);
    padding: 1.1rem 2.5rem;
    font-family: var(--nx-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-outline:hover {
    background: var(--nx-black);
    color: var(--nx-white);
}

.btn-premium-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--nx-gold);
    border: 1px solid var(--nx-gold);
    padding: 1.1rem 2.5rem;
    font-family: var(--nx-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-gold:hover {
    background: var(--nx-gold);
    color: var(--nx-white);
}

.btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
}

/* ===== SECTION STYLES ===== */
.section-premium {
    padding: var(--nx-section-padding) 0;
}

.section-dark {
    background: var(--nx-black);
    color: var(--nx-white);
}

.section-cream {
    background: var(--nx-cream);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--nx-gold);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.section-title-sm {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--nx-text-light);
    max-width: 600px;
    line-height: 1.8;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== VALUE CARDS ===== */
.value-card-premium {
    padding: 3rem;
    height: 100%;
    border: 1px solid var(--nx-border);
    background: var(--nx-white);
    transition: all 0.4s ease;
}

.value-card-premium:hover {
    border-color: var(--nx-gold);
    box-shadow: var(--nx-shadow-gold);
}

.value-card-premium .card-number {
    font-family: var(--nx-font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--nx-gold);
    line-height: 1;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.value-card-premium h3 {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--nx-black);
}

.value-card-premium p {
    font-size: 0.95rem;
    color: var(--nx-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== PROJECT CARDS PREMIUM ===== */
.project-card-premium {
    position: relative;
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-premium:hover {
    border-color: var(--nx-gold);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-12px);
}

.project-card-premium:hover .project-card-accent {
    transform: scaleX(1);
}

.project-card-premium:hover .project-card-logo img,
.project-card-premium:hover .project-card-icon {
    transform: scale(1.05);
}

/* Card Hero - Logo Showcase */
.project-card-hero {
    position: relative;
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(180deg, var(--nx-cream) 0%, var(--nx-white) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.project-card-logo {
    width: 100%;
    max-width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--project-color) 8%, white);
    border: 2px solid color-mix(in srgb, var(--project-color) 20%, transparent);
    border-radius: 20px;
    font-size: 3rem;
    color: var(--project-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid;
    background: var(--nx-white);
}

.project-card-status-development { border-color: #3b82f6; color: #3b82f6; }
.project-card-status-beta { border-color: var(--nx-gold); color: var(--nx-gold); }
.project-card-status-production { border-color: #22c55e; color: #22c55e; }
.project-card-status-maintenance { border-color: #f97316; color: #f97316; }
.project-card-status-deprecated { border-color: #ef4444; color: #ef4444; }

/* Card Content */
.project-card-content {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-family: var(--nx-font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--nx-text);
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.project-card-description {
    color: var(--nx-text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
    margin: 0 0 1rem 0;
    flex: 1;
}

.project-card-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.project-stack-tag {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--nx-text-light);
    background: var(--nx-cream);
    border: 1px solid var(--nx-border);
}

.project-stack-more {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--nx-gold);
    background: transparent;
}

/* Card Actions */
.project-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--nx-border);
    background: var(--nx-cream);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--nx-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card-link:hover {
    color: var(--nx-gold);
    gap: 0.75rem;
}

.project-card-external {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--nx-text-light);
    border: 1px solid var(--nx-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-card-external:hover {
    color: var(--nx-gold);
    border-color: var(--nx-gold);
}

/* Card Accent Line */
.project-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--project-color, var(--nx-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-hero {
    position: relative;
    padding: 10rem 0 5rem;
    background: var(--nx-cream);
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.project-hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.project-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-text-light);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.project-back-link:hover {
    color: var(--nx-gold);
    gap: 0.75rem;
}

/* Logo Showcase */
.project-logo-showcase {
    margin-bottom: 2.5rem;
}

.project-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    max-width: 90%;
    height: 100px;
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 1rem 2.5rem;
    box-shadow:
        0 20px 40px -12px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.08);
}

.project-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-icon-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    background: color-mix(in srgb, var(--project-color) 8%, white);
    border: 2px solid color-mix(in srgb, var(--project-color) 20%, transparent);
    border-radius: 24px;
    font-size: 5rem;
    color: var(--project-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Hero Info */
.project-hero-info {
    max-width: 600px;
    margin: 0 auto;
}

.project-hero-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid;
    background: var(--nx-white);
}

.project-status-badge-development { border-color: #3b82f6; color: #3b82f6; }
.project-status-badge-beta { border-color: var(--nx-gold); color: var(--nx-gold); }
.project-status-badge-production { border-color: #22c55e; color: #22c55e; }
.project-status-badge-maintenance { border-color: #f97316; color: #f97316; }
.project-status-badge-deprecated { border-color: #ef4444; color: #ef4444; }

.project-launch-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--nx-text-light);
}

.project-hero-title {
    font-family: var(--nx-font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--nx-text);
    margin: 0 0 1rem 0;
}

.project-hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--nx-text-light);
    margin: 0 0 2rem 0;
}

.project-hero-actions {
    margin-top: 2rem;
}

/* Project Details Section */
.project-details {
    padding: 5rem 0;
    background: var(--nx-white);
}

.project-content {
    max-width: 100%;
}

.project-section-title {
    font-family: var(--nx-font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--nx-text);
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nx-border);
}

.project-description-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--nx-text-light);
}

.project-description-content p {
    margin-bottom: 1.5rem;
}

/* Project Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-info-card {
    background: var(--nx-cream);
    border: 1px solid var(--nx-border);
}

.project-info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--nx-border);
}

.project-info-card-header i {
    font-size: 1.1rem;
    color: var(--nx-gold);
}

.project-info-card-header h3 {
    font-family: var(--nx-font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-text);
    margin: 0;
}

.project-info-card-body {
    padding: 1.5rem;
}

/* Tech Grid */
.project-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech-item {
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nx-text);
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
}

/* Meta List */
.project-meta-list {
    margin: 0;
}

.project-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--nx-border);
}

.project-meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-meta-item:first-child {
    padding-top: 0;
}

.project-meta-item dt {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--nx-text-light);
}

.project-meta-item dd {
    font-size: 0.85rem;
    color: var(--nx-text);
    margin: 0;
    text-align: right;
}

.project-status-inline {
    font-size: 0.75rem;
    font-weight: 600;
}

.project-status-inline-development { color: #3b82f6; }
.project-status-inline-beta { color: var(--nx-gold); }
.project-status-inline-production { color: #22c55e; }
.project-status-inline-maintenance { color: #f97316; }
.project-status-inline-deprecated { color: #ef4444; }

.project-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--nx-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-website-link:hover {
    color: var(--nx-gold);
}

.project-website-link i {
    font-size: 0.85rem;
}

/* CTA Card */
.project-cta-card {
    padding: 2rem;
    background: var(--nx-text);
    text-align: center;
}

.project-cta-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.25rem 0;
}

.project-cta-card .btn-premium-outline {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
}

.project-cta-card .btn-premium-outline:hover {
    background: var(--nx-gold);
    color: var(--nx-text);
}

/* More Projects Section */
.project-more {
    padding: 3rem 0;
    background: var(--nx-cream);
    border-top: 1px solid var(--nx-border);
}

.project-more-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-more-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nx-text-light);
}

.project-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nx-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-more-link:hover {
    color: var(--nx-gold);
    gap: 0.75rem;
}

/* Legacy project styles for admin */
.project-card {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    border-color: var(--nx-gold);
    box-shadow: var(--nx-shadow-gold);
    transform: translateY(-8px);
}

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--nx-border);
}

.project-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--nx-white);
}

.project-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-logo-lg { width: 80px; height: 80px; }
.project-icon-lg { width: 80px; height: 80px; font-size: 2rem; }

.project-card h4 {
    font-family: var(--nx-font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: var(--nx-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid;
}

.project-status-development { border-color: #3b82f6; color: #3b82f6; }
.project-status-beta { border-color: var(--nx-gold); color: var(--nx-gold); }
.project-status-production { border-color: #22c55e; color: #22c55e; }
.project-status-maintenance { border-color: #f97316; color: #f97316; }
.project-status-deprecated { border-color: #ef4444; color: #ef4444; }

/* Hide stack tags in public view */
.stack-tag {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-hero {
        padding: 8rem 0 4rem;
    }

    .project-logo-frame {
        width: 260px;
        height: 80px;
    }

    .project-icon-frame {
        width: 120px;
        height: 120px;
    }

    .project-card-logo {
        max-width: 180px;
        height: 60px;
    }

    .project-card-icon {
        width: 100px;
        height: 100px;
    }

    .project-more-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== ABOUT STYLES ===== */
.about-header-premium {
    padding: 10rem 0 6rem;
    background: var(--nx-cream);
    text-align: center;
}

.about-header-premium h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-header-premium p {
    font-size: 1.15rem;
    color: var(--nx-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.mission-premium {
    padding: 6rem 0;
    border-bottom: 1px solid var(--nx-border);
}

.mission-premium h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.mission-premium .lead {
    font-size: 1.25rem;
    color: var(--nx-text-light);
    line-height: 1.9;
}

/* ===== APPROACH GRID ===== */
.approach-item {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--nx-border);
}

.approach-item:last-child {
    border-bottom: none;
}

.approach-number {
    font-family: var(--nx-font-display);
    font-size: 1rem;
    color: var(--nx-gold);
    margin-bottom: 1rem;
}

.approach-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.approach-item p {
    color: var(--nx-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-premium {
    padding: 8rem 0;
    background: var(--nx-black);
    text-align: center;
}

.cta-premium h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--nx-white);
    margin-bottom: 1.5rem;
}

.cta-premium p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-premium .btn-premium-gold:hover {
    background: var(--nx-gold);
    color: var(--nx-black);
}

/* ===== PRODUCTS HEADER ===== */
.products-header-premium {
    padding: 10rem 0 6rem;
    background: var(--nx-cream);
    text-align: center;
}

.products-header-premium h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.products-header-premium p {
    font-size: 1.15rem;
    color: var(--nx-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer-premium {
    background: linear-gradient(180deg, var(--nx-black) 0%, #0d0d0d 100%);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nx-gold), transparent);
}

.footer-premium .footer-brand {
    font-family: var(--nx-font-body);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nx-white);
}

.footer-premium .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-premium .footer-logo img {
    height: 32px;
    width: auto;
}

.footer-premium .footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 320px;
}

.footer-premium .footer-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 320px;
    margin: 0;
}

.footer-premium h6 {
    font-family: var(--nx-font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nx-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-premium h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--nx-gold);
}

.footer-premium .footer-links {
    margin: 0;
    padding: 0;
}

.footer-premium .footer-links li {
    margin-bottom: 0.75rem;
}

.footer-premium .footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-premium .footer-links a:hover {
    color: var(--nx-gold);
    transform: translateX(4px);
}

.footer-premium a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-premium a:hover {
    color: var(--nx-gold);
}

.footer-premium .footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-premium .social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-premium .social-link:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
    transform: translateY(-2px);
}

.footer-premium .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-premium .footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
    .footer-premium {
        padding: 4rem 0 2rem;
    }

    .footer-premium h6 {
        margin-bottom: 1rem;
    }

    .footer-premium .footer-links li {
        margin-bottom: 0.5rem;
    }
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: flex;
    gap: 0.25rem;
}

.language-switcher a {
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--nx-black);
    border-color: var(--nx-black);
}

.footer-premium .language-switcher a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-premium .language-switcher a:hover,
.footer-premium .language-switcher a.active {
    color: var(--nx-white);
    border-color: var(--nx-white);
}

/* ===== DECORATIVE ELEMENTS ===== */
.gold-line {
    width: 60px;
    height: 1px;
    background: var(--nx-gold);
    margin: 2rem 0;
}

.gold-line-center {
    margin: 2rem auto;
}

/* ===== LOGIN PAGE ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-cream);
}

.login-card {
    background: var(--nx-white);
    padding: 3.5rem;
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--nx-border);
    box-shadow: var(--nx-shadow);
}

/* ===== OLD CLASS COMPATIBILITY ===== */
.btn-nexus {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--nx-black);
    color: var(--nx-white);
    border: none;
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nexus:hover {
    background: var(--nx-charcoal);
    color: var(--nx-white);
}

.btn-nexus-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--nx-text-light);
    border: 1px solid var(--nx-border);
    padding: 0.6rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-nexus-outline:hover {
    border-color: var(--nx-black);
    color: var(--nx-black);
}

.btn-nexus-outline.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
}

/* ===== ADMIN STYLES ===== */

/* Admin Page Base */
.admin-page {
    background: #f8f9fa;
    min-height: 100vh;
}

/* Admin Wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.sidebar-brand span {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.sidebar-nav {
    flex: 1;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--nx-gold);
}

.nav-item-subtle {
    color: rgba(255, 255, 255, 0.5);
}

.nav-icon {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-badge {
    margin-left: auto;
    background: var(--nx-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.user-logout {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    padding: 0.25rem;
    transition: color 0.2s;
}

.user-logout:hover {
    color: #ef4444;
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Bar */
.admin-topbar {
    background: #fff;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--nx-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--nx-text);
    cursor: pointer;
    padding: 0.25rem;
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.admin-breadcrumb a {
    color: var(--nx-text-muted);
    text-decoration: none;
}

.admin-breadcrumb a:hover {
    color: var(--nx-text);
}

.admin-breadcrumb span {
    color: var(--nx-text-muted);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Admin Content */
.admin-content {
    flex: 1;
    padding: 2rem;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header-pretitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
    margin-bottom: 0.25rem;
}

.page-header-title {
    font-family: var(--nx-font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--nx-text);
    margin: 0;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: none;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
}

.alert-icon {
    font-size: 1.25rem;
}

.alert-content {
    flex: 1;
    font-size: 0.875rem;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    padding: 0.25rem;
}

.alert-close:hover {
    opacity: 1;
}

/* Admin Footer */
.admin-footer {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--nx-border);
    background: #fff;
    font-size: 0.8rem;
    color: var(--nx-text-muted);
}

/* Admin Cards */
.admin-card {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 12px;
    overflow: hidden;
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--nx-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--nx-text);
    margin: 0;
}

.admin-card-body {
    padding: 1.5rem;
}

/* Stat Cards */
.stat-card-modern {
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card-modern:hover {
    border-color: var(--nx-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon-primary { background: #eff6ff; color: #3b82f6; }
.stat-icon-success { background: #ecfdf5; color: #10b981; }
.stat-icon-warning { background: #fffbeb; color: #f59e0b; }
.stat-icon-info { background: #f0f9ff; color: #0ea5e9; }
.stat-icon-danger { background: #fef2f2; color: #dc2626; }

/* Clickable stat card */
.stat-card-clickable {
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.stat-card-clickable:hover {
    transform: translateY(-2px);
}

.stat-card-attention {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
    animation: pulse-attention 2s infinite;
}

@keyframes pulse-attention {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.1); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.stat-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #dc2626;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stat-content {
    flex: 1;
}

.stat-value-modern {
    font-family: var(--nx-font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--nx-text);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label-modern {
    font-size: 0.8rem;
    color: var(--nx-text-muted);
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
    text-align: left;
    border-bottom: 1px solid var(--nx-border);
    background: #fafafa;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--nx-border);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: #fafafa;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Action Buttons */
.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--nx-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #f3f4f6;
    color: var(--nx-text);
}

.btn-action-danger:hover {
    background: #fef2f2;
    color: #ef4444;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--nx-text-muted);
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--nx-text);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    font-size: 0.875rem;
    color: var(--nx-text-muted);
    margin-bottom: 1.5rem;
}

/* Project Item */
.project-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    transition: all 0.2s;
}

.project-item:hover {
    border-color: var(--nx-gold);
    background: #fafafa;
}

.project-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.project-item-content {
    flex: 1;
    min-width: 0;
}

.project-item-name {
    font-weight: 500;
    color: var(--nx-text);
    margin-bottom: 0.125rem;
}

.project-item-status {
    font-size: 0.75rem;
}

/* Quick Action Cards */
.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.quick-action:hover {
    border-color: var(--nx-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.quick-action-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nx-text);
    flex: 1;
}

.quick-action-attention {
    border-color: #fecaca;
    background: #fef2f2;
}

.quick-action-attention:hover {
    border-color: #dc2626;
}

.quick-action-badge {
    background: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    min-width: 24px;
    text-align: center;
}

/* Contact avatar small (for dashboard) */
.contact-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nx-gold) 0%, var(--nx-gold-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Admin Contact Styles */
.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--nx-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}

.table-row-unread {
    background: #fffbeb;
}

.table-row-unread:hover {
    background: #fef3c7 !important;
}

.unread-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nx-gold);
}

.contact-message-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--nx-text);
    white-space: pre-wrap;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--nx-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
    min-width: 0;
}

.contact-info-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 0.9rem;
    color: var(--nx-text);
    word-break: break-word;
}

.contact-info-value a {
    color: var(--nx-text);
    text-decoration: none;
}

.contact-info-value a:hover {
    color: var(--nx-gold);
}

/* Responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-wrapper.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-wrapper.sidebar-open .sidebar-overlay {
        display: block;
    }

    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .admin-content {
        padding: 1.5rem;
    }

    .admin-topbar {
        padding: 0 1.5rem;
    }

    .page-header-title {
        font-size: 1.5rem;
    }
}

/* Legacy compatibility */
.sidebar-dark {
    background: var(--nx-black) !important;
}

.sidebar-dark .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
}

.sidebar-dark .nav-link:hover,
.sidebar-dark .nav-link.active {
    color: var(--nx-white) !important;
    background: var(--nx-charcoal) !important;
}

/* ===== DOCUMENTATION STYLES ===== */

/* Docs Navigation Card */
.docs-nav-card {
    border-radius: 12px;
}

.docs-nav {
    padding: 0.5rem 0;
}

.docs-nav-compact {
    font-size: 0.875rem;
}

.docs-nav-section {
    margin-bottom: 1rem;
}

.docs-nav-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
}

.docs-nav-header i {
    font-size: 0.875rem;
}

.docs-nav-link {
    display: block;
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    color: var(--nx-text-light);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.docs-nav-link:hover {
    color: var(--nx-text);
    background: #f8f9fa;
}

.docs-nav-link.active {
    color: var(--nx-gold);
    background: rgba(184, 134, 11, 0.05);
    border-left-color: var(--nx-gold);
    font-weight: 500;
}

.docs-nav-divider {
    height: 1px;
    background: var(--nx-border);
    margin: 1rem 0;
}

.docs-nav-project {
    padding: 0.375rem 1rem 0.375rem 2.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nx-text);
}

.docs-nav-empty {
    text-align: center;
    padding: 2rem;
    color: var(--nx-text-muted);
}

.docs-nav-empty i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Docs Welcome */
.docs-welcome {
    text-align: center;
    padding: 2rem;
}

.docs-welcome-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d97706;
    margin-bottom: 1.5rem;
}

.docs-welcome-title {
    font-family: var(--nx-font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--nx-text);
    margin-bottom: 0.75rem;
}

.docs-welcome-text {
    font-size: 1rem;
    color: var(--nx-text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Docs Categories */
.docs-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.docs-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: #fafafa;
    border-radius: 12px;
    min-width: 120px;
}

.docs-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.docs-category-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--nx-text);
}

/* Docs Quick Links */
.docs-quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fafafa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--nx-text);
    font-size: 0.875rem;
    transition: all 0.2s;
}

.docs-quick-link:hover {
    background: #f0f0f0;
    color: var(--nx-gold);
}

.docs-quick-link i {
    color: var(--nx-text-muted);
}

/* Docs Search Results */
.docs-search-results {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.docs-search-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.docs-search-item:hover {
    background: #fafafa;
}

.docs-search-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-text-muted);
    flex-shrink: 0;
}

.docs-search-content {
    flex: 1;
    min-width: 0;
}

.docs-search-title {
    font-weight: 500;
    color: var(--nx-text);
    margin-bottom: 0.25rem;
}

.docs-search-excerpt {
    font-size: 0.875rem;
    color: var(--nx-text-light);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.docs-search-path {
    font-size: 0.75rem;
    color: var(--nx-text-muted);
}

/* Legacy - keep for compatibility */
.docs-sidebar {
    background: var(--nx-cream);
    border-right: 1px solid var(--nx-border);
    min-height: calc(100vh - 60px);
}

.docs-nav-category {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
}

.docs-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--nx-text-light);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.2s ease;
}

.docs-nav-link:hover {
    color: var(--nx-black);
}

.docs-nav-link.active {
    background: var(--nx-black);
    color: var(--nx-white);
}

/* Markdown */
.markdown-body {
    line-height: 1.8;
}

.markdown-body h1 {
    font-family: var(--nx-font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nx-border);
}

.markdown-body h2 {
    font-family: var(--nx-font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.markdown-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.markdown-body pre {
    background: var(--nx-black);
    color: #e5e5e5;
    padding: 1.5rem;
    overflow-x: auto;
}

.markdown-body code {
    background: var(--nx-cream);
    padding: 0.2rem 0.5rem;
    font-size: 0.875em;
}

.markdown-body pre code {
    background: transparent;
    padding: 0;
}

/* ===== STATS ===== */
.stat-card {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 2.5rem;
}

.stat-value {
    font-family: var(--nx-font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--nx-black);
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    :root {
        --nx-section-padding: 5rem;
    }

    .hero-premium {
        min-height: auto;
        padding: 8rem 0 5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nx-section-padding: 4rem;
    }

    .hero-premium {
        padding: 6rem 0 4rem;
    }

    .hero-premium h1 {
        font-size: 2.5rem;
    }

    .about-header-premium,
    .products-header-premium {
        padding: 8rem 0 4rem;
    }

    .value-card-premium {
        padding: 2rem;
    }

    .cta-premium {
        padding: 5rem 0;
    }
}

/* ===== SERVICES PAGE ===== */
.services-header-premium {
    padding: 10rem 0 6rem;
    background: var(--nx-cream);
    text-align: center;
}

.services-header-premium h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.services-header-premium p {
    font-size: 1.15rem;
    color: var(--nx-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.service-card-premium {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 3rem;
    height: 100%;
    transition: all 0.4s ease;
}

.service-card-premium:hover {
    border-color: var(--nx-gold);
    box-shadow: var(--nx-shadow-gold);
}

.service-card-premium .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-gold-subtle);
    color: var(--nx-gold);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.service-card-premium h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card-premium > p {
    color: var(--nx-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--nx-text);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--nx-gold);
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.process-step .process-number {
    font-family: var(--nx-font-display);
    font-size: 2.5rem;
    color: var(--nx-gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--nx-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.industry-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    border-color: var(--nx-gold);
}

.industry-tag i {
    color: var(--nx-gold);
    font-size: 1.25rem;
}

.industry-tag span {
    font-size: 0.85rem;
    color: var(--nx-text);
}

@media (max-width: 768px) {
    .services-header-premium {
        padding: 8rem 0 4rem;
    }

    .service-card-premium {
        padding: 2rem;
    }

    .process-step {
        padding: 1.5rem 1rem;
    }
}

/* ===== CONTACT PAGE ===== */
.contact-header-premium {
    padding: 10rem 0 6rem;
    background: var(--nx-cream);
    text-align: center;
}

.contact-header-premium h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact-header-premium p {
    font-size: 1.15rem;
    color: var(--nx-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-card {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 4rem;
    text-align: center;
}

.contact-info-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-card .lead {
    color: var(--nx-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.contact-method i {
    font-size: 2rem;
    color: var(--nx-gold);
}

.contact-method h4 {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nx-text-muted);
    margin-bottom: 0.25rem;
}

.contact-method a {
    font-size: 1.25rem;
    color: var(--nx-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--nx-gold);
}

/* ===== LEGAL PAGES ===== */
.legal-header-premium {
    padding: 10rem 0 4rem;
    background: var(--nx-cream);
    text-align: center;
}

.legal-header-premium h1 {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.legal-header-premium p {
    font-size: 0.9rem;
    color: var(--nx-text-muted);
}

.legal-content {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--nx-text);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .contact-header-premium,
    .legal-header-premium {
        padding: 8rem 0 4rem;
    }

    .contact-info-card {
        padding: 2rem;
    }
}

/* ===== CONTACT FORM ===== */
.contact-form-card {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 3rem;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-form-header p {
    color: var(--nx-text-light);
    font-size: 1rem;
}

.form-group-premium {
    margin-bottom: 0;
}

.form-label-premium {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-text);
    margin-bottom: 0.5rem;
}

.form-control-premium {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-family: var(--nx-font-body);
    color: var(--nx-text);
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    outline: none;
    border-color: var(--nx-gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-control-premium::placeholder {
    color: var(--nx-text-muted);
}

textarea.form-control-premium {
    resize: vertical;
    min-height: 140px;
}

.form-check-premium {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input-premium {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--nx-gold);
    cursor: pointer;
}

.form-check-label-premium {
    font-size: 0.9rem;
    color: var(--nx-text-light);
    line-height: 1.5;
}

.form-check-label-premium a {
    color: var(--nx-gold);
    text-decoration: underline;
}

.btn-submit-contact {
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
}

.contact-success-message {
    text-align: center;
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 3rem;
}

.contact-success-message .success-icon {
    width: 64px;
    height: 64px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-success-message .success-icon i {
    font-size: 2rem;
    color: white;
}

.contact-success-message h3 {
    font-size: 1.5rem;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.contact-success-message p {
    color: #047857;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem;
    }

    .contact-form-header {
        margin-bottom: 2rem;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nx-black);
    color: var(--nx-white);
    padding: 1.5rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--nx-gold);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--nx-gold);
    color: var(--nx-black);
}

.cookie-btn-accept:hover {
    background: var(--nx-gold-light);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--nx-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: var(--nx-white);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 0;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-banner-text {
        min-width: auto;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ===== BLOG STYLES ===== */

/* Blog Header */
.blog-header-premium {
    padding: 10rem 0 4rem;
    background: var(--nx-cream);
    text-align: center;
}

.blog-header-premium h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.blog-header-premium p {
    font-size: 1.15rem;
    color: var(--nx-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.blog-header-single {
    padding: 10rem 0 3rem;
}

.blog-header-single h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--nx-text-light);
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta i {
    color: var(--nx-gold);
}

/* Blog Cards */
.blog-card {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--nx-gold);
    box-shadow: var(--nx-shadow-gold);
    transform: translateY(-4px);
}

.blog-card-featured {
    border-width: 2px;
}

.blog-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-svg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-card-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.blog-svg-placeholder {
    background: transparent;
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--nx-gold);
    color: var(--nx-black);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: opacity 0.3s;
}

.blog-card-category:hover {
    opacity: 0.7;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.blog-card-title a {
    color: var(--nx-text);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--nx-gold);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--nx-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--nx-text-muted);
    margin-top: auto;
    padding-top: 1rem;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Blog Post Content */
.blog-post-content {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 2rem;
}

.blog-post-image {
    margin: -2rem -2rem 2rem;
}

.blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-svg {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-post-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.blog-post-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--nx-text);
}

.blog-post-body h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-body h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-post-body p {
    margin-bottom: 1.25rem;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.blog-post-body blockquote {
    border-left: 3px solid var(--nx-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--nx-text-light);
}

.blog-post-body pre {
    background: var(--nx-black);
    color: #e5e5e5;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-post-body code {
    background: var(--nx-cream);
    padding: 0.2rem 0.5rem;
    font-size: 0.9em;
}

.blog-post-body pre code {
    background: transparent;
    padding: 0;
}

/* Blog Post Tags */
.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--nx-border);
}

.tags-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--nx-text-muted);
}

.blog-tag {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    background: var(--nx-cream);
    color: var(--nx-text);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-tag:hover {
    background: var(--nx-gold);
    color: var(--nx-black);
}

/* Blog Post Share */
.blog-post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--nx-border);
}

.share-label {
    font-size: 0.85rem;
    color: var(--nx-text-muted);
}

.share-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nx-border);
    color: var(--nx-text-light);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
}

.share-twitter:hover { border-color: #1DA1F2; color: #1DA1F2; }
.share-linkedin:hover { border-color: #0077B5; color: #0077B5; }
.share-facebook:hover { border-color: #1877F2; color: #1877F2; }
.share-whatsapp:hover { border-color: #25D366; color: #25D366; }

/* Blog Post Languages */
.blog-post-languages {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--nx-border);
}

.languages-label {
    font-size: 0.85rem;
    color: var(--nx-text-muted);
}

.language-link {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--nx-border);
    color: var(--nx-text);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.language-link:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
}

/* Blog Sidebar */
.blog-sidebar-widget {
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--nx-border);
}

/* Blog Category List */
.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    margin-bottom: 0.5rem;
}

.blog-category-list li.active a {
    background: var(--nx-cream);
    color: var(--nx-gold);
}

.blog-category-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--nx-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.blog-category-list a:hover {
    background: var(--nx-cream);
}

.blog-category-list a i {
    font-size: 1.1rem;
}

.blog-category-list .count {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--nx-text-muted);
}

/* Blog Latest Posts */
.blog-latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-latest-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nx-border);
}

.blog-latest-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-latest-list a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--nx-text);
    transition: color 0.3s;
}

.blog-latest-list a:hover {
    color: var(--nx-gold);
}

.blog-latest-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.latest-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.latest-post-date {
    font-size: 0.8rem;
    color: var(--nx-text-muted);
}

/* Blog Pagination */
.blog-pagination .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-item.active .page-link {
    background: var(--nx-black);
    color: var(--nx-white);
    border-color: var(--nx-black);
}

.blog-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--nx-white);
    border: 1px solid var(--nx-border);
    color: var(--nx-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.blog-pagination .page-link:hover {
    border-color: var(--nx-gold);
    color: var(--nx-gold);
}

/* Blog Button */
.btn-premium-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--nx-gold);
    color: var(--nx-black);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--nx-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-primary:hover {
    background: var(--nx-gold-light);
    color: var(--nx-black);
    transform: translateY(-2px);
    box-shadow: var(--nx-shadow-gold);
}

@media (max-width: 991px) {
    .blog-header-premium {
        padding: 8rem 0 3rem;
    }

    .blog-header-single {
        padding: 8rem 0 2rem;
    }

    .blog-post-meta {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .blog-header-premium {
        padding: 7rem 0 2.5rem;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-image {
        margin: -1.5rem -1.5rem 1.5rem;
    }

    .blog-post-share {
        flex-wrap: wrap;
    }

    .blog-card-content {
        padding: 1.25rem;
    }
}
