/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0e0e0e;
  color: #f0f0f0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  border-radius: 6px;
}

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

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

ul{
    list-style-type: None;
}

/* === NAVBAR === */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #121212;
    padding: 1rem;
    border-bottom: 1px solid #2c2c2c;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

nav a {
  color: #bbb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover,
.btn-primary:hover,
.btn-secondary:hover {
  color: #fff;
}

.video-features {
    background: #181818;
    padding: 4rem 2rem;
}

.video-feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    align-content: flex-start;
}

    .video-feature-row.reverse {
        flex-direction: row-reverse;
    }

.feature-video {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.feature-panel {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.fixed-video {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 800px;
    transition: transform 0.3s ease;
    object-fit: fill;
    top: 80vh;
    left: 40%;
    z-index: -5;
}

.feature-text {
    flex: 1;
    min-width: 280px;
}

    .feature-text h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-text p {
        font-size: 1.0rem;
        color: #ccc;
        line-height: 1.6;
    }

.extension-card {
    background: #181818;
    padding: 3rem 2rem;
    border-top: 1px solid #333;
}

.card-link {
    text-decoration: none;
    color: inherit;
    margin: 0rem;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #252525;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: background 0.3s;
    line-height: 1.0;
}

.download-center{
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

    .card:hover {
        background: #2a2a2a;
    }

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .card-header img.badge {
        height: 40px;
        width: 40px;
    }

    .card-header h4 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }

.split-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge {
    height: 42px;
    width: 42px;
}

.version-tag {
    font-size: 0.9rem;
    color: #aaa;
}

.approved {
    color: #04d361;
    font-weight: 600;
    margin-left: 0.3rem;
}

.hero-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    grid-column: span 2;
}

.extension-card.slim {
    flex: 1 1 40%;
    min-width: 320px;
    background: #1d1d1d;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.extension-card .card {
    padding: 0;
    border: none;
    background: none;
}

.hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.dashboard-grid {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: flex-start;
    padding: 4rem;
}

.hero-left {
    flex: 1 1 55%;
    min-width: 320px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}


.extension-card {
    background: #1a1a1a;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .extension-card.large {
        flex: 1 1 35%;
        min-width: 320px;
        padding: 1.5rem;
    }

.card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .card-header .badge {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.version-tag {
    font-size: 0.9rem;
    color: #aaa;
}

.approved {
    color: #04d361;
    font-weight: 600;
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

    .card-meta label {
        font-weight: 600;
        color: #888;
        font-size: 0.7rem;
        text-transform: uppercase;
        display: block;
    }

.card-description {
    color: #ccc;
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.download-instructions {
    flex-basis: 100%;
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}


.card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: #ccc;
}

    .card-meta label {
        font-weight: 600;
        color: #999;
        display: block;
        margin-bottom: 0.2rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

.card-description {
    color: #ccc;
    font-size: 1rem;
    margin-top: 0.5rem;
}


.version {
    font-size: 0.95rem;
    color: #aaa;
}

.approved {
    color: #04d361;
    font-weight: bold;
}

.card-description {
    color: #ccc;
    font-size: 1rem;
}

.card-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.9rem;
}

.download-instructions {
    flex-basis: 100%;
    margin-top: 0.5rem;
    color: #aaa;
}


/* === HERO === */
/* Ideal size: 2560x1440 or 3200x1800 (for 1440p–4K scaling) */
.hero {
  background-image: url('assets/openvat_hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: unset;
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,14,14,0.8), rgba(14,14,14,1));
  z-index: -1;
}


.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #aaa;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #09f;
  color: #fff;
}

    .btn-primary.full {
        width: 100%;
        box-shadow: 0.2rem 0.8rem 0.8rem rgba(0, 82, 255, 0.102), 1.6rem 1rem 1.8rem rgba(0, 82, 255, 0.102), 3.2rem 1rem 3.2rem rgba(0, 82, 255, 0.349);
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .btn-primary.center {
        box-shadow: 0.2rem 0.8rem 0.8rem rgba(0, 82, 255, 0.102), 1.6rem 1rem 1.8rem rgba(0, 82, 255, 0.102), 3.2rem 1rem 3.2rem rgba(0, 82, 255, 0.349);
        text-align: center;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        font-weight: 700;
    }

    .btn-primary.center span {
        margin-right: 0.5rem;
    }

.download-center p{
    font-size: .75rem;
    font-weight: lighter;
    text-align: center;
}
.btn-secondary {
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #444;
}

/* === SECTIONS === */
.section {
  padding: 4.5rem 0;
}

.section.dark {

}

.use-cases{
    margin-bottom: 4rem;
}

.section h3 {
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
}

.section p {
  margin-bottom: 1.25rem;
  color: #bcbcbc;
}

.headerlogo {
    width: 25px;
    height: 25px;
    transform: translateY(-2px);
    margin-right:10px;
}

.header_logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.feature-list,
.engine-list,
.faq {
    background: #131313;
    padding: 4rem 2rem;
}

    .faq h3 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
    }

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #1a1a1a;
    color: #ccc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .faq-question:hover {
        background: #222;
    }

