:root {
    --base-background: #F8FAFC;
    --surface-white: #FFFFFF;
    --sky-blue-light: #E0F2FE;
    --sky-blue-accent: #38BDF8;
    --deep-blue-primary: #0F2744;
    --deep-blue-text: #0B192C;
    --soft-mint-accent: #D1FAE5;
    --soft-mint-highlight: #10B981;
    --muted-slate-text: #64748B;
    --border-subtle: #E2E8F0;
    --font-family-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
    background-color: var(--base-background);
    color: var(--deep-blue-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition-smooth);
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--sky-blue-accent);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
        word-break: break-word;
    }

    h2 {
        font-size: 1.5rem;
        word-break: break-word;
    }

    h3 {
        font-size: 1.25rem;
        word-break: break-word;
    }

    h4 {
        font-size: 1.1rem;
        word-break: break-word;
    }

    h5 {
        font-size: 1rem;
        word-break: break-word;
    }

    a,
    span,
    code {
        word-break: break-word;
    }
}

/* ===== site_header ===== */
#site-header .header-nav-link:hover {
    color: var(--deep-blue-primary) !important
}

#site-header .header-cta-btn:hover {
    background-color: var(--deep-blue-text) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.15)
}

#site-header .header-burger-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--sky-blue-accent)
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: none;
    opacity: 1;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out
}

.mobile-menu-overlay.open {
    display: block;
    transform: translateY(0)
}

.mobile-menu-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease
}

.mobile-menu-item:hover {
    background-color: var(--sky-blue-light);
    color: var(--deep-blue-primary) !important
}

@media(max-width:767.98px) {
    .brand-title {
        font-size: 0.8rem !important;
        hyphens: auto;
        line-height: 1.2
    }
}

/* ===== hero_section ===== */
#hero-section {
    background-color: #0F2744;
    color: #F8FAFC;
    overflow: hidden;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

#hero-section .text-sky-blue {
    color: #38BDF8 !important;
}

#hero-section .text-mint {
    color: #D1FAE5 !important;
}

#hero-section .text-slate {
    color: #D6DEE8 !important;
}

#hero-section .hero-ambient-glow {
    width: 600px;
    height: 600px;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(15, 39, 68, 0) 70%);
    pointer-events: none;
}

#hero-section .hero-badge {
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

#hero-section .hero-badge .tracking-wider {
    letter-spacing: 0.08em;
}

#hero-section .hero-title {
    font-weight: 800;
    line-height: 1.15;
    hyphens: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

#hero-section .hero-lead {
    max-width: 820px;
    line-height: 1.7;
    font-size: 1.125rem;
}

#hero-section .hero-tag {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.55rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}

#hero-section .btn-primary-custom {
    background-color: #38BDF8;
    color: #0B192C;
    border: 1px solid #38BDF8;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

#hero-section .btn-primary-custom:hover {
    background-color: #7DD3FC;
    color: #0B192C;
    border-color: #7DD3FC;
    transform: translateY(-1px);
}

#hero-section .btn-outline-custom {
    background-color: transparent;
    color: #D1FAE5;
    border: 1px solid rgba(209, 250, 229, 0.4);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

#hero-section .btn-outline-custom:hover {
    background-color: rgba(209, 250, 229, 0.12);
    color: #FFFFFF;
    border-color: #D1FAE5;
    transform: translateY(-1px);
}

#hero-section .border-subtle-dark {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

#hero-section .hero-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s ease, background 0.25s ease;
}

#hero-section .hero-feature-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

#hero-section .feature-icon-wrapper {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    font-size: 1.5rem;
}

@media (max-width: 767.98px) {
    #hero-section .hero-title {
        font-size: 1.125rem !important;
        line-height: 1.25;
    }

    #hero-section .h5 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #hero-section .hero-lead {
        font-size: 0.875rem;
    }
}

/* ===== main_vision_article ===== */
#human-vision-system {
    overflow: hidden;
}

#human-vision-system h1 {
    hyphens: auto;
}

#human-vision-system h2,
#human-vision-system h3,
#human-vision-system h4 {
    hyphens: auto;
}

@media(max-width:767.98px) {
    #human-vision-system h1 {
        font-size: 1.125rem !important;
        line-height: 1.2 !important;
    }

    #human-vision-system h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    #human-vision-system h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
    }

    #human-vision-system .lead {
        font-size: 0.875rem !important;
    }

    #human-vision-system .content-body {
        font-size: 0.875rem !important;
    }

    #human-vision-system img {
        height: 220px !important;
    }
}

