/* Public landing page */

.public-site {
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
}

.pub-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.85rem 0;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.pub-nav.scrolled {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.pub-nav-brand img {
    height: 40px;
}

.pub-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0 4rem;
}

.pub-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pub-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: pubFloat 12s ease-in-out infinite;
}

.pub-orb-1 {
    width: 420px;
    height: 420px;
    background: var(--ds-secondary);
    top: -10%;
    right: -5%;
}

.pub-orb-2 {
    width: 320px;
    height: 320px;
    background: var(--ds-accent);
    bottom: 10%;
    left: -8%;
    animation-delay: -4s;
}

.pub-orb-3 {
    width: 200px;
    height: 200px;
    background: #a855f7;
    top: 40%;
    left: 30%;
    animation-delay: -7s;
    opacity: 0.25;
}

@keyframes pubFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

.pub-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pub-hero-title span {
    background: linear-gradient(90deg, #93c5fd, var(--ds-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pub-hero-lead {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 520px;
}

.pub-btn-glow {
    background: linear-gradient(135deg, var(--ds-secondary), var(--ds-primary));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.65rem;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pub-btn-glow:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.55);
}

.pub-btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.65rem;
}

.pub-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.pub-mockup {
    position: relative;
    animation: pubSlideUp 0.9s ease-out 0.2s both;
}

.pub-mockup-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

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

.pub-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    animation: pubFadeIn 0.6s ease-out both;
}

.pub-stat-pill:nth-child(2) { animation-delay: 0.15s; }
.pub-stat-pill:nth-child(3) { animation-delay: 0.3s; }

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

.pub-features {
    padding: 5rem 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.pub-feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s, border-color 0.3s;
}

.pub-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(147, 197, 253, 0.35);
}

.pub-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--ds-primary), var(--ds-secondary));
}

.pub-cta {
    padding: 4rem 0;
    text-align: center;
}

.pub-footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 0.875rem;
}

.pub-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.pub-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
