/* Color Palette:
   Main Yellow: #FFD700 (Yellow Pages yellow)
   Black: #000000
   White: #FFFFFF
   Comp Color for White BG: #0000FF (Electric Blue - classic 90s)
   Dark Gray: #333333
*/

/* ===================================
   GLOBAL STYLES
   =================================== */
body {
    font-family: "Newsreader", sans-serif;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    font-family: "Poppins", sans-serif;
}

/* ===================================
   NAVIGATION SECTION
   =================================== */
/* Mobile First */
.navbar {
    background-color: #FFFFFF;
    padding: 1rem;
}

.navbar-collapse a {
    color: #676767;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.vai-logo-video {
    height: 30px;
    width: auto;
    display: block;
}

.navbar-brand {
    padding: 0;
}

/* Mobile Menu Styling */
.navbar-toggler {
    border: 3px solid #e3e3e3 !important;
    border-radius: 0;
    padding: 4px 8px;
    background-color: #FFD700;
}

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

.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, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Dropdown Menu */
@media (max-width: 767px) {
    .navbar-collapse {
        background-color: #000000;
        margin-top: 1rem;
        border: 4px solid #FFD700;
    }

    .navbar-nav {
        padding: 1rem;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
        border-left: 5px solid #FFD700;
        transition: all 0.2s ease;
    }

    .navbar-nav .nav-item:hover {
        transform: translateX(5px);
        border-left-color: #FFFFFF;
    }

    .navbar-nav .nav-link {
        color: #FFFFFF !important;
        font-size: 16px;
        padding: 0.75rem 1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .navbar-nav .nav-link:hover {
        color: #FFD700 !important;
    }

    /* Mobile Menu Styling */
.navbar-toggler {
    border: 3px solid #000000;
    border-radius: 0 !important;
    padding: 8px 12px;
    background-color: #FFD700;
    box-shadow: 3px 3px 0px #000000;
    transition: all 0.1s ease;
}

.navbar-toggler:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
}

.navbar-toggler:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.navbar-toggler:focus {
    box-shadow: 3px 3px 0px #000000;
}

    /* Dropdown Styling */
    .navbar-nav .dropdown-menu {
        background-color: #1a1a1a;
        border: none;
        border-radius: 0;
        margin-left: 1rem;
        padding: 0;
    }

    .navbar-nav .dropdown-item {
        color: #FFFFFF;
        font-size: 14px;
        padding: 0.5rem 1rem;
        border-left: 3px solid transparent;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: #FFD700;
        color: #000000;
        border-left-color: #000000;
    }

    /* Dropdown toggle arrow */
    .navbar-nav .dropdown-toggle::after {
        color: #FFD700;
        margin-left: 0.5rem;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .vai-logo-video {
        height: 40px;
    }
    
    .navbar {
        padding: 1rem 2rem;
        background-color: transparent;
        box-shadow: none;
    }

    /* Reset mobile styles for desktop */
    .navbar-collapse {
        background-color: transparent;
        margin-top: 0;
        border: none;
        box-shadow: none;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
/* Mobile First */
.hero-section {
    padding: 60px 0 40px;
    margin-top: -20px;
}

.hero-title {
    font-size: 31px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: #FFD700;
    text-shadow: 3px 3px 0 #3e3e3e;
}

.hero-badge {
    background-color: #2d2d2d;
    opacity: 0.8;
    text-transform: uppercase;
    color: white;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 800;
    border: none;
    border-radius: 0;
    margin-bottom: 12px;
}

.hero-badge:hover {
    background-color: #1a1a1a;
}

.hero-description {
    font-size: 18px;
    font-family: "Newsreader", sans-serif;
    line-height: 1.3;
    margin-bottom: 12px;
    max-width: 720px;
}

.author-info {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
}

.divider {
    color: #ccc;
}

.date {
    color: #777;
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 60px;
        letter-spacing: -1.5px;
    }

    .hero-title span {
        text-shadow: 4px 4px 0 #3e3e3e;
    }

    .hero-badge {
        padding: 10px 20px;
        font-size: 11px;
    }

    .hero-description {
        font-size: 22px;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 90px;
        letter-spacing: -2px;
    }

    .hero-title span {
        text-shadow: 5px 5px 0 #3e3e3e;
    }

    .hero-badge {
        padding: 10px 24px;
    }

    .hero-description {
        font-size: 28px;
    }
}

/* ===================================
   SCROLLSPY CONTAINER
   =================================== */
/* Mobile First */
.scrollspy-container {
    margin-top: 20px;
}

/* Tablet and up */
@media (min-width: 768px) {
    .scrollspy-container {
        margin-top: 40px;
    }
}

/* ===================================
   TABLE OF CONTENTS
   =================================== */
/* Mobile First */
.toc-wrapper {
    position: static;
    max-height: none;
    overflow-y: visible;
    background-color: #FFFFFF;
    border: 4px solid #000000;
    padding: 20px;
    box-shadow: 5px 5px 0px #000000;
    margin-bottom: 40px;
}

.toc-wrapper .nav-link {
    color: #000000;
    padding: 0.75rem 1rem;
    border-radius: 0;
    transition: all 0.1s;
    font-size: 14px;
    font-weight: bold;
    border-left: 5px solid #FFD700;
    margin-bottom: 5px;
    background-color: #f0f0f0;
}

.toc-wrapper .nav-link:hover {
    color: #FFD700;
    background-color: #000000;
    transform: translate(2px, 0);
}

.toc-wrapper .nav-link.active {
    color: #000000;
    background-color: #FFD700;
    border: 2px solid #000000;
    border-radius: 0;
    font-weight: 900;
}

.tocNavTitle {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 900;
}

/* Tablet and up */
@media (min-width: 768px) {
    .toc-wrapper {
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        margin-bottom: 0;
    }

    .tocNavTitle {
        font-size: 18px;
    }
}

/* ===================================
   ARTICLE CONTENT
   =================================== */
/* Mobile First */
.article-content {
    padding: 0 16px;
}

.article-content p, ul, ol, li {
    font-family: "Newsreader", serif;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.article-content h2 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.article-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Tablet and up */
@media (min-width: 768px) {
    .article-content {
        padding: 0 20px;
    }

    .article-content p, ul, ol, li {
        font-size: 18px;
    }

    .article-content h2 {
        margin-top: 32px;
        margin-bottom: 20px;
    }

    .article-content h3 {
        margin-top: 40px;
        margin-bottom: 15px;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .article-content {
        padding: 0 22px;
    }

    .article-content p, ul, ol, li {
        font-size: 20px;
    }
}

/* ===================================
   SIDEBAR ADS
   =================================== */
/* Mobile First  */
.sidebar-ads {
    display: block;
}

    .sidebar-ads {
        display: block;
        position: sticky;
        top: 20px;
    }

    .ad-slot {
        background-color: #f8f9fa;
        border: 2px dashed #dee2e6;
        border-radius: 0;
        padding: 30px 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .ad-slot .h5 {
        font-size: 22px;
        text-transform: uppercase;
        font-weight: 900;
        margin-bottom: 15px;
    }

    .ad-slot p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .ad-slot .btn {
        background-color: #ffd900;
        font-family: "Poppins", sans-serif;
        color: #000;
        border: none;
        padding: 10px 30px;
        border-radius: 0;
        text-transform: uppercase;
    }

/* ===================================
   SIDEBAR ADS SHIMMER ANIMATIONS
   =================================== */
@keyframes subtle-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes pronounced-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
}

.ad-slot {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 3px dashed #dee2e6;
}

/* First shimmer - subtle sweep */
.ad-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.15),
        transparent
    );
    background-size: 200% 100%;
    animation: subtle-shimmer 1.5s ease-in-out infinite;
    animation-delay: 0s;
    animation-duration: 20s;
    pointer-events: none;
}

/* Second animation - more pronounced glow pulse */
.ad-slot {
    animation: pronounced-pulse 1.5s ease-in-out infinite;
    animation-delay: 10s;
    animation-duration: 20s;
}

/* Ensure content stays above animations */
.ad-slot > * {
    position: relative;
    z-index: 1;
}

/* Border flash effect for second animation */
@keyframes border-flash {
    0%, 100% {
        border-color: #dee2e6;
    }
    50% {
        border-color: #FFD700;
        border-style: dashed;
        border-width: 3px;
    }
}

.ad-slot {
    animation: 
        pronounced-pulse 1.5s ease-in-out infinite,
        border-flash 1.5s ease-in-out infinite;
    animation-delay: 10s;
    animation-duration: 20s;
}

.ad-slot .btn {
    background-color: #ffd900;
    color: #000;
    border: 3px solid #000;
    padding: 10px 30px;
    font-weight: 900;
    border-radius: 0;
    transition: all 0.2s ease;
}

.ad-slot .btn:hover {
    background-color: #000;
    color: #ffd900;
    border-color: #ffd900;
    transform: translateY(-2px);
    box-shadow: 0 3px 0 #ffd900;
}

/* ===================================
   INLINE ARTICLE AD
   =================================== */
/* Mobile First */
.inline-ad {
    background-color: #f8f9fa;
    border: 3px dashed #dee2e6;
    padding: 20px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.inline-ad .h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    color: #000;
}

.inline-ad .btn {
    background-color: #FFD700;
    color: #000;
    border: 3px solid #000;
    padding: 10px 30px;
    font-weight: 900;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.inline-ad .btn:hover {
    background-color: #000;
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 3px 0 #FFD700;
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .inline-ad {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 25px 30px;
    }

    .inline-ad .h3 {
        font-size: 22px;
        flex: 1;
    }

    .inline-ad .btn {
        flex-shrink: 0;
    }
}

/* Connect to existing animations */
/* First shimmer - subtle sweep */
.inline-ad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.15),
        transparent
    );
    background-size: 200% 100%;
    animation: subtle-shimmer 1.5s ease-in-out infinite;
    animation-delay: 0s;
    animation-duration: 20s;
    pointer-events: none;
}

