/* ══════════════════════════════════════════════════════════════════════════════
   landing.css  —  EmailFeed Marketing Landing Page
   Stannp-inspired: deep navy hero, golden CTAs, bold typography
══════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800;900&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ══════════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS — Landing-specific overrides
══════════════════════════════════════════════════════════════════════════════ */
:root {
    --lp-navy:          #1A1F6E;
    --lp-navy-dark:     #12175A;
    --lp-navy-mid:      #2A3280;
    --lp-gold:          #F5A623;
    --lp-gold-dark:     #D4891A;
    --lp-white:         #FFFFFF;
    --lp-off-white:     #F8F9FF;
    --lp-muted:         rgba(255,255,255,0.70);
    --lp-subtle:        rgba(255,255,255,0.12);
    --lp-card-bg:       #1E2578;
    --lp-card-border:   rgba(255,255,255,0.08);
    --font-display:     'Sora', sans-serif;
    --font-body:        'DM Sans', sans-serif;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESET / BASE
══════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--lp-off-white);
    color: var(--lp-navy);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════════════════════
   MARKETING NAV
   Separate from the app nav — this is the public landing page header
   Left: Logo  |  Centre: nav links  |  Right: Log in + 2 buttons
══════════════════════════════════════════════════════════════════════════════ */
.lp-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 300;
    background: var(--lp-navy-dark);
    border-bottom: 1px solid var(--lp-subtle);
    backdrop-filter: blur(8px);
}

.lp-nav__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Logo */
.lp-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 40px;
}

.lp-nav__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--lp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1rem;
    color: var(--lp-navy-dark);
    flex-shrink: 0;
}

.lp-nav__logo-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--lp-white);
    letter-spacing: -0.02em;
}

.lp-nav__logo-wordmark span {
    color: var(--lp-gold);
}

/* Nav links (centre) */
.lp-nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.lp-nav__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease;
}

.lp-nav__link:hover {
    background: var(--lp-subtle);
    color: var(--lp-white);
}

/* Right-side CTAs */
.lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lp-btn-ghost {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lp-white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 160ms ease;
}

.lp-btn-ghost:hover { background: var(--lp-subtle); }

.lp-btn-outline {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lp-white);
    background: none;
    border: 1.5px solid rgba(255,255,255,0.40);
    cursor: pointer;
    padding: 7px 18px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease;
}

.lp-btn-outline:hover {
    background: var(--lp-subtle);
    border-color: rgba(255,255,255,0.70);
}

.lp-btn-gold {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lp-navy-dark);
    background: var(--lp-gold);
    border: none;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, transform 120ms ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lp-btn-gold:hover {
    background: var(--lp-gold-dark);
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   Full-width navy gradient  |  Left: copy + CTAs + integrations  |  Right: visual
══════════════════════════════════════════════════════════════════════════════ */
.lp-hero {
    background: linear-gradient(145deg, var(--lp-navy-dark) 0%, var(--lp-navy) 55%, #2A3595 100%);
    padding-top: 68px; /* clear fixed nav */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Decorative background blobs */
.lp-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,95,232,0.35) 0%, transparent 65%);
    pointer-events: none;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.10) 0%, transparent 65%);
    pointer-events: none;
}

.lp-hero__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 32px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ── Left column ────────────────────────────────────────────────────────────── */
.lp-hero__left {}

.lp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lp-gold);
    background: rgba(245,166,35,0.12);
    border: 1px solid rgba(245,166,35,0.25);
    padding: 5px 12px;
    border-radius: 99px;
    margin-bottom: 24px;
}

.lp-hero__heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--lp-white);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.lp-hero__heading em {
    font-style: italic;
    color: var(--lp-gold);
}

.lp-hero__sub {
    font-size: 1.05rem;
    color: var(--lp-muted);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 40px;
}

/* Hero CTA buttons */
.lp-hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.lp-btn-hero-primary {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--lp-navy-dark);
    background: var(--lp-gold);
    border: none;
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(245,166,35,0.35);
    transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.lp-btn-hero-primary:hover {
    background: var(--lp-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,166,35,0.45);
}

.lp-btn-hero-secondary {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--lp-white);
    background: none;
    border: 1.5px solid rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.lp-btn-hero-secondary:hover {
    background: var(--lp-subtle);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-2px);
}

/* Integrations row */
.lp-hero__integrations {}

