/* Stanford Polished Style - Auto-themed */
:root {
    --ni-primary: #201f12;
    --ni-accent: #9fe933;
    --ni-gold: #a8ef2e;
    --ni-gold-light: #b3f168;
    --ni-gold-dark: #89bb1f;
    --ni-bg: #FAFBFC;
    --ni-bg-light: #F0F3F5;
    --ni-bg-gradient: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
    --ni-text: #2c3c56;
    --ni-text-light: #758f8e;
    --ni-text-lighter: #979995;
    --ni-border: #e9eadf;
    --ni-border-light: #f0f0f0;
    --ni-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --ni-shadow-medium: rgba(0, 0, 0, 0.12);
    --ni-shadow-hover: rgba(0, 0, 0, 0.16);
    --ni-shadow-strong: rgba(0, 0, 0, 0.24);
    --ni-glow: 0 2px 8px rgba(0,0,0,0.08);
    --ni-success: #0ac655;
    --ni-danger: #cf332d;
    --ni-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ni-transition-fast: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--ni-text);
    background: var(--ni-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245,160,38,0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245,169,30,0.015) 0%, transparent 50%),
        var(--ni-bg-gradient);
    background-attachment: fixed;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.005) 2px, rgba(0, 0, 0, 0.005) 4px),
        radial-gradient(circle at 15% 25%, rgba(241,166,40,0.025) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(242,160,32,0.02) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 35s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.96;
        transform: scale(1.015) rotate(0.5deg);
    }
}

body > * {
    position: relative;
    z-index: 1;
}

.ni-container {
    max-width:100%;
    margin: 0 auto;
    padding: 0 26px;
    position: relative;
}

/* Scroll Progress Indicator */
.ni-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--ni-gold), var(--ni-gold-light), var(--ni-gold));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(239,170,41,0.5);
}

/* Header */
.ni-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--ni-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 1px 23px rgba(0, 0, 0, 0.04);
    transition: var(--ni-transition);
}

.ni-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ni-header:hover::after {
    opacity: 0.3;
}

.ni-header-container {
    max-width:100%;
    margin: 0 auto;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.ni-header-container::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ni-border) 20%, var(--ni-border) 80%, transparent);
}

.ni-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--ni-primary);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.4px;
}

.ni-logo-icon {
    width: 41px;
    height: 40px;
    background: linear-gradient(135deg, var(--ni-primary) 0%, #201a13 100%);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ni-accent);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--ni-transition);
    position: relative;
    overflow: hidden;
}

.ni-logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.ni-logo:hover .ni-logo-icon::before {
    transform: translate(50%, 50%) rotate(45deg);
}

.ni-logo:hover .ni-logo-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ni-nav {
    display: flex;
    gap: 34px;
    align-items: center;
}

.ni-nav-link {
    color: var(--ni-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--ni-transition);
    position: relative;
    padding: 11px 11px;
    border-radius: 5px;
}

.ni-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 7px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ni-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ni-primary), transparent);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

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

.ni-nav-link:hover::before {
    opacity: 1;
}

.ni-nav-link:hover::after,
.ni-nav-link--active::after {
    transform: translateX(-50%) scaleX(1);
}

.ni-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.ni-menu-line {
    width: 27px;
    height: 2px;
    background: var(--ni-primary);
    transition: all 0.3s ease;
}

.ni-menu-toggle.active .ni-menu-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.ni-menu-toggle.active .ni-menu-line:nth-child(2) {
    opacity: 0;
}

.ni-menu-toggle.active .ni-menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.ni-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 22px 21px;
    background: var(--ni-bg);
    border-top: 1px solid var(--ni-border);
}

.ni-mobile-nav.active {
    display: flex;
}

.ni-mobile-link {
    padding: 11px 0;
    color: var(--ni-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--ni-border);
}

.ni-mobile-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.ni-hero {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 20%, #ffffff 40%, #f8f8f8 60%, #ffffff 80%, #fafafa 100%);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--ni-border-light);
}

.ni-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245,171,30,0.12) 0%, rgba(245,164,39,0.06) 30%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    filter: blur(63px);
}

