/* ---------------- SaaS public area ---------------- */
.public-body { background: #fff; color: var(--ink); }
.public-nav {
    position: sticky; top: 0; z-index: 1000;
    display: flex; align-items: center; gap: 18px;
    padding: 14px 42px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.public-nav .brand { color: var(--ink); padding: 0; font-size: 19px; }
.public-nav-links { display: flex; gap: 20px; margin-left: 20px; }
.public-nav-links a { color: #475569; font-size: 13.5px; font-weight: 600; }
.public-nav-links a:hover { color: var(--accent); }
.public-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.public-hero {
    padding: 74px 42px 64px;
    background:
        radial-gradient(900px 420px at 15% 0%, rgba(249,115,22,.10), transparent 65%),
        radial-gradient(700px 420px at 90% 10%, rgba(37,99,235,.08), transparent 60%),
        #f8fafc;
}
.public-hero-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid #fed7aa; color: #c2410c;
    border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 700;
    margin-bottom: 18px;
}
.public-hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -1.4px; margin: 0 0 18px; font-weight: 800; }
.public-hero h1 span { color: var(--accent); }
.public-hero .lead { font-size: 16px; color: #64748b; max-width: 590px; line-height: 1.55; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { font-size: 12px; color: #94a3b8; margin-top: 12px; }
.hero-preview {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 28px 70px rgba(15,23,42,.12);
    padding: 16px; transform: rotate(-1deg);
}
.hero-preview-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; font-size: 12px; color: #64748b; }
.hero-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.hero-kpi { background: #f8fafc; border-radius: 10px; padding: 10px; }
.hero-kpi b { display: block; font-size: 19px; color: #0f172a; }
.hero-kpi span { font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; }
.hero-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-col { background: #f1f5f9; border-radius: 10px; padding: 8px; }
.hero-col-title { font-size: 10px; font-weight: 700; color: #64748b; margin-bottom: 6px; }
.hero-task { background: #fff; border-radius: 7px; padding: 7px; font-size: 10px; box-shadow: 0 1px 3px rgba(15,23,42,.06); margin-bottom: 5px; }
.hero-task b { display: block; font-size: 10.5px; color: #1f2937; }
.hero-task span { color: #94a3b8; font-size: 9px; }
.public-section { padding: 64px 42px; }
.public-section.alt { background: #f8fafc; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-head { max-width: 660px; margin-bottom: 32px; }
.section-head h2 { font-size: 31px; letter-spacing: -.7px; font-weight: 800; margin-bottom: 8px; }
.section-head p { color: #64748b; margin: 0; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: .18s; }
.module-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,23,42,.07); border-color: #fdba74; }
.module-icon {
    width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft);
    color: #ea580c; display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 12px;
}
.module-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 5px; }
.module-card p { font-size: 12.5px; color: #64748b; margin: 0; line-height: 1.45; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 26px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 20px 50px rgba(249,115,22,.14); }
.price-badge {
    position: absolute; top: -11px; right: 18px; background: var(--accent); color: #fff;
    font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px;
}
.price-card h3 { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.price-card .price-sub { font-size: 12.5px; color: #64748b; min-height: 34px; }
.price-value { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin: 8px 0 2px; }
.price-value small { font-size: 13px; color: #94a3b8; font-weight: 500; letter-spacing: 0; }
.price-yearly { font-size: 11.5px; color: #94a3b8; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li { font-size: 12.5px; color: #475569; padding: 5px 0 5px 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.public-footer { padding: 34px 42px; border-top: 1px solid var(--line); background: #fff; color: #64748b; font-size: 12.5px; }
.public-footer .footer-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.auth-shell { min-height: 100vh; background: #f8fafc; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 22px 60px rgba(15,23,42,.08); padding: 32px; }
.auth-card.wide { max-width: 760px; }
.auth-card h1 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.plan-compare { width: 100%; font-size: 12.5px; }
.plan-compare th, .plan-compare td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.plan-compare th { color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.plan-compare td:not(:first-child) { text-align: center; }
.trial-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    background: linear-gradient(90deg, #fff7ed, #fffbeb);
    border: 1px solid #fed7aa; border-radius: 12px; padding: 10px 14px;
    font-size: 12.5px; margin-bottom: 16px;
}
.trial-banner b { color: #c2410c; }
.sidebar-org {
    margin: 0 12px 8px; padding: 10px 12px; border-radius: 10px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
}
.sidebar-org strong { display: block; color: #e2e8f0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-org small { color: #94a3b8; font-size: 10.5px; }
.plan-pill { background: rgba(249,115,22,.18); color: #fdba74; font-size: 10px; padding: 2px 7px; border-radius: 99px; margin-left: 4px; }
.usage-row { margin-bottom: 14px; }
.usage-row .d-flex { font-size: 12.5px; margin-bottom: 5px; }
@media (max-width: 991px) {
    .public-nav { padding: 12px 18px; }
    .public-nav-links { display: none; }
    .public-hero { padding: 44px 18px; }
    .public-hero-inner { grid-template-columns: 1fr; }
    .public-hero h1 { font-size: 36px; }
    .public-section { padding: 42px 18px; }
    .module-grid, .pricing-grid { grid-template-columns: 1fr; }
    .public-footer { padding: 26px 18px; }
}
