/* Modern public frontend. Scoped to the public layout, including section variants. */
.public-modern {
    --r-card: 24px;
    --r-btn: 12px;
    --shadow-card: 0 6px 24px -12px rgba(30, 64, 175, .16);
    --shadow-pop: 0 22px 55px -22px rgba(30, 64, 175, .27);
    background: #fbfdff;
    -webkit-font-smoothing: antialiased;
}
.public-modern > header { position: relative; z-index: 1030; padding: 16px 20px 0; background: #eff6ff; }
.public-modern .navbar {
    max-width: 1320px;
    margin: auto;
    padding: 14px 12px;
    border: 1px solid rgba(37, 99, 235, .13);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 12px 40px -18px rgba(30, 64, 175, .22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.public-modern .navbar-brand { font-size: 1.4rem; letter-spacing: -.055em; }
.public-modern .navbar .nav-link { font-size: .875rem; margin-inline: 4px; padding-inline: 12px; }
.public-modern .btn-primary, .public-modern .lp-btn {
    background: linear-gradient(135deg, #2870f5, #1d4ed8);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 4px 0 rgba(30, 64, 175, .1), 0 8px 22px -9px rgba(37, 99, 235, .6);
    padding: .8rem 1.5rem;
}
.public-modern .btn-primary:hover, .public-modern .lp-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 12px 28px -10px rgba(37, 99, 235, .6);
}
.public-modern .lp-btn-ghost { padding: .8rem 1.5rem; background: rgba(255, 255, 255, .9); }
.public-modern .lp-hero {
    padding-block: clamp(4rem, 9vw, 8rem);
    background-color: #eff6ff;
    background-image: radial-gradient(ellipse at 85% 25%, #bfdbfe 0, transparent 48%),
        linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
    border-bottom: 1px solid var(--border);
}
.public-modern .lp-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.07;
    font-weight: 800;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.public-modern .lp-hero .lp-hero-lead { line-height: 1.8; }
.public-modern .lp-hero-img img {
    border: 8px solid rgba(255, 255, 255, .8);
    box-shadow: 0 30px 70px -25px rgba(30, 64, 175, .35);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.public-modern .hero-tech-slider, .public-modern .lp-hmg {
    background: radial-gradient(ellipse at 80% 20%, #173f89, transparent 65%), #091c3b;
}
.public-modern .hts-orb-2 { background: #60a5fa; }
.public-modern .hts-badge { background: rgba(96, 165, 250, .12); color: #bfdbfe; border-color: rgba(96, 165, 250, .3); }
.public-modern :is(.hero-tech-slider, .lp-hmg) h1 {
    font-size: clamp(2.5rem, 4.8vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -.05em;
    text-wrap: balance;
}
.public-modern :is(.hero-tech-slider, .lp-hmg) h1 :is(span, .lp-accent) { color: #93c5fd !important; }
.public-modern .lp-head { margin-bottom: 3.25rem; }
.public-modern .lp-title { font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.public-modern .lp-subtitle { line-height: 1.8; max-width: 640px; }
.public-modern .lp-eyebrow {
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
    font-size: .68rem;
    letter-spacing: .12em;
    padding: .5rem 1rem;
}
.public-modern .lp-card { border-color: #e1eaf8; box-shadow: var(--shadow-card); }
.public-modern .lp-card:hover { border-color: #a9c8fc; box-shadow: var(--shadow-pop); }
.public-modern .lp-features .lp-feature-card { padding: 1.7rem; gap: 1.2rem; }
.public-modern .lp-icon-tile {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    box-shadow: inset 0 1px 0 #fff;
}
.public-modern .lp-pricing .lp-price-card { padding: 2.25rem; }
.public-modern .lp-pricing .lp-price-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(160deg, #eff6ff, #fff 60%);
    box-shadow: 0 24px 60px -28px rgba(37, 99, 235, .4);
}
.public-modern .footer { margin-top: 24px; border-radius: 32px 32px 0 0; border-top: 0; padding-top: 72px; }
.public-modern .footer h5 { font-size: 1.5rem; letter-spacing: -.04em; }
.public-modern .footer h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.public-modern .footer p { line-height: 1.9; }
@media (max-width: 991.98px) {
    .public-modern > header { padding: 10px 12px 0; }
    .public-modern .navbar { padding: 10px 0; border-radius: 16px; }
    .public-modern .navbar-brand { font-size: 1.2rem; }
    .public-modern .navbar-collapse { margin: 12px 8px 0; }
    .public-modern .lp-hero { padding-block: 4rem; }
    .public-modern .lp-head { margin-bottom: 2rem; }
}
@media (max-width: 575.98px) {
    .public-modern .lp-hero h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
    .public-modern .lp-hero-ctas > a { width: 100%; text-align: center; }
    .public-modern .lp-features .lp-feature-card { padding: 1.25rem; }
    .public-modern .footer { border-radius: 24px 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .public-modern *, .public-modern *::before, .public-modern *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .public-modern .lp-hero-img img { transform: none; }
}