.ni-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243,158,31,0.1) 0%, rgba(244,168,40,0.05) 30%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    filter: blur(61px);
}


@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.ni-hero-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 29px 0;
    color: var(--ni-primary);
    letter-spacing: -1.6px;
    position: relative;
    z-index: 2;
    text-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.03),
        0 4px 40px rgba(0, 0, 0, 0.02);
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, var(--ni-primary) 0%, #212220 50%, var(--ni-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.ni-hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 20%, var(--ni-gold-light) 50%, var(--ni-gold) 80%, transparent);
    border-radius: 3px;
    opacity: 0.6;
}

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

.ni-hero-subtitle {
    font-size: 21px;
    color: var(--ni-text-light);
    line-height: 1.75;
    margin: 0 0 53px 0;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
    padding: 0 27px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);
    letter-spacing: 0.3px;
}

.ni-hero-subtitle::before,
.ni-hero-subtitle::after {
    content: '"';
    font-size: 60px;
    color: var(--ni-gold);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 0;
    position: absolute;
}

.ni-hero-subtitle::before {
    left: -10px;
    top: -10px;
}

.ni-hero-subtitle::after {
    right: -10px;
    bottom: -40px;
}

.ni-hero-actions {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-top: 9px;
}

.ni-hero-actions::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 30%, var(--ni-gold-light) 50%, var(--ni-gold) 70%, transparent);
    opacity: 0.3;
    border-radius: 3px;
}

.ni-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.ni-btn-primary {
    background: linear-gradient(135deg, var(--ni-primary) 0%, #1b181f 100%);
    color: var(--ni-accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ni-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ni-btn-primary:hover::before {
    left: 100%;
}

.ni-btn-primary:hover {
    background: linear-gradient(135deg, #10151b 0%, var(--ni-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ni-btn-secondary {
    background: transparent;
    color: var(--ni-primary);
    border: 2px solid var(--ni-primary);
    position: relative;
    overflow: hidden;
}

.ni-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--ni-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.ni-btn-secondary:hover::before {
    width: 100%;
}

.ni-btn-secondary:hover {
    color: var(--ni-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Stats Counter Component */
.ni-stats-section {
    background: linear-gradient(135deg, var(--ni-bg-light) 0%, #f5f5f5 50%, var(--ni-bg-light) 100%);
    padding: 81px 0;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.ni-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--ni-gold) 15%, 
        var(--ni-gold-light) 30%, 
        var(--ni-gold) 50%, 
        var(--ni-gold-light) 70%, 
        var(--ni-gold) 85%, 
        transparent 100%);
    opacity: 0.4;
    box-shadow: 0 2px 8px rgba(245,169,29,0.2);
}

.ni-stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ni-border) 50%, transparent);
}

.ni-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    position: relative;
    z-index: 1;
}

.ni-stats-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ni-border) 20%, var(--ni-border) 80%, transparent);
    opacity: 0.3;
    z-index: -1;
}

.ni-stat-item {
    text-align: center;
    position: relative;
    padding: 20px;
    border-radius: 15px;
    transition: var(--ni-transition);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
}

.ni-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245,172,30,0.05) 0%, transparent 100%);
    border-radius: 9px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ni-stat-item:hover::before {
    opacity: 1;
}

.ni-stat-item:hover {
    transform: translateY(-6px) scale(1.05);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(243,169,39,0.1);
    border: 1px solid rgba(244,163,32,0.2);
}

.ni-stat-item:hover .ni-stat-number {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.ni-stat-item:hover .ni-stat-label {
    color: var(--ni-primary);
    font-weight: 700;
}

.ni-stat-number {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ni-primary) 0%, #3b392a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 9px;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.ni-stat-number::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 30%, var(--ni-gold-light) 50%, var(--ni-gold) 70%, transparent);
    opacity: 0.5;
    transition: transform 0.5s ease;
    border-radius: 3px;
    box-shadow: 0 2px 11px rgba(241,173,41,0.3);
}

.ni-stat-item:hover .ni-stat-number::after {
    transform: translateX(-50%) scaleX(1);
}

