/*
Theme Name: LeadLuna Theme
Theme URI: https://leadluna.io
Author: LeadLuna
Description: Custom marketing theme and dashboard shell for LeadLuna.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: leadluna
*/

:root {
    --ll-bg: #f6f8fc;
    --ll-surface: #ffffff;
    --ll-surface-soft: #f0f3f9;
    --ll-border: #e1e7f0;
    --ll-text: #111827;
    --ll-muted: #667085;
    --ll-navy: #081224;
    --ll-navy-2: #101b31;
    --ll-purple: #6f5cf4;
    --ll-purple-dark: #5945dd;
    --ll-purple-soft: #eeeaff;
    --ll-green: #129b6b;
    --ll-red: #d64545;
    --ll-amber: #b66a08;
    --ll-shadow: 0 18px 55px rgba(21, 31, 56, 0.10);
    --ll-radius: 18px;
    --ll-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ll-bg);
    color: var(--ll-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.ll-dark {
    --ll-bg: #080f1f;
    --ll-surface: #0f192d;
    --ll-surface-soft: #141f35;
    --ll-border: #26334a;
    --ll-text: #f7f8fb;
    --ll-muted: #a8b2c7;
    --ll-purple-soft: rgba(111, 92, 244, 0.14);
    --ll-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.ll-container { width: min(calc(100% - 32px), var(--ll-max)); margin: 0 auto; }
.ll-section { padding: 96px 0; }
.ll-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(111, 92, 244, .28);
    background: rgba(111, 92, 244, .10);
    color: #c7bfff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.ll-gradient-text {
    background: linear-gradient(90deg, #bcaeff 0%, #765fff 68%, #9e8fff 100%);
    -webkit-background-clip: text;
    color: transparent;
}
.ll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 750;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.ll-btn:hover { transform: translateY(-1px); }
.ll-btn-primary {
    background: var(--ll-purple);
    color: white;
    box-shadow: 0 11px 28px rgba(111, 92, 244, .34);
}
.ll-btn-primary:hover { background: var(--ll-purple-dark); }
.ll-btn-secondary {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
}
.ll-btn-light {
    background: white;
    color: var(--ll-purple-dark);
    box-shadow: 0 10px 30px rgba(6, 11, 26, .14);
}
.ll-btn-outline {
    border-color: var(--ll-border);
    background: transparent;
    color: var(--ll-text);
}

/* Header */
.ll-site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 76px;
    background: color-mix(in srgb, var(--ll-surface) 92%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ll-border);
}
.ll-header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ll-header-left, .ll-header-actions, .ll-main-nav { display: flex; align-items: center; }
.ll-header-left { gap: 34px; }
.ll-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 850; letter-spacing: -0.03em; }
.ll-logo-mark {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    color: white; font-size: 16px; font-weight: 900;
    background: radial-gradient(circle at 68% 40%, #fff 0 11%, transparent 12%), linear-gradient(145deg, #7764ff, #2a285d);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 8px 18px rgba(111,92,244,.24);
}
.ll-main-nav { gap: 26px; }
.ll-main-nav a { color: var(--ll-muted); font-size: 14px; font-weight: 650; }
.ll-main-nav a:hover { color: var(--ll-purple); }
.ll-header-actions { gap: 12px; }
.ll-theme-toggle, .ll-mobile-toggle {
    width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ll-border); border-radius: 999px;
    color: var(--ll-muted); background: var(--ll-surface);
}
.ll-mobile-toggle { display: none; border-radius: 11px; }
.ll-mobile-menu { display: none; padding: 16px; background: var(--ll-surface); border-top: 1px solid var(--ll-border); }
.ll-mobile-menu.is-open { display: grid; gap: 10px; }
.ll-mobile-menu a { padding: 12px; border-radius: 10px; color: var(--ll-muted); font-weight: 650; }

