/* Plant Intelligence landing — aligned, premium, responsive */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --lp-forest: #064e3b;
    --lp-emerald: #059669;
    --lp-green: #10b981;
    --lp-mint: #6ee7b7;
    --lp-teal: #0d9488;
    --lp-ink: #042f2e;
    --lp-slate: #334155;
    --lp-muted: #64748b;
    --lp-line: rgba(6, 78, 59, 0.1);
    --lp-paper: #f3fbf7;
    --lp-white: #ffffff;
    --lp-radius: 18px;
    --lp-radius-lg: 24px;
    --lp-shadow: 0 20px 50px -28px rgba(4, 47, 46, 0.38);
    --lp-shadow-sm: 0 10px 28px -18px rgba(4, 47, 46, 0.28);
    --lp-max: 1120px;
    --lp-gutter: clamp(16px, 4vw, 28px);
    --lp-section-y: clamp(64px, 8vw, 96px);
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--lp-ink);
    background: var(--lp-paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    min-height: 100dvh;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.lp-container {
    width: 100%;
    max-width: var(--lp-max);
    margin-inline: auto;
    padding-inline: var(--lp-gutter);
}

/* Ambient */
.lp-ambient {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.lp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.4;
    animation: lp-float 16s ease-in-out infinite;
}

.lp-orb-a {
    width: min(380px, 50vw);
    height: min(380px, 50vw);
    top: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4), transparent 70%);
}

.lp-orb-b {
    width: min(320px, 45vw);
    height: min(320px, 45vw);
    bottom: 12%;
    left: -80px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.28), transparent 70%);
    animation-delay: -5s;
}

.lp-orb-c {
    width: min(240px, 40vw);
    height: min(240px, 40vw);
    top: 48%;
    right: 12%;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.25), transparent 70%);
    animation-delay: -9s;
}

header, main, footer { position: relative; z-index: 1; }

/* Focus */
.lp-btn:focus-visible,
.lp-nav-brand:focus-visible,
.lp-demo-stages button:focus-visible,
.lp-hero-alt a:focus-visible {
    outline: 2px solid var(--lp-emerald);
    outline-offset: 3px;
}

/* Nav */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    background: rgba(243, 251, 247, 0.82);
    border-bottom: 1px solid var(--lp-line);
}

.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding-block: 10px;
}

.lp-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.lp-nav-brand img {
    height: 28px;
    width: auto;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(4, 47, 46, 0.12);
    flex-shrink: 0;
}

.lp-nav-brand-text {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--lp-forest);
    line-height: 1.2;
    min-width: 0;
}

.lp-nav-brand-text small {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-top: 2px;
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-lg {
    min-height: 48px;
    padding: 0 22px;
    font-size: 15px;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #fff;
    box-shadow: 0 8px 22px -10px rgba(5, 150, 105, 0.65);
}

.lp-btn-glow {
    box-shadow:
        0 10px 26px -10px rgba(5, 150, 105, 0.7),
        inset 0 0 0 1px rgba(110, 231, 183, 0.22);
}

.lp-btn-primary:hover {
    box-shadow: 0 12px 30px -10px rgba(5, 150, 105, 0.8);
}

.lp-btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--lp-forest);
    border-color: rgba(6, 78, 59, 0.14);
}

.lp-btn-secondary:hover {
    background: #fff;
    border-color: rgba(5, 150, 105, 0.35);
}

.lp-btn-ghost {
    background: transparent;
    color: var(--lp-forest);
    border-color: rgba(6, 78, 59, 0.16);
}

.lp-btn-ghost:hover { background: rgba(16, 185, 129, 0.08); }

.lp-btn-glass {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.lp-btn-glass:hover { background: rgba(255, 255, 255, 0.2); }

/* Hero */
.lp-hero {
    padding-block: clamp(36px, 6vw, 64px) clamp(48px, 7vw, 80px);
    background:
        radial-gradient(ellipse 70% 55% at 8% 15%, rgba(110, 231, 183, 0.22), transparent 55%),
        radial-gradient(ellipse 55% 45% at 92% 8%, rgba(13, 148, 136, 0.12), transparent 50%),
        linear-gradient(180deg, #ecfdf5 0%, var(--lp-paper) 70%);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}

.lp-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 34rem;
    animation: lp-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: var(--lp-shadow-sm);
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lp-emerald);
}

.lp-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: lp-pulse 2.4s ease-in-out infinite;
}