.faq-answer {
    display: none;
    background: #1e1e1e;
    padding: 1rem;
    color: #ddd;
    font-size: 0.95rem;
}

    .faq-answer p {
        margin: 0;
    }


.feature-list li::before,
.engine-list li::before {
  content: "\2714";
  color: #7f5af0;
  margin-right: 0.5rem;
}

#videofeatures {
    padding: 8.5rem 2rem;
}
#videofeatures h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

#how-to-use {
    padding-top:0;
}

    #how-to-use h3 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    #how-to-use .feature-grid {
        display: grid;
        gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
        justify-content: center;
    }

    #how-to-use .feature-card {
        background: #252525;
        padding: 1.75rem;
        border-radius: 12px;
        border: 1px solid #333;
    }

.feature-info {
    background: #101010;
    padding: 4rem 2rem;
}

.info-card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

    .info-card h4 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .info-card p {
        margin-bottom: 1.25rem;
        font-size: 1.05rem;
        color: #ddd;
    }

    .info-card a.btn {
        display: inline-block;
        margin-top: 1rem;
    }

.howto-note {
    max-width: 800px;
    margin: 2rem auto 0 auto;
    text-align: center;
    font-size: 1rem;
    color: #ccc;
}

    .howto-note a {
        color: #7f5af0;
        text-decoration: none;
        font-weight: 600;
    }

        .howto-note a:hover {
            text-decoration: underline;
        }


.image-grid,
.logo-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* === TABLE === */
table {
    background: #151515;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.5rem;
    line-height: 1.8rem;
    font-family: sans-serif;
    padding: 1rem;
    justify-self: center;
}

table caption{
    margin-bottom: 0.5rem;
}
    table th,
    table td {
        padding: 0.25rem;
        border: none;
        text-align: center;
    }

.compare-table th {
  background-color: #262626;
  font-weight: 700;
}

/* === CTA === */
.cta {
  background-color: #121212;
  text-align: center;
}

.cta-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* === FOOTER === */
.footer {
  background-color: #0c0c0c;
  padding: 2rem;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

.hero-left {
    flex: 1 1 55%;
    height: 100%;
    min-width: 320px;
    align-items: flex-end;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
}

    .card-grid .studio {
        grid-column: span 2;
    }

.extension-card {
    background: #1a1a1a;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: background 0.2s ease;
}

    .extension-card:hover {
        background: #222;
    }

    .extension-card.large {
        flex: 1 1 35%;
        min-width: 320px;
        padding:0;
        max-width: 500px;
    }

    .extension-card.secondary {
        width: 300px;
        margin: .5rem;
        display:flex;
        align-items: center;
        justify-content: center;
    }
    .extension-card.feature {
        width: 300px;
        margin: .5rem;
        border: 1px solid #7479EB;
        color: #fff;
        box-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 82, 255, 0.52), .6rem .5rem 1rem rgba(0, 82, 255, 0.102), 3.2rem 1rem 3.2rem rgba(0, 82, 255, 0.049);
    }

