:root {
    --navy: #1e2939;
    --navy-light: #2a3a4f;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #eaf1ff;
    --text: #1f2937;
    --text-muted: #64748b;
    --border: #e5e9f0;
    --bg-alt: #f7f9fc;
    --success: #16a34a;
    --radius: 12px;
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid items default to a content-based minimum width and won't shrink below it,
   which causes horizontal overflow once columns stack on narrow screens. */
.hero-grid > *,
.feature-grid > *,
.steps-grid > *,
.pricing-grid > *,
.footer-grid > * {
    min-width: 0;
}

img { max-width: 100%; display: block; }

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

a { color: inherit; text-decoration: none; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--blue-light); }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    flex-shrink: 0;
}
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.main-nav {
    display: flex;
    gap: 28px;
    margin: 0 auto;
}
.main-nav a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.main-nav a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--navy);
    cursor: pointer;
}

/* ---- Hero ---- */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, var(--blue-light) 0%, #fff 65%); }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.hero-copy h1 {
    font-size: 2.7rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 20px;
}
.hero-copy p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 28px;
    max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.hero-trust i { color: var(--success); margin-right: 6px; }
.hero-media {
    background: linear-gradient(135deg, var(--navy), var(--blue-dark));
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 64px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-media img {
    width: 100%;
    max-width: 380px;
}

/* ---- Logos strip ---- */
.logos-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos-strip-inner p {
    text-align: center;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---- Section shell ---- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-heading h2 { font-size: 2.1rem; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.section-heading p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ---- Features ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--navy); }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
}
.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.step-card h3 { color: var(--navy); margin: 0 0 10px; }
.step-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---- Pricing ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}
.price-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    position: relative;
}
.price-card-featured { border-color: var(--blue); box-shadow: var(--shadow); }
.price-badge {
    position: absolute;
    top: -13px;
    right: 24px;
    background: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.price-card h3 { color: var(--navy); margin: 0 0 6px; }
.price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.price .period { color: var(--text-muted); font-size: 0.95rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 26px; }
.price-features li { padding: 7px 0; color: var(--text); font-size: 0.94rem; }
.price-features i { color: var(--success); margin-right: 8px; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\002B';
    float: right;
    font-weight: 700;
    color: var(--blue);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--text-muted); margin: 12px 0 0; font-size: 0.95rem; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--blue-dark)); padding: 72px 0; }
.cta-inner { text-align: center; color: #fff; }
.cta-inner h2 { font-size: 2rem; margin: 0 0 12px; }
.cta-inner p { color: rgba(255,255,255,0.8); margin: 0 0 28px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.brand-footer { color: #fff; margin-bottom: 10px; }
.footer-tagline { font-size: 0.9rem; margin: 0; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 0.9rem; padding: 5px 0; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 0.85rem; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero-grid { display: flex; flex-direction: column; }
    .hero-media { order: -1; padding: 32px 24px; }
    .hero-media img { max-width: 280px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .main-nav { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); display: none; gap: 16px; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-actions .btn-ghost { display: none; }
    .hero-copy h1 { font-size: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .nav-wrap { height: 60px; gap: 12px; }
    .brand { font-size: 1rem; }
    .brand-logo { width: 26px; height: 26px; }
    .nav-actions .btn { padding: 8px 14px; font-size: 0.85rem; }

    .hero { padding: 40px 0 32px; }
    .eyebrow { font-size: 0.75rem; }
    .hero-copy h1 { font-size: 1.5rem; margin-bottom: 12px; }
    .hero-copy p { font-size: 0.95rem; margin-bottom: 20px; }
    .hero-ctas { flex-direction: column; gap: 10px; }
    .hero-ctas .btn { width: 100%; }
    .hero-trust { flex-direction: column; gap: 8px; font-size: 0.82rem; }
    .hero-media { padding: 24px 16px; border-radius: 14px; }
    .hero-media img { max-width: 220px; }

    .logos-strip-inner p { font-size: 0.82rem; }

    .section { padding: 48px 0; }
    .section-heading { margin-bottom: 32px; }
    .section-heading h2 { font-size: 1.5rem; }
    .section-heading p { font-size: 0.92rem; }

    .feature-card { padding: 20px 18px; }
    .feature-card h3 { font-size: 0.98rem; }
    .feature-card p { font-size: 0.86rem; }

    .step-card { padding: 24px 18px; }

    .price-card { padding: 26px 20px; }
    .price .amount { font-size: 1.7rem; }

    .cta-band { padding: 48px 0; }
    .cta-inner h2 { font-size: 1.4rem; }
    .cta-inner p { font-size: 0.92rem; }

    .site-footer { padding: 40px 0 0; }

    .fb-messenger-fab { width: 50px; height: 50px; font-size: 22px; right: 16px; bottom: 16px; }
}

/* ---- Contact form ---- */
.contact-form { max-width: 640px; margin: 0 auto; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form-field { margin-bottom: 20px; }
.contact-form-field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 6px; }
.contact-form-field .optional { font-weight: 400; color: var(--text-muted); }
.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    resize: vertical;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-light);
}
.contact-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form-status { margin: 14px 0 0; font-size: 0.9rem; }
.contact-form-status.success { color: var(--success); }
.contact-form-status.error { color: #dc2626; }

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

.fb-messenger-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00c6ff, #0078ff, #a033ff);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: transform 0.15s ease;
}

.fb-messenger-fab:hover {
    transform: scale(1.08);
    color: #ffffff;
}