.lp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.8vw, 3.65rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--lp-ink);
    margin-bottom: 16px;
    text-wrap: balance;
}

.lp-hero-title em {
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(120deg, #059669, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero-sub {
    font-size: clamp(1rem, 1.7vw, 1.125rem);
    line-height: 1.65;
    color: var(--lp-muted);
    margin-bottom: 24px;
    max-width: 32rem;
}

.lp-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.lp-hero-alt {
    font-size: 14px;
    color: var(--lp-muted);
    margin-bottom: 22px;
}

.lp-hero-alt a {
    color: var(--lp-emerald);
    font-weight: 650;
    text-decoration: none;
}

.lp-hero-alt a:hover { text-decoration: underline; }

.lp-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    list-style: none;
    font-size: 13px;
    font-weight: 550;
    color: var(--lp-slate);
}

.lp-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-hero-trust li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lp-green);
    flex-shrink: 0;
}

/* Product demo */
.lp-demo-wrap {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    justify-self: end;
    animation: lp-rise 0.85s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-demo {
    position: relative;
}

.lp-demo-glow {
    position: absolute;
    inset: 12% -6% -6%;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.28), transparent 65%);
    filter: blur(20px);
    z-index: 0;
    animation: lp-glow-breathe 5.5s ease-in-out infinite;
}

.lp-demo-window {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow), 0 0 0 1px rgba(6, 78, 59, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.lp-demo-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 14px;
    background: linear-gradient(180deg, #f7fffb, #eefbf4);
    border-bottom: 1px solid var(--lp-line);
}

.lp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.lp-dot:nth-child(1) { background: #f87171; }
.lp-dot:nth-child(2) { background: #fbbf24; }
.lp-dot:nth-child(3) { background: #34d399; }

.lp-demo-url {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--lp-muted);
}

.lp-demo-body {
    position: relative;
    height: 320px;
    padding: 16px;
    background: linear-gradient(165deg, rgba(236, 253, 245, 0.92), rgba(255, 255, 255, 0.98));
}

.lp-demo-panel {
    position: absolute;
    inset: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.lp-demo[data-stage="0"] .lp-demo-search,
.lp-demo[data-stage="1"] .lp-demo-search,
.lp-demo[data-stage="2"] .lp-demo-card,
.lp-demo[data-stage="3"] .lp-demo-care,
.lp-demo[data-stage="4"] .lp-demo-ai {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.lp-demo-searchbar {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid rgba(16, 185, 129, 0.32);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08), var(--lp-shadow-sm);
    color: var(--lp-muted);
    font-size: 14.5px;
    font-weight: 500;
}

.lp-demo-searchbar svg {
    width: 17px;
    height: 17px;
    color: var(--lp-emerald);
    flex-shrink: 0;
}

.lp-demo-typed { color: var(--lp-ink); min-height: 1.2em; }
.lp-demo-caret {
    width: 2px;
    height: 1.05em;
    background: var(--lp-emerald);
    border-radius: 2px;
    animation: lp-blink 1s step-end infinite;
}

.lp-demo-suggest {
    list-style: none;
    margin-top: 10px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--lp-line);
    overflow: hidden;
    box-shadow: var(--lp-shadow-sm);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lp-demo[data-stage="1"] .lp-demo-suggest {
    opacity: 1;
    transform: none;
}

.lp-demo-suggest li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}

.lp-demo-suggest li:last-child { border-bottom: 0; }

.lp-demo-suggest li.is-active {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), transparent);
}

.lp-demo-suggest strong { font-size: 13.5px; color: var(--lp-ink); }
.lp-demo-suggest span { font-size: 11.5px; color: var(--lp-muted); }

.lp-demo-card,
.lp-demo-care,
.lp-demo-ai {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--lp-line);
    padding: 18px;
    box-shadow: var(--lp-shadow-sm);
    height: calc(100% - 0px);
    display: flex;
    flex-direction: column;
}

.lp-demo-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.lp-demo-leaf {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #d1fae5, #a7f3d0);
    font-size: 20px;
    flex-shrink: 0;
}

