/* ===== Dcomcy Ads — public landing page =====
   Tokens mirror theme-2026.css (light by default; dark via prefers-color-scheme). */

:root {
    --lp-bg: #f5f6f8;
    --lp-surface: #ffffff;
    --lp-surface-alt: #f8f9fb;
    --lp-surface-hover: #f1f3f7;
    --lp-border: #e6e8ee;
    --lp-border-accent: #d5d9e2;
    --lp-text: #0f172a;
    --lp-text-muted: #475569;
    --lp-text-dim: #8a94a6;

    --lp-accent: #2f5bea;
    --lp-accent-hover: #2449c7;
    --lp-accent-bg: #eef2ff;
    --lp-success: #0f9d6b;
    --lp-success-bg: #e7f7f0;
    --lp-success-text: #0b7a53;
    --lp-danger: #d9364f;
    --lp-danger-bg: #fdecef;
    --lp-danger-text: #c02640;

    --lp-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --lp-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 1px rgba(15, 23, 42, .03);
    --lp-shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .12);
    --lp-radius: 16px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --lp-bg: #0b0f17;
        --lp-surface: #121823;
        --lp-surface-alt: #0f141d;
        --lp-surface-hover: #182031;
        --lp-border: #1f2735;
        --lp-border-accent: #2b3547;
        --lp-text: #e8ecf3;
        --lp-text-muted: #a3aec2;
        --lp-text-dim: #6b778c;

        --lp-accent: #6d8bff;
        --lp-accent-hover: #8aa2ff;
        --lp-accent-bg: #1a2342;
        --lp-success: #34d399;
        --lp-success-bg: #0f2a21;
        --lp-success-text: #34d399;
        --lp-danger: #fb7185;
        --lp-danger-bg: #2d1319;
        --lp-danger-text: #fb7185;

        --lp-shadow-sm: none;
        --lp-shadow-md: 0 12px 32px -12px rgba(0, 0, 0, .6);
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-text);
    font-family: var(--lp-font);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: normal;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.lp-container { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .lp-container { padding-inline: 32px; } }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--lp-accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 40px; padding: 0 18px; border-radius: 10px;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--lp-accent); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-accent-hover); }
.lp-btn-outline { background: var(--lp-surface); border-color: var(--lp-border-accent); color: var(--lp-text); }
.lp-btn-outline:hover { border-color: var(--lp-accent); color: var(--lp-accent); }
.lp-btn-ghost { background: var(--lp-surface-alt); border-color: var(--lp-border); color: var(--lp-text); }
.lp-btn-ghost:hover { border-color: var(--lp-border-accent); }
.lp-btn-text { background: transparent; color: var(--lp-text-muted); }
.lp-btn-text:hover { color: var(--lp-text); }
.lp-btn-outline-invert { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.lp-btn-outline-invert:hover { background: rgba(255, 255, 255, .12); }
.lp-btn-lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 12px; min-width: 44px; }
.lp-btn-block { width: 100%; min-height: 44px; }

