/* MailOutreach — public landing page */

.landing {
    --lp-brand: #14a800;
    --lp-brand-dark: #0d6b00;
    --lp-brand-light: #e4f3df;
    --lp-text: #001e00;
    --lp-muted: #5e6d55;
    --lp-border: #dce6d7;
    --lp-bg: #ffffff;
    --lp-bg-soft: #f4f9f1;
    --lp-accent: #3c8224;
    --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --lp-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --lp-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--lp-text);
    background: var(--lp-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.landing *,
.landing *::before,
.landing *::after {
    box-sizing: border-box;
}

.landing a {
    color: inherit;
    text-decoration: none;
}

.landing :target {
    scroll-margin-top: 90px;
}

.landing-container {
    width: min(1140px, 100% - 2.5rem);
    margin-inline: auto;
}

@keyframes lpFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lpFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(20px, -18px) scale(1.08); }
}

/* ── Nav ─────────────────────────────────────────────── */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--lp-border);
}

.landing-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 750;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
}

.landing-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2b7bff 0%, var(--lp-brand-dark) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 168, 0, 0.35);
}

.landing-nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--lp-muted);
}

.landing-nav-links a {
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}

.landing-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--lp-brand);
    transition: width 0.2s ease;
}

.landing-nav-links a:hover {
    color: var(--lp-brand);
}

.landing-nav-links a:hover::after {
    width: 100%;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.58rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.landing-btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 0.98rem;
}

.landing-btn svg {
    transition: transform 0.2s ease;
}

.landing-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2b7bff 0%, var(--lp-brand) 55%, var(--lp-brand-dark) 100%);
    box-shadow: 0 6px 18px rgba(20, 168, 0, 0.32);
}

.landing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(20, 168, 0, 0.42);
}

.landing-btn-primary:hover svg {
    transform: translateX(4px);
}

.landing-btn-ghost {
    color: var(--lp-text);
    background: #fff;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-sm);
}

.landing-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--lp-shadow-md);
}

.landing-btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.landing-btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

/* ── Hero ────────────────────────────────────────────── */
.landing-hero {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.landing-hero-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(20, 168, 0, 0.14) 0%, transparent 60%);
}

.landing-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    animation: lpFloat 16s ease-in-out infinite alternate;
}

.landing-hero-orb-1 {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -60px;
    background: radial-gradient(circle, #4f8bff 0%, transparent 70%);
}

.landing-hero-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle, #ff8c5a 0%, transparent 70%);
    animation-delay: -6s;
}

.landing-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.landing-hero-copy {
    animation: lpFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-brand-dark);
    background: var(--lp-brand-light);
    border: 1px solid rgba(20, 168, 0, 0.12);
    border-radius: 999px;
}

.landing-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-brand);
    box-shadow: 0 0 0 3px rgba(20, 168, 0, 0.2);
}

.landing-hero h1 {
    margin: 0 0 1.1rem;
    font-size: clamp(2.15rem, 5.2vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.landing-gradient-text {
    background: linear-gradient(120deg, var(--lp-brand) 0%, #3c8224 60%, var(--lp-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.landing-hero-lead {
    margin: 0 0 1.9rem;
    font-size: 1.12rem;
    color: var(--lp-muted);
    max-width: 52ch;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.1rem;
}

.landing-hero-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--lp-text);
    font-weight: 500;
}

.landing-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.landing-hero-points li::before {
    content: "";
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ecfdf5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3 3 7-7'/%3E%3C/svg%3E") center / 11px 9px no-repeat;
}

/* Hero visual — app window mock */
.landing-hero-visual {
    animation: lpFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.landing-window {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    box-shadow: var(--lp-shadow-lg);
    overflow: hidden;
}

.landing-window-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1rem;
    background: var(--lp-bg-soft);
    border-bottom: 1px solid var(--lp-border);
}

.landing-window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.landing-window-dot-red { background: #ff5f57; }
.landing-window-dot-amber { background: #febc2e; }
.landing-window-dot-green { background: #28c840; }

.landing-window-title {
    margin-left: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lp-muted);
}

.landing-window-body {
    padding: 1.25rem;
}

.landing-window-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.landing-window-stat {
    padding: 0.85rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(160deg, #f3f7ff 0%, #eef3fb 100%);
    border: 1px solid var(--lp-border);
    text-align: center;
}

.landing-window-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--lp-brand-dark);
}

.landing-window-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--lp-muted);
    margin-top: 0.15rem;
}

.landing-flow-mini {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.landing-flow-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-flow-step:hover {
    transform: translateX(3px);
    box-shadow: var(--lp-shadow-sm);
}

.landing-flow-step-done {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(5, 150, 105, 0.03) 100%);
    border-color: rgba(5, 150, 105, 0.25);
}

.landing-flow-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--lp-brand-light);
    color: var(--lp-brand);
    font-size: 0.78rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.landing-flow-step-done .landing-flow-num {
    background: #d1fae5;
    color: #059669;
}

/* ── Stats band ──────────────────────────────────────── */
.landing-stats {
    border-block: 1px solid var(--lp-border);
    background: var(--lp-bg-soft);
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--lp-border);
    border-inline: 1px solid var(--lp-border);
    margin-inline: auto;
}

.landing-stat {
    background: var(--lp-bg-soft);
    padding: 1.6rem 1rem;
    text-align: center;
}

