/* ============================================================================
   OBaseAI landing page — scoped styles (`l-*` prefix).
   Loaded only on the public marketing pages via App.razor. Kept separate from
   app.css (portal-only) so the post-login portal CSS stays small + cacheable
   independently of the marketing layer.
   ============================================================================ */

/* ── Top nav ──────────────────────────────────────────────────────────────── */
.l-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
         background: rgba(15, 23, 42, .97); backdrop-filter: blur(12px);
         border-bottom: 1px solid rgba(255, 255, 255, .1) }
.l-nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px;
               display: flex; align-items: center; justify-content: space-between; height: 64px }
.l-brand { display: flex; align-items: center; gap: 10px; text-decoration: none }
.l-logo {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 60px;
    background: #3b82f6;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px
}
/* When .l-logo is rendered as an <img> (favicon swap on Home.razor), drop the
   blue square background and centered-letter typography — the image is the logo. */
img.l-logo { background: transparent; padding: 0; object-fit: contain }
.l-brand-name { color: #fff; font-weight: 700; font-size: 19px; letter-spacing: -.02em }
.l-nav-links { display: flex; align-items: center; gap: 24px }
.l-nav-links a { color: #94a3b8; font-size: 14px; font-weight: 500;
                 transition: color .2s; text-decoration: none }
.l-nav-links a:hover { color: #fff }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.l-btn { display: inline-block; padding: 10px 22px; border-radius: 8px;
         font-size: 14px; font-weight: 600; transition: all .2s;
         cursor: pointer; border: none; text-decoration: none }
.l-btn-p { background: #3b82f6; color: #fff }
.l-btn-p:hover { background: #2563eb; transform: translateY(-1px);
                 box-shadow: 0 4px 12px rgba(59, 130, 246, .4); color: #fff }
.l-btn-o { color: #fff; border: 1px solid rgba(255, 255, 255, .25) }
.l-btn-o:hover { background: rgba(255, 255, 255, .08); color: #fff }
.l-btn-dark { color: #0f172a; border: 2px solid #e2e8f0; background: #fff }
.l-btn-dark:hover { border-color: #3b82f6; color: #3b82f6; background: #fff }
.l-btn-sm { padding: 8px 18px; font-size: 13px }
.l-btn-lg { padding: 14px 32px; font-size: 16px }
.l-btn-full { display: block; width: 100%; text-align: center }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.l-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
          padding: 140px 24px 100px; text-align: center;
          position: relative; overflow: hidden }
.l-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
                  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, .12), transparent 60%),
                              radial-gradient(circle at 70% 30%, rgba(139, 92, 246, .08), transparent 50%) }
/* outline:none on the H1 + its focus states suppresses Edge's Read Aloud /
   Caret Browsing / Reading View focus ring on the largest heading. The H1
   isn't keyboard-interactive, so no a11y regression. */
.l-hero h1 { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.15;
             letter-spacing: -.03em; max-width: 700px; margin: 0 auto 20px;
             position: relative; outline: none }
.l-hero h1:focus, .l-hero h1:focus-visible { outline: none; box-shadow: none }
.l-hero p.l-hero-desc { color: #94a3b8; font-size: 18px; max-width: 580px;
                        margin: 0 0 36px; line-height: 1.7; position: relative }
.l-hero-actions { display: flex; gap: 16px; justify-content: center; position: relative }
.l-hero-note { color: #64748b; font-size: 14px; margin-top: 20px; position: relative }
.l-hero-widget { background: rgba(255, 255, 255, .06);
                 border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px;
                 overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
                 position: relative; transition: border-color .4s ease, box-shadow .4s ease }
.l-hero-widget:hover { border-color: rgba(139, 92, 246, .5);
                       animation: l-glow 1.5s ease-in-out infinite }
@keyframes l-glow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, .3),
                            0 0 30px rgba(139, 92, 246, .15),
                            0 0 60px rgba(59, 130, 246, .08) }
    50%      { box-shadow: 0 20px 60px rgba(0, 0, 0, .3),
                            0 0 50px rgba(139, 92, 246, .35),
                            0 0 100px rgba(59, 130, 246, .2) }
}

/* ── Generic section wrappers ─────────────────────────────────────────────── */
.l-container { max-width: 1100px; margin: 0 auto; padding: 0 24px }
.l-section { padding: 88px 24px }
.l-section-alt { background: #f8fafc }
.l-section-title { text-align: center; font-size: 36px; font-weight: 800;
                   color: #0f172a; margin-bottom: 12px; letter-spacing: -.02em }
.l-section-sub { text-align: center; color: #64748b; font-size: 17px; margin-bottom: 56px }
.l-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr);
            gap: 28px; max-width: 1100px; margin: 0 auto }

/* ── How-It-Works cards ───────────────────────────────────────────────────── */
.l-card { background: #fff; border-radius: 16px; padding: 32px;
          border: 1px solid #e2e8f0; text-align: center;
          transition: transform .2s, box-shadow .2s }
.l-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, .08) }
.l-step-num { width: 48px; height: 48px; background: #3b82f6; color: #fff;
              font-weight: 700; border-radius: 50%;
              display: inline-flex; align-items: center; justify-content: center;
              font-size: 20px; margin-bottom: 16px }
