@font-face {
    font-family: 'UISansRegular';
    src: url('../fonts/UI_Sans_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'UISansBold';
    src: url('../fonts/UI_Sans_Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.main-container {    
    margin: 0;
    padding: 0;
}

.header-bar {
    display: flex;
    justify-content: space-between; /* push items to edges */
    align-items: center;
    padding: 0 20px;
}

.bravar-top {
    text-align: left;
    margin-top: 2rem; 
    margin-left: clamp(0rem, 5vw, 5rem);
}

.bravar-title {
    display: inline-block;
    font-family: 'UISansBold', cursive;
    font-size: clamp(2.5rem, 5vw, 3rem);
    color: #FFFFFF;
    text-decoration: none;    
}

    .bravar-title.with-spacing {
        margin-top: 2rem;
        margin-left: clamp(0rem, 5vw, 5rem);
    }

.tagline-wrapper {
    width: 100%;
    text-align: center;
    margin: 100px 0 28px 0;
}

.dynamic-tagline {
    display: block;
    font-family: 'UISansRegular', Arial, sans-serif;
    font-weight: 700;
    width: 95vw;
    margin: 0 auto;
    color: #E0E6ED;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(1.2rem, 5vw, 3rem);
    letter-spacing: 0.05em;
}

@media (max-width: 700px) {
    .bravar-title {
        font-size: 1.9rem;
    }

    .dynamic-tagline {
        font-size: clamp(1rem, 7vw, 3rem);
    }
}

.download-img {
    width: clamp(80px, 18vw, 150px);
    height: auto;
    transition: width 0.2s;
    display: block;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;    
    align-items: center;
    margin-bottom: 36px; 
}

.download-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    margin-top: 1rem;
    margin-left: 0.1rem;
}

.download-note p {
    font-size: 0.5rem;
    color: var(--secondary-text);
    text-align:  start;
}

    .download-note a {
        color: var(--brand-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.7rem;
    }

        .download-note a:hover {
            color: var(--brand);
            text-decoration: underline;
            font-size: 0.7rem;
        }

.disabled-download {   
    position: relative;
}

    .disabled-download::after {
        content: "Coming soon";
        position: absolute;
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%);
        background: black;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .disabled-download:hover::after {
        opacity: 1;
    }


.screenshots-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

    .screenshots-section img {
        background: #232539;
        border-radius: 10px;
        box-shadow: 0 3px 15px #1e2735;
        border: 1.5px solid #23304e44;
    }

.features-section, .planned-work-section {
    margin-top: 22px;
    padding: 18px 13px;
    background: #191c2fbb;
    border-radius: 8px;
}

    .features-section ul, .planned-work-section ul {
        padding-left: 20px;
    }

h2 {
    color: var(--brand-light); /* #57a0ff from your brushes */
    font-size: 1.4rem;
}








a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoP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YuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/*   v v v v v v v v v v v */

:root {
    /* Base Backgrounds */
    --bg: #1A1E29;
    --sidebar: #161923;
    --card: #232835;
    --hover: rgba(0,0,0,0.05);
    /* Accent */
    --brand: #006fff;
    --brand-light: #57a0ff;
    --focus: #0096ff;
    /* Text */
    --text: #E0E6ED;
    --muted: #A0A9B8;
    /* Borders */
    --border: #2E3342;
    --divider: #343A46;
    /* Status */
    --error: #e3372d;
    --warn: #f3ae4b;
    --success: #69c96f;
    --info: #29B6F6;
    --max: 1200px;
    --radius: 20px;
    --shadow: 0 20px 60px rgba(0,0,0,.35);
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'UISansRegular', 'UISansBold', 'Segoe UI', sans-serif, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    color: var(--text);
    background: var(--bg);
}

.nav-link.active,
.nav-link.active:hover {
    text-decoration: none;
}



/* ---- Container & utilities ---- */
.container {
    width: 100%;
    max-width: var(--max);
    margin: auto;
    padding: 0 20px
}

.grid {
    display: grid;
    gap: 24px
}

.hide-sm {
    display: none
}

@media (min-width: 980px) {
    .hide-sm {
        display: block
    }
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(120%) blur(8px);
    background: rgba(26,30,41,.9);
    border-bottom: 1px solid var(--divider);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px
}

    .nav .brand {
        display: flex;
        gap: 10px;
        align-items: center;
        font-weight: 700;
        letter-spacing: .2px
    }

    .nav a {
        color: var(--text);
        text-decoration: none;
        opacity: .9
    }

    .nav .menu {
        display: flex;
        gap: 18px;
        align-items: center
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(180deg,var(--brand),#0055cc);
    color: white;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow);
}

    .btn.secondary {
        background: transparent;
        border-color: var(--border);
        box-shadow: none;
        color: var(--brand-light);
    }

.btn:focus {
    outline: none; /* prevent white outline on click/focus */
}

/* ---- Hero ---- */
.hero {
    padding: 20px 0 40px;
}

.hero-inner {
    padding: 60px 40px 40px 40px;
    display: grid;
    gap: 36px;
    align-items: center;
    grid-template-columns: 1fr;
}

.hero h1 {
    font-size: clamp(36px, 6.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -.02em;
    margin: 0 0 12px;
}

.hero p {
    color: var(--muted);
    font-size: clamp(16px, 2.4vw, 20px);
    margin: 0 0 24px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top:1rem;
}

.hero-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(0,111,255,0.1); /* soft brand tint */
    border: 1px solid var(--brand);
    color: var(--brand-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-badge2 {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(0, 111, 255, 0.1);
    border: 1px solid var(--brand);
    color: var(--brand-light);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 2rem;
    margin-right: clamp(0rem, 3vw, 5rem);
    font-size: clamp(0.5rem, 3vw, 1rem);
}

    .hero-badge2:hover {
        background: rgba(0, 111, 255, 0.2);
    }

.bravar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; 
    margin-top: 2rem;
    margin-left: clamp(0rem, 5vw, 5rem);
}

.hero-beta {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    vertical-align: bottom;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(243, 174, 75, 0.1);
    border: 1px solid rgba(243, 174, 75, 0.3);
    color: #f3ae4b;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    font-size: clamp(0.3rem, 3vw, 1rem);
    color: #f3ae4b;
    text-decoration: none;
    margin-top: clamp(0rem, 0.5vw, 0.5rem);
}


.hero-img {
    max-width: 80%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: clamp(0rem, 5vw, 5rem);
}


/* mock/device + card */
.hero-mock {
    background: linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    padding: 16px;
    box-shadow: var(--shadow);
}

.mock-inner {
    aspect-ratio: 10/8;
    border-radius: 4px;
    background: var(--card);
    background-image: radial-gradient(500px 300px at 20% 10%, rgba(0,111,255,0.18), transparent 60%), radial-gradient(500px 300px at 80% 90%, rgba(87,160,255,0.15), transparent 60%);
    overflow: hidden;
}


/* 2-col at desktop */
@media (min-width: 980px) {
    .hero-inner {
        grid-template-columns: 1.05fr .95fr
    }
}


/* ---- Alternating  ---- */
.features {
    padding: 60px 0;
    border-top: 1px solid var(--divider)
}

.split {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: 1fr;
}

@media (min-width: 980px) {
    .split {
        grid-template-columns: 1.1fr .9fr
    }

        .split.reverse {
            grid-template-columns: .9fr 1.1fr
        }

            .split.reverse > :first-child {
                order: 2
            }
}

.media {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
    box-shadow: var(--shadow);
}

    .media img {
        width: 100%;
        border-radius: calc(var(--radius) - 12px);
        object-fit: cover;
    }



.tech-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

    .tech-section h2 {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--brand-light); /* primary text color */
    }

.tech-card {
    background-color: #232835; /* card background */
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text); /* secondary text color */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

    .tech-card h3 {
        color: var(--brand-light); /* accent color */
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .tech-card p,
    .tech-card ul {
        margin: 0.25rem 0;
    }

        .tech-card ul li {
            margin-left: 1rem;
        }






.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
    .faq-section h2 {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--brand-light); /* Accent color */
    }

.faq-item {
    margin-bottom: 0.75rem;
    border-radius: var(--radius);
    background-color: rgba(255,255,255,0.04); /* subtle dark card */
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

    .faq-item:hover {
        background-color: rgba(255,255,255,0.06);
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }

.faq-question {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 1rem;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text); /* primary text color */
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .faq-question:hover {
        background-color: rgba(255,255,255,0.08);
        color: var(--brand-light);
    }

.faq-answer {
    display: none;
    padding: 1rem 1.25rem 1rem 1.25rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text);
    background-color: transparent;
}

.faq-item.active .faq-answer {
    display: block;
}



/* ---- CTA band ---- */
.cta {
    margin: 80px 0;
    padding: 28px;
    background: rgba(0,111,255,.08);
    border: 1px solid var(--brand);
    border-radius: calc(var(--radius) + 4px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

/* ---- Footer ---- */
footer {
    background: var(--sidebar); /* matches sidebar / dark bg */
    color: var(--muted); /* secondary text color */
    padding: 40px 0px;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid var(--divider);
}

    footer a {
        color: var(--brand-light);
        text-decoration: none;
        margin: 0 8px;
        transition: color 0.2s ease;
    }

        footer a:hover {
            color: var(--brand);
        }

    /* Optional: smaller, subtle text below main footer */
    footer .footer-note {
        margin-top: 12px;
        font-size: 0.8rem;
        color: var(--muted);
    }

.terms-wrapper {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center; /* vertical center */
    min-height: 90vh; /* full viewport height */
    padding: 1rem; /* some breathing room on small screens */
    background: var(--bg); /* match app background */
}

.terms {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--sidebar);
    color: var(--muted);
    border-radius: 12px;
    border: 1px solid var(--divider);
    box-shadow: var(--shadow);
    font-size: 1rem;
    line-height: 1.6;
}

    .terms h1 {
        font-size: 1.8rem;
        color: var(--brand-light);
        margin-bottom: 1rem;
    }

    .terms ul {
        margin: 1rem 0;
        padding-left: 1.2rem;
    }

    .terms li {
        margin-bottom: 0.5rem;
    }


.support-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 99vw; /* Full width of the viewport */
    height: 83vh; /* Full height of the viewport */
    margin: 0;
    padding: 1rem;    
    overflow: hidden;
}

    .support-section .support-container {
        width: 100%;
        height: 100%;
    }

    .support-section iframe {
        width: 100%;
        height: 100%;
        border: none; /* Remove the border if not needed */
    }


.embed-header {
    margin-top:3rem;
    background-color: var(--brand);
    color: white;
    padding: 10px 0 10px clamp(50px, 5vw, 110px);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--divider);
}