/* Homepage */
.ll-hero {
    padding: 154px 0 94px;
    background:
        radial-gradient(circle at 22% 22%, rgba(111,92,244,.30), transparent 32%),
        radial-gradient(circle at 78% 35%, rgba(83,69,190,.18), transparent 34%),
        var(--ll-navy);
    color: white;
    overflow: hidden;
}
.ll-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 76px; align-items: center; }
.ll-hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.01; letter-spacing: -0.055em; margin: 22px 0 22px; max-width: 690px; }
.ll-hero-copy { color: #bbc5d8; font-size: 19px; line-height: 1.66; max-width: 650px; margin: 0 0 30px; }
.ll-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ll-proof-line { margin-top: 24px; color: #8f9bb3; font-size: 13px; }
.ll-product-window { position: relative; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.ll-window-glow { position: absolute; inset: 16% 8% -12%; background: rgba(111,92,244,.34); filter: blur(70px); }
.ll-window {
    position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden;
    background: #101b30; box-shadow: 0 34px 90px rgba(0,0,0,.46);
}
.ll-window-top { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 7px; background: #16223a; border-bottom: 1px solid rgba(255,255,255,.08); }
.ll-dot { width: 9px; height: 9px; border-radius: 50%; background: #52617a; }
.ll-url { margin-left: auto; margin-right: auto; padding: 5px 70px; border-radius: 7px; background: #202e48; color: #71819b; font-size: 10px; }
.ll-window-body { padding: 22px; }
.ll-window-search { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ll-mini-input { padding: 12px; border-radius: 10px; background: #0b1426; border: 1px solid #26334b; }
.ll-mini-input small { color: #74829b; display: block; margin-bottom: 5px; }
.ll-mini-input strong { font-size: 13px; }
.ll-mini-lead { background: #0b1426; border: 1px solid rgba(111,92,244,.55); border-left: 4px solid var(--ll-purple); padding: 16px; border-radius: 12px; }
.ll-mini-lead-top { display: flex; justify-content: space-between; gap: 14px; }
.ll-mini-lead h3 { font-size: 14px; margin: 0 0 4px; }
.ll-mini-lead p { margin: 0; font-size: 11px; color: #7887a2; }
.ll-signal { display: inline-flex; padding: 5px 8px; border-radius: 7px; font-size: 10px; font-weight: 800; background: rgba(220, 68, 82, .16); color: #ff7c89; }
.ll-mini-button { margin-top: 14px; width: 100%; border: 0; padding: 10px; color: white; background: var(--ll-purple); border-radius: 8px; font-weight: 750; }
.ll-audience { padding: 34px 0; background: var(--ll-surface); border-bottom: 1px solid var(--ll-border); }
.ll-audience p { text-align: center; margin: 0 0 22px; color: var(--ll-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ll-audience-list { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; color: var(--ll-muted); font-weight: 800; }
.ll-section-heading { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.ll-section-heading h2 { margin: 0 0 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.ll-section-heading p { color: var(--ll-muted); font-size: 18px; line-height: 1.65; margin: 0; }
.ll-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ll-card {
    padding: 28px; border: 1px solid var(--ll-border); border-radius: var(--ll-radius); background: var(--ll-surface); box-shadow: 0 12px 32px rgba(25,35,58,.05);
}
.ll-card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: var(--ll-purple-soft); color: var(--ll-purple); font-weight: 900; }
.ll-card h3 { font-size: 20px; margin: 0 0 10px; }
.ll-card p { color: var(--ll-muted); line-height: 1.65; margin: 0; }
.ll-how { background: var(--ll-surface); }
.ll-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.ll-step { position: relative; padding: 32px; border-radius: var(--ll-radius); background: var(--ll-bg); border: 1px solid var(--ll-border); }
.ll-step::before { counter-increment: step; content: "0" counter(step); display: inline-block; margin-bottom: 36px; color: var(--ll-purple); font-weight: 900; font-size: 13px; }
.ll-step h3 { margin: 0 0 10px; font-size: 21px; }
.ll-step p { margin: 0; color: var(--ll-muted); line-height: 1.65; }
.ll-feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ll-feature-copy h2 { font-size: clamp(34px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; margin: 14px 0 20px; }
.ll-feature-copy p { color: var(--ll-muted); line-height: 1.7; font-size: 17px; }
.ll-check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 15px; }
.ll-check-list li { display: flex; gap: 11px; color: var(--ll-muted); }
.ll-check-list li::before { content: "✓"; color: var(--ll-purple); font-weight: 900; }
.ll-feature-panel { padding: 28px; border-radius: 24px; background: linear-gradient(145deg, #101b31, #0a1222); color: white; box-shadow: var(--ll-shadow); }
.ll-feature-panel-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.ll-feature-panel-row:last-child { border-bottom: 0; }
.ll-feature-panel-row small { color: #8491a8; display: block; margin-top: 4px; }
.ll-status-pill { padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(111,92,244,.16); color: #b9aeff; }
.ll-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.ll-price-card { position: relative; padding: 30px; border: 1px solid var(--ll-border); border-radius: 22px; background: var(--ll-surface); display: flex; flex-direction: column; }
.ll-price-card.is-featured { border-color: var(--ll-purple); box-shadow: 0 20px 60px rgba(111,92,244,.18); transform: translateY(-8px); }
.ll-price-badge { position: absolute; top: -13px; right: 22px; background: var(--ll-purple); color: white; border-radius: 999px; padding: 7px 12px; font-size: 11px; font-weight: 850; }
.ll-price-card h3 { margin: 0 0 8px; }
.ll-price-card > p { color: var(--ll-muted); min-height: 48px; }
.ll-price { font-size: 43px; letter-spacing: -.045em; font-weight: 900; margin: 18px 0; }
.ll-price span { font-size: 14px; color: var(--ll-muted); font-weight: 600; letter-spacing: 0; }
.ll-price-list { list-style: none; padding: 0; margin: 6px 0 28px; display: grid; gap: 12px; color: var(--ll-muted); }
.ll-price-list li::before { content: "✓"; color: var(--ll-green); font-weight: 900; margin-right: 9px; }
.ll-price-card .ll-btn { margin-top: auto; }
.ll-cta { padding: 74px 0; background: linear-gradient(120deg, #6d57ed, #795ff5); color: white; text-align: center; }
.ll-cta h2 { margin: 0 0 14px; font-size: clamp(34px,4vw,50px); letter-spacing: -.04em; }
.ll-cta p { margin: 0 0 28px; color: #e9e5ff; font-size: 18px; }

/* Footer */
.ll-site-footer { background: var(--ll-surface); border-top: 1px solid var(--ll-border); padding: 64px 0 30px; }
.ll-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 48px; }
.ll-footer-brand p { max-width: 330px; color: var(--ll-muted); line-height: 1.65; }
.ll-footer-col h4 { margin: 0 0 15px; font-size: 14px; }
.ll-footer-col { display: grid; align-content: start; gap: 10px; }
.ll-footer-col a { color: var(--ll-muted); font-size: 14px; }
.ll-footer-col a:hover { color: var(--ll-purple); }
.ll-footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--ll-border); display: flex; justify-content: space-between; gap: 20px; color: var(--ll-muted); font-size: 13px; }

/* Generic WordPress content */
.ll-content-page { min-height: 70vh; padding: 128px 0 80px; }
.ll-content-page article { max-width: 850px; margin: 0 auto; padding: 36px; border: 1px solid var(--ll-border); border-radius: var(--ll-radius); background: var(--ll-surface); }

@media (max-width: 980px) {
    .ll-main-nav, .ll-header-actions .ll-btn, .ll-header-actions .ll-login-link { display: none; }
    .ll-mobile-toggle { display: grid; }
    .ll-hero-grid, .ll-feature-split { grid-template-columns: 1fr; }
    .ll-hero { padding-top: 132px; }
    .ll-product-window { transform: none; max-width: 680px; }
    .ll-card-grid, .ll-steps, .ll-pricing-grid { grid-template-columns: 1fr; }
    .ll-price-card.is-featured { transform: none; }
    .ll-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .ll-section { padding: 70px 0; }
    .ll-hero h1 { font-size: 45px; }
    .ll-hero-actions { flex-direction: column; align-items: stretch; }
    .ll-url { padding: 5px 28px; }
    .ll-window-search { grid-template-columns: 1fr; }
    .ll-footer-grid { grid-template-columns: 1fr; }
    .ll-footer-bottom { flex-direction: column; }
}
