/* ════════════════════════════════════════════
   SUPERFLOWS.CO.UK — Global Stylesheet
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg:           #ffffff;
    --bg-surface:   #f2f6fd;
    --bg-dark:      #0b1120;
    --bg-dark-2:    #111928;
    --bg-card:      #ffffff;
    --border:       #e0e8f4;
    --border-light: #edf3fa;
    --accent:       #2557d6;
    --accent-hover: #1d47bf;
    --accent-light: #eef2ff;
    --accent-glow:  rgba(37, 87, 214, 0.1);
    --text:         #0b1120;
    --text-2:       #566070;
    --text-3:       #99a3b0;
    --text-on-dark: #c8d3e8;
    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    20px;
    --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow:       0 2px 12px rgba(11, 17, 32, 0.06);
    --shadow-md:    0 4px 20px rgba(11, 17, 32, 0.09);
    --shadow-lg:    0 8px 40px rgba(11, 17, 32, 0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section      { padding: 100px 0; }
.section-alt  { padding: 100px 0; background: var(--bg-surface); }

/* ── Type helpers ───────────────────────── */
.label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text);
}

.h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 1rem;
}

.h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
}

.sub {
    font-size: 1.08rem;
    color: var(--text-2);
    line-height: 1.8;
}

.accent-text { color: var(--accent); }

/* ── Buttons ────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s ease;
    font-size: 0.9rem;
    padding: 11px 22px;
}

.btn-blue {
    background: var(--accent);
    color: #fff;
}
.btn-blue:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 87, 214, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: #aab4c8;
    background: var(--bg-surface);
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--accent);
}
.btn-white:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

.btn-lg { font-size: 1rem; padding: 14px 30px; border-radius: var(--radius); }

/* ── Navigation ─────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 16px rgba(11, 17, 32, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 16px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.6px;
    flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--text);
    background: var(--bg-surface);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-email {
    font-size: 0.8rem;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-email:hover { color: var(--text-2); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.mobile-nav a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover { color: var(--text); background: var(--bg-surface); }
.mobile-nav .btn { margin-top: 10px; justify-content: center; }
.mobile-nav.open { display: flex; }

@media (max-width: 900px) {
    .nav-links, .nav-email { display: none; }
    .mobile-menu-btn { display: block; }
}
@media (max-width: 700px) {
    nav > .nav-inner > .btn { display: none; }
}

/* ── Page hero (inner pages) ─────────────── */
.page-hero {
    padding: 148px 0 80px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -200px;
    width: 600px; height: 500px;
    background: radial-gradient(ellipse, rgba(37, 87, 214, 0.07) 0%, transparent 65%);
    pointer-events: none;
}
.page-hero { text-align: center; }
.page-hero .label { margin-bottom: 0.8rem; }
.page-hero .h2 { margin-bottom: 1rem; }
.page-hero .sub { max-width: 560px; margin: 0 auto 2rem; }
.page-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── Section header ──────────────────────── */
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .sub { max-width: 520px; margin: 0 auto; }

/* ── Cards ───────────────────────────────── */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; } }

.card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.22s, transform 0.2s, box-shadow 0.22s;
}
.card:hover {
    border-color: rgba(37, 87, 214, 0.28);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 44px; height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--accent);
}

.card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 9px;
    color: var(--text);
}
.card p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.72;
}

/* ── Process ─────────────────────────────── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.process-step {
    background: var(--bg-card);
    padding: 32px 24px;
    transition: background 0.2s;
}
.process-step:hover { background: var(--bg-surface); }
.step-num {
    font-size: 2.6rem;
    font-weight: 900;
    color: rgba(37, 87, 214, 0.12);
    line-height: 1;
    margin-bottom: 14px;
}
.process-step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.process-step p  { font-size: 0.84rem; color: var(--text-2); line-height: 1.65; }

@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .process-grid { grid-template-columns: 1fr; } }

/* ── Dark CTA ────────────────────────────── */
.cta-dark {
    padding: 100px 0;
    background: var(--bg-dark);
}
.cta-dark .label { color: #6b8af5; }
.cta-dark .h2    { color: #ffffff; }
.cta-dark .sub   { color: #8892a8; max-width: 500px; }
.cta-dark-inner  { max-width: 640px; }
.cta-dark-btns   { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2.4rem; }

/* ── Contact form ────────────────────────── */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-form .full { grid-column: 1 / -1; }

.form-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 7px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 87, 214, 0.1);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }

.form-success {
    display: none;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    color: #166534;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .contact-form { grid-template-columns: 1fr; }
    .contact-form .full { grid-column: 1; }
}

/* ── Two-col split layout ─────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 860px) {
    .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
}

/* ── Checklist ───────────────────────────── */
.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 1.4rem 0;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.55;
}
.checklist li i {
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ── Tool pills ──────────────────────────── */
.tool-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.5rem;
}
.pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 50px;
}

/* ── Stat boxes ──────────────────────────── */
.stat-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 580px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}
.stat-item strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-item span {
    font-size: 0.7rem;
    color: var(--text-3);
    margin-top: 3px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    flex-shrink: 0;
}
@media (max-width: 540px) {
    .stat-bar { flex-wrap: wrap; gap: 16px; padding: 20px; }
    .stat-divider { display: none; }
    .stat-item { padding: 0 14px; }
}

/* ── Feature highlight boxes ─────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.feature-box {
    background: rgba(37, 87, 214, 0.04);
    border: 1px solid rgba(37, 87, 214, 0.12);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color 0.2s, background 0.2s;
}
.feature-box:hover {
    border-color: rgba(37, 87, 214, 0.25);
    background: rgba(37, 87, 214, 0.06);
}
.feature-box i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}
.feature-box h4 { font-size: 0.87rem; font-weight: 700; margin-bottom: 5px; }
.feature-box p  { font-size: 0.78rem; color: var(--text-2); line-height: 1.55; }

/* ── Footer ──────────────────────────────── */
footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.footer-top {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
    border-bottom: 1px solid #1a2540;
}
@media (max-width: 860px)  { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px)  { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .logo { color: #fff; font-size: 1.2rem; }
.footer-brand .logo span { color: #6b8af5; }
.footer-brand p {
    font-size: 0.84rem;
    color: #8892a8;
    line-height: 1.7;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 0.84rem;
    color: #8892a8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: #c4ccd8; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: #8892a8; }

/* ── Scroll animations ───────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
