@import url('theme.css');

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

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease, color 0.2s ease;
    position: relative;
}

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

.lp-ambient::before,
.lp-ambient::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}

[data-theme="light"] .lp-ambient::before {
    width: 52vw;
    height: 52vw;
    top: -18%;
    left: -10%;
    background: radial-gradient(circle, #bfdbfe 0%, transparent 70%);
}

[data-theme="light"] .lp-ambient::after {
    width: 40vw;
    height: 40vw;
    top: 8%;
    right: -12%;
    background: radial-gradient(circle, #93c5fd 0%, transparent 70%);
    opacity: 0.35;
}

[data-theme="dark"] .lp-ambient::before {
    width: 55vw;
    height: 55vw;
    top: -20%;
    left: -12%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    opacity: 0.7;
}

[data-theme="dark"] .lp-ambient::after {
    width: 42vw;
    height: 42vw;
    top: 10%;
    right: -14%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
}

a { color: inherit; text-decoration: none; }

.lp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.lp-center { text-align: center; }

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

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .lp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Header ---------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--topbar);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 68px;
    position: relative;
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.lp-logo span { color: var(--primary); }

.lp-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
}

.lp-logo-img--footer {
    height: 34px;
}

.lp-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--primary), var(--primary-muted));
    color: var(--on-primary);
    flex-shrink: 0;
}

.lp-logo-mark svg {
    width: 18px;
    height: 18px;
}

.lp-nav-links {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
    margin-right: auto;
}

.lp-nav-links a {
    color: var(--text-secondary);
    font-weight: 550;
    font-size: 0.92rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.lp-nav-links a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.lp-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.lp-theme-toggle svg {
    width: 18px;
    height: 18px;
}

.lp-theme-toggle:hover {
    background: var(--hover);
    border-color: var(--primary-border);
}

[data-theme="light"] .lp-theme-toggle .icon-moon,
[data-theme="dark"] .lp-theme-toggle .icon-sun { display: none; }

.lp-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lp-menu-toggle svg {
    width: 20px;
    height: 20px;
}

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    border-radius: 11px;
    font-weight: 650;
    font-size: 0.94rem;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.12s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
    white-space: nowrap;
}

.lp-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

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

.lp-btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.28);
}

.lp-btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(29, 78, 216, 0.34);
}

[data-theme="dark"] .lp-btn-primary {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.lp-btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}

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

.lp-btn-ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

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