.ni-stat-label {
    font-size: 13px;
    color: var(--ni-text-light);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    position: relative;
    padding-top: 11px;
}

.ni-stat-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    opacity: 0.4;
}

/* Main Content */
.ni-main {
    padding: 81px 0;
    position: relative;
}

.ni-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ni-border) 20%, var(--ni-border) 80%, transparent);
}

.ni-article {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 22px;
}

.ni-article::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--ni-gold) 10%, 
        var(--ni-gold-light) 50%, 
        var(--ni-gold) 90%, 
        transparent 100%);
    border-radius: 1px;
    opacity: 0.2;
}

/* Additional Detail Enhancements */
.ni-article strong {
    font-weight: 700;
    color: var(--ni-primary);
    position: relative;
    padding: 0 1px;
}

.ni-article strong::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ni-gold) 0%, transparent 100%);
    opacity: 0.4;
    border-radius: 1px;
}

.ni-article blockquote {
    margin: 35px 0;
    padding: 26px 29px;
    background: linear-gradient(135deg, rgba(242,166,33,0.05) 0%, rgba(239,160,42,0.02) 100%);
    border-left: 5px solid var(--ni-gold);
    border-radius: 7px;
    font-style: italic;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ni-article blockquote::before {
    content: '"';
    position: absolute;
    left: 16px;
    top: 8px;
    font-size: 48px;
    color: var(--ni-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.ni-article blockquote::after {
    content: '"';
    position: absolute;
    right: 16px;
    bottom: 8px;
    font-size: 48px;
    color: var(--ni-gold);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.ni-article code {
    background: var(--ni-bg-light);
    padding: 1px 7px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--ni-primary);
    border: 1px solid var(--ni-border);
}

.ni-article a {
    color: var(--ni-primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--ni-transition-fast);
    font-weight: 500;
}

.ni-article a:hover {
    color: var(--ni-gold);
    border-bottom-color: var(--ni-gold);
}

@media (max-width: 768px) {
    .ni-article::before {
        display: none;
    }
}

.ni-intro {
    margin-bottom: 49px;
    padding: 38px 37px;
    background: linear-gradient(135deg, var(--ni-bg-light) 0%, #ffffff 50%, var(--ni-bg-light) 100%);
    border-radius: 12px;
    border-left: 6px solid var(--ni-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.ni-intro::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245,167,28,0.1) 0%, rgba(245,160,36,0.05) 30%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
    filter: blur(31px);
}

.ni-intro::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245,170,29,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite reverse;
    filter: blur(27px);
}

.ni-lead {
    font-size: 19px;
    line-height: 1.8;
    color: var(--ni-text);
    margin-bottom: 27px;
    font-weight: 500;
    letter-spacing: 0.1px;
    position: relative;
    padding-right: 18px;
}

.ni-lead::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, var(--ni-gold) 100%);
    border-radius: 2px;
    opacity: 0.3;
}

.ni-article h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--ni-primary);
    margin: 62px 0 25px 0;
    line-height: 1.25;
    letter-spacing: -0.11px;
    position: relative;
    padding-left: 19px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--ni-border-light);
}

.ni-article h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, var(--ni-gold) 100%);
    border-radius: 1px;
    box-shadow: 0 3px 7px rgba(245,164,37,0.4);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.ni-article h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--ni-primary);
    margin: 49px 0 20px 0;
    position: relative;
    padding-left: 19px;
    letter-spacing: -0.4px;
}

.ni-article h3::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--ni-gold);
    font-size: 18px;
    opacity: 0.7;
    line-height: 1.5;
    text-shadow: 0 0 8px rgba(245,173,30,0.4);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ni-article h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 20px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--ni-gold), transparent);
    border-radius: 3px;
    opacity: 0.5;
}

.ni-article p {
    margin-bottom: 21px;
    line-height: 1.85;
    color: var(--ni-text);
    position: relative;
    padding-left: 19px;
}

.ni-article p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, var(--ni-gold) 0%, var(--ni-gold-light) 100%);
    border-radius: 50%;
    opacity: 0.5;
    box-shadow: 0 0 6px rgba(245,167,38,0.3);
    transition: all 0.3s ease;
}