.l-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px }
.l-card p { color: #475569; font-size: 14px; line-height: 1.7 }
.l-step-time { display: inline-block; margin-top: 12px; font-size: 12px;
               color: #3b82f6; font-weight: 700; background: #eff6ff;
               padding: 4px 12px; border-radius: 20px }

/* ── Feature cards ────────────────────────────────────────────────────────── */
.l-feat-icon { font-size: 32px; margin-bottom: 12px; display: block }
.l-feat-card { background: #fff; border-radius: 16px; padding: 28px;
               border: 1px solid #e2e8f0;
               transition: transform .2s, box-shadow .2s }
.l-feat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 0, 0, .06) }
.l-feat-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px }
.l-feat-card p  { color: #475569; font-size: 14px; line-height: 1.7; margin: 0 }

/* ── Pricing cards ────────────────────────────────────────────────────────── */
.l-price-grid { display: grid; grid-template-columns: repeat(3, 1fr);
                gap: 28px; max-width: 1000px; margin: 0 auto }
.l-price-card { background: #fff; border-radius: 16px; padding: 36px 32px;
                border: 2px solid #e2e8f0; position: relative; transition: transform .2s }
.l-price-card:hover { transform: translateY(-4px) }
.l-price-card.featured { border-color: #3b82f6; box-shadow: 0 8px 40px rgba(59, 130, 246, .15) }
.l-price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
                 background: linear-gradient(135deg, #3b82f6, #8b5cf6);
                 color: #fff; font-size: 12px; font-weight: 700;
                 padding: 5px 20px; border-radius: 20px }
.l-price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; color: #0f172a }
.l-price-amount { font-size: 52px; font-weight: 800; color: #0f172a;
                  margin: 8px 0; letter-spacing: -.03em }
.l-price-amount span { font-size: 16px; font-weight: 400; color: #64748b }
.l-price-desc { color: #64748b; font-size: 14px; margin-bottom: 24px }
.l-price-card ul { list-style: none; padding: 0; margin: 0 0 28px; text-align: left }
.l-price-card li { padding: 8px 0; font-size: 14px; color: #334155;
                   border-bottom: 1px solid #f1f5f9 }
.l-price-card li::before { content: "\2713"; color: #22c55e;
                           font-weight: 700; margin-right: 8px }

/* ── FAQ accordion ────────────────────────────────────────────────────────── */
.l-faq { max-width: 720px; margin: 0 auto }
.l-faq details { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0;
                 margin-bottom: 10px; overflow: hidden; transition: box-shadow .2s }
.l-faq details:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, .04) }
.l-faq details[open] { box-shadow: 0 4px 20px rgba(0, 0, 0, .06) }
.l-faq summary { padding: 18px 24px; font-weight: 600; font-size: 15px;
                 color: #1e293b; cursor: pointer; list-style: none;
                 display: flex; justify-content: space-between; align-items: center }
.l-faq summary::-webkit-details-marker { display: none }
.l-faq summary::after { content: "+"; color: #3b82f6; font-size: 20px;
                        font-weight: 700; transition: transform .2s }
.l-faq details[open] summary::after { content: "\2212" }
.l-faq details p { padding: 0 24px 18px; color: #475569; font-size: 14px; line-height: 1.8 }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.l-footer { background: #0f172a; padding: 56px 24px 28px; color: #9ca3af }
.l-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr;
                 gap: 48px; max-width: 1100px; margin: 0 auto 36px }
.l-footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 14px;
                    text-transform: uppercase; letter-spacing: .05em }
.l-footer-grid a { display: block; color: #9ca3af; font-size: 14px;
                   padding: 4px 0; transition: color .2s; text-decoration: none }
.l-footer-grid a:hover { color: #fff }
.l-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px;
                   text-align: center; max-width: 1100px; margin: 0 auto; font-size: 13px }
.l-footer-bottom p { margin: 4px 0 }

/* ── Mobile breakpoint ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .l-grid-3, .l-price-grid, .l-footer-grid { grid-template-columns: 1fr }
    .l-hero h1 { font-size: 32px }
    .l-hero p.l-hero-desc { font-size: 16px }
    .l-section-title { font-size: 28px }
    .l-price-amount { font-size: 40px }
    .l-nav-links a:not(.l-btn) { display: none }
    .l-hero-actions { flex-direction: column; align-items: center; gap: 12px }
}