.lp-btn-outline {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

.lp-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lp-btn-lg {
    padding: 0.9rem 1.55rem;
    font-size: 1.02rem;
    border-radius: 12px;
}

/* ---------- Hero ---------- */
.lp-hero {
    padding: 4.25rem 0 2.5rem;
    position: relative;
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    opacity: 0.35;
    pointer-events: none;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
    align-items: center;
    position: relative;
}

.lp-brand-hero {
    margin-bottom: 0.85rem;
}

.lp-brand-hero-img {
    display: block;
    height: clamp(52px, 8vw, 78px);
    width: auto;
    max-width: min(360px, 88vw);
    object-fit: contain;
}

.lp-hero-text h1 {
    font-size: clamp(1.85rem, 3.6vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 750;
    margin-bottom: 1rem;
    max-width: 16ch;
}

.lp-lead {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 40ch;
    margin-bottom: 1.65rem;
}

.lp-lead strong { color: var(--text); font-weight: 650; }

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.lp-hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.25rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.lp-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.lp-hero-points svg {
    width: 15px;
    height: 15px;
    color: var(--success);
    flex-shrink: 0;
}

/* ---------- Hero visual ---------- */
.lp-hero-visual {
    position: relative;
    min-width: 0;
}

.lp-hero-glow {
    position: absolute;
    inset: 10% -8% -8% 10%;
    background: radial-gradient(ellipse at center, var(--primary-soft), transparent 70%);
    filter: blur(20px);
    z-index: 0;
    animation: lp-glow-pulse 5.5s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .lp-hero-glow { animation: none; }
}

.lp-code-window {
    position: relative;
    z-index: 1;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.lp-code-window--hero {
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.lp-code-window--hero:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(0deg);
}

@media (prefers-reduced-motion: reduce) {
    .lp-code-window--hero,
    .lp-code-window--hero:hover { transform: none; }
}

.lp-code-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.lp-code-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--border-strong);
}

.lp-code-bar span:nth-child(1) { background: #ef4444; }
.lp-code-bar span:nth-child(2) { background: #f59e0b; }
.lp-code-bar span:nth-child(3) { background: #22c55e; }

.lp-code-bar em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.78rem;
    color: var(--muted);
    font-family: 'JetBrains Mono', Consolas, monospace;
}

.lp-code {
    margin: 0;
    padding: 1.15rem 1.25rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre;
}

.tok-cmd { color: var(--primary); font-weight: 500; }
.tok-flag { color: #0d9488; }
.tok-str { color: #b45309; }
.tok-key { color: var(--primary); }
.tok-bool { color: #059669; }

[data-theme="dark"] .tok-flag { color: #2dd4bf; }
[data-theme="dark"] .tok-str { color: #fbbf24; }
[data-theme="dark"] .tok-bool { color: #34d399; }

.lp-hero-status {
    position: relative;
    z-index: 2;
    margin-top: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 0.86rem;
    color: var(--text-secondary);
    animation: lp-status-in 0.7s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-hero-status strong { color: var(--text); font-weight: 700; }

@keyframes lp-status-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero-status { animation: none; }
}

.lp-dot-ok {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.45);
    animation: lp-dot-pulse 2s ease-out infinite;
}

@keyframes lp-dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-dot-ok { animation: none; }
}

/* ---------- Trust strip ---------- */
.lp-trust {
    padding: 0.5rem 0 2.5rem;
}

.lp-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.lp-trust-item {
    font-size: 0.9rem;
    color: var(--muted);
}

.lp-trust-item strong {
    color: var(--text);
    font-weight: 700;
}

.lp-trust-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-strong);
}

/* ---------- Sections ---------- */
.lp-section { padding: 4.5rem 0; }

.lp-section-alt {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-section-head { margin-bottom: 2.5rem; }

.lp-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.lp-eyebrow.lp-left { text-align: left; }

.lp-section-title {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    text-align: center;
    letter-spacing: -0.03em;
    font-weight: 750;
    margin-bottom: 0.65rem;
}

.lp-section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 48ch;
    margin: 0 auto;
}

.lp-left { text-align: left; margin-left: 0; }

/* ---------- Features ---------- */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.lp-feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.45rem 1.35rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-feature:hover {
    transform: translateY(-4px);
    border-color: var(--primary-border);
    box-shadow: var(--shadow);
}

.lp-feature--wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: linear-gradient(135deg, var(--card), color-mix(in srgb, var(--primary-soft) 55%, var(--card)));
}

.lp-feature--wide h3 { margin-bottom: 0.35rem; }
.lp-feature--wide p { max-width: 62ch; }

.lp-feature-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

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

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

.lp-feature h3 {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.lp-feature p {
    color: var(--muted);
    font-size: 0.94rem;
}

/* ---------- Steps ---------- */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    position: relative;
}

.lp-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-border), transparent);
    pointer-events: none;
}

.lp-step {
    text-align: center;
    padding: 1.6rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-step:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow);
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), var(--primary-muted));
    color: var(--on-primary);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.28);
}

.lp-step h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.lp-step p {
    color: var(--muted);
    font-size: 0.94rem;
}

/* ---------- API section ---------- */
.lp-api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lp-api-text .lp-section-title { margin-bottom: 0.75rem; }
.lp-api-text .lp-section-sub { margin-bottom: 0; }

.lp-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.6rem 0 1.85rem;
}

.lp-check-list li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.lp-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.28rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--success-soft);
    border: 1px solid var(--success-border);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