.ni-article p:hover::before {
    opacity: 0.8;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(245,161,31,0.5);
}

.ni-article p:first-of-type::before {
    display: none;
    padding-left: 0;
}

.ni-list,
.ni-list-ordered {
    margin: 34px 0;
    padding-left: 29px;
    position: relative;
}

.ni-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, var(--ni-gold) 100%);
    border-radius: 1px;
    opacity: 0.3;
}

.ni-list li,
.ni-list-ordered li {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--ni-text);
    padding-left: 17px;
    position: relative;
    transition: var(--ni-transition-fast);
    padding-top: 4px;
    padding-bottom: 5px;
}

.ni-list li::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 12px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--ni-gold) 0%, var(--ni-gold-light) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(245,171,39,0.4);
}

.ni-list li:hover::before {
    opacity: 1;
    transform: scale(1.3);
}

.ni-list li::marker {
    color: var(--ni-gold);
    font-weight: 700;
    font-size: 1.2em;
}

.ni-list li:hover {
    color: var(--ni-primary);
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(243,164,32,0.05) 0%, transparent 100%);
    border-radius: 4px;
    margin-left: -11px;
    padding-left: 26px;
    font-weight: 500;
}

.ni-list-ordered li::marker {
    font-weight: 700;
    color: var(--ni-primary);
}

.ni-image-wrapper {
    margin: 57px 0;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 
        0 12px 40px var(--ni-shadow-medium), 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    background: linear-gradient(135deg, var(--ni-bg-light) 0%, #ffffff 50%, var(--ni-bg-light) 100%);
    border: 2px solid var(--ni-border-light);
    transition: var(--ni-transition);
    padding: 3px;
}

.ni-image-wrapper::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(242,161,41,0.2);
    border-radius: 15px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ni-image-wrapper:hover::after {
    opacity: 1;
}

.ni-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239,171,34,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.ni-image-wrapper:hover::before {
    opacity: 1;
}

.ni-image-wrapper:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 16px 48px var(--ni-shadow-hover), 
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 1px rgba(238,168,28,0.1);
    border-color: rgba(245,162,36,0.3);
}

.ni-article-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.ni-article-image.loaded {
    opacity: 1;
    animation: imageFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.ni-image-wrapper:hover .ni-article-image {
    transform: scale(1.025);
    filter: brightness(1.05) contrast(1.02);
}

.ni-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, var(--ni-gold) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(9px);
}

.ni-image-wrapper:hover::before {
    opacity: 0.3;
}

.ni-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: var(--ni-accent);
    padding: 20px 27px 18px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    z-index: 2;
}

.ni-image-wrapper:hover .ni-image-caption {
    opacity: 1;
}

.ni-article-image[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e1d9 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 400px;
    object-fit: cover;
}

.ni-article-image[loading="lazy"]:not(.loaded) {
    filter: blur(4px);
    transition: filter 0.3s ease;
}

.ni-article-image[loading="lazy"].loaded {
    filter: blur(0);
    animation: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Feature Grid Component */
.ni-features {
    margin: 78px 0;
    padding: 81px 40px;
    background: linear-gradient(135deg, var(--ni-bg-light) 0%, #ffffff 30%, var(--ni-bg-light) 70%, #ffffff 100%);
    border-radius: 19px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ni-border-light);
}

.ni-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 20%, var(--ni-gold-light) 50%, var(--ni-gold) 80%, transparent);
    opacity: 0.4;
}

.ni-features-header {
    text-align: center;
    margin-bottom: 61px;
    position: relative;
    padding-bottom: 30px;
}

.ni-features-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 30%, var(--ni-gold-light) 50%, var(--ni-gold) 70%, transparent);
    border-radius: 1px;
    opacity: 0.5;
}

.ni-features-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--ni-primary);
    margin-bottom: 15px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.ni-features-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    border-radius: 3px;
}

.ni-features-subtitle {
    font-size: 14px;
    color: var(--ni-text-light);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 11px;
}

.ni-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 37px;
    padding: 0 24px;
    position: relative;
}

