/* Supplemental styles for resources/views/landing/index.blade.php.
   styles-BDzzY5D3.css is a frozen, pre-purged Tailwind build that only contains
   utility classes already used on this page — it is not regenerated by the app's
   Vite build. New layout patterns live here as plain CSS, namespaced with `ls-`
   so they never collide with the compiled Tailwind utility classes. */


/* Native <select> arrows render flush against the box edge with no breathing
   room. .field has no appearance/background-image override of its own, so we
   replace the browser's default arrow with an inline chevron we can position
   explicitly, giving it real right-hand spacing. Text inputs using .field are
   untouched since this only targets <select>. */
select.field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23516162' stroke-width='1.5'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
}

select.field:disabled {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a3adae' stroke-width='1.5'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ls-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

/* Anchor-link targets (#kaip-veikia, #paieska, #verslui, #duk) need enough
   scroll-margin-top to clear the sticky header's own rendered height, plus a
   little breathing room — otherwise the section's top lands flush against
   (or behind) the header instead of visibly below it. Tailwind's purged
   build only ships scroll-mt-6 (1.5rem), nowhere near enough. */
.ls-scroll-offset {
    scroll-margin-top: 4.3rem;
}

@media (min-width: 768px) {
    .ls-scroll-offset {
        scroll-margin-top: 5.2rem;
    }
}

/* Briefly scale up whichever section the URL hash currently points at, so
   landing on it via an anchor link (nav, footer, etc.) is visually obvious.
   :target matches automatically on navigation — no JS required. */
@media (prefers-reduced-motion: no-preference) {
    /* Wait for the jump-to-anchor scroll to settle before zooming, instead
       of animating mid-scroll. */
    .ls-scroll-offset:target {
        animation: ls-target-zoom 0.7s ease-out 0.5s;
    }

    /* #paieska / #duk are full-bleed (.border-y) sections — their own box
       spans edge to edge, so scaling it would overflow past the viewport
       and force a horizontal scrollbar. Animate their max-width inner
       wrapper instead; the section itself stays untransformed. */
    .ls-scroll-offset.border-y:target {
        animation: none;
    }

    .ls-scroll-offset.border-y:target > div {
        animation: ls-target-zoom 0.7s ease-out 0.5s;
    }
}

@keyframes ls-target-zoom {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.ls-nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.ls-nav-links a:hover {
    color: var(--foreground);
}

@media (min-width: 768px) {
    .ls-nav-links {
        display: flex;
    }
}

.ls-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    padding: 0.85rem 1.4rem;
    font-weight: 700;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.ls-btn-ghost:hover,
.ls-btn-ghost:focus-visible {
    border-color: var(--primary);
    background: var(--accent);
}

.ls-btn-ghost:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.ls-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
}

.ls-trust-row li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.ls-trust-row li::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--primary);
    flex-shrink: 0;
}

.ls-hero-grid {
    gap: 2.5rem;
}

@media (min-width: 768px) {
    /* Mobile stacks intro -> mock-letter stack -> actions as 3 separate grid
       rows (so document order alone gives the right mobile sequence without
       any `order` overrides). At desktop those 3 pieces fold back into the
       original 2-column layout: intro+actions stacked in column 1, the mock
       stack spanning both rows in column 2. Row-gap is zeroed so splitting
       intro/actions into separate rows doesn't add a gap that wasn't there
       when they were just two children of the same column div. */
    .ls-hero-grid {
        row-gap: 0;
        column-gap: 4.5rem;
        grid-template-areas:
            "intro mock"
            "actions mock";
    }

    .ls-hero-intro {
        grid-area: intro;
    }

    .ls-hero-mock-wrap {
        grid-area: mock;
    }

    .ls-hero-actions {
        grid-area: actions;
    }
}

.ls-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
}

.ls-hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem 0.5rem 0.6rem;
}

.ls-hero-badges li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.6rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ls-grid-3,
.ls-grid-4 {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .ls-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ls-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ls-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ls-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 1.5rem;
}

.ls-card:hover {
    border-color: var(--primary);
}

.ls-badge-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.ls-callout-list {
    display: grid;
    gap: 1rem;
}

.ls-callout-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.ls-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.ls-flow-node {
    flex: 1 1 9rem;
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.ls-flow-arrow {
    flex-shrink: 0;
    color: var(--muted-foreground);
}

.ls-mock-caption {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 0.6rem;
}

.ls-mock {
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: 0 20px 45px -28px rgb(0 0 0 / 0.3);
    overflow: hidden;
}

.ls-mock-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
}

.ls-mock-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--border);
}

.ls-mock-body {
    padding: 1.1rem;
    display: flex;
    gap: 1rem;
}

.ls-mock-photo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.6rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--secondary), var(--border));
    object-fit: cover;
    display: block;
}

.ls-mock-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--border);
}

/* A short stack of mock cards (hero): each one peeks out above the next via a
   negative top margin, with the back cards scaled down and faded for depth.
   transform creates a new stacking context per card, so z-index is explicit
   rather than relying on DOM order alone. */
.ls-mock-stack {
    padding-top: 0;
}

.ls-mock-stack .ls-mock + .ls-mock {
    margin-top: -6.75rem;
}

.ls-mock-stack .ls-mock {
    position: relative;
    z-index: 3;
}

.ls-mock-stack .ls-mock--back-1 {
    transform: scale(0.97) translateX(0.6rem);
    opacity: 0.85;
    z-index: 2;
}

.ls-mock-stack .ls-mock--back-2 {
    transform: scale(0.94) translateX(-0.6rem);
    opacity: 0.6;
    z-index: 1;
}

.ls-pill {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.ls-inline-block {
    display: inline-block;
}

.ls-grid-2 {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .ls-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .ls-items-center-md {
        align-items: center;
    }
}

.ls-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
}

.ls-price-tag.is-neutral {
    background: var(--muted);
    color: var(--muted-foreground);
}

.ls-cta-band {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    padding: 3rem 1.5rem;
    text-align: center;
}

.ls-footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ls-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.ls-footer-grid h3 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.ls-footer-links {
    display: grid;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.ls-footer-links a {
    color: var(--muted-foreground);
}

.ls-footer-links a:hover {
    color: var(--foreground);
}

@media (max-width: 767px) {
    .ls-flow {
        flex-direction: column;
    }

    /* flex: 1 1 9rem sets flex-basis along the main axis. In the row layout
       that's width, but once .ls-flow switches to column above, the same
       9rem basis becomes a minimum height, puffing up each node. Reset it
       to auto here so height follows content again. */
    .ls-flow-node {
        flex: 1 1 auto;
    }

    .ls-flow-arrow {
        transform: rotate(90deg);
    }

    /* Price-comparison example cards: info block + price-tag badge side by
       side are too cramped at phone widths, so stack them and left-align
       instead of centering. */
    .ls-card.flex.items-center.justify-between.gap-4 {
        flex-direction: column;
        align-items: start;
    }

    .ls-price-tag {
        font-size: 0.55rem;
        padding: 0.2rem 0.55rem;
    }

    /* The hero's mock-letter stack now sits inline between the intro copy
       and the CTAs instead of a separate side column, so its "Pavyzdiniai
       laiškai" label is redundant here. Scoped to the hero instance only —
       the "Pavyzdys" caption further down the page keeps its label. */
    .ls-hero-mock-caption {
        display: none;
    }

    .ls-hero-intro p {
        font-size: 1rem;
    }

    /* Header CTA only — other .btn-primary buttons on the page (hero, search
       form, etc.) keep their normal size. */
    .ls-nav .btn-primary {
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
    }
}