#human-vision-system .js-share-btn {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#human-vision-system .js-share-btn:hover {
    background-color: var(--sky-blue-accent) !important;
    color: var(--surface-white) !important;
}

#human-vision-system .js-share-btn:hover .js-share-icon,
#human-vision-system .js-share-btn:hover .js-share-text {
    color: var(--surface-white) !important;
}

/* ===== articles_knowledge_base ===== */
.articles-knowledge-base .article-card-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.articles-knowledge-base .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.articles-knowledge-base .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 39, 68, 0.08) !important;
}

.articles-knowledge-base .card:hover .article-card-img {
    transform: scale(1.03);
}

.articles-knowledge-base .modal-banner-img {
    height: 260px;
    object-fit: cover;
}

.articles-knowledge-base .js-modal-trigger {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.articles-knowledge-base .js-modal-trigger:hover {
    background-color: var(--sky-blue-accent) !important;
    color: var(--surface-white) !important;
}

@media (max-width: 767.98px) {
    .articles-knowledge-base h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    .articles-knowledge-base h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    .articles-knowledge-base .article-card-img {
        height: 180px;
    }

    .articles-knowledge-base .modal-banner-img {
        height: 180px;
    }
}

/* ===== interesting_facts ===== */
#vision-facts {
    background-color: #F0F9FF;
    width: 100%;
}

#vision-facts .js-fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(15, 39, 68, 0.08) !important;
    border-color: var(--sky-blue-accent) !important;
}

@media (max-width: 767.98px) {
    #vision-facts h2 {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #vision-facts h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== about_virogeniceon ===== */
#about-blog {
    overflow: hidden;
    hyphens: auto;
}

@media (max-width: 767.98px) {
    #about-blog h2 {
        font-size: 1rem;
        line-height: 1.25;
    }

    #about-blog h3 {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #about-blog h4 {
        font-size: 0.8125rem;
        line-height: 1.2;
    }
}

/* ===== faq_section ===== */
#faq-section {
    overflow: hidden;
}

#faq-section .js-faq-btn {
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

#faq-section .js-faq-btn:focus-visible {
    box-shadow: 0 0 0 3px var(--sky-blue-accent);
}

#faq-section .js-faq-btn[aria-expanded="true"] .js-faq-icon {
    transform: rotate(180deg);
    background-color: var(--deep-blue-primary) !important;
    color: var(--surface-white) !important;
}

#faq-section .js-faq-btn[aria-expanded="true"] .js-faq-icon i {
    color: var(--surface-white) !important;
}

@media (max-width: 767.98px) {
    #faq-section h2 {
        font-size: 1rem;
        line-height: 1.25;
        hyphens: auto;
    }

    #faq-section .js-faq-btn span {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}

/* ===== footer ===== */
#site-footer {
    background-color: var(--deep-blue-primary);
    color: #F8FAFC;
    width: 100%;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.virogen-footer-logo {
    max-width: 48px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.virogen-footer-brand {
    color: #F8FAFC;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.virogen-footer-desc {
    color: #94A3B8;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 360px;
}

.virogen-footer-heading {
    color: #F8FAFC;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    hyphens: auto;
    line-height: 1.2;
}

.virogen-footer-list li {
    margin-bottom: 0.65rem;
}

.virogen-footer-link {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease-in-out;
    display: inline-block;
}

.virogen-footer-link:hover,
.virogen-footer-link:focus {
    color: var(--sky-blue-accent);
    text-decoration: none;
}

.virogen-footer-category-tag {
    color: #94A3B8;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
}

.virogen-footer-category-tag i {
    color: var(--sky-blue-accent);
    font-size: 1.125rem;
}

.virogen-footer-divider {
    border-color: rgba(226, 232, 240, 0.15);
    opacity: 1;
    margin: 0;
}

.virogen-footer-copy {
    color: #94A3B8;
    font-size: 0.875rem;
}

.virogen-legal-list {
    padding-left: 0;
}

.virogen-legal-link {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease-in-out;
}

.virogen-legal-link:hover,
.virogen-legal-link:focus {
    color: #F8FAFC;
    text-decoration: underline;
}

.virogen-legal-separator {
    color: rgba(148, 163, 184, 0.5);
}

@media (max-width: 767.98px) {
    .virogen-footer-brand {
        font-size: 0.8rem;
    }

    .virogen-footer-heading {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    .virogen-footer-desc,
    .virogen-footer-link,
    .virogen-footer-category-tag,
    .virogen-footer-copy,
    .virogen-legal-link {
        font-size: 0.8125rem;
    }
}