:root {
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --accent: #0f172a;
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--accent);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

/* Top announcement bar */
.top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 50%, #1a56db 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    padding: 0.45rem 0;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.top-bar-badge svg { color: #60a5fa; flex-shrink: 0; }

.top-bar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.top-bar-contact a:hover { color: #fff; text-decoration: none; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover { opacity: 0.85; text-decoration: none; }
.logo img { height: 38px; width: auto; }

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--primary);
    background: #f1f5f9;
    text-decoration: none;
}

.btn-header-cta {
    margin-left: 0.5rem;
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.45);
    color: #fff;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.2s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: #eff6ff;
    text-decoration: none;
}

/* Fullscreen hero — image only, no header on load */
.has-fullscreen-hero {
    overflow-x: hidden;
}

/* Header always visible on fullscreen hero */
.has-fullscreen-hero .site-nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s ease, opacity 0.35s ease;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

.has-fullscreen-hero .site-nav-wrap.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    overflow: hidden;
    background: #0f172a;
}

.hero-fullscreen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease infinite;
    pointer-events: none;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.page-content {
    position: relative;
    z-index: 2;
    background: var(--white);
}

/* Hero content styles (used in flow strip etc.) */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Verification flow — first section after hero */
.hero-flow-strip {
    background: var(--bg);
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.hero-flow-strip .hero-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    color: var(--accent);
    box-shadow: var(--shadow);
}

.hero-flow-strip .hero-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.step-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 2rem; }

.step-list li {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    align-items: flex-start;
    color: #334155;
}

.step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Sections */
section { padding: 4rem 0; }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-head p { color: var(--muted); }

.bg-light { background: var(--bg); }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.feature-card:hover { transform: translateY(-3px); }

.feature-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--muted);
}

/* How it works visual */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.process-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
}

.process-item .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.process-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.process-item p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.partner-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.partner-card img {
    height: 48px;
    width: auto;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.partner-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.partner-card p { font-size: 0.82rem; color: var(--muted); }

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.review-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stars { color: #f59e0b; font-size: 0.95rem; margin-bottom: 0.75rem; }

.review-card blockquote {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.review-author strong { display: block; font-size: 0.88rem; }
.review-author span { font-size: 0.75rem; color: var(--muted); }

/* CTA */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}

.cta-band h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.25rem; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: #f1f5f9; text-decoration: none; }

/* Footer */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #0c1222 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 1.5rem;
    margin-top: 2rem;
    overflow: hidden;
}

.footer-wave {
    height: 4px;
    background: linear-gradient(90deg, #1a56db, #3b82f6, #60a5fa, #3b82f6, #1a56db);
    background-size: 200% 100%;
    animation: footerShine 4s ease infinite;
}

@keyframes footerShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}

.footer-brand { max-width: 320px; }

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.55rem 0.85rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    background: rgba(26, 86, 219, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    color: #93c5fd;
    letter-spacing: 0.02em;
}

.footer-heading {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(26, 86, 219, 0.5);
    display: inline-block;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa;
    padding-left: 4px;
    text-decoration: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #60a5fa;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
}

.footer-bottom strong { color: rgba(255, 255, 255, 0.75); }

.footer-sub {
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.3) !important;
    letter-spacing: 0.04em;
}

/* Vendor form page */
.page-hero-sm {
    background: linear-gradient(135deg, #0f172a, #1a56db);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}

.page-hero-sm h1 { font-size: 1.75rem; margin-bottom: 0.35rem; }
.page-hero-sm p { opacity: 0.85; font-size: 0.95rem; }

.form-wrap {
    max-width: 640px;
    margin: -2rem auto 3rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    padding: 2rem 1.75rem;
    position: relative;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #334155;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* Mobile */
@media (max-width: 900px) {
    .step-list { grid-template-columns: 1fr; }
    .features-grid, .partners-grid, .reviews-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 640px) {
    .hero-fullscreen { min-height: 100svh; }
    .scroll-hint { bottom: 1.25rem; font-size: 0.65rem; }
    .top-bar-inner { justify-content: center; text-align: center; }
    .top-bar-badge { font-size: 0.72rem; }
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
        gap: 0.25rem;
    }
    .nav.open .nav-link { width: 100%; text-align: left; }
    .nav.open .btn-header-cta { margin-left: 0; margin-top: 0.5rem; width: 100%; justify-content: center; }
    .menu-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
}