[data-theme="dark"] .lp-check-list li::before {
    background-color: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.lp-check-list code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    background: var(--bg-subtle);
    padding: 0.08rem 0.4rem;
    border-radius: 6px;
    font-size: 0.86em;
    border: 1px solid var(--border);
}

/* ---------- Plans ---------- */
.lp-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.15rem;
}

.lp-plan-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.6rem 1.45rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.lp-plan-card--featured {
    border-color: var(--primary-border);
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 70%, var(--surface)), var(--surface));
    box-shadow: var(--shadow);
}

.lp-plan-badge {
    position: absolute;
    top: -11px;
    right: 1.1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--on-primary);
}

.lp-plan-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.lp-plan-price {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    color: var(--primary);
}

.lp-plan-price span {
    font-size: 0.92rem;
    font-weight: 550;
    color: var(--muted);
    letter-spacing: 0;
}

.lp-plan-desc {
    color: var(--muted);
    font-size: 0.93rem;
    flex: 1;
}

.lp-plan-features {
    list-style: none;
    margin: 1.1rem 0 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.lp-plan-features li {
    font-size: 0.8rem;
    font-weight: 650;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-border);
}

.lp-plan-card .lp-btn {
    width: 100%;
    margin-top: auto;
}

.lp-plan-loading {
    text-align: center;
    color: var(--muted);
    grid-column: 1 / -1;
    padding: 2rem;
}

/* ---------- Final CTA ---------- */
.lp-cta-section {
    padding: 1.5rem 0 4.5rem;
}

.lp-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2.25rem 2rem;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 90% 20%, rgba(147, 197, 253, 0.35), transparent 45%),
        linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(29, 78, 216, 0.28);
    position: relative;
    overflow: hidden;
}

.lp-cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
    pointer-events: none;
    opacity: 0.5;
}

.lp-cta-banner-text,
.lp-cta-banner-actions {
    position: relative;
    z-index: 1;
}

.lp-cta-banner h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.lp-cta-banner p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 38ch;
    font-size: 1rem;
}

.lp-cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.lp-cta-banner .lp-btn-primary {
    background: #fff;
    color: #1e3a8a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lp-cta-banner .lp-btn-primary:hover {
    background: #eff6ff;
}

/* ---------- Footer ---------- */
.lp-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.lp-footer-brand p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.75rem;
    max-width: 32ch;
}

.lp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lp-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.lp-footer-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.lp-footer-col a:hover { color: var(--primary); }

.lp-footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.lp-footer-bottom small {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .lp-hero-grid,
    .lp-api-grid { grid-template-columns: 1fr; gap: 2.25rem; }

    .lp-hero-text h1 { max-width: none; }

    .lp-code-window--hero,
    .lp-code-window--hero:hover { transform: none; }

    .lp-features { grid-template-columns: repeat(2, 1fr); }

    .lp-feature--wide { grid-column: span 2; }

    .lp-steps::before { display: none; }

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

    .lp-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .lp-nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        z-index: 40;
    }

    .lp-nav-links.open { display: flex; }

    .lp-nav-links a {
        padding: 0.95rem 1.25rem;
        border-radius: 0;
        border-top: 1px solid var(--border);
    }

    .lp-nav-actions .lp-btn-ghost { display: none; }

    .lp-menu-toggle { display: inline-flex; }

    .lp-features,
    .lp-steps { grid-template-columns: 1fr; }

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

    .lp-hero { padding: 3rem 0 1.75rem; }

    .lp-section { padding: 3.5rem 0; }

    .lp-trust-sep { display: none; }

    .lp-trust-row {
        flex-direction: column;
        gap: 0.55rem;
        text-align: center;
    }

    .lp-cta-banner {
        padding: 1.75rem 1.35rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .lp-cta-banner-actions { width: 100%; }

    .lp-cta-banner-actions .lp-btn { flex: 1; }

    .lp-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 420px) {
    .lp-hero-actions .lp-btn { width: 100%; }

    .lp-cta-banner-actions {
        flex-direction: column;
    }

    .lp-cta-banner-actions .lp-btn { width: 100%; }
}
