/* ============================================
   Public shell (navbar + footer)
   Single source of truth — used by both the
   Blade layouts.public and the React landing/mcp
   pages. Mirror in resources/views/partials/.
   ============================================ */

/* The footer is rendered after #root via @yield('body-end'), so it's styled
   (by this file) before the React bundle CSS — which @imports landing-page.css
   has finished loading. */
#root {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--pink-pale) 0%, var(--surface) 60%);
}

:root {
    --pink: #eb81c0;
    --pink-deep: #d666ad;
    --pink-light: #f5b8dc;
    --pink-pale: #fdf0f7;
    --pink-glow: rgba(235, 129, 192, 0.25);
    --pink-soft: rgba(235, 129, 192, 0.08);
    --plum: #8B2F6A;
    --charcoal: #1E1E2E;
    --text: #2D2D3F;
    --text-mid: #6B6B80;
    --text-light: #9A9AB0;
    --surface: #FFFFFF;
    --surface-alt: #FAF7FC;
    --border: rgba(139, 47, 106, 0.08);
    --shadow-md: 0 4px 12px rgba(139,47,106,0.08), 0 2px 4px rgba(139,47,106,0.04);
}

/* NAVBAR */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    font-family: 'DM Sans', -apple-system, sans-serif;
}
.landing-nav .logo-img { height: 40px; width: auto; object-fit: contain; transition: height 0.3s ease; mix-blend-mode: multiply; }
.landing-nav.scrolled .logo-img { height: 30px; }
.landing-nav.scrolled { box-shadow: var(--shadow-md); height: 64px; }
.landing-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 24px; color: var(--charcoal); letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 500; letter-spacing: 0.2px; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--pink); border-radius: 1px; transition: width 0.3s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--pink) !important; color: white !important; padding: 10px 24px !important; border-radius: 10px !important; font-weight: 600 !important; font-size: 14px !important; transition: all 0.25s ease !important; box-shadow: 0 2px 8px var(--pink-glow); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--pink-deep) !important; transform: translateY(-1px); box-shadow: 0 4px 16px var(--pink-glow) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 1px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-panel { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 24px 32px; z-index: 99; transform: translateY(-10px); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; pointer-events: none; font-family: 'DM Sans', -apple-system, sans-serif; }
.mobile-menu-panel.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu-panel ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.mobile-menu-panel a { display: block; padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--text-mid); text-decoration: none; border-radius: 10px; transition: background 0.2s, color 0.2s; }
.mobile-menu-panel a:hover { background: var(--surface-alt); color: var(--plum); }
.mobile-menu-panel a::after { display: none; }
.mobile-menu-panel .nav-cta { margin-top: 12px; text-align: center; display: block; }

/* FOOTER */
.landing-footer { background: var(--charcoal); color: rgba(255,255,255,0.45); padding: 60px 48px 40px; font-family: 'DM Sans', -apple-system, sans-serif; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; }
.landing-footer .footer-brand .landing-nav-logo { color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.landing-footer .footer-brand .logo-img { height: 32px; filter: brightness(0) invert(1) brightness(1.8); mix-blend-mode: normal; }
.landing-footer .footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; margin: 0; }
.footer-col h4 { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.landing-footer .footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.landing-footer .footer-mojave { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.landing-footer .footer-mojave a { color: rgba(255,255,255,0.55); text-decoration: none; }
.landing-footer .footer-mojave a:hover { color: rgba(255,255,255,0.85); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .landing-nav { padding: 0 24px; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu-panel { display: block; }
    .landing-nav.scrolled + .mobile-menu-panel { top: 64px; }
    .landing-footer { padding: 40px 24px 32px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .landing-footer .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
