/* ══════════════════════════════════════════
   LANDING PAGE — clean redesign
══════════════════════════════════════════ */

/* ── Hero ── */
.lp-hero {
    padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
    background: radial-gradient(ellipse at 60% 0%, rgba(79,70,229,.07) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(34,211,197,.06) 0%, transparent 50%),
                var(--cyan-soft);
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.lp-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-hero-h1 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    color: var(--text);
}

.lp-hero-sub {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--text-soft);
    line-height: 1.7;
    max-width: 520px;
}

.lp-hero-caption {
    margin: 0;
    font-size: 13px;
    color: var(--text-soft);
}

.lp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero visual composition */
.lp-hero-visual {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(235,246,255,.9));
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 20px 44px rgba(24,119,242,.12);
}

:root[data-theme="dark"] .lp-hero-visual {
    background: linear-gradient(145deg, rgba(18,29,53,.9), rgba(20,39,66,.92));
    border-color: rgba(148,163,184,.18);
}

.lp-channel-bubbles { display: grid; gap: 10px; }

.lp-channel-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-channel-pill span { font-weight: 700; color: var(--blue); font-size: 12px; }
.lp-channel-pill small { color: var(--text-soft); font-size: 12px; }

.lp-app-window {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.lp-app-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.lp-app-top span {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(16,185,129,.12);
    color: #10b981;
    font-weight: 700;
}

.lp-app-body { display: grid; grid-template-columns: 130px 1fr; min-height: 170px; }
.lp-app-body aside { background: var(--surface-muted); border-right: 1px solid var(--border); padding: 10px; display: grid; gap: 8px; font-size: 12px; color: var(--text-soft); }
.lp-app-body aside div { padding: 7px 9px; border-radius: 10px; }
.lp-app-body aside .active { background: rgba(59,130,246,.14); color: var(--blue); font-weight: 700; }
.lp-app-body main { padding: 12px; display: grid; gap: 10px; }

.lp-msg { border-radius: 12px; padding: 10px 12px; font-size: 13px; max-width: 86%; }
.lp-msg.in { background: var(--surface-muted); color: var(--text); }
.lp-msg.out { background: linear-gradient(135deg, #4f46e5, #3b82f6); color: #fff; justify-self: end; }
.lp-ai-suggest { font-size: 12px; color: var(--text-soft); background: rgba(99,102,241,.12); border: 1px dashed rgba(99,102,241,.35); border-radius: 10px; padding: 8px 10px; }

.lp-phone-preview {
    justify-self: end;
    width: 170px;
    border-radius: 24px;
    border: 3px solid rgba(15,23,42,.9);
    background: #fff;
    padding: 12px 10px;
    box-shadow: 0 18px 34px rgba(15,23,42,.2);
}

:root[data-theme="dark"] .lp-phone-preview { background: #111827; border-color: #0b1220; }

.lp-phone-notch { width: 56px; height: 6px; border-radius: 8px; background: rgba(148,163,184,.5); margin: 0 auto 10px; }
.lp-phone-chat { border-radius: 10px; padding: 8px 9px; font-size: 11px; margin-bottom: 8px; }
.lp-phone-chat.in { background: #f1f5f9; color: #1f2937; }
.lp-phone-chat.out { background: #dbeafe; color: #1d4ed8; }

.lp-hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lp-hero-kpis > div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.lp-hero-kpis strong { display: block; color: var(--blue); font: 800 20px "Plus Jakarta Sans", Inter, sans-serif; }
.lp-hero-kpis span { color: var(--text-soft); font-size: 12px; }

/* ── Buttons ── */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(99,102,241,.25);
    transition: transform .15s, box-shadow .15s;
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99,102,241,.32); text-decoration: none; color: #fff; }

.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.lp-btn-ghost:hover { background: var(--surface); border-color: var(--blue); text-decoration: none; }

.lp-btn--lg { padding: 16px 36px; font-size: 16px; }
.lp-btn--light { color: #fff; border-color: rgba(255,255,255,.35); }
.lp-btn--light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; }

/* ── Badge ── */
.lp-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.18);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ── Channels strip ── */
.lp-channels-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.lp-channels-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.lp-channels-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
    white-space: nowrap;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-channels-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lp-channels-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
}

.lp-channels-list span .material-symbols-outlined { font-size: 16px; color: var(--blue); }

/* ── Sections ── */
.lp-section {
    padding: clamp(64px, 8vw, 100px) 0;
}

.lp-section--alt {
    background: linear-gradient(180deg, rgba(247,248,252,.8), rgba(255,255,255,.95));
}

:root[data-theme="dark"] .lp-section--alt {
    background: linear-gradient(180deg, rgba(19,27,46,.8), rgba(24,33,56,.95));
}

.lp-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    margin-bottom: 48px;
}

.lp-section-head h2 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
}

/* ── Platform cards + features grid ── */
.lp-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.lp-platform-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.lp-platform-card h3 {
    margin: 0 0 10px;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 16px;
    color: var(--text);
}

.lp-platform-card p,
.lp-platform-card small,
.lp-platform-card li {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
}

.lp-platform-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.lp-mini-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lp-mini-columns div {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 8px;
    background: var(--surface-muted);
    text-align: center;
}

.lp-mini-columns strong {
    display: block;
    color: var(--blue);
    font-size: 13px;
    margin-bottom: 2px;
}

.lp-mini-columns span { font-size: 11px; color: var(--text-soft); }

.lp-mini-chart {
    height: 54px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(59,130,246,.12), rgba(59,130,246,.03));
    border: 1px solid rgba(59,130,246,.25);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
}