/* ---------- Nav ---------- */
.lp-nav {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--lp-surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--lp-border);
}
.lp-nav-inner { height: 64px; display: flex; align-items: center; gap: 16px; }
.lp-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.lp-brand-mark {
    width: 30px; height: 30px; border-radius: 9px; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #3d68f5, #2447c9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.lp-nav-links { display: none; align-items: center; gap: 24px; margin-inline: auto; font-size: 14px; font-weight: 500; color: var(--lp-text-muted); }
.lp-nav-links a:hover { color: var(--lp-text); }
.lp-nav-actions { display: none; align-items: center; gap: 8px; }
.lp-burger {
    margin-left: auto; width: 40px; height: 40px; border-radius: 10px;
    background: transparent; border: 1px solid var(--lp-border); color: var(--lp-text);
    display: inline-flex; align-items: center; justify-content: center;
}
@media (min-width: 860px) {
    .lp-nav-links { display: flex; }
    .lp-nav-actions { display: flex; }
    .lp-burger { display: none; }
}
.lp-mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px 20px 18px; border-top: 1px solid var(--lp-border); }
.lp-mobile-menu a { padding: 10px 4px; font-size: 14px; font-weight: 500; color: var(--lp-text-muted); min-height: 44px; display: flex; align-items: center; }
.lp-mobile-menu a.lp-btn { justify-content: center; margin-top: 6px; color: var(--lp-text); }
.lp-mobile-menu a.lp-btn-primary { color: #fff; }
.lp-mobile-menu[hidden] { display: none; }
@media (min-width: 860px) { .lp-mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.lp-hero { padding: 48px 0 64px; overflow: hidden; }
@media (min-width: 860px) { .lp-hero { padding: 76px 0 88px; } }
.lp-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lp-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.lp-hero-copy h1 { font-size: 32px; line-height: 1.2; font-weight: 800; }
@media (min-width: 640px) { .lp-hero-copy h1 { font-size: 40px; } }
@media (min-width: 960px) { .lp-hero-copy h1 { font-size: 46px; } }
.lp-accent { color: var(--lp-accent); }
.lp-hero-sub { display: block; margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--lp-text-muted); max-width: 560px; }
.lp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-hero-trust { margin-top: 16px; font-size: 13px; color: var(--lp-text-dim); }

.lp-hero-shot { position: relative; }
.lp-browser-frame {
    border-radius: 14px; overflow: hidden; background: var(--lp-surface);
    border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-md);
}
.lp-browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: var(--lp-surface-alt); border-bottom: 1px solid var(--lp-border); }
.lp-browser-bar span:not(.lp-browser-url) { width: 8px; height: 8px; border-radius: 999px; background: var(--lp-border-accent); }
.lp-browser-url {
    margin-left: 10px; height: 18px; padding: 0 10px; border-radius: 999px; flex: 1; max-width: 220px;
    background: var(--lp-surface); border: 1px solid var(--lp-border); font-size: 10.5px; line-height: 18px;
    color: var(--lp-text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lp-browser-body {
    aspect-ratio: 16 / 10; width: 100%;
    background: linear-gradient(155deg, var(--lp-accent-bg), var(--lp-surface-alt) 60%);
    position: relative;
}
.lp-browser-body img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.lp-browser-body.lp-img-fallback::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(420px 220px at 20% 15%, color-mix(in srgb, var(--lp-accent) 22%, transparent), transparent 60%),
        radial-gradient(360px 200px at 85% 85%, color-mix(in srgb, var(--lp-success) 16%, transparent), transparent 60%);
}

/* ---------- Generic section ---------- */
.lp-section { padding: 56px 0; }
@media (min-width: 860px) { .lp-section { padding: 80px 0; } }
.lp-section-head { max-width: 620px; margin-bottom: 36px; }
.lp-section-head h2 { font-size: 26px; font-weight: 800; }
@media (min-width: 640px) { .lp-section-head h2 { font-size: 32px; } }
.lp-section-head p { display: block; margin-top: 10px; font-size: 15px; color: var(--lp-text-muted); line-height: 1.6; }

.lp-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-accent-bg); color: var(--lp-accent); flex-shrink: 0;
}
.lp-icon-danger { background: var(--lp-danger-bg); color: var(--lp-danger-text); }

/* ---------- Pain points ---------- */
.lp-pain { padding-top: 0; }
.lp-pain-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .lp-pain-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.lp-pain-card {
    padding: 24px; border-radius: var(--lp-radius); background: var(--lp-surface);
    border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-sm);
}
.lp-pain-card h3 { margin-top: 16px; font-size: 16px; font-weight: 700; }
.lp-pain-card p { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--lp-text-muted); }

/* ---------- Features ---------- */
.lp-feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .lp-feature-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.lp-feature-card {
    padding: 22px; border-radius: var(--lp-radius); background: var(--lp-surface);
    border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-sm);
    transition: border-color .15s, transform .15s;
}
@media (hover: hover) { .lp-feature-card:hover { border-color: var(--lp-border-accent); transform: translateY(-2px); } }
.lp-feature-card h3 { margin-top: 14px; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.lp-feature-card p { display: block; margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--lp-text-muted); }

