/* BuildOne CRM - public marketing landing page.
   Matches the same brand tokens and Nunito typeface already used across
   the other standalone public pages (Install, User Manual), so this
   feels like the same product rather than a separately-styled site. */

.bo-land, .bo-land *, .bo-land *::before, .bo-land *::after {
    box-sizing: border-box;
}

.bo-land {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--bo-dark);
    background: var(--bo-white);
    overflow-x: hidden;
}
.bo-land section { padding: 90px 24px; }
.bo-land .bo-wrap { max-width: 1120px; margin: 0 auto; }
.bo-land h1, .bo-land h2, .bo-land h3 { font-family: 'Nunito', sans-serif; font-weight: 800; }

/* ---------- Nav ---------- */
.bo-land-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
    padding: 14px 24px;
}
.bo-land-nav.bo-scrolled { border-color: var(--bo-border); box-shadow: 0 2px 12px rgba(15,23,42,.05); }
.bo-land-nav-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.bo-land-brand { display: flex; align-items: center; font-weight: 800; font-size: 18px; color: var(--bo-dark); text-decoration: none; }
.bo-land-brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--bo-primary); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-right: 9px; }
.bo-land-links { display: flex; align-items: center; }
.bo-land-links a.bo-nav-link { color: #475569; text-decoration: none; font-weight: 700; font-size: 14.5px; margin-left: 28px; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.bo-land-links a.bo-nav-link:hover, .bo-land-links a.bo-nav-link.active { color: var(--bo-primary); border-color: var(--bo-primary); }
.bo-land-login-btn {
    margin-left: 28px;
    background: var(--bo-dark);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700 !important;
    border: none !important;
    border-bottom: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}
.bo-icon-space { margin-right: 9px; }
.bo-land-menu-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--bo-dark); }

/* ---------- Hero ---------- */
.bo-hero {
    position: relative;
    padding: 168px 24px 110px;
    text-align: center;
    overflow: hidden;
}
.bo-blob-wrap {
    position: absolute;
    transition: transform .3s ease-out;
    will-change: transform;
}
.bo-blob-wrap.w1 { width: 420px; height: 420px; top: -110px; left: -100px; }
.bo-blob-wrap.w2 { width: 360px; height: 360px; top: 20px; right: -120px; }
.bo-blob-wrap.w3 { width: 300px; height: 300px; bottom: -160px; left: 38%; }
.bo-blob-wrap.w4 { width: 220px; height: 220px; top: 60%; left: 8%; }

