/* SCL Control Horario 2.0: the landing at /control-horario and its card on the home. Night blue
   with the light of a Windows desktop behind the program, the program itself the picture. */

:root {
    --hz-night: #071a33;
    --hz-deep: #0a2a55;
    --hz-glow: #1d6fe0;
    --hz-sky: #5fb4ff;
    --hz-check: #22c55e;
}

.hz-check {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    background: var(--hz-check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* ==================== Hero ==================== */
.hz-hero {
    position: relative;
    overflow: hidden;
    padding: 8.5rem 0 0;
    color: white;
    text-align: center;
    background:
        radial-gradient(60% 55% at 50% 100%, rgba(95, 180, 255, 0.55) 0%, rgba(29, 111, 224, 0.25) 45%, transparent 75%),
        radial-gradient(45% 40% at 15% 20%, rgba(29, 111, 224, 0.35) 0%, transparent 70%),
        radial-gradient(40% 35% at 90% 30%, rgba(95, 180, 255, 0.22) 0%, transparent 70%),
        linear-gradient(180deg, var(--hz-night) 0%, var(--hz-deep) 100%);
}

.hz-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hz-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hz-hero h1 {
    color: white;
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.hz-version {
    display: inline-block;
    margin-inline-start: 0.15em;
    padding: 0 0.28em;
    border-radius: 0.22em;
    background: var(--hz-glow);
    color: white;
}

.hz-sub {
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 600;
    color: white;
    max-width: 36rem;
    margin-bottom: 1.25rem;
    text-wrap: balance;
}

.hz-lead {
    font-size: 1.1875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 44rem;
    margin-bottom: 2rem;
    text-wrap: pretty;
}

.hz-hero .hero-cta {
    justify-content: center;
}

.btn-ghost-light,
.btn-ghost-light:visited {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
}

/* a bordered button keeps its padding, which the site takes off a hero's arrow links */
.hz-hero .hero-cta .btn-ghost-light {
    padding-inline: 1.75rem;
}

.btn-ghost-light:hover {
    border-color: white;
    color: white;
}

.hz-win {
    width: 1.05em;
    height: 1.05em;
    fill: currentColor;
    flex: none;
}

.hz-note {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
}

.hz-shot {
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

/* ==================== The program's window ==================== */
/* A capture of the program as Windows draws it: its own corners and the shadow the desktop
   gives a window, the capture at twice its size so it stays sharp. */
.hz-window {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(7, 26, 51, 0.35),
        0 30px 80px -20px rgba(3, 12, 28, 0.75),
        0 12px 30px -12px rgba(3, 12, 28, 0.5);
}

.hz-window img {
    display: block;
    width: 100%;
    height: auto;
}

.hz-hero .hz-window {
    max-width: 1120px;
    margin: 0 auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
    /* the lower part of the window runs off the hero, as if the desk went on */
    max-height: 560px;
}

.hz-window-small {
    box-shadow:
        0 0 0 1px rgba(7, 26, 51, 0.08),
        0 24px 60px -24px rgba(7, 26, 51, 0.45);
    border-color: var(--border-light);
}

/* ==================== AI ==================== */
.hz-ai {
    background: var(--hz-night);
    color: white;
}

.hz-ai .hz-text h2 { color: white; }
.hz-ai .hz-text > p { color: rgba(255, 255, 255, 0.78); }
.hz-ai .showcase-features li {
    color: white;
    border-color: rgba(255, 255, 255, 0.14);
}
.hz-ai .showcase-features li::before { color: var(--hz-sky); }
.hz-ai .hz-small { color: rgba(255, 255, 255, 0.6); }
/* the dialog an AI shows when it connects to the program, at the size it has on screen */
.hz-ai .hz-window-dialog {
    max-width: 480px;
    margin: 0 auto;
    background: white;
}

.hz-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hz-sky);
}

.hz-asks {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hz-ask {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hz-ask strong {
    font-size: 1.0625rem;
    color: white;
}

.hz-ask span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
}

/* ==================== Sections ==================== */
.hz-section {
    padding: 6.5rem 0;
}

.hz-own {
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
}

.hz-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 2.5rem;
}

.hz-points h3 {
    font-size: 1.25rem;
    color: var(--heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.hz-points p {
    color: var(--text-muted);
    line-height: 1.6;
}

.hz-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hz-reverse {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
}

.hz-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--heading);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hz-text > p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.hz-new {
    background: var(--bg-warm);
}

.hz-also {
    margin-top: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== The phone ==================== */
.hz-phone {
    background:
        radial-gradient(50% 60% at 80% 50%, rgba(95, 180, 255, 0.18) 0%, transparent 70%),
        var(--bg);
}

.hz-phone-frame {
    margin: 0 auto;
    width: min(100%, 300px);
    padding: 10px;
    border-radius: 48px;
    background: #111418;
    box-shadow:
        inset 0 0 0 2px #2a2f36,
        0 40px 70px -30px rgba(7, 26, 51, 0.6);
}

.hz-phone-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 38px;
}

/* ==================== The admin's app ==================== */
.hz-admin {
    background:
        radial-gradient(50% 60% at 20% 50%, rgba(95, 180, 255, 0.18) 0%, transparent 70%),
        var(--bg-warm);
    border-top: 1px solid var(--border-light);
}

/* the phone first on a wide screen, the words first on a narrow one */
.hz-flip {
    grid-template-columns: 0.8fr 1.2fr;
}

/* ==================== Rota ==================== */
.hz-rota {
    background: var(--bg);
    border-top: 1px solid var(--border-light);
}

/* ==================== Terminals ==================== */
.hz-terminals {
    background: var(--bg-warm);
    border-top: 1px solid var(--border-light);
}

/* ==================== Built on Prisnap ==================== */
.hz-more {
    background: var(--bg-warm);
    border-top: 1px solid var(--border-light);
}

/* ==================== Where to buy it ==================== */
.hz-seller-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: 0 12px 32px rgba(15, 35, 70, 0.06);
}

.hz-seller-logo img {
    display: block;
    width: 120px;
    height: auto;
}

.hz-seller-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    padding-left: 2rem;
    border-left: 1px solid var(--border-light);
}

.hz-seller-text strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
}

.hz-seller-text span {
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .hz-seller-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .hz-seller-text {
        padding-left: 0;
        border-left: none;
    }
}

.hz-small {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ==================== Install the trial ==================== */
.hz-install {
    background: var(--bg-warm);
    border-top: 1px solid var(--border-light);
}

.hz-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
}

.hz-steps li {
    counter-increment: step;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: white;
}

.hz-steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--hz-glow);
    color: white;
    font-weight: 700;
}

.hz-steps h3 {
    font-size: 1.125rem;
    color: var(--heading);
    margin-bottom: 0.5rem;
}

.hz-steps p {
    color: var(--text-muted);
    line-height: 1.6;
}

.hz-cta {
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(29, 111, 224, 0.45) 0%, transparent 70%),
        var(--hz-night);
}

/* ==================== Narrow ==================== */
@media (max-width: 900px) {
    .hz-hero { padding-top: 7rem; }
    .hz-hero .hz-window { max-height: 320px; }
    .hz-split,
    .hz-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hz-section { padding: 4.5rem 0; }
    .hz-flip .hz-phone-frame { order: 1; }
}