.lp-mini-chart::after {
    content: "";
    position: absolute;
    inset: auto 0 12px 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6 18%, #6366f1 45%, #22d3ee 72%, transparent);
}

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .15s, box-shadow .15s;
}

.lp-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.lp-feature-icon {
    font-size: 28px;
    color: var(--blue);
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(99,102,241,.1);
    display: grid;
    place-items: center;
}

.lp-feature-card h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
}

.lp-feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.65;
}

/* ── Split sections ── */
.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.lp-split--reverse { direction: rtl; }
.lp-split--reverse > * { direction: ltr; }

.lp-split-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-split-copy h2 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1.1;
}

.lp-split-copy p {
    margin: 0;
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.7;
}

/* Checklist */
.lp-checklist {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.5;
}

.lp-checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin-top: 2px;
}

/* ── Mockup card ── */
.lp-mockup-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.lp-mockup-card--glow {
    box-shadow: 0 20px 48px rgba(56,189,248,.18), var(--shadow-lg);
    border-color: rgba(56,189,248,.3);
}

.lp-mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-muted);
}

.lp-mockup-header strong { font-size: 14px; font-weight: 700; color: var(--text); flex: 1; }
.lp-mockup-header .material-symbols-outlined { font-size: 20px; }

.lp-online-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,.5);
}

/* Conversation list */
.lp-conv-list { display: flex; flex-direction: column; }

.lp-conv {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: background .12s;
}

.lp-conv--active { background: rgba(99,102,241,.06); border-left: 3px solid var(--blue); }

.lp-conv-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-conv-info { flex: 1; min-width: 0; }
.lp-conv-info strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.lp-conv-info span { display: block; font-size: 12px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-conv-time { font-size: 11px; color: var(--text-soft); flex-shrink: 0; }

/* Chat preview */
.lp-chat-preview {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.lp-bubble--in {
    background: var(--surface-muted);
    color: var(--text);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.lp-bubble--out {
    background: var(--gradient-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

/* Bot steps */
.lp-bot-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
}

.lp-bot-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-soft);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.lp-bot-step:last-child { border-bottom: none; }

.lp-step-num {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
}

.lp-tag-row span {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(99,102,241,.1);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
}

/* ── Pipeline preview ── */
.lp-pipeline-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lp-pipeline-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.lp-pipeline-col-header {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-soft);
    background: var(--surface-muted);
    border-bottom: 1px solid var(--border);
}

.lp-pipeline-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-pipeline-card strong { font-size: 13px; font-weight: 700; color: var(--text); }
.lp-pipeline-card span { font-size: 12px; color: var(--text-soft); }
.lp-deal-value { font-size: 15px; font-weight: 700; color: #22c55e; margin-top: 6px; }

/* ── Testimonials ── */
.lp-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-testimonial-card p {
    margin: 0;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.lp-testimonial-card strong { font-size: 14px; font-weight: 700; color: var(--text); }
.lp-testimonial-card span { font-size: 13px; color: var(--text-soft); }

/* ── Final CTA ── */
.lp-cta-section {
    padding: clamp(72px, 9vw, 112px) 0;
    background: var(--gradient-primary);
}

.lp-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.lp-cta-inner h2 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    line-height: 1.1;
}

.lp-cta-inner p {
    margin: 0;
    font-size: 17px;
    color: rgba(255,255,255,.8);
    max-width: 520px;
    line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-platform-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-hero-sub { max-width: 100%; }
}

@media (max-width: 860px) {
    .lp-split,
    .lp-split--reverse { grid-template-columns: 1fr; direction: ltr; }
    .lp-pipeline-preview { grid-template-columns: 1fr; }
    .lp-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .lp-features-grid { grid-template-columns: 1fr; }
    .lp-platform-grid { grid-template-columns: 1fr; }
    .lp-hero-kpis { grid-template-columns: 1fr; }
    .lp-app-body { grid-template-columns: 1fr; }
    .lp-app-body aside { grid-template-columns: repeat(3, 1fr); display: grid; border-right: 0; border-bottom: 1px solid var(--border); }
    .lp-phone-preview { justify-self: center; width: min(220px, 72vw); }
    .lp-hero-actions { flex-direction: column; align-items: stretch; }
    .lp-btn-primary, .lp-btn-ghost { width: 100%; justify-content: center; }
    .lp-channels-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