.bo-hero-blob {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .55;
    z-index: 0;
    animation: bo-drift 16s ease-in-out infinite;
}
.bo-hero-blob.b1 { background: var(--bo-primary); }
.bo-hero-blob.b2 { background: var(--bo-accent); opacity: .5; animation-delay: -6s; animation-duration: 20s; }
.bo-hero-blob.b3 { background: #F59E0B; opacity: .38; animation-delay: -3s; animation-duration: 18s; }
.bo-hero-blob.b4 { background: #EC4899; opacity: .3; animation-delay: -9s; animation-duration: 14s; }
@keyframes bo-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(36px, 28px) scale(1.12); }
    66% { transform: translate(-26px, 18px) scale(0.92); }
}
.bo-hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.bo-hero-eyebrow-tag { display: inline-block; background: rgba(37,99,235,.08); color: var(--bo-primary); font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; }
.bo-hero h1 { font-size: 48px; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 20px; min-height: 2.3em; }
.bo-hero h1 .bo-accent-text { color: var(--bo-primary); }
.bo-type-cursor { display: inline-block; font-weight: 400; color: var(--bo-primary); animation: bo-cursor-blink 0.8s step-end infinite; }
.bo-type-cursor.bo-done { display: none; }
@keyframes bo-cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.bo-hero p.bo-hero-sub { font-size: 18px; color: #475569; line-height: 1.6; max-width: 600px; margin: 0 auto 34px; }
.bo-hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.bo-btn { display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 999px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; border: none; cursor: pointer; }
.bo-btn:hover { transform: translateY(-2px); }
.bo-btn-primary { background: var(--bo-primary); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.bo-btn-ghost { background: #fff; color: var(--bo-dark); border: 1.5px solid var(--bo-border); }

/* ---------- Section heading ---------- */
.bo-section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.bo-section-tag { color: var(--bo-primary); font-weight: 700; font-size: 13.5px; margin-bottom: 10px; }
.bo-section-head h2 { font-size: 32px; margin-bottom: 12px; letter-spacing: -0.3px; }
.bo-section-head p { color: #64748B; font-size: 16px; line-height: 1.6; }

/* ---------- About ---------- */
.bo-about { background: var(--bo-bg); position: relative; overflow: hidden; }
.bo-about::before {
    content: ""; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px;
    border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.12), transparent 70%);
}
.bo-about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.bo-about-copy p { font-size: 16.5px; line-height: 1.75; color: #334155; margin-bottom: 16px; }
.bo-about-cards { display: flex; flex-direction: column; gap: 16px; }
.bo-about-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--bo-border); border-radius: var(--bo-radius-lg);
    padding: 20px 22px; box-shadow: 0 6px 18px rgba(15,23,42,.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.bo-about-card:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.bo-about-card .icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 19px;
}
.bo-about-card .txt strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.bo-about-card .txt span { font-size: 13px; color: #64748B; }

/* ---------- Features ---------- */
.bo-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bo-feature-card { border: 1px solid var(--bo-border); border-radius: var(--bo-radius-lg); padding: 28px 24px; transition: box-shadow .2s ease, transform .2s ease, background .2s ease; background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%); }
.bo-feature-card:hover { box-shadow: 0 12px 28px rgba(15,23,42,.08); transform: translateY(-3px); background: #fff; }
.bo-feature-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; margin-bottom: 18px; position: relative; overflow: hidden; }
.bo-feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.bo-feature-card p { font-size: 14px; color: #64748B; line-height: 1.55; margin: 0; }

/* Icon micro-animations - each tied to what the feature actually does,
   ambient/looping rather than scroll-triggered, so the page feels alive
   without every section performing an entrance. */
.bo-feature-icon.i-track i { animation: bo-slide-track 2.6s ease-in-out infinite; }
@keyframes bo-slide-track { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

.bo-feature-icon.i-lock::after {
    content: ""; position: absolute; inset: 0; border-radius: 14px;
    border: 2px solid rgba(255,255,255,.6);
    animation: bo-pulse-ring 2.2s ease-out infinite;
}
@keyframes bo-pulse-ring { 0% { transform: scale(.75); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

.bo-feature-icon.i-ping i { animation: bo-ping 1.8s ease-in-out infinite; }
@keyframes bo-ping { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

.bo-feature-icon.i-spin i { animation: bo-spin 3.2s linear infinite; }
@keyframes bo-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.bo-feature-icon.i-bars { gap: 3px; align-items: flex-end; }
.bo-feature-icon.i-bars span { width: 5px; background: #fff; border-radius: 2px; animation: bo-bar 1.4s ease-in-out infinite; }
.bo-feature-icon.i-bars span:nth-child(1) { height: 12px; animation-delay: 0s; }
.bo-feature-icon.i-bars span:nth-child(2) { height: 20px; animation-delay: .2s; }
.bo-feature-icon.i-bars span:nth-child(3) { height: 15px; animation-delay: .4s; }
@keyframes bo-bar { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }

.bo-feature-icon.i-bounce i { animation: bo-bounce 2s ease-in-out infinite; }
@keyframes bo-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Pipeline / timeline ---------- */
.bo-timeline-wrap { padding-top: 20px; }
.bo-timeline { display: flex; position: relative; }
.bo-timeline::before {
    content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 3px;
    background: var(--bo-border);
}
.bo-timeline-fill {
    content: ""; position: absolute; top: 26px; left: 26px; height: 3px;
    background: linear-gradient(90deg, var(--bo-primary), var(--bo-success));
    width: 0%; transition: width 1.8s cubic-bezier(.22,.9,.35,1);
}
.bo-timeline-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.bo-timeline-dot {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 3px solid var(--bo-border); color: #94A3B8;
    font-weight: 800; font-size: 19px;
    transition: border-color .5s ease, color .5s ease, background .5s ease, box-shadow .5s ease;
}
.bo-timeline-step.bo-lit .bo-timeline-dot { border-color: var(--bo-primary); color: #fff; background: var(--bo-primary); box-shadow: 0 6px 16px rgba(37,99,235,.3); animation: bo-dot-pop .5s ease; }
.bo-timeline-step.bo-lit:last-child .bo-timeline-dot { background: var(--bo-success); box-shadow: 0 6px 16px rgba(22,163,74,.3); }
@keyframes bo-dot-pop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
.bo-timeline-step .t-name { font-weight: 800; font-size: 14.5px; }
.bo-timeline-step .t-desc { font-size: 12.5px; color: #94A3B8; margin-top: 2px; }

/* ---------- Clients (placeholder logo layout) ---------- */
.bo-clients { background: var(--bo-bg); }
.bo-clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.bo-client-slot {
    aspect-ratio: 2.2 / 1;
    border: 1.5px dashed var(--bo-border);
    border-radius: var(--bo-radius);
    display: flex; align-items: center; justify-content: center;
    color: #CBD5E1; font-size: 12.5px; font-weight: 700;
    background: #fff;
}

/* ---------- Contact ---------- */
.bo-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; }
.bo-contact-info h2 { font-size: 30px; margin-bottom: 14px; }
.bo-contact-info p { color: #64748B; font-size: 15.5px; line-height: 1.65; margin-bottom: 26px; }
.bo-contact-row { display: flex; align-items: center; margin-bottom: 16px; }
.bo-contact-row i { width: 38px; height: 38px; border-radius: 10px; background: rgba(37,99,235,.08); color: var(--bo-primary); display: flex; align-items: center; justify-content: center; margin-right: 14px; font-size: 15px; flex-shrink: 0; }
.bo-contact-row div { font-weight: 700; font-size: 14.5px; }
.bo-contact-row span { display: block; font-weight: 400; color: #64748B; font-size: 13.5px; }

.bo-form-card { background: #fff; border: 1px solid var(--bo-border); border-radius: var(--bo-radius-lg); padding: 32px; box-shadow: 0 10px 30px rgba(15,23,42,.05); }
.bo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.bo-form-group { margin-bottom: 16px; }
.bo-form-group label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.bo-form-group input, .bo-form-group textarea {
    width: 100%; padding: 11px 14px; border: 1.5px solid var(--bo-border); border-radius: 10px;
    font-family: 'Nunito', sans-serif; font-size: 14.5px; transition: border-color .15s ease;
}
.bo-form-group input:focus, .bo-form-group textarea:focus { outline: none; border-color: var(--bo-primary); }
.bo-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.bo-form-submit { width: 100%; justify-content: center; }
.bo-form-msg { margin-top: 14px; font-size: 14px; font-weight: 700; display: none; padding: 12px 14px; border-radius: 10px; }
.bo-form-msg.bo-ok { display: block; background: rgba(22,163,74,.1); color: #15803D; }
.bo-form-msg.bo-err { display: block; background: rgba(220,38,38,.08); color: #B91C1C; }

/* ---------- Footer ---------- */
.bo-land-footer { background: var(--bo-dark); color: #94A3B8; padding: 40px 24px; text-align: center; font-size: 13.5px; }
.bo-land-footer .bo-land-brand { color: #fff; justify-content: center; margin-bottom: 10px; }

/* ---------- Scroll-reveal (used once for the timeline, not every section) ---------- */
.bo-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.bo-reveal.bo-shown { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .bo-about-grid, .bo-contact-grid { grid-template-columns: 1fr; }
    .bo-features-grid { grid-template-columns: repeat(2, 1fr); }
    .bo-clients-grid { grid-template-columns: repeat(3, 1fr); }
    .bo-hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
    .bo-land-links { position: fixed; top: 62px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 18px 24px; border-bottom: 1px solid var(--bo-border); transform: translateY(-120%); transition: transform .2s ease; }
    .bo-land-links.bo-open { transform: translateY(0); }
    .bo-land-links a.bo-nav-link { margin: 0 0 16px; }
    .bo-land-login-btn { margin-left: 0; }
    .bo-land-menu-toggle { display: block; }
    .bo-features-grid { grid-template-columns: 1fr; }
    .bo-clients-grid { grid-template-columns: repeat(2, 1fr); }
    .bo-form-row { grid-template-columns: 1fr; }
    .bo-timeline { flex-direction: column; align-items: flex-start; }
    .bo-timeline::before, .bo-timeline-fill { display: none; }
    .bo-timeline-step { display: flex; align-items: center; text-align: left; margin-bottom: 20px; }
    .bo-timeline-dot { margin: 0 14px 0 0; flex-shrink: 0; }
    .bo-land section { padding: 60px 20px; }
    .bo-hero { padding-top: 140px; }
}

@media (prefers-reduced-motion: reduce) {
    .bo-hero-blob, .bo-blob-wrap, .bo-feature-icon.i-track i, .bo-feature-icon.i-lock::after,
    .bo-feature-icon.i-ping i, .bo-feature-icon.i-spin i, .bo-feature-icon.i-bars span,
    .bo-feature-icon.i-bounce i, .bo-timeline-step.bo-lit .bo-timeline-dot { animation: none; transition: none; }
    [data-aos] { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
}