.ni-features-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ni-border) 30%, var(--ni-border) 70%, transparent);
    opacity: 0.4;
}

.ni-feature-card {
    background: var(--ni-bg);
    padding: 43px 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--ni-shadow), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: var(--ni-transition);
    border: 2px solid var(--ni-border-light);
    position: relative;
    overflow: hidden;
}

.ni-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ni-gold), var(--ni-gold-light), var(--ni-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ni-feature-card:hover::before {
    transform: scaleX(1);
}

.ni-feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px var(--ni-shadow-hover), 
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--ni-primary);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
}

.ni-feature-card:hover .ni-feature-title {
    color: var(--ni-primary);
    transform: translateX(4px);
}

.ni-feature-card:hover .ni-feature-desc {
    color: var(--ni-text);
    transform: translateX(2px);
}

.ni-feature-card:hover .ni-feature-title {
    letter-spacing: -0.1px;
}

.ni-feature-icon {
    width: 62px;
    height: 64px;
    background: linear-gradient(135deg, var(--ni-primary) 0%, #131310 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
    color: var(--ni-accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--ni-transition);
    position: relative;
    overflow: hidden;
}

.ni-feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s;
}

.ni-feature-card:hover .ni-feature-icon::before {
    transform: scale(1);
}

.ni-feature-card:hover .ni-feature-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ni-feature-icon svg {
    width: 28px;
    height: 28px;
}

.ni-feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ni-primary);
    margin-bottom: 11px;
    transition: var(--ni-transition);
    position: relative;
    padding-bottom: 11px;
}

.ni-feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ni-gold), var(--ni-gold-light));
    transition: width 0.3s ease;
}

.ni-feature-card:hover .ni-feature-title::after {
    width: 50px;
}

.ni-feature-desc {
    font-size: 15px;
    color: var(--ni-text-light);
    line-height: 1.7;
    transition: var(--ni-transition-fast);
}

/* CTA Banner Component */
.ni-cta-banner {
    background: linear-gradient(135deg, var(--ni-primary) 0%, #1b191f 25%, #0a0a0a 50%, #1a1b16 75%, var(--ni-primary) 100%);
    color: var(--ni-accent);
    padding: 100px 73px;
    border-radius: 26px;
    text-align: center;
    margin: 120px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 80px rgba(0, 0, 0, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.08),
        inset 0 0 100px rgba(238,163,36,0.05);
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.ni-cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(245,167,37,0.02) 50px, rgba(245,160,30,0.02) 51px);
    pointer-events: none;
    opacity: 0.3;
}

.ni-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,170,38,0.2) 0%, rgba(245,164,31,0.1) 30%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    filter: blur(41px);
}

.ni-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245,173,39,0.15) 0%, rgba(245,167,32,0.08) 30%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite reverse;
    filter: blur(42px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ni-cta-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 27px;
    letter-spacing: -1.1px;
    position: relative;
    z-index: 2;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 0, 0, 0.2);
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.ni-cta-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 30%, var(--ni-gold-light) 50%, var(--ni-gold) 70%, transparent);
    border-radius: 3px;
    opacity: 0.6;
    box-shadow: 0 1px 10px rgba(241,158,34,0.4);
}

.ni-cta-text {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.98;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.4px;
}

.ni-cta-button {
    display: inline-block;
    padding: 17px 46px;
    background: linear-gradient(135deg, var(--ni-accent) 0%, #f5f5f5 100%);
    color: var(--ni-primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 9px;
    transition: var(--ni-transition);
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.ni-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s;
}

.ni-cta-button:hover::before {
    left: 100%;
}

.ni-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 1);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

/* FAQ Accordion */
.ni-faq-section {
    margin: 61px 0;
}

.ni-faq-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 33px;
}

.ni-faq-header::before {
    content: '❓';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    opacity: 0.08;
    filter: blur(2px);
}

.ni-faq-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 30%, var(--ni-gold-light) 50%, var(--ni-gold) 70%, transparent);
    border-radius: 3px;
    opacity: 0.5;
}

