:root {
    --bg: #0f1724;
    --card: #0d1520;
    --muted: #9aa4b2;
    --accent: #ff4d4f;
    --accent-2: #ff7b50;
    --glass: rgba(255,255,255,0.03);
    --white: #ffffff;
    --radius: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


select {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-size: 10pt;
}

textarea {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg,#07101a 0%, #06121a 100%);
    color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    a:hover {
        color: #FF4000;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--accent),var(--accent-2));
    display: grid;
    place-items: center;
    font-weight: 800;
    color: white;
    font-size: 18px
}

.brand h1 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.02em
}

nav {
    display: flex;
    gap: 12px;
    align-items: center
}

.nav-link {
    color: var(--muted);
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px
}

.nav-cta {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--white)
}

.login-btn {
    background: var(--accent);
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s all
}

    .login-btn:hover {
        background: var(--accent-2)
    }

/* Hero */
.hero {
    display: grid;
    /*grid-template-columns: 1fr 420px;*/
    gap: 28px;
    align-items: center;
    margin-bottom: 28px
}

.hero-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.03)
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px
}

h2 {
    margin: 0 0 12px 0;
    font-size: 28px;
    line-height: 1.05
}

.lead {
    color: var(--muted);
    margin-bottom: 18px
}

.cta-row {
    display: flex;
    gap: 12px
}

.btn {
    background: var(--accent);
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700
}

    .btn.secondary {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.06);
        color: var(--white)
    }

.btnSmall {
    background: var(--accent);
    color: white;
    padding: 6px 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 8pt;
    font-weight: 700
}

    .btnSmall.secondary {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.06);
        color: var(--white)
    }

.btnXtraSmall {
    background: var(--accent);
    color: white;
    padding: 3px 4px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 7pt;
    font-weight: 600;
    margin-right: 2px;
}

    .btnXtraSmall.secondary {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.06);
        color: var(--white)
    }

.features-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-top: 18px
}

.feature {
    background: rgba(255,255,255,0.02);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.02);
    font-size: 14px
}

/* Right panel - quick stats */
.panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03)
}

    .panel h3 {
        margin: 0 0 8px 0
    }

.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.02)
}

.muted {
    color: var(--muted);
    font-size: 13px
}

/* Sections */
.section {
    margin: 28px 0
}

.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.03)
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px
}

.pricing {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap
}

.price-card {
    flex: 1;
    min-width: 220px;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
    border: 1px solid rgba(255,255,255,0.02)
}

.price {
    font-size: 26px;
    font-weight: 800;
    margin: 6px 0
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

.testimonial {
    padding: 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    font-size: 14px
}

/* Demo / screenshot */
.mock {
    background: linear-gradient(180deg,#07101a,#051018);
    border-radius: 10px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.03)
}

.screenshot {
    height: 260px;
    border-radius: 8px;
    background: linear-gradient(90deg,#08121a,#07121a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700
}

/* Footer / contact */
footer {
    margin-top: 36px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

/* Responsive */
@media (max-width:980px) {
    .hero {
        grid-template-columns: 1fr
    }

    .features-list {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .testimonials {
        grid-template-columns: 1fr
    }
}

/* small helpers */
ul.clean {
    padding-left: 18px;
    margin: 8px 0
}

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    font-weight: 700;
    color: var(--muted);
    font-size: 13px
}

.small {
    font-size: 13px
}

.badge {
    background: rgba(0,0,0,0.5);
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px
}

.highlight {
    color: var(--accent);
    font-weight: 800
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius);
    max-width: 360px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

    .modal-content h3 {
        margin: 0 0 16px;
        font-size: 22px
    }

    .modal-content input {
        width: 100%;
        padding: 12px;
        margin-bottom: 14px;
        border-radius: 8px;
        border: none;
        background: #1b2534;
        color: white;
    }

        .modal-content input:focus {
            outline: 1px solid var(--accent)
        }

    .modal-content button {
        width: 100%;
        background: var(--accent);
        border: none;
        padding: 12px;
        border-radius: 8px;
        color: white;
        font-weight: 700;
        cursor: pointer;
        margin-top: 4px;
    }

        .modal-content button:hover {
            background: var(--accent-2)
        }

.close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    font-weight: 700;
}

    .close:hover {
        color: white
    }

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.toasterMessageSuccess {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: limegreen;
    color: white;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.toasterMessageError {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: red;
    color: white;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    line-height: 40px;
}

.sqrtable {
    border-spacing: 0px;
    border: 2px solid #E2E2E2;
    font-size: 10pt;
}

    .sqrtable th {
        background-color: white;
        color: #555555;
        font-weight: bold;
        border: 1px solid #E2E2E2;
        padding: 5px;
        font-size: 10pt;
    }

    .sqrtable tr {
        vertical-align: top;
        font-size: 10pt;
    }

        .sqrtable tr td {
            border: 1px solid #E2E2E2;
            padding: 5px;
            font-size: 10pt;
        }

            .sqrtable tr td input[type="text"] {
                width: 100%;
                box-sizing: border-box;
            }

            .sqrtable tr td select {
                width: 100%;
                box-sizing: border-box;
            }

/* =========================== */
/*  EXISTING STYLES ABOVE      */
/*  Additions & Tweaks Below   */
/* =========================== */

/* Mobile-first typography adjustments */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        font-size: 15px;
        padding: 0 12px;
    }

    .container {
        /*padding: 18px;*/
        padding: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .brand h1 {
        font-size: 16px;
    }

    .logo {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }

    .nav-link,
    .nav-cta,
    .login-btn {
        font-size: 13px;
        padding: 8px 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h2 {
        font-size: 24px;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn, .btn.secondary {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .grid-3, .testimonials {
        grid-template-columns: 1fr;
    }

    .feature, .card, .panel {
        font-size: 15px;
        /* padding: 16px; */
        padding: 1px;
    }

    .price-card {
        min-width: unset;
        width: 100%;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .sqrtable {
        /* display: block; */
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

        .sqrtable th,
        .sqrtable td {
            font-size: 9pt;
            padding: 4px;
        }

    /* Adjust modal for mobile */
    .modal-content {
        width: 95%;
        max-width: 320px;
        padding: 24px;
    }

        .modal-content h3 {
            font-size: 18px;
        }

        .modal-content input {
            padding: 10px;
            font-size: 14px;
        }

        .modal-content button {
            padding: 10px;
            font-size: 14px;
        }
}

/* Ultra-small screen fixes (under 480px) */
@media (max-width: 480px) {
    .brand h1 {
        font-size: 14px;
    }

    .btn, .btn.secondary {
        font-size: 14px;
        padding: 12px;
    }

    .logo {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .feature {
        font-size: 14px;
    }

    .price {
        font-size: 22px;
    }

    h2 {
        font-size: 22px;
    }
}