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

html, body.lm-body {
    width: 100%;
    min-height: 100%;
    background: #8fa0b8;
    overflow-x: hidden;
}

/* Hide anything the theme tries to inject — headers, footers, sidebars, admin bars */
body.lm-body > *:not(#cloudCanvas):not(.lm-vignette):not(.lm-header):not(.lm-page):not(script) {
    display: none !important;
}
/* Hide theme & Elementor headers, footers, sidebars */
body.lm-body #wpadminbar,
body.lm-body .site-header,
body.lm-body .site-footer,
body.lm-body header.site-header,
body.lm-body footer.site-footer,
body.lm-body #masthead,
body.lm-body #colophon,
body.lm-body .entry-header,
body.lm-body .entry-footer,
body.lm-body .wp-block-post-title,
body.lm-body .wp-site-blocks > header,
body.lm-body .wp-site-blocks > footer,
/* Elementor header/footer locations */
body.lm-body .elementor-location-header,
body.lm-body .elementor-location-footer,
body.lm-body [data-elementor-type="header"],
body.lm-body [data-elementor-type="footer"],
/* Hello theme & Astra header/footer */
body.lm-body .site-branding,
body.lm-body .main-navigation,
body.lm-body .ast-masthead-custom-menu-items,
body.lm-body #ast-fixed-header,
body.lm-body .ast-above-header-wrap,
body.lm-body .ast-below-header-wrap,
body.lm-body .ast-footer-wrap,
/* GeneratePress */
body.lm-body .site-header-wrap,
body.lm-body #gen-footer,
/* OceanWP */
body.lm-body #site-header,
body.lm-body #footer-widgets,
body.lm-body #footer-bottom {
    display: none !important;
}

/* ── Cloud canvas ── */
#cloudCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 0;
}

/* ── Vignette ── */
.lm-vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 80% at 50% 50%, transparent 45%, rgba(40,55,80,0.28) 100%),
        linear-gradient(to bottom, rgba(30,45,70,0.18) 0%, transparent 18%, transparent 78%, rgba(30,45,70,0.24) 100%);
}

/* ── Elementor page content sits above canvas ── */
body.lm-body .elementor-section-wrap,
body.lm-body .e-con,
body.lm-body #content,
body.lm-body .site-content,
body.lm-body .wp-site-blocks,
body.lm-body .lm-page {
    position: relative;
    z-index: 10;
}

/* Make Elementor sections transparent so canvas shows through */
body.lm-body .elementor-page,
body.lm-body .elementor-section,
body.lm-body .e-con {
    background-color: transparent !important;
}

/* Prevent theme from overriding body background */
body.lm-body {
    background-color: transparent !important;
}

/* ── TOP NAV BAR ── */
.lm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0 2.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 0.5px solid rgba(255,255,255,0.20);
}

.lm-nav-inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lm-nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(12,22,50,0.92);
}

.lm-nav-links {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.lm-nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(12,22,50,0.60);
    text-decoration: none;
    transition: color 0.2s;
}
.lm-nav-links a:hover { color: rgba(12,22,50,0.95); }

/* ── Page content ── */
.lm-page {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

/* ── HERO ── */
.lm-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
}

.lm-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Outfit', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(25,40,90,0.70);
    border: 0.5px solid rgba(25,40,90,0.20);
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255,255,255,0.32);
    backdrop-filter: blur(8px);
    margin-bottom: 2.6rem;
    animation: fadeUp 0.9s ease both;
}
.lm-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(50,90,200,0.75);
    box-shadow: 0 0 8px rgba(50,90,200,0.40);
    animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.lm-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 7.5vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    color: rgba(8,18,45,0.92);
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
    text-shadow: 0 4px 32px rgba(255,255,255,0.55);
    animation: fadeUp 0.9s 0.12s ease both;
}
.lm-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(40,75,200,0.82);
    position: relative;
}

.lm-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: rgba(15,28,60,0.60);
    line-height: 1.90;
    max-width: 480px;
    margin: 0 auto;
    animation: fadeUp 0.9s 0.22s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION LABEL ── */
.lm-section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(15,25,60,0.42);
    text-align: center;
    margin-bottom: 2.8rem;
}

/* ── FEATURES ── */
.lm-features {
    padding: 5rem 2rem 4rem;
}

/* ── New circular-highlight feature cards ── */
.lm-feat-circle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .lm-feat-circle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.lm-feat-circle-card {
    background: rgba(255,255,255,0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.60);
    padding: 2.4rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(20,35,80,0.10), 0 1.5px 0 rgba(255,255,255,0.70) inset;
    transition: transform 0.28s cubic-bezier(.22,.68,0,1.2), box-shadow 0.28s, background 0.25s;
    position: relative;
    overflow: hidden;
}
.lm-feat-circle-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60,100,230,0.13) 0%, transparent 70%);
    pointer-events: none;
}
.lm-feat-circle-card:hover {
    transform: translateY(-6px) scale(1.025);
    background: rgba(255,255,255,0.55);
    box-shadow: 0 18px 48px rgba(20,35,80,0.16), 0 1.5px 0 rgba(255,255,255,0.80) inset;
}

.lm-feat-circle-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.70);
    border: 2px solid rgba(40,75,200,0.18);
    box-shadow: 0 4px 18px rgba(40,75,200,0.14), 0 0 0 6px rgba(40,75,200,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: rgba(35,65,180,0.85);
    transition: box-shadow 0.28s, background 0.25s;
    flex-shrink: 0;
}
.lm-feat-circle-card:hover .lm-feat-circle-icon {
    background: rgba(255,255,255,0.90);
    box-shadow: 0 6px 24px rgba(40,75,200,0.22), 0 0 0 8px rgba(40,75,200,0.10);
}

.lm-feat-circle-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: rgba(8,18,50,0.92);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
    line-height: 1.35;
}
.lm-feat-circle-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(12,22,55,0.60);
    line-height: 1.75;
}

/* ── Elementor content area ── */
/* Hidden when empty (no Elementor content yet), shown when Elementor populates it */
.lm-elementor-content:empty { display: none; }
.lm-elementor-content {
    position: relative;
    z-index: 10;
}
/* When Elementor is editing, make the area fully visible and above everything */
.elementor-editor-active .lm-elementor-content {
    display: block !important;
    min-height: 200px;
}

/* ── CHAT SECTION ── */
.lm-chat-section { padding: 4rem 2rem; }

.lm-chat-slot {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 0.5px solid rgba(30,50,100,0.14);
    min-height: 120px;
    box-shadow: 0 8px 40px rgba(20,35,80,0.08);
}
.lm-chat-slot > * { width: 100% !important; }

/* ── STATS ROW ── */
.lm-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 0.5px solid rgba(30,50,100,0.10);
    border-bottom: 0.5px solid rgba(30,50,100,0.10);
}
.lm-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lm-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    color: rgba(30,65,170,0.82);
    line-height: 1;
}
.lm-stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: rgba(12,22,55,0.42);
    text-transform: uppercase;
}
.lm-stat-sep {
    width: 0.5px;
    height: 44px;
    background: rgba(30,50,100,0.14);
    flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .lm-header { padding: 0 1.5rem; }
    .lm-nav-links { gap: 1.4rem; }
    .lm-title { letter-spacing: -0.01em; }
    .lm-stats-row { flex-direction: column; gap: 2rem; }
    .lm-stat-sep { width: 44px; height: 0.5px; }
}

@media (max-width: 420px) {
    .lm-nav-links a { font-size: 11.5px; letter-spacing: 0.04em; }
}
