/* ==========================================================================
   Ježíšek — "Zeptejte se na přání" landing page
   Loaded only on ask.html / ask_done.html, in addition to app.css.

   The hero on this page is the form itself, not an illustration: the whole
   point of the page is the two-address handshake, so the form card carries the
   page's one piece of ornament (the connector between the two fields) and
   everything else stays quiet.
   ========================================================================== */

:root {
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #fdfdfe;
    background-image: none;
    padding-bottom: 0 !important;
}

/* ---- Hero ---- */
.ask-hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 100% 0%, #fff1f2 0%, transparent 45%),
                radial-gradient(circle at 0% 100%, #f0f9ff 0%, transparent 40%);
    overflow: hidden;
}
.ask-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.ask-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.ask-title em {
    font-style: normal;
    color: var(--color-primary);
}
.ask-lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 30rem;
}
.ask-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.ask-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-main);
}
.ask-points i {
    color: var(--color-primary);
    font-size: 1.1rem;
    line-height: 1.5;
    flex-shrink: 0;
}

/* ---- The form card ---- */
.ask-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-xl);
    padding: 2.25rem;
}
.ask-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}
.ask-card-sub {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}
.ask-field + .ask-field {
    margin-top: 0;
}
.ask-card .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}
.ask-card .form-control {
    padding: 0.8rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid var(--color-line);
    font-size: 1rem;
}
.ask-card .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}

/* Signature element: the two fields are visibly one handshake, not two
   unrelated inputs. The node carries the gift icon the brand is built on. */
.ask-connector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.9rem 0;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}
.ask-connector::before,
.ask-connector::after {
    content: '';
    flex: 1;
    border-top: 2px dashed var(--color-line);
}
.ask-connector-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ask-submit {
    width: 100%;
    margin-top: 1.75rem;
}
.ask-microcopy {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin: 1rem 0 0;
    line-height: 1.5;
}
.ask-microcopy a {
    color: var(--color-text-muted);
}

/* Honeypot: off-screen rather than display:none, so bots that skip hidden
   fields still fill it in. Never focusable or announced. */
.ask-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ask-alert {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
}

/* ---- Trust row ---- */
.ask-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.25rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}
.ask-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.ask-trust i {
    color: #16a34a;
}

/* ---- Steps ---- */
.ask-steps {
    padding: 6rem 0;
    background: #fff;
}
.ask-step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-line);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.ask-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.ask-step p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ---- Benefits ---- */
.ask-benefits {
    padding: 6rem 0;
    background: #f8fafc;
}
.ask-benefit {
    background: #fff;
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
}
.ask-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
.ask-benefit h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}
.ask-benefit p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ---- FAQ ---- */
.ask-faq {
    padding: 6rem 0;
    background: #fff;
}
.ask-faq .accordion-item {
    border: 1px solid var(--color-line-soft);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.ask-faq .accordion-button {
    font-weight: 600;
    padding: 1.15rem 1.35rem;
    background: #fff;
    color: var(--color-text-main);
}
.ask-faq .accordion-button:not(.collapsed) {
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
    box-shadow: none;
}
.ask-faq .accordion-button:focus {
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}
.ask-faq .accordion-body {
    color: var(--color-text-muted);
    line-height: 1.75;
    padding: 0 1.35rem 1.35rem;
}

/* ---- Closing call to action ---- */
.ask-cta {
    padding: 5rem 0;
    background: var(--color-primary-soft);
    text-align: center;
}
.ask-cta h2 {
    margin-bottom: 1rem;
}
.ask-cta p {
    color: var(--color-text-muted);
    max-width: 34rem;
    margin: 0 auto 2rem;
}

/* ---- Success page ---- */
.ask-done {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 0 4rem;
    background: radial-gradient(circle at 50% 0%, #fff1f2 0%, transparent 55%);
}
.ask-done-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    max-width: 34rem;
    text-align: center;
}
.ask-done-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.75rem;
}
.ask-done-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
}
.ask-done-next {
    text-align: left;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.ask-done-next ol {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

@media (max-width: 991px) {
    .ask-hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
    .ask-hero-copy {
        text-align: center;
    }
    .ask-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .ask-points {
        display: none;
    }
    .ask-trust {
        justify-content: center;
    }
    .ask-steps,
    .ask-benefits,
    .ask-faq {
        padding: 4rem 0;
    }
}

@media (max-width: 575px) {
    .ask-card,
    .ask-done-card {
        padding: 1.5rem;
    }
}
