/* Add JetBrains Mono font import at the TOP of your CSS file */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

html {
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
     scrollbar-gutter: stable; /* Reserve space for scrollbar */
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: #1e0b26;
    color: #e0e0e0;  /* Changed from #1e0b26 to light gray */
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, 
        rgba(0, 212, 255, 0.15) 0%, 
        rgba(0, 153, 255, 0.08) 25%,
        rgba(30, 11, 38, 0) 60px);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

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

/* Globe Pinstripe Background */
.globe-pinstripe-background {
     color: rgba(167, 180, 183, 0.05);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.navbar-menu a {
    position: relative;
    padding-bottom: 4px;
    text-decoration: none;
}

.navbar-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #00d4ff;
    opacity: 0.5;
    transition: width 0.25s ease;
}

/* Hover + keyboard focus = underline appears */
.navbar-menu a:hover::after,
.navbar-menu a:focus::after {
    width: 100%;
}

/* Active nav item (JS can toggle this class) */
.navbar-menu a.active::after {
    width: 100%;
    opacity: 1;
}

.logo-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: block;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.navbar-menu a:hover {
    color: #00d4ff;
}

/* Button Styles */
.button-35 {
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .1) 0 6px 20px;
    box-sizing: border-box;
    color: #121212;
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 auto;
    font-family: Inter,sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 1rem 1.2rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s,-webkit-box-shadow .2s;
    white-space: nowrap;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-35:hover {
    box-shadow: #121212 0 0 0 3px, transparent 0 0 0 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00d4ff;
    transition: all 0.3s;
    border-radius: 3px;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page sections for scroll snap */
.page-section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: calc(80px + 2rem);
}

