/* ─── Bootstrap 5 brand overrides ─────────────────────────────── */

:root {
    --bs-primary: #667eea;
    --bs-primary-rgb: 102, 126, 234;
    --brand-start: #667eea;
    --brand-end: #764ba2;
}

/* Brand gradient utility */
.brand-gradient {
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%) !important;
}

.brand-text { color: var(--brand-start) !important; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar { padding-top: 1rem; padding-bottom: 1rem; }

.brand-logo {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: rgba(0,0,0,0.65);
    font-weight: 500;
}
.navbar-nav .nav-link:hover { color: var(--brand-start); }

/* Primary brand button */
.btn-brand {
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    color: #fff;
    border: none;
    font-weight: 500;
}
.btn-brand:hover, .btn-brand:focus {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a3f92 100%);
    color: #fff;
    border: none;
}

/* Outline brand button */
.btn-outline-brand {
    background: transparent;
    color: var(--brand-start);
    border: 1.5px solid var(--brand-start);
    font-weight: 500;
}
.btn-outline-brand:hover, .btn-outline-brand:focus {
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    color: #fff;
    border-color: transparent;
}

/* Contained white button on gradient sections */
.btn-light.brand-cta-btn {
    color: var(--brand-start);
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-light.brand-cta-btn:hover, .btn-light.brand-cta-btn:focus {
    background: #f1f3ff;
    color: var(--brand-start);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-section { padding: 6rem 0 5rem; }
.hero-heading  { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }
.hero-sub      { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.7; opacity: 0.92; }

/* ─── Stats ──────────────────────────────────────────────────── */
.stat-value { font-size: 2.25rem; color: var(--brand-start); }

.stat-item + .stat-item { border-left: 1px solid rgba(0,0,0,0.08); }

@media (max-width: 767px) {
    .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); }
}

/* ─── Sections ───────────────────────────────────────────────── */
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-sub   { font-size: 1.0625rem; }

/* ─── Cards ──────────────────────────────────────────────────── */
.card { border-radius: 10px !important; transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important; transform: translateY(-3px); }

/* Step number/icon badge */
.step-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102,126,234,0.35);
}

/* Benefit emoji */
.benefit-emoji { font-size: 2.5rem; line-height: 1; }

/* Coloured bottom bar on credibility cards */
.brand-card-bar {
    height: 4px;
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    border-radius: 0 0 10px 10px;
}

/* ─── Insight chip ───────────────────────────────────────────── */
.insight-chip {
    background: rgba(102,126,234,0.08);
    border-left: 3px solid var(--brand-start);
    border-radius: 0 4px 4px 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    color: rgba(0,0,0,0.7);
    line-height: 1.45;
}

/* ─── Comparison list ────────────────────────────────────────── */
.comparison-list { list-style: none; padding: 0; margin: 0; }
.comparison-list li:last-child { border-bottom: none !important; }

/* ─── Modal ──────────────────────────────────────────────────── */
/* Bootstrap handles sizing & centering — we just style brand bits */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-start);
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.2);
}

.success-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(102,126,234,0.35);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer { background: #1e2330; }

.brand-footer-logo {
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-link {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

.footer-heading { font-size: 0.7rem; letter-spacing: 0.08em; }
