/* Shared marketing pages: nav, footer, pricing */
:root {
    --navy-700: #1f3554;
    --navy-900: #0e1c2e;
    --navy-950: #0a1523;
    --ink-50: #f8fafc;
    --ink-100: #f1f5f9;
    --ink-200: #e2e8f0;
    --ink-300: #cbd5e1;
    --ink-400: #94a3b8;
    --ink-500: #64748b;
    --ink-600: #475569;
    --ink-700: #334155;
    --green-50: #f3faf0;
    --green-500: #5ba03e;
    --green-600: #4d8a34;
    --green-700: #3d7229;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
}

.nav-floating {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--ink-200);
}
.nav-floating.scrolled {
    box-shadow: var(--shadow-sm);
}

/* Phones only (<768px) — see app.css for .landing-nav-phones rules */

.section-eyebrow {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--green-50);
    color: var(--green-700);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--navy-700);
}
.section-sub {
    font-size: 1.125rem;
    color: var(--ink-500);
    max-width: 640px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
}

.pricing-page-hero {
    padding: 7rem 0 3rem;
    background: linear-gradient(180deg, var(--ink-50) 0%, #fff 100%);
}
@media (max-width: 768px) {
    .pricing-page-hero { padding: 6rem 0 2rem; }
}

.pricing-card {
    border-radius: 14px;
    transition: box-shadow 0.2s;
}
.pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.plan-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--ink-100);
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}
.plan-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.55rem 1.4rem;
    border-radius: 9px;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
    transition: all 0.18s ease;
}
.plan-toggle-btn.active {
    background: var(--green-500);
    color: #fff;
    box-shadow: 0 2px 8px rgba(91,160,62,0.35);
}
.billing-toggle {
    margin-bottom: 0.5rem;
}

.managed-form-feedback {
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}
.managed-form-feedback.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.managed-form-feedback.is-success {
    background: var(--green-50);
    color: var(--green-700);
    border: 1px solid var(--green-200);
}

.footer-landing {
    background: var(--navy-950);
    color: var(--ink-400);
    padding: 4rem 0 2rem;
}
.footer-landing a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
}
.footer-landing a:hover { color: var(--ink-300); }
.footer-landing h6 {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.footer-brand-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-logo {
    height: 72px;
    width: auto;
    background: white;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.footer-qr {
    margin-top: 0.75rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}
.footer-qr img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}
.footer-qr span { color: var(--ink-400); font-size: 0.75rem; }
@media (min-width: 992px) {
    .footer-brand-block {
        text-align: left;
        align-items: flex-start;
    }
}
@media (max-width: 767px) {
    .footer-brand-col {
        margin-bottom: 1rem;
    }
    .footer-logo {
        height: 96px;
        padding: 12px 18px;
    }
    .footer-qr img {
        width: 68px;
        height: 68px;
    }
    .footer-link-cols {
        text-align: center;
    }
    .footer-link-cols h6 {
        margin-top: 0.75rem;
    }
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(360px, calc(100vw - 2rem));
}
.toast-custom {
    background: #fff;
    border-radius: 10px;
    padding: 0.875rem 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-left: 4px solid var(--green-500);
    animation: toastIn 0.3s ease-out;
}
.toast-custom.danger { border-left-color: #dc2626; }
@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