.ni-faq-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--ni-primary);
    margin-bottom: 15px;
    letter-spacing: -0.6px;
}

.ni-faq-subtitle {
    font-size: 17px;
    color: var(--ni-text-light);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 11px auto 0;
}

.ni-faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    padding-top: 21px;
}

.ni-faq-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    opacity: 0.4;
    border-radius: 3px;
}

.ni-faq-item {
    background: var(--ni-bg);
    border: 2px solid var(--ni-border-light);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--ni-transition);
    position: relative;
}

.ni-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ni-gold), var(--ni-gold-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ni-faq-item.active::before {
    transform: scaleY(1);
}

.ni-faq-item.active {
    border-color: var(--ni-primary);
    box-shadow: 0 8px 24px var(--ni-shadow-medium), 0 2px 8px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.ni-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 21px 31px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--ni-transition);
    position: relative;
}

.ni-faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(245,171,38,0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.ni-faq-question:hover::before {
    width: 4px;
}

.ni-faq-question:hover {
    background: linear-gradient(90deg, rgba(245,165,30,0.03) 0%, transparent 100%);
    padding-left: 30px;
}

.ni-faq-question-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--ni-primary);
    line-height: 1.4;
}

.ni-faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ni-bg-light) 0%, #ffffff 100%);
    border-radius: 7px;
    color: var(--ni-primary);
    transition: var(--ni-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ni-border-light);
    position: relative;
    overflow: hidden;
}

.ni-faq-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245,168,31,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ni-faq-question:hover .ni-faq-icon::before {
    opacity: 1;
}

.ni-faq-item.active .ni-faq-icon {
    transform: rotate(180deg) scale(1.1);
    background: linear-gradient(135deg, var(--ni-primary) 0%, #151019 100%);
    color: var(--ni-accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--ni-primary);
}

.ni-faq-icon svg {
    width: 20px;
    height: 20px;
}

.ni-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ni-faq-item.active .ni-faq-answer {
    max-height: 1000px;
}

.ni-faq-answer-content {
    padding: 0 31px 23px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ni-text);
    position: relative;
}

.ni-faq-answer-content::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ni-gold) 0%, transparent 100%);
    opacity: 0.3;
    border-radius: 3px;
}

.ni-faq-answer-content p {
    margin-bottom: 14px;
}

/* Footer */
.ni-footer {
    background: linear-gradient(135deg, var(--ni-primary) 0%, #1f1614 50%, var(--ni-primary) 100%);
    color: var(--ni-accent);
    padding: 77px 0 43px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.ni-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 20%, var(--ni-gold) 80%, transparent);
    opacity: 0.4;
}

.ni-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243,165,41,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.ni-footer-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    opacity: 0.3;
}

.ni-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 53px;
    margin-bottom: 49px;
    padding-bottom: 48px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.ni-footer-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    opacity: 0.3;
}

.ni-footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
    position: relative;
    padding-bottom: 19px;
}

.ni-footer-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, transparent 100%);
    opacity: 0.6;
    border-radius: 3px;
    box-shadow: 0 2px 11px rgba(241,169,42,0.3);
}

.ni-footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.ni-footer-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 23px;
    position: relative;
    padding-bottom: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 14px;
}

.ni-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, transparent 100%);
    border-radius: 3px;
    opacity: 0.7;
    box-shadow: 0 1px 7px rgba(242,162,35,0.3);
}

.ni-footer-links {
    list-style: none;
    padding: 0;
}

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

.ni-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--ni-transition);
    position: relative;
    padding-left: 17px;
    display: inline-block;
}

.ni-footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    color: var(--ni-gold);
}

.ni-footer-links a:hover {
    color: var(--ni-accent);
    transform: translateX(6px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.ni-footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.ni-footer-bottom {
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ni-footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ni-gold) 50%, transparent);
    opacity: 0.3;
}

/* Responsive */
/* Additional Detail Enhancements */
.ni-article h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, var(--ni-gold) 0%, var(--ni-gold-light) 50%, var(--ni-gold) 100%);
    margin-right: 18px;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 3px 7px rgba(238,169,37,0.3);
}