/* Second animation - more pronounced glow pulse */
.inline-ad {
    animation: pronounced-pulse 1.5s ease-in-out infinite;
    animation-delay: 10s;
    animation-duration: 20s;
}

/* Ensure content stays above animations */
.inline-ad > * {
    position: relative;
    z-index: 1;
}

/* Border flash effect for second animation */
.inline-ad {
    animation: 
        pronounced-pulse 1.5s ease-in-out infinite,
        border-flash 1.5s ease-in-out infinite;
    animation-delay: 10s;
    animation-duration: 20s;
}

/* ===================================
   BLOCKQUOTE
   =================================== */
/* Mobile First */
figure {
    margin: 2rem 0;
}

figure blockquote {
    border-left: 8px solid #FFD700;
    padding: 1.5rem 1.5rem 1rem;
    margin: 0;
    background-color: #000;
}

figure blockquote p.blockquote {
    font-family: "Newsreader", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

figure .blockquote-footer {
    background-color: #000;
    padding: 0rem 1.5rem 1.5rem;
    font-size: 0.85rem;
    color: #fff;
    text-align: left;
    border-left: 8px solid #FFD700;
}

figure .blockquote-footer cite {
    font-weight: 600;
    color: #fff;
}

/* Tablet and up */
@media (min-width: 768px) {
    figure {
        margin: 3rem 0;
    }

    figure blockquote {
        border-left: 12px solid #FFD700;
        padding: 2.5rem 2rem 1.5rem;
    }

    figure blockquote p.blockquote {
        font-size: 1.75rem;
    }

    figure .blockquote-footer {
        padding: 0rem 2rem 2.5rem;
        font-size: 0.95rem;
        border-left: 12px solid #FFD700;
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    figure blockquote {
        padding: 3.5rem 3rem 1.75rem;
    }

    figure blockquote p.blockquote {
        font-size: 2rem;
    }

    figure .blockquote-footer {
        padding: 0rem 3rem 3.5rem;
    }
}

/* ===================================
   BAR CHART
   =================================== */
/* Mobile First */
.vai-chart-container {
    background-color: #FFFFFF;
    border: 4px solid #000000;
    padding: 20px 15px;
    box-shadow: 5px 5px 0px #000000;
    margin: 20px 0;
    font-family: "Poppins", sans-serif;
}

.vai-chart-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #000000;
}

.vai-chart-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 20px;
    font-family: "Newsreader", serif;
}