/* ---------- Steps ---------- */
.lp-steps-section { background: var(--lp-surface-alt); border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
.lp-steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-step { position: relative; }
.lp-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 999px; margin-bottom: 14px;
    background: var(--lp-accent); color: #fff; font-weight: 700; font-size: 16px;
}
.lp-step h3 { font-size: 16px; font-weight: 700; }
.lp-step p { display: block; margin-top: 6px; font-size: 13.5px; color: var(--lp-text-muted); line-height: 1.6; }

/* ---------- Pricing ---------- */
.lp-pricing-toggle {
    display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 32px;
    border-radius: 12px; background: var(--lp-surface-alt); border: 1px solid var(--lp-border);
}
.lp-pricing-toggle button {
    height: 40px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent;
    font: 600 13.5px var(--lp-font); color: var(--lp-text-muted); cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s;
}
.lp-pricing-toggle button:hover { color: var(--lp-text); }
.lp-pricing-toggle button.active { background: var(--lp-surface); color: var(--lp-text); box-shadow: var(--lp-shadow-sm); }
.lp-badge-off { font-size: 11px; font-weight: 700; color: var(--lp-success-text); background: var(--lp-success-bg); padding: 1px 6px; border-radius: 999px; }

.lp-pricing-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .lp-pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.lp-price-card {
    position: relative; display: flex; flex-direction: column;
    padding: 26px 22px; border-radius: var(--lp-radius); background: var(--lp-surface);
    border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-sm);
}
.lp-price-featured { border-color: var(--lp-accent); box-shadow: 0 0 0 3px var(--lp-accent-bg), var(--lp-shadow-md); }
.lp-price-tag {
    position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px;
    background: var(--lp-accent); color: #fff; font-size: 11px; font-weight: 700;
}
.lp-price-card h3 { font-size: 15px; font-weight: 700; color: var(--lp-text-muted); }
.lp-price-amount { display: block; margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-price-amount span:not(.lp-price-permonth) { font-size: 13px; font-weight: 500; color: var(--lp-text-dim); }
.lp-price-permonth { color: var(--lp-text); }
.lp-price-note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--lp-text-dim); }
.lp-price-features { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 22px; }
.lp-price-features li { font-size: 13px; color: var(--lp-text-muted); padding-left: 20px; position: relative; }
.lp-price-features li::before {
    content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px;
    border-radius: 999px; background: var(--lp-success-bg); border: 1.5px solid var(--lp-success);
}
.lp-price-card .lp-btn { margin-top: auto; }
.lp-pricing-foot { margin-top: 28px; font-size: 12.5px; color: var(--lp-text-dim); text-align: center; }

/* ---------- FAQ ---------- */
.lp-faq-wrap { max-width: 760px; }
.lp-faq-item {
    border: 1px solid var(--lp-border); border-radius: 12px; background: var(--lp-surface);
    padding: 4px 18px; margin-bottom: 10px;
}
.lp-faq-item summary {
    cursor: pointer; padding: 16px 4px; font-weight: 600; font-size: 14.5px;
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 44px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--lp-text-dim); flex-shrink: 0; }
.lp-faq-item[open] summary::after { content: '−'; }
.lp-faq-item p { display: block; padding: 0 4px 16px; font-size: 13.5px; line-height: 1.65; color: var(--lp-text-muted); }

/* ---------- Final CTA ---------- */
.lp-final-cta {
    padding: 64px 0; text-align: center; color: #fff;
    background: radial-gradient(900px 420px at 50% -20%, rgba(255, 255, 255, .16), transparent 60%),
                linear-gradient(135deg, #2f5bea, #1f3a93);
}
.lp-final-cta h2 { font-size: 26px; font-weight: 800; }
@media (min-width: 640px) { .lp-final-cta h2 { font-size: 32px; } }
.lp-final-cta-actions { justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.lp-footer { padding: 28px 0; border-top: 1px solid var(--lp-border); }
.lp-footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; font-size: 13px; color: var(--lp-text-dim); }
@media (min-width: 640px) { .lp-footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.lp-footer-links a:hover { color: var(--lp-text); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-feature-card, .lp-btn { transition: none; }
}