.hero-section {
    position: relative;
    text-align: center;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

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

/* Homepage */
.homepage {
    text-align: center;
    padding: 3rem 0;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    text-align: center;
    font-size: 1.4rem;
    color: #888;    
    margin-bottom: 2rem;
}

.tagline:after {
    text-align: center;
    font-size: 1.4rem;
    color: #888;    
    margin-bottom: 2rem;
}

.tagline2 {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    text-align: center;
}

.tagline3 {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-top: 10rem;
    text-align: right;
    text-align: bottom;
}

.tagline4 {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.8;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #00d4ff;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #72e60d;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: #00d4ff;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    transform: scale(1.2);
    color: #00ffff;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #00d4ff;
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    color: #00d4ff;
    font-size: 0.9rem;
}

.arrow-down {
    font-size: 2rem;
    margin-top: 0.5rem;
    color: #00d4ff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* FAQ page styling */
.faq-section-page {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
}

.faq-container {
    max-width: 800px;
    width: 100%;
    display: grid;
    gap: 1.5rem;
    margin: 3rem auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #00d4ff;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-width: 4px;
    transform: translateX(5px);
}

.faq-question {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.faq-answer {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.faq-answer a {
    color: #00d4ff;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Content Pages */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00d4ff;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 1rem;
}

.content-page h2 {
    font-size: 1.5rem;
    color: #00d4ff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    color: #00a8cc;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.content-page p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #d0d0d0;
}

.content-page ul, .content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
    line-height: 1.8;
}

.content-page li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-page strong {
    color: #00d4ff;
}

.content-page a {
    color: #00d4ff;
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

.back-button {
    display: inline-block;
    margin-bottom: 2rem;
    margin-top: 5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.back-button:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
}

.video-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.whitepaper-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
}

.whitepaper-subtitle {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.whitepaper-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.whitepaper-meta div {
    color: #b0b0b0;
}

.whitepaper-meta strong {
    color: #00d4ff;
}

/* Tables */
.protocol-table, .comparison-table, table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.6);
}

.protocol-table th, .comparison-table th, th {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    font-weight: 600;
}

.protocol-table td, .comparison-table td, td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.protocol-table tr:last-child td, .comparison-table tr:last-child td, tr:last-child td {
    border-bottom: none;
}

.protocol-table tr:hover, .comparison-table tr:hover, tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Code Blocks - Extracted from HTML */
pre {
    padding: 1rem;
    background: #0c0c0c;
    border-radius: 8px;
    overflow-x: auto;
    white-space: pre-wrap;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

code {
    font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
    color: #00d4ff;
}

/* Footer */
.page-footer {
    margin-top: 4rem;
    padding-top: 2rem 0;
    text-align: center;
    color: #666;
}

/* .footer-divider {
    height: 1px;
    background: rgba(0, 212, 255, 0.2);
    margin-bottom: 2rem;
} */
 .footer-divider {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    height: 1px;
    background: rgba(0, 153, 255, 0.2);
}

.page-footer a {
    color: #00d4ff;
    text-decoration: none;
}

.page-footer a:hover {
    text-decoration: underline;
}

.slogan {
    color: #00d4ff;
    text-decoration: none;
}

.link {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.link:hover {
    color: #00ffff;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and smaller screens */
@media (max-width: 768px) {
    /* Hamburger menu display */
    .hamburger {
        display: flex;
    }

    /* Mobile navigation menu */
    .navbar-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(15, 15, 30, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 2rem 0;
        gap: 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu li {
        padding: 1rem 0;
    }

    .navbar-menu li a {
        font-size: 1.1rem;
    }

    /* Navbar adjustments */
    .navbar-container {
        padding: 1rem;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    /* Container padding */
    .container {
        padding: 80px 1rem 2rem;
    }

    /* Homepage adjustments */
    .homepage {
        padding: 2rem 0;
    }

    .homepage h2 {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .logo-image {
        width: 100px;
        height: 100px;
    }

    /* Features grid - single column on mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h2 {
        font-size: 1.3rem;
    }

    /* FAQ container */
    .faq-container {
        padding: 0 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* Content pages */
    .content-page {
        padding: 1rem;
    }

    .content-page h1 {
        font-size: 2rem;
    }

    .content-page h2 {
        font-size: 1.3rem;
    }

    .content-page h3 {
        font-size: 1.1rem;
    }

    .content-page p {
        font-size: 0.95rem;
    }

    .content-page ul, .content-page ol {
        margin-left: 1.5rem;
    }

    /* Back button */
    .back-button {
        margin-top: 3rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Whitepaper */
    .whitepaper-header h1 {
        font-size: 2rem;
    }

    .whitepaper-subtitle {
        font-size: 1rem;
    }

    .whitepaper-meta {
        grid-template-columns: 1fr;
        font-size: 0.85rem;
    }

    /* Tables - responsive scroll */
    .protocol-table, .comparison-table, table {
        display: block;
        overflow-x: auto;
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.7rem;
        min-width: 100px;
    }

    /* Code blocks */
    pre {
        font-size: 0.85rem;
        padding: 0.8rem;
    }

    /* Scroll indicator */
    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-indicator span {
        font-size: 0.8rem;
    }

    .arrow-down {
        font-size: 1.5rem;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .navbar-logo {
        font-size: 1rem;
    }

    .container {
        padding: 70px 0.5rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .logo-image {
        width: 80px;
        height: 80px;
    }

    .homepage h2 {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .feature-card h2 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .faq-item {
        padding: 1.2rem;
    }

    .content-page h1 {
        font-size: 1.7rem;
    }

    .content-page h2 {
        font-size: 1.2rem;
    }

    .content-page h3 {
        font-size: 1rem;
    }

    .content-page p, .content-page li {
        font-size: 0.9rem;
    }

    .back-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .whitepaper-header h1 {
        font-size: 1.5rem;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    pre {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
}

/* Landscape mode optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .page-section {
        min-height: auto;
        padding: 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.3rem;
    margin-left: 1rem;
    user-select: none;
    transition: transform 0.2s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Light mode base */
body.light-mode {
    background: #f9f9f9 !important;
    color: #111 !important;
}

body.light-mode .navbar {
    background: #ffffffdd !important;
    color: #111 !important;
}

body.light-mode a {
    color: #111 !important;
}








/* ============================================================
   LIGHT MODE THEME - ADD TO END OF YOUR MAIN CSS FILE
   Replace the existing light mode sections with this
   ============================================================ */

.theme-toggle {
    cursor: pointer;
    font-size: 1.3rem;
    margin-left: 1rem;
    user-select: none;
    transition: transform 0.2s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

html.light-mode,
body.light-mode {
    background: #fafbfc !important;
    color: #0a0a0a !important;
}

body.light-mode::before {
    background: radial-gradient(
        circle at center,
        rgba(0, 153, 255, 0.08) 0%,
        rgba(0, 153, 255, 0.03) 35%,
        rgba(250, 251, 252, 0) 70%
    );
}

/* Navbar */
body.light-mode .navbar {
    /* background: rgba(255, 255, 255, 0.95) !important; */
    /* border-bottom: 1px solid rgba(0, 153, 255, 0.2); */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

body.light-mode .navbar-logo {
    -webkit-text-fill-color: initial;
    color: #0066cc;
    font-weight: 600;
}

body.light-mode .navbar-menu a {
    color: #0a0a0a !important;
    font-weight: 500;
}

body.light-mode .navbar-menu a:hover {
    color: #0066cc !important;
}

body.light-mode .navbar-menu a::after {
    background: #0066cc;
}

/* Mobile menu */
body.light-mode .navbar-menu {
    background: rgba(255, 255, 255, 0.98);
    /* border-bottom: 1px solid rgba(0, 153, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

/* Feature cards */
body.light-mode .feature-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 120, 215, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.light-mode .feature-card:hover {
    border-color: #0078d7;
    box-shadow: 0 8px 24px rgba(0, 120, 215, 0.15);
    transform: translateY(-2px);
}

body.light-mode .feature-card h2 {
    color: #0066cc;
    font-weight: 600;
}

body.light-mode .feature-card p {
    color: #0a0a0a;
    line-height: 1.6;
}

/* Taglines */
body.light-mode .tagline {
    color: #0a0a0a;
    font-weight: 500;
}

body.light-mode .tagline2,
body.light-mode .tagline3 {
    color: #0066cc;
    font-weight: 600;
}

body.light-mode .tagline4 {
    color: #0a0a0a;
    font-weight: 500;
}

body.light-mode .job-card {
    background: #f9f9f9;
    color: #0000f9;
    font-weight: 500;
}

body.light-mode .job-description {
    color: #000000;
    font-weight: 400;
}

body.light-mode .job-company {
    color: #000000;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

body.light-mode .skill-tag {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #000000;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

body.light-mode .salary-info {
    color: #bb33ee;
    font-weight: 600;
    font-size: 1.1rem;
}


body.light-mode .filter-select, #searchInput {
    background: #ffffff;
}

/* Status indicator */
body.light-mode .status-indicator {
    color: #0066cc;
    font-weight: 500;
}

body.light-mode .status-dot {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}

/* Social icons */
body.light-mode .social-link {
    color: #0066cc;
}

body.light-mode .social-link:hover {
    color: #0052a3;
    transform: scale(1.1);
}

/* FAQ Section */
body.light-mode .faq-section-page {
    background: linear-gradient(180deg, #f8f9fb 0%, #e8ecf1 100%);
}

body.light-mode .faq-item {
    background: rgba(255, 255, 255, 0.8);
    border-left: 3px solid #0066cc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

body.light-mode .faq-item:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.light-mode .faq-question {
    color: #0066cc;
    font-weight: 600;
}

body.light-mode .faq-answer {
    color: #0a0a0a;
    line-height: 1.7;
}

body.light-mode .faq-answer a {
    color: #0066cc;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(0, 102, 204, 0.3);
}

body.light-mode .faq-answer a:hover {
    text-decoration-color: #0066cc;
}

/* Content Pages */
body.light-mode .content-page h1 {
    color: #0066cc;
    border-bottom: 3px solid rgba(0, 102, 204, 0.3);
    font-weight: 700;
}

body.light-mode .content-page h2 {
    color: #0066cc;
    font-weight: 600;
}

body.light-mode .content-page h3 {
    color: #004d99;
    font-weight: 600;
}

body.light-mode .content-page p,
body.light-mode .content-page li {
    color: #0a0a0a;
    line-height: 1.7;
}

body.light-mode .content-page ul,
body.light-mode .content-page ol {
    color: #0a0a0a;
}

/* Tables */
body.light-mode table,
body.light-mode .protocol-table,
body.light-mode .comparison-table {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-mode th {
    background: rgba(0, 102, 204, 0.12);
    color: #0066cc;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 102, 204, 0.3);
}

body.light-mode td {
    color: #0a0a0a;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

body.light-mode tr:hover {
    background: rgba(0, 120, 215, 0.06);
}

/* Code blocks */
body.light-mode pre {
    background: #f8f9fa;
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.light-mode code {
    color: #0066cc;
    font-weight: 500;
    background: rgba(0, 102, 204, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Videos */
body.light-mode .video-container {
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Back button */
body.light-mode .back-button {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border: 1px solid rgba(0, 102, 204, 0.3);
    font-weight: 500;
}

body.light-mode .back-button:hover {
    background: rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
    transform: translateX(-2px);
}

/* Footer */
body.light-mode .page-footer {
    color: #0a0a0a;
    /* background: rgba(248, 249, 251, 0.95); */
}

body.light-mode .page-footer a {
    color: #0066cc;
    font-weight: 500;
}

body.light-mode .page-footer a:hover {
    color: #004d99;
    text-decoration: underline;
}

body.light-mode .footer-divider {
    background: rgba(0, 102, 204, 0.2);
}

/* Scroll indicator */
body.light-mode .scroll-indicator {
    color: #0066cc;
    font-weight: 500;
}

body.light-mode .arrow-down {
    color: #0066cc;
}

/* Buttons */
body.light-mode button,
body.light-mode .search-button,
body.light-mode .button-35 {
    background: #0066cc;
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

body.light-mode button:hover,
body.light-mode .search-button:hover,
body.light-mode .button-35:hover {
    background: #0052a3;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
    transform: translateY(-1px);
}

/* Input fields */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: white;
    border: 1px solid rgba(0, 102, 204, 0.3);
    color: #0a0a0a;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

/* Links */
body.light-mode a,
body.light-mode .link {
    color: #0066cc !important;
}

body.light-mode a:hover,
body.light-mode .link:hover {
    color: #0052a3 !important;
}

body.light-mode .slogan {
    color: #0066cc;
}

/* Whitepaper specific */
body.light-mode .whitepaper-header {
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

body.light-mode .whitepaper-subtitle {
    color: #0066cc;
}

body.light-mode .whitepaper-meta {
    background: rgba(0, 102, 204, 0.05);
}

body.light-mode .whitepaper-meta div {
    color: #0a0a0a;
}

body.light-mode .whitepaper-meta strong {
    color: #0066cc;
}

/* Globe background */
body.light-mode .globe-pinstripe-background {
    background-color: rgba(248, 249, 251, 0.8);
    color: rgba(0, 102, 204, 0.08);
}
