/*
  Vis.biz landing page — additions on top of style.css.
  Reuses the same variables, section, card and grid system; only adds
  rules for the sections/components that didn't exist in the source site.
*/

:root {
    --vb-white: #ffffff;
    --vb-darkblue: #29007A;
    --vb-blue: #4100FF;
    --vb-aqua: #5FD3C9;
    --vb-lila: #A97DFF;
    --vb-purple: #7A00FF;
    --vb-purple-dark: #3D0099;
    --vb-red: #FB3535;
}


/* Spacing utilities */

.mt-sm { margin-top: 28px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 56px; }


/* Logo accent */

#logo .logo-accent {
    color: var(--vb-aqua);
}


/* Icon spacing inside cards (simplelineicons, not covered by the svg/img rule) */

.card i.icon {
    display: block;
    margin-bottom: 14px;
}


/* Section backgrounds */

#problem {
    background: var(--vb-purple-dark);
}

#solution {
    background-color: var(--vb-blue);
    background-image: url("/static/app/img/graphics/donut.ef32be6969f1.svg");
    background-repeat: no-repeat;
    background-size: auto 60vh;
    background-position: right bottom;
}

#platform {
    background-color: var(--vb-aqua);
    background-image: url("/static/app/img/graphics/bracket-blue.22204e4be489.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left center;
}
#platform .card {
    padding: 14px 28px;
    transition: none;
}
#platform .card.darkblue { box-shadow: var(--vb-darkblue) 200px 0; }
#platform .card.lila     { box-shadow: var(--vb-lila) 200px 0; }
#platform .card.purple   { box-shadow: var(--vb-purple) 200px 0; }
#platform .card.blue     { box-shadow: var(--vb-blue) 200px 0; }
@media (max-width: 992px) {
    #platform .grid .gr-w-4 { grid-column-end: span 10; }
    #platform .grid .gr-o-8 { grid-column-start: 4; }
}

#data-pool {
    background-image: url("/static/app/img/graphics/donut-2.65ede7c5db3f.svg");
    background-repeat: no-repeat;
    background-size: auto 60vh;
    background-position: right top;
    background-color: var(--vb-lila);
}

#knowledge {
    background-color: var(--vb-purple);
}

#waitlist {
    background: var(--vb-aqua);
}


/* Stat tiles (problem section) */

.stat-tile .kpi {
    color: var(--vb-darkblue);
}


/* Sample graph card (platform section) */

.example-card .kpi {
    font-size: var(--font-h2);
}
.example-card .kpi span {
    font-size: var(--font-btn);
    font-weight: 400;
    opacity: 0.6;
}
.example-card .graph {
    margin-top: 14px;
}


/* Waitlist form */

#waitlist .form-wrap {
    max-width: 520px;
    margin: 0 auto;
}

#waitlist form {
    display: grid;
    gap: 14px;
}

#waitlist .field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.85em 1.4em;
    border-radius: 9999px;
    border: none;
    background: var(--vb-white);
    color: var(--vb-darkblue);
    font-family: inherit;
    font-size: 1rem;
}
#waitlist .field input::placeholder {
    color: rgba(41, 0, 122, 0.5);
}

#waitlist .role-choices {
    display: flex;
    gap: 0.6em;
    flex-wrap: wrap;
    justify-content: center;
}
#waitlist .role-choices input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
#waitlist .role-choices label {
    padding: 0.5em 1.2em;
    border-radius: 9999px;
    border: 2px solid var(--vb-white);
    cursor: pointer;
    font-size: var(--font-btn);
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}
#waitlist .role-choices input:checked + label {
    background: var(--vb-white);
    color: var(--vb-darkblue);
}

#waitlist button[type="submit"] {
    justify-self: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-top: 14px;
}

#waitlist .errorlist {
    list-style: none;
    margin: 0 0 4px;
    padding: 0.5em 1.2em;
    background: var(--vb-white);
    color: var(--vb-red);
    border-radius: 9999px;
    font-size: 0.85rem;
    text-align: center;
}

#waitlist .form-note {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 14px;
}

#waitlist .form-success {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 2em;
}
#waitlist .form-success h4 {
    margin-bottom: 0.4em;
}


/* Knowledge / blog columns */

#knowledge .format-steps {
    list-style: none;
    padding: 0;
    margin: 1em 0 0;
    gap: 0.5em;
}
#knowledge .format-steps li {
    opacity: 0.85;
}