.card {
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

    .card-header .badge {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.version-tag {
    font-size: 0.9rem;
    color: #aaa;
}

.version-tag.feature {
    font-size: 0.9rem;
    color: #fff;
}

.approved {
    color: #04d361;
    font-weight: 600;
}

.card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

    .card-meta label {
        font-weight: 600;
        color: #888;
        font-size: 0.7rem;
        text-transform: uppercase;
        display: block;
    }

.card-description {
    color: #ccc;
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.download-instructions {
    flex-basis: 100%;
    color: #888;
    font-size: 0.7rem;
    margin-top: 0.3rem;
}

.download-instructions-feature {
    flex-basis: 100%;
    color: #fff;
    font-size: 0.7rem;
    margin-top: 0.3rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .rightbutton {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        align-content: flex-end;
    }

.card-arrow {
    font-size: 1.5rem;
    color: #666;
    transition: color 0.2s ease;
}

.quickstart:hover .card-arrow {
    color: #fff;
}


.cards {
  padding: 3rem 2rem 5rem;
  display: flex;
}

.integrations .logos {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    margin: 4rem, 2rem;
}

.integrations h2{
    text-align: center;
    padding: 4rem;
}

    .integrations .logos img {
        height: 48px;
        width: auto;
        max-width: 100px;
        opacity: 0.85;
        transition: opacity 0.2s ease, transform 0.2s ease;
        filter: brightness(1.2);
    }

        .integrations .logos img:hover {
            opacity: 1;
            transform: scale(1.05);
        }

.splitvideo {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 0, 1rem;
}

.halftext{
    width: 50%;
}

.infocard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #151515;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    line-height: 1.0;
    font-size: 0.5rem;
    padding: 1rem;
}

    .infocard p {
        font-size: 0.8rem;
        margin: 0;
        padding: 0;
    }

.openvat-ui-explainer {
}

    .openvat-ui-explainer h2 {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
        color: #ffffff;
        border-bottom: 1px solid #444;
        padding-bottom: 0.5rem;
    }

.option-block {
    margin-bottom: .75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2b2b2b;
}

    .option-block h3 {
        font-size: .9rem;
        margin-bottom: 0.2rem;
        color: #e0e0e0;
        font-weight: 600;
    }

    .option-block p {
        font-size: .75rem;
        line-height: 1;
        margin: 0;
        color: #cccccc;
    }

    .option-block ul {
        margin: 0;
        padding-left: 1.2rem;
        list-style: disc;
    }

    .option-block li {
        margin-bottom: 0.5rem;
        color: #cccccc;
        font-size: 0.95rem;
    }

.sectionlabel {
    text-align: center;
    padding: 1.5rem 0;
}

p a {
   text-decoration: none;
   color: #3fb7f6
}

.headercards {
    display: flex;
    justify-content: space-evenly;
}
/* === Side Nav === */
.side-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 1.5rem;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

    .side-nav.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .side-nav a {
        color: #aaa;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: color 0.2s ease;
    }

        .side-nav a:hover {
            color: #fff;
        }

/* === Hamburger === */
.hamburger-toggle {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 1001;
}

/* === Mobile Menu === */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.2rem;
}

    .mobile-menu a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }

    .mobile-menu.show {
        display: flex;
    }
ul li{
color: #bcbcbc;
}
ul li a{
            color: #7f5af0;
        text-decoration: none;
        font-weight: 600;
}

#licensing, #encoding, #engines, #roadmap {
  scroll-margin-top: 80px; /* Adjust this to match your header height */
}

/* === Responsive Toggle === */
@media (max-width: 768px) {
    .side-nav {
        display: none;
    }

    .hamburger-toggle {
        display: block;
    }
.katex-responsive {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    overflow-x: auto;
}

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
}