.lp-hero__int-label {
    font-size: 0.82rem;
    color: var(--lp-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.lp-hero__int-label strong {
    color: var(--lp-white);
    font-weight: 700;
}

.lp-hero__int-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-int-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--lp-subtle);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: background 160ms ease, transform 120ms ease;
    cursor: default;
}

.lp-int-badge:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

/* ── Right column — hero visual ─────────────────────────────────────────────── */
.lp-hero__right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lp-hero__visual {
    position: relative;
    width: 100%;
    max-width: 540px;
}

.lp-hero__img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--lp-card-bg);
    border: 1px solid var(--lp-card-border);
    box-shadow: 0 32px 80px rgba(0,0,0,0.45);
    position: relative;
}

.lp-hero__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating stat badges */
.lp-hero__badge {
    position: absolute;
    background: var(--lp-white);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    animation: lp-float 4s ease-in-out infinite;
}

.lp-hero__badge--tl {
    top: -18px;
    left: -28px;
    animation-delay: 0s;
}

.lp-hero__badge--br {
    bottom: -18px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.lp-badge__number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--lp-navy);
    line-height: 1;
}

.lp-badge__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    line-height: 1.3;
}

.lp-badge__icon {
    font-size: 1.6rem;
    line-height: 1;
}

/* ── Down arrow scroll prompt ───────────────────────────────────────────────── */
.lp-hero__down {
    display: flex;
    justify-content: center;
    padding-bottom: 32px;
    position: relative;
    z-index: 1;
}

.lp-hero__down-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--lp-white);
    animation: lp-bounce 2s ease-in-out infinite;
    transition: background 160ms ease;
}

.lp-hero__down-btn:hover { background: rgba(255,255,255,0.22); }

.lp-hero__down-btn svg { width: 20px; height: 20px; }

@keyframes lp-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* Wave divider between hero and content */
.lp-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
}

.lp-hero__wave svg {
    display: block;
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════════════════════
   "SEE WHAT'S WORKING" SECTION
   White bg  |  Centred headline  |  4-column card grid
══════════════════════════════════════════════════════════════════════════════ */
.lp-works {
    background: var(--lp-off-white);
    padding: 100px 32px 120px;
    position: relative;
}

.lp-works__inner {
    max-width: 1300px;
    margin: 0 auto;
}

/* Section heading */
.lp-works__heading-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.lp-works__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--lp-navy-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.lp-works__title em {
    font-style: italic;
    color: var(--lp-navy);
}

.lp-works__subtitle {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* Card grid */
.lp-works__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual card */
.lp-work-card {
    background: var(--lp-navy);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 200ms ease, box-shadow 200ms ease;
    cursor: pointer;
}

.lp-work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(26,31,110,0.30);
}

.lp-work-card__body {
    padding: 28px 26px 20px;
    flex: 1;
}

.lp-work-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--lp-white);
    line-height: 1.3;
    margin-bottom: 12px;
}

.lp-work-card__title em {
    font-style: italic;
    color: var(--lp-gold);
}

.lp-work-card__copy {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.6;
    margin-bottom: 18px;
}

.lp-work-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lp-white);
    text-decoration: none;
    transition: gap 160ms ease;
}

.lp-work-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform 160ms ease;
}

.lp-work-card:hover .lp-work-card__link svg {
    transform: translateX(4px);
}

/* Card image area */
.lp-work-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--lp-card-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.15);
    border-top: 1px solid var(--lp-card-border);
}

.lp-work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .lp-works__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .lp-nav__links { display: none; }

    .lp-hero__inner {
        grid-template-columns: 1fr;
        padding: 60px 24px 80px;
        text-align: center;
        gap: 48px;
    }

    .lp-hero__sub { margin: 0 auto 40px; }

    .lp-hero__actions { justify-content: center; }

    .lp-hero__integrations { display: flex; flex-direction: column; align-items: center; }

    .lp-hero__right { order: -1; }

    .lp-hero__badge--tl { left: -10px; }
    .lp-hero__badge--br { right: -10px; }

    .lp-works { padding: 72px 24px 80px; }
}

@media (max-width: 599px) {
    .lp-nav__inner { padding: 0 20px; }

    .lp-btn-outline { display: none; }

    .lp-works__grid { grid-template-columns: 1fr; }

    .lp-hero__badge { display: none; }
}