.ni-intro {
    position: relative;
    padding-left: 38px;
}

.ni-intro-quote {
    content: '"';
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: 100px;
    line-height: 1;
    color: var(--ni-gold);
    opacity: 0.25;
    font-family: Georgia, serif;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(245,163,29,0.3);
    z-index: 0;
    pointer-events: none;
}

.ni-intro::before {
    content: '"';
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: 100px;
    line-height: 1;
    color: var(--ni-gold);
    opacity: 0.25;
    font-family: Georgia, serif;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(245,173,38,0.3);
    z-index: 0;
    pointer-events: none;
}

.ni-list li::marker {
    color: var(--ni-gold);
    font-weight: 700;
}

.ni-list-ordered li {
    padding-left: 11px;
}

.ni-list-ordered li::marker {
    font-weight: 700;
    color: var(--ni-primary);
}

@media (max-width: 768px) {
    .ni-menu-toggle {
        display: flex;
    }

    .ni-nav {
        display: none;
    }

    .ni-hero-title {
        font-size: 36px;
    }

    .ni-hero-subtitle {
        font-size: 16px;
    }

    .ni-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .ni-article h2 {
        font-size: 28px;
    }

    .ni-article h2::before {
        width: 3px;
        height: 20px;
        margin-right: 8px;
    }

    .ni-intro {
        padding-left: 33px;
    }

    .ni-intro::before {
        font-size: 60px;
    }

    .ni-features-grid {
        grid-template-columns: 1fr;
        padding: 0 17px;
    }

    .ni-features-title,
    .ni-faq-title {
        font-size: 28px;
    }

    .ni-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 29px;
    }

    .ni-stat-number {
        font-size: 34px;
    }

    .ni-cta-banner {
        padding: 41px 24px;
    }

    .ni-cta-title {
        font-size: 24px;
    }
}


/* ==================
   Company Logo Styles (110px height)
   ================== */
.mflh-company-logo {
    width: 240px;
    height: 165px;
    object-fit: contain;
    background: var(--mflh-white);
    border-radius: var(--mflh-radius-sm);
    padding: 7px;
    margin-bottom: 6px;
    border: 2px solid var(--mflh-gray-200);
}

.mflh-company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==================
   Action Buttons (Go + Review)
   ================== */
.mflh-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mflh-btn-primary {
    display: inline-block;
    padding: 13px 26px;
    background: var(--mflh-secondary);
    color: var(--mflh-dark);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: var(--mflh-radius-sm);
    transition: var(--mflh-transition);
    text-decoration: none;
}

.mflh-btn-primary:hover {
    background: var(--mflh-secondary-dark);
    color: var(--mflh-dark);
    transform: translateY(-1px);
}

.mflh-btn-review {
    display: inline-block;
    padding: 9px 22px;
    background: transparent;
    color: var(--mflh-primary);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 2px solid var(--mflh-primary);
    border-radius: var(--mflh-radius-sm);
    transition: var(--mflh-transition);
    text-decoration: none;
}