.landing-stat-value {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, var(--lp-brand) 0%, var(--lp-brand-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--lp-brand-dark);
}

.landing-stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.84rem;
    color: var(--lp-muted);
    font-weight: 500;
}

/* ── Sections ────────────────────────────────────────── */
.landing-section {
    padding: 5rem 0;
}

.landing-section-alt {
    background: var(--lp-bg-soft);
    border-block: 1px solid var(--lp-border);
}

.landing-section-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 3rem;
}

.landing-section-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-brand);
}

.landing-section-header h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-section-header p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 1.05rem;
}

/* ── Flow timeline ───────────────────────────────────── */
.landing-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.landing-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-timeline-item:hover {
    transform: translateY(-4px);
    border-color: #cdddff;
    box-shadow: var(--lp-shadow-md);
}

.landing-timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #2b7bff 0%, var(--lp-brand-dark) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(20, 168, 0, 0.3);
}

.landing-timeline-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1.08rem;
    font-weight: 700;
}

.landing-timeline-item p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--lp-muted);
}

/* ── Feature grid ────────────────────────────────────── */
.landing-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.landing-feature {
    position: relative;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    box-shadow: var(--lp-shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-brand) 0%, #0d6b00 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.landing-feature:hover {
    transform: translateY(-4px);
    border-color: #cdddff;
    box-shadow: var(--lp-shadow-md);
}

.landing-feature:hover::before {
    transform: scaleX(1);
}

.landing-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(160deg, var(--lp-brand-light) 0%, #d6e6ff 100%);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.landing-feature h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.landing-feature p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--lp-muted);
    line-height: 1.55;
}

/* ── Roles ───────────────────────────────────────────── */
.landing-roles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.landing-role {
    position: relative;
    padding: 1.6rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    box-shadow: var(--lp-shadow-sm);
    border-top: 3px solid var(--lp-brand);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-role:nth-child(1) { border-top-color: #14a800; }
.landing-role:nth-child(2) { border-top-color: #3c8224; }
.landing-role:nth-child(3) { border-top-color: #0d6b00; }
.landing-role:nth-child(4) { border-top-color: #5cb85c; }

.landing-role:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
}

.landing-role-tag {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lp-brand-dark);
    background: var(--lp-brand-light);
    border-radius: 7px;
}

.landing-role:nth-child(2) .landing-role-tag { color: #3c8224; background: #eaf4e4; }
.landing-role:nth-child(3) .landing-role-tag { color: #0d6b00; background: #e1efdb; }
.landing-role:nth-child(4) .landing-role-tag { color: #2e7d32; background: #ecf6e8; }

.landing-role h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.landing-role > p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--lp-muted);
}

.landing-role ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.86rem;
    color: var(--lp-muted);
}

.landing-role li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.45rem;
}

.landing-role li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

/* ── Benefits ────────────────────────────────────────── */
.landing-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.landing-benefit {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-benefit:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
}

.landing-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.landing-benefit h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.landing-benefit p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--lp-muted);
}

/* ── CTA ─────────────────────────────────────────────── */
.landing-cta {
    position: relative;
    padding: 4.5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0d3d6b 100%);
    color: #f8fafc;
    overflow: hidden;
}

.landing-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.landing-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: lpFloat 18s ease-in-out infinite alternate;
}

.landing-cta-orb-1 {
    width: 360px;
    height: 360px;
    top: -140px;
    right: -60px;
    background: radial-gradient(circle, #14a800 0%, transparent 70%);
}

.landing-cta-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -140px;
    left: -40px;
    background: radial-gradient(circle, #3c8224 0%, transparent 70%);
    animation-delay: -7s;
}

.landing-cta-inner {
    position: relative;
    z-index: 1;
}

.landing-cta h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.landing-cta p {
    margin: 0 auto 1.75rem;
    max-width: 500px;
    color: rgba(226, 232, 240, 0.92);
    font-size: 1.06rem;
}

.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.landing-cta .landing-btn-primary {
    background: #fff;
    color: var(--lp-brand-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.landing-cta .landing-btn-primary:hover {
    background: #f1f5f9;
}

/* ── Footer ──────────────────────────────────────────── */
.landing-footer {
    padding: 2.25rem 0;
    border-top: 1px solid var(--lp-border);
    background: #fff;
}

.landing-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.landing-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--lp-muted);
}

.landing-footer-links a:hover {
    color: var(--lp-brand);
}

.landing-footer-copy {
    font-size: 0.82rem;
    color: var(--lp-muted);
}

/* ── Responsive ──────────────────────────────────────── */
@media (min-width: 640px) {
    .landing-stats-grid { grid-template-columns: repeat(4, 1fr); }
    .landing-features { grid-template-columns: repeat(2, 1fr); }
    .landing-roles { grid-template-columns: repeat(2, 1fr); }
    .landing-benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .landing-nav-links { display: flex; }
    .landing-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
    .landing-timeline { grid-template-columns: repeat(2, 1fr); }
    .landing-features { grid-template-columns: repeat(3, 1fr); }
    .landing-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
    .landing-roles { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-copy,
    .landing-hero-visual,
    .landing-hero-orb,
    .landing-cta-orb {
        animation: none;
    }

    .landing-btn,
    .landing-feature,
    .landing-timeline-item,
    .landing-role,
    .landing-benefit,
    .landing-flow-step {
        transition: none;
    }
}