.lp-demo-card-meta { min-width: 0; flex: 1; }

.lp-demo-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lp-demo-botanical {
    font-size: 12.5px;
    font-style: italic;
    color: var(--lp-muted);
    margin-top: 2px;
}

.lp-demo-badge {
    flex-shrink: 0;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--lp-emerald);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.lp-demo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.lp-demo-tags span {
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.16);
    font-size: 11px;
    font-weight: 600;
    color: var(--lp-forest);
}

.lp-demo-desc {
    font-size: 13px;
    color: var(--lp-muted);
    line-height: 1.55;
    margin-top: auto;
}

.lp-demo-care h4 {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--lp-forest);
}

.lp-demo-care-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
}

.lp-demo-care-grid div {
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(160deg, #ecfdf5, #f8fffb);
    border: 1px solid rgba(16, 185, 129, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp-demo-care-grid span {
    display: block;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 4px;
}

.lp-demo-care-grid strong {
    font-size: 13px;
    color: var(--lp-ink);
    font-weight: 650;
}

.lp-demo-ai {
    gap: 10px;
    justify-content: center;
}

.lp-demo-ai-q,
.lp-demo-ai-a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.lp-demo-ai-q {
    background: #f1f5f9;
    color: var(--lp-slate);
    align-self: flex-end;
    max-width: 92%;
}

.lp-demo-ai-a {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: var(--lp-ink);
    max-width: 96%;
}

.lp-demo-ai-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--lp-emerald);
    margin-bottom: 5px;
}

.lp-demo-chip {
    position: absolute;
    right: 8px;
    bottom: 64px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 24px);
    padding: 8px 12px 8px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: var(--lp-shadow-sm);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px) scale(0.97);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.lp-demo[data-stage="2"] .lp-demo-chip,
.lp-demo[data-stage="3"] .lp-demo-chip {
    opacity: 1;
    transform: none;
    animation: lp-float-chip 3.5s ease-in-out infinite;
}

.lp-demo-chip-thumb {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background:
        linear-gradient(145deg, rgba(6, 78, 59, 0.45), rgba(16, 185, 129, 0.3)),
        url("/static/img/hero-plants.jpg") center / cover;
    flex-shrink: 0;
}

.lp-demo-chip strong {
    display: block;
    font-size: 12px;
    color: var(--lp-ink);
    line-height: 1.2;
}

.lp-demo-chip span {
    font-size: 11px;
    color: var(--lp-muted);
}

.lp-demo-stages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.lp-demo-stages button {
    border: 1px solid rgba(6, 78, 59, 0.12);
    background: rgba(255, 255, 255, 0.75);
    color: var(--lp-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lp-demo-stages button.is-active,
.lp-demo-stages button:hover {
    background: var(--lp-forest);
    color: #fff;
    border-color: var(--lp-forest);
}

/* Sections */
.lp-section {
    padding-block: var(--lp-section-y);
}

.lp-section-muted {
    background:
        radial-gradient(ellipse at top, rgba(110, 231, 183, 0.14), transparent 55%),
        #e8f7ef;
}

.lp-section-head {
    max-width: 36rem;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.lp-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-emerald);
    margin-bottom: 10px;
}

.lp-kicker-light { color: var(--lp-mint); }

.lp-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--lp-ink);
    margin-bottom: 10px;
    text-wrap: balance;
}

.lp-section-sub {
    font-size: 1.02rem;
    color: var(--lp-muted);
    line-height: 1.6;
}

/* Features */
.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lp-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 188px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 24px;
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lp-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow);
    border-color: rgba(16, 185, 129, 0.24);
}

.lp-feature-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    min-height: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(209, 250, 229, 0.45));
}

.lp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ecfdf5, #a7f3d0);
    color: var(--lp-forest);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.lp-feature-wide .lp-feature-icon { margin-bottom: 0; }

.lp-feature-icon svg { width: 20px; height: 20px; }

.lp-feature h3 {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.25;
}

.lp-feature p,
.lp-feature-copy p {
    font-size: 0.95rem;
    color: var(--lp-muted);
    line-height: 1.6;
    margin-top: auto;
}

.lp-feature-copy { min-width: 0; }
.lp-feature-copy h3 { margin-bottom: 8px; }
.lp-feature-copy p { margin-top: 0; }

