/* Leptir public landing — premium dark, mobile-first */

.landing {
    --landing-bg: #09090b;
    --landing-border: #27272a;
    --landing-muted: #71717a;
    --landing-text: #fafafa;
    --landing-accent: #3b82f6;
}

.landing {
    scroll-behavior: smooth;
}

/* Hero — contrast, spacing, subtle vignette */
.landing-hero {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 3rem;
}
.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 60% at 50% 0%,
        rgba(63, 63, 70, 0.15) 0%,
        transparent 60%
    );
    pointer-events: none;
}
.landing-hero .landing-hero-inner {
    position: relative;
    z-index: 1;
}
@media (min-width: 640px) {
    .landing-hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
}
@media (min-width: 768px) {
    .landing-hero {
        padding-top: 8rem;
        padding-bottom: 5rem;
    }
}
.landing-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.875rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--landing-text);
}
@media (min-width: 640px) {
    .landing-hero-title {
        font-size: 3.75rem;
    }
}
@media (min-width: 768px) {
    .landing-hero-title {
        font-size: 4.25rem;
    }
}
.landing-hero-subhead {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 500;
    color: #e4e4e7;
}
@media (min-width: 640px) {
    .landing-hero-subhead {
        font-size: 1.25rem;
    }
}
.landing-hero-tag {
    color: #a1a1aa;
    font-size: 0.9375rem;
}
.landing-trust-line {
    font-size: 0.8125rem;
    color: #71717a;
}
@media (min-width: 640px) {
    .landing-trust-line {
        font-size: 0.875rem;
    }
}

/* Section spacing — consistent rhythm */
.landing-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
    .landing-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.landing-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    color: var(--landing-text);
}
@media (min-width: 640px) {
    .landing-section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
}

/* How it works — icon + label + one line, no step numbers */
.landing-how-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 640px) {
    .landing-how-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}
.landing-how-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.landing-how-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
}
.landing-how-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}
.landing-how-icon-check {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}
.landing-how-icon-telegram {
    background: rgba(0, 136, 204, 0.12);
    color: #0088cc;
}
.landing-how-icon-arrow {
    background: rgba(255, 255, 255, 0.06);
    color: var(--landing-muted);
    border: 1px solid var(--landing-border);
}
.landing-how-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--landing-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.landing-how-desc {
    font-size: 0.875rem;
    color: var(--landing-muted);
    line-height: 1.5;
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ */
.landing-faq-list {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
.landing-faq-item {
    border-bottom: 1px solid var(--landing-border);
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.landing-faq-item:first-child {
    padding-top: 0;
}
.landing-faq-q {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--landing-text);
    margin-bottom: 0.5rem;
}
.landing-faq-a {
    font-size: 0.875rem;
    color: var(--landing-muted);
    line-height: 1.6;
}

/* CTA — consistent hero, footer, nav; prominent but not salesy */
.landing-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}
.landing-cta-primary,
.landing-cta-primary-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    background: #fff;
    color: #09090b;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.landing-cta-primary:hover,
.landing-cta-primary-nav:hover {
    background: #f4f4f5;
}
.landing-cta-secondary,
.landing-cta-secondary-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    border: 1px solid var(--landing-border);
    background: transparent;
    color: var(--landing-text);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.landing-cta-secondary:hover,
.landing-cta-secondary-nav:hover {
    border-color: #52525b;
    background: rgba(255, 255, 255, 0.04);
}
@media (min-width: 640px) {
    .landing-cta-primary,
    .landing-cta-primary-nav,
    .landing-cta-secondary,
    .landing-cta-secondary-nav {
        min-height: 2.875rem;
    }
}

/* Scroll-in animation */
.landing-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.landing-animate.landing-visible {
    opacity: 1;
    transform: translateY(0);
}
.landing-animate-delay-1 { transition-delay: 80ms; }
.landing-animate-delay-2 { transition-delay: 160ms; }
.landing-animate-delay-3 { transition-delay: 240ms; }

/* Nav — same CTA look as hero/footer; tap targets */
.landing-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s;
}
.landing-nav-link:hover {
    color: var(--landing-text);
}

/* Footer — quiet, consistent */
.landing-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.landing-footer p {
    font-size: 0.875rem;
    color: var(--landing-muted);
}
.landing-footer a {
    font-size: 0.875rem;
    color: var(--landing-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.landing-footer a:hover {
    color: #a1a1aa;
}

/* Chat preview — Telegram-like bubbles, user vs bot */
.landing-chat {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}
.landing-chat-row {
    display: flex;
    margin-bottom: 0.5rem;
}
.landing-chat-row-user {
    justify-content: flex-end;
}
.landing-chat-row-bot {
    justify-content: flex-start;
}
.landing-chat-bubble-user {
    background: #2a7dd4;
    color: #fff;
    padding: 0.625rem 1rem;
    border-radius: 1.125rem;
    border-bottom-right-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.landing-chat-bubble-bot {
    background: var(--landing-border);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--landing-text);
    padding: 0.625rem 1rem;
    border-radius: 1.125rem;
    border-bottom-left-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
    max-width: 90%;
}
.landing-chat-bubble-bot .landing-chat-macros {
    font-size: 0.6875rem;
    color: var(--landing-muted);
    font-family: ui-monospace, "SF Mono", monospace;
    margin-top: 0.375rem;
    letter-spacing: 0.02em;
}
