/* =========================================================================
   myWebhero — stylesheet
   -------------------------------------------------------------------------
   BRAND COLOURS: change the six values in :root below to match your brand
   and the whole site updates. Everything else keys off these variables.
   ========================================================================= */

:root {
    /* --- EDIT THESE TO MATCH YOUR BRAND --- */
    --brand:        #1b3bff;   /* primary brand blue */
    --brand-dark:   #0f2091;   /* darker shade for gradients/hovers */
    --accent:       #14c38e;   /* bright accent (buttons/highlights) */
    --ink:          #0e1524;   /* near-black text */
    --paper:        #ffffff;   /* page background */
    /* -------------------------------------- */

    --ink-soft:     #4a5568;
    --line:         #e4e8f0;
    --mist:         #f5f7fb;
    --mist-2:       #eef2fa;
    --radius:       14px;
    --radius-sm:    10px;
    --shadow:       0 10px 30px rgba(15, 32, 145, .08);
    --shadow-lg:    0 24px 60px rgba(15, 32, 145, .14);
    --maxw:         1160px;
    --font:         'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --display:      'Manrope', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
    padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--display); font-weight: 700; font-size: .95rem;
    padding: .72em 1.35em; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(27,59,255,.28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #06231a; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { font-size: 1.02rem; padding: .85em 1.7em; }

/* --- Header / nav ------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand:hover { text-decoration: none; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.primary-nav a[aria-current="page"] { color: var(--brand); }
.primary-nav a:hover { color: var(--brand); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* --- Hero --------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 500px at 85% -10%, rgba(27,59,255,.10), transparent 60%),
        radial-gradient(800px 400px at 0% 110%, rgba(20,195,142,.10), transparent 55%),
        var(--paper);
    padding: clamp(48px, 8vw, 96px) 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--display);
    font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
    color: var(--brand); background: var(--mist-2); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--ink-soft); font-size: .9rem; }
.hero-trust b { color: var(--ink); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); }
.hero-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 26px;
}
.hero-card h3 { margin-bottom: 14px; }
.hero-stat { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.hero-stat:last-child { border-bottom: 0; }
.hero-stat .big { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--brand); }

/* --- Sections ----------------------------------------------------------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section.alt { background: var(--mist); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* --- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dbec; }
.card .ico {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--mist-2); color: var(--brand); margin-bottom: 16px; font-size: 1.3rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin-bottom: 14px; font-size: .96rem; }
.card .card-link { font-family: var(--display); font-weight: 700; font-size: .9rem; }
.card.feature { display: flex; flex-direction: column; }
.card.feature a.card-link { margin-top: auto; }

/* Service pillar mini-card (5 across) */
.pillar {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 20px; text-align: center; transition: transform .15s, box-shadow .2s;
    display: block; color: var(--ink);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.pillar .ico { margin: 0 auto 14px; }
.pillar h3 { font-size: 1.02rem; margin-bottom: 6px; }
.pillar p { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* --- USP / efficiency band ---------------------------------------------- */
.usp {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px);
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.usp h2 { color: #fff; }
.usp p { color: rgba(255,255,255,.86); font-size: 1.05rem; }
.usp .usp-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.usp .usp-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.92); }
.usp .usp-points li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.usp-figure { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 26px; text-align: center; }
.usp-figure .big { font-family: var(--display); font-weight: 800; font-size: 3rem; color: #fff; line-height: 1; }
.usp-figure .lbl { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: 8px; }

/* --- Pricing ------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.price {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    display: flex; flex-direction: column;
}
.price.popular { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.price.popular::after {
    content: "Most popular"; position: absolute; top: -12px; left: 30px;
    background: var(--brand); color: #fff; font-family: var(--display); font-weight: 700;
    font-size: .72rem; padding: 4px 12px; border-radius: 999px;
}
.price h3 { font-size: 1.1rem; }
.price .amount { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink); margin: 8px 0 2px; }
.price .amount span { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.price .note { color: var(--ink-soft); font-size: .9rem; min-height: 40px; }
.price ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; }
.price ul li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.price ul li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.price .btn { margin-top: auto; }

/* --- Steps / how it works ----------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.step .num {
    counter-increment: step; width: 46px; height: 46px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center;
    font-family: var(--display); font-weight: 800;
}
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--ink-soft); margin: 0; }

/* --- Logos / proof ------------------------------------------------------ */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; opacity: .8; }
.logos img { height: 42px; width: auto; filter: grayscale(1); transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; }

/* --- Callout / info box ------------------------------------------------- */
.callout {
    background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm); padding: 20px 24px; margin: 22px 0;
}
.callout strong { color: var(--ink); }

/* --- FAQ ---------------------------------------------------------------- */
.faq details {
    border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq summary { font-family: var(--display); font-weight: 700; cursor: pointer; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* --- Page hero (inner pages) -------------------------------------------- */
.page-hero { padding: clamp(48px,7vw,84px) 0 0; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.page-hero .hero-actions { margin-top: 24px; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 52ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: #0a1020; color: #b8c2d8; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-logo { filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { color: #8b96ad; font-size: .92rem; }
.footer-contact a { color: #fff; }
.footer-col h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #b8c2d8; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { color: #6b7488; font-size: .85rem; margin: 0; }

/* --- Utility ------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-top: 2px; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
    .hero-grid, .split, .usp, .cta-band-inner { grid-template-columns: 1fr; }
    .grid-3, .grid-5, .price-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
        align-items: stretch; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .25s ease; z-index: 90;
    }
    .primary-nav.open { transform: translateY(0); }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav li { border-bottom: 1px solid var(--line); }
    .primary-nav ul a { display: block; padding: 14px 0; }
    .nav-cta { flex-direction: column; margin-top: 12px; }
    .nav-cta .btn { width: 100%; }
    .nav-cta .btn-ghost { display: inline-flex; }
    .grid-3, .grid-5, .price-grid, .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