/* Workflow */
.lp-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    position: relative;
}

.lp-step {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 188px;
    padding: 22px 18px;
    border-radius: var(--lp-radius);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--lp-line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-sm);
}

/* Connector lines between steps (desktop) */
.lp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    left: calc(100% + 2px);
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.45), rgba(16, 185, 129, 0.1));
    border-radius: 2px;
    z-index: 1;
}

.lp-step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lp-emerald);
    margin-bottom: 12px;
    line-height: 1;
}

.lp-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.lp-step p {
    font-size: 0.92rem;
    color: var(--lp-muted);
    line-height: 1.55;
    margin-top: auto;
}

/* CTA */
.lp-cta {
    padding-block: 24px var(--lp-section-y);
}

.lp-cta-inner {
    padding: clamp(40px, 6vw, 56px) clamp(20px, 4vw, 40px);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 18% 0%, rgba(110, 231, 183, 0.22), transparent 50%),
        linear-gradient(145deg, #064e3b 0%, #047857 52%, #0f766e 100%);
    color: #fff;
    box-shadow: var(--lp-shadow);
    text-align: center;
}

.lp-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
    text-wrap: balance;
}

.lp-cta-sub {
    max-width: 32rem;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    line-height: 1.55;
}

.lp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Footer */
.lp-footer {
    border-top: 1px solid var(--lp-line);
    padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px));
    background: #dff5ea;
}

.lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lp-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--lp-muted);
    min-width: 0;
}

.lp-footer-brand img {
    height: 24px;
    width: auto;
    border-radius: 999px;
    flex-shrink: 0;
}

.lp-footer-brand strong {
    color: var(--lp-slate);
    font-weight: 650;
}

.lp-footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 650;
    transition: color 0.15s ease;
}

.lp-footer-link:hover {
    color: var(--lp-green-ink, #166534);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-footer-copy {
    font-size: 12px;
    color: #94a3b8;
}

/* Reveal */
.lp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--d, 0) * 70ms);
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Motion */
@keyframes lp-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes lp-glow-breathe {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes lp-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06); }
}

@keyframes lp-blink {
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-orb,
    .lp-demo-glow,
    .lp-demo-caret,
    .lp-eyebrow::before,
    .lp-demo-chip,
    .lp-hero-copy,
    .lp-demo-wrap { animation: none !important; }

    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .lp-btn:hover,
    .lp-feature:hover,
    .lp-step:hover { transform: none; }
}

/* ── Breakpoints ─────────────────────────────────────────── */

/* Laptop / tablet landscape */
@media (max-width: 1024px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        align-items: start;
    }

    .lp-hero-copy {
        max-width: 40rem;
        margin-inline: auto;
        text-align: center;
        align-items: center;
    }

    .lp-hero-ctas,
    .lp-hero-trust {
        justify-content: center;
    }

    .lp-demo-wrap {
        justify-self: center;
        max-width: 460px;
    }

    .lp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .lp-step:not(:last-child)::after { display: none; }
}

/* Tablet */
@media (max-width: 768px) {
    .lp-nav-brand-text small { display: none; }
    .lp-nav-actions .lp-btn-ghost { display: none; }

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

    .lp-feature,
    .lp-step {
        min-height: 0;
    }

    .lp-feature-wide {
        flex-direction: column;
    }

    .lp-demo-body { height: 300px; }

    .lp-demo-chip {
        right: 10px;
        bottom: 58px;
        max-width: 70%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .lp-nav-inner { min-height: 56px; }

    .lp-hero-ctas {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .lp-btn-lg { width: 100%; }

    .lp-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-demo-stages {
        gap: 6px;
    }

    .lp-demo-stages button {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11.5px;
    }

    .lp-demo-chip { display: none; }

    .lp-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lp-demo-care-grid { gap: 8px; }
    .lp-demo-care-grid div { padding: 10px; }
}

/* Small mobile */
@media (max-width: 360px) {
    .lp-hero-title { font-size: 2.05rem; }
    .lp-demo-body { height: 280px; padding: 12px; }
    .lp-demo-panel { inset: 12px; }
    .lp-section-title { font-size: 1.55rem; }
}
