/* ============================================================
   DataBPI Landing Page Styles
   ============================================================ */

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;
}

/* ---- Nav ---- */
.bpi-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 60px;
}

.bpi-nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.bpi-nav-logo span { color: #2563eb; }

.bpi-nav-logo-img {
    height: 28px;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.bpi-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bpi-nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.bpi-nav-link:hover { color: #2563eb; }

.bpi-nav-cta {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.bpi-nav-cta:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ---- Hero ---- */
.bpi-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1e40af 100%);
    color: #f8fafc;
    padding: 100px 5% 90px;
    text-align: center;
}

.bpi-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.bpi-hero-tag {
    display: inline-block;
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.bpi-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 1.25rem;
    color: #f8fafc;
}

.bpi-hero h1 span { color: #60a5fa; }

.bpi-hero-sub {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.bpi-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bpi-btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}

.bpi-btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-2px);
}

.bpi-btn-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid rgba(226, 232, 240, 0.4);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, color 0.2s;
}

.bpi-btn-secondary:hover {
    border-color: #e2e8f0;
    color: #ffffff;
}

/* ---- Section common ---- */
.bpi-section { padding: 80px 5%; }

.bpi-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.bpi-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.bpi-section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 1rem;
}

.bpi-section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 580px;
    margin: 0 0 3rem;
    line-height: 1.7;
}

.bpi-section-label--light { color: #60a5fa; }

/* ---- Pain Points ---- */
.bpi-pain { background: #f8fafc; }

.bpi-pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.bpi-pain-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bpi-pain-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.bpi-pain-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.3rem;
}

.bpi-pain-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ---- Services ---- */
.bpi-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.bpi-service-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.bpi-service-card:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.bpi-service-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.bpi-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.bpi-service-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.65;
}

/* ---- How it works ---- */
.bpi-how { background: #f8fafc; }

.bpi-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.bpi-step { position: relative; }

.bpi-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.bpi-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.bpi-step p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.65;
}

/* ---- CTA / Interest ---- */
.bpi-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #f8fafc;
    text-align: center;
}

.bpi-cta .bpi-section-title { color: #f8fafc; }

.bpi-cta .bpi-section-subtitle {
    color: #94a3b8;
    margin: 0 auto 2.5rem;
}

/* Honeypot fields — off-screen, invisible to humans; bots fill them */
.bpi-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.bpi-interest-form {
    position: relative;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.bpi-form-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bpi-form-row input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255,255,255,0.07);
    color: #f8fafc;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.bpi-form-row input[type="email"]::placeholder { color: #64748b; }
.bpi-form-row input[type="email"]:focus { border-color: #60a5fa; }

.bpi-form-error {
    color: #fca5a5;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.bpi-cta-note {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 0.75rem;
}

.bpi-submit-confirm {
    font-size: 1rem;
    color: #86efac;
    font-weight: 600;
    margin: 1rem 0;
}

/* ---- Footer ---- */
.bpi-footer {
    background: #0f172a;
    color: #475569;
    padding: 2.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.bpi-footer-logo {
    font-weight: 800;
    color: #94a3b8;
    font-size: 1rem;
}

.bpi-footer-logo span { color: #3b82f6; }

.bpi-footer-links { display: flex; gap: 1.5rem; }

.bpi-footer-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.bpi-footer-links a:hover { color: #94a3b8; }

/* ---- Inline text links ---- */
.bpi-link {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.bpi-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .bpi-nav-links .bpi-nav-link { display: none; }
    .bpi-hero { padding: 70px 5% 60px; }
    .bpi-footer { flex-direction: column; text-align: center; }
    .bpi-footer-links { justify-content: center; }
}