.vai-chart {
    position: relative;
    height: 250px;
    margin-bottom: 20px;
}

.vai-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 5px;
}

.vai-bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 100%;
}

.vai-bar {
    width: 100%;
    background-color: #FFD700;
    border: 3px solid #000000;
    position: relative;
    transition: all 0.3s ease;
    min-height: 20px;
}

.vai-bar:hover {
    background-color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 5px 0 #FFD700;
}

.vai-bar:hover .vai-bar-value {
    color: #FFD700;
}

.vai-bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 900;
    font-size: 14px;
    color: #000000;
    white-space: nowrap;
}

.vai-bar-label {
    margin-top: 10px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
}

.vai-chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.vai-grid-line {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 2px dashed #ccc;
    opacity: 0.5;
}

/* Tablet and up */
@media (min-width: 768px) {
    .vai-chart-container {
        padding: 0 20px;
        margin: 40px 0;
    }

    .vai-chart-title {
        font-size: 24px;
    }

    .vai-chart-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .vai-chart {
        height: 300px;
    }

    .vai-chart-bars {
        gap: 10px;
    }

    .vai-bar-value {
        font-size: 18px;
        top: -30px;
    }

    .vai-bar-label {
        font-size: 14px;
        margin-top: 15px;
    }
}

/* ===================================
   VIDEO CONTAINER
   =================================== */