.mflh-btn-review:hover {
    background: var(--mflh-primary);
    color: var(--mflh-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mflh-company-logo {
        width: 160px;
        height: 100px;
    }

    .mflh-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mflh-btn-primary,
    .mflh-btn-review {
        padding: 11px 15px;
        font-size: 11px;
    }
}
/* ==================
   UNIVERSAL MOBILE FIX - Company Logos & Table Adaptivity
   Applied to all sites
   ================== */
@media (max-width: 768px) {
    /* Universal logo selectors */
    [class*='company-logo'],
    [class*='CompanyLogo'],
    [class*='company_logo'],
    img[class*='logo'][class*='company'],
    .company-logo,
    .mflh-company-logo,
    .catCompanyLogo,
    .tf-company-card__logo,
    .th-company-logo,
    .op-company-logo,
    .card-logo,
    .review-logo {
        width: 140px !important;
        min-width: 140px !important;
        height: auto !important;
        min-height: 80px !important;
        max-height: 100px !important;
        padding: 11px !important;
        margin: 0 auto 11px !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    /* Center company info/cards */
    [class*='company-info'],
    [class*='CompanyInfo'],
    [class*='company_info'],
    .mflh-company-info,
    .catCompanyInfo,
    .tf-company-card__info {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Center company name */
    [class*='company-name'],
    [class*='CompanyName'],
    .catCompanyName,
    .tf-company-card__name {
        text-align: center !important;
    }
    
    /* Center rating/stars */
    [class*='rating'],
    [class*='Rating'],
    [class*='stars'],
    [class*='Stars'],
    .catRating,
    .catStars {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Buttons full width */
    [class*='action-btn'],
    [class*='ActionBtn'],
    [class*='btn-cta'],
    [class*='btn-primary'],
    [class*='btn-review'],
    .catBtnCta,
    .catBtnReview,
    .mflh-btn-primary,
    .mflh-btn-review,
    .tf-btn-primary,
    .tf-btn-outline {
        display: block !important;
        width: 100% !important;
        padding: 10px 21px !important;
        text-align: center !important;
        font-size: 14px !important;
        margin-bottom: 11px !important;
    }
    
    /* Site logo bigger */
    [class*='site-logo'] img,
    [class*='SiteLogo'] img,
    .catLogo__icon,
    .tf-logo__icon,
    .th-logo__icon,
    header [class*='logo'] img {
        min-width: 45px !important;
        min-height: 45px !important;
    }
}


/* Max width 1400px for desktop */
.ni-wrapper, .ni-content, .ni-hero-inner, .ni-companies-container, 
.ni-article, .ni-container, .ni-footer-inner, .ni-main {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center buttons in company cards */
.ni-company-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.ni-td-action {
    text-align: center !important;
}
.ni-action-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}


/* === FINAL FIXES === */
/* Table full width */
.mflh-companies-table {
    width: 100% !important;
    table-layout: auto !important;
}
.mflh-companies-table-wrapper {
    max-width: 1500px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
#homepage-table-wrapper {
    max-width: 1500px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 27px !important;
}

/* Desktop logos */
@media (min-width: 769px) {
    .mflh-company-logo, img.mflh-company-logo {
        width: 200px !important;
        min-width: 170px !important;
        max-width: 230px !important;
        height: auto !important;
        min-height: auto !important;
        max-height: 100px !important;
        object-fit: contain !important;
        padding: 7px !important;
        background: #fff !important;
        border-radius: 8px !important;
    }
    .mflh-company-info {
        align-items: center !important;
        text-align: center !important;
    }
}

/* Styled buttons */
.mflh-btn-primary, .mflh-btn-primary-visit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 26px !important;
    background: linear-gradient(135deg, #ad962e, #a7ee30) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 11px !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 2px 8px rgba(184,148,41,0.3) !important;
}
.mflh-btn-primary:hover, .mflh-btn-primary-visit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(185,142,50,0.4) !important;
}
.mflh-btn-review {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 17px !important;
    background: #f8f9fa !important;
    color: #332d39 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border: 1px solid #e5d3df !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
}
.mflh-btn-review:hover {
    background: #e9ecef !important;
    color: #11161b !important;
}
.mflh-action-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 9px !important;
}

/* Mobile card overrides - reset to card view */
@media (max-width: 768px) {
    .mflh-companies-table .mflh-company-logo, img.mflh-company-logo {
        width: 45% !important;
        max-width: 180px !important;
        min-width: auto !important;
        min-height: auto !important;
        height: auto !important;
        margin: 0 auto 10px !important;
        display: block !important;
    }
    .mflh-btn-primary, .mflh-btn-primary-visit {
        width: 100% !important;
        padding: 9px 23px !important;
        font-size: 14px !important;
    }
    .mflh-btn-review {
        width: 100% !important;
        padding: 8px 21px !important;
        font-size: 14px !important;
    }
}


/* Force table to fill wrapper */
.mflh-companies-table {
    width: 100% !important;
    min-width: 100% !important;
    table-layout: fixed !important;
}
.mflh-td-company {
    width: 25% !important;
}
.mflh-td-features {
    width: 25% !important;
}
.mflh-td-action {
    width: 15% !important;
}