/* Mobile First */
.vai-video-container {
    background-color: #000;
    border: 4px solid #000000;
    padding: 15px;
    box-shadow: 5px 5px 0px #000000;
    margin: 20px 0;
}

.vai-video {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid #000000;
}

.vai-video-caption {
    font-family: 'Newsreader', serif;
    color: #fff !important;
    margin-top: 10px;
    font-size: 14px;
}

/* Tablet and up */
@media (min-width: 768px) {
    .vai-video-container {
        padding: 20px;
        margin: 40px 0;
    }

    .vai-video-caption {
        margin-top: 15px;
        font-size: 16px;
    }
}

/* ===================================
   INLINE CODE
   =================================== */
code {
    background-color: #000000;
    color: #FFD700;
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 600;
    border: 2px solid #FFD700;
    border-radius: 0;
    box-shadow: 2px 2px 0px #FFD700;
    display: inline-block;
    margin: 0 2px;
    position: relative;
}

code:hover {
    background-color: #FFD700;
    color: #000000;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
    transition: all 0.1s ease;
}

/* ===================================
   CODE BLOCK WITH COPY BUTTON
   =================================== */
/* Mobile First */
.vai-code-block {
    position: relative;
    display: inline-block;
    margin: 4px 0;
}

.vai-code-block code {
    background-color: #000000;
    color: #FFD700;
    padding: 6px 45px 6px 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.8em;
    font-weight: 600;
    border: 2px solid #FFD700;
    border-radius: 0;
    box-shadow: 1px 1px 0px #666666;
    display: inline-block;
    position: relative;
    min-width: 120px;
}

.vai-code-copy-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFD700;
    color: #000000;
    border: 1px solid #000000;
    padding: 2px 4px;
    font-size: 0.65em;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.1s ease;
}

.vai-code-copy-btn:hover {
    background-color: #000000;
    color: #FFD700;
    border-color: #FFD700;
}

.vai-code-copy-btn:active {
    transform: translateY(-50%) translate(1px, 1px);
}

.vai-code-copy-btn.copied {
    background-color: #666666;
    color: #FFFFFF;
    border-color: #666666;
}

/* Tablet and up */
@media (min-width: 768px) {
    .vai-code-block code {
        padding: 8px 50px 8px 12px;
        font-size: 0.9em;
        box-shadow: 2px 2px 0px #666666;
    }

    .vai-code-copy-btn {
        padding: 2px 6px;
        font-size: 0.7em;
    }
}

/* ===================================
   FOOTER SECTION
   =================================== */
/* Mobile First */
.footer-section {
    margin-top: 60px;
}

.footer-section .container-fluid {
    background-color: #212529 !important;
}

.footer-section .ai-text {
    color: #ffc107;
    font-weight: 700;
}

.footer-section a {
    color: #6c757d !important;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff !important;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-column-title,
.footer-resources-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    font-size: 0.9375rem;
    font-family: 'Poppins', sans-serif;
}

.footer-section hr {
    border-color: #495057 !important;
    opacity: 0.5;
}

.footer-section .small {
    font-size: 0.875rem;
}

.footer-section .text-muted {
    color: #6c757d !important;
}

.footer-section .text-warning {
    color: #ffc107 !important;
}

/* Tablet and up */
@media (min-width: 768px) {
    .footer-section {
        margin-top: 100px;
    }
}