/* SysOrder — Frontend statis */
:root {
    --bg: #0f1117;
    --bg-2: #171b26;
    --surface: #1e2433;
    --surface-2: #252d40;
    --text: #f4f6fb;
    --text-soft: #a8b0c4;
    --muted: #6b7289;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #6366f1;
    --accent-2: #818cf8;
    --accent-soft: rgba(99, 102, 241, 0.15);
    --warm: #e07a3a;
    --warm-soft: rgba(224, 122, 58, 0.15);
    --ok: #34d399;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;
    --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: min(100% - 32px, var(--max));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 23, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #4f46e5);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.brand-text strong {
    display: block;
    font-size: 17px;
    letter-spacing: -0.02em;
}
.brand-text span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}
.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav a {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    text-decoration: none;
}
.nav a:hover,
.nav a.active {
    color: var(--text);
    background: var(--surface);
    text-decoration: none;
}
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
}

/* Hero */
.hero {
    padding: 56px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -40% -20% auto;
    height: 70%;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99, 102, 241, 0.28), transparent 65%),
        radial-gradient(ellipse 40% 30% at 90% 10%, rgba(224, 122, 58, 0.12), transparent 60%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-2);
    background: var(--accent-soft);
    border: 1px solid rgba(99, 102, 241, 0.25);
}
.hero h1 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.hero-lead {
    margin: 0 0 24px;
    max-width: 52ch;
    font-size: 17px;
    color: var(--text-soft);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}
.btn-secondary {
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
}
.stat span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}
.hero-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.hero-card p {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--text-soft);
}
.flow-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.flow-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    font-size: 14px;
}
.flow-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-2);
    background: var(--accent-soft);
}

/* Sections */
.section {
    padding: 56px 0;
}
.section-alt { background: var(--bg-2); }
.section-head {
    margin-bottom: 32px;
    text-align: center;
}
.section-head h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
}
.section-head p {
    margin: 0 auto;
    max-width: 58ch;
    color: var(--text-soft);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}
.card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: var(--accent-soft);
}
.card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}
.card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.55;
}

/* Outlets */
.outlet-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.outlet-badge {
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.outlet-badge.resto {
    color: var(--warm);
    background: var(--warm-soft);
}
.outlet-badge.reflex {
    color: var(--ok);
    background: rgba(52, 211, 153, 0.12);
}

/* Payment highlight */
.pay-banner {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(52, 211, 153, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.25);
}
.pay-banner h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 1.6rem;
}
.pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.pay-pill {
    padding: 8px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    background: var(--surface);
    border: 1px solid var(--line);
}

/* Legal / content pages */
.page-hero {
    padding: 40px 0 24px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.page-hero h1 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.page-hero p {
    margin: 0;
    color: var(--text-soft);
    max-width: 60ch;
}
.prose {
    padding: 40px 0 56px;
    max-width: 760px;
}
.prose h2 {
    margin: 32px 0 12px;
    font-size: 1.25rem;
}
.prose h3 {
    margin: 24px 0 8px;
    font-size: 1.05rem;
}
.prose p, .prose li {
    color: var(--text-soft);
    line-height: 1.7;
}
.prose ul, .prose ol {
    padding-left: 1.25rem;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.prose th, .prose td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
}
.prose th {
    background: var(--surface);
    color: var(--text);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.contact-box {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}
.contact-box h3 {
    margin: 0 0 12px;
    font-size: 16px;
}
.contact-box p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--text-soft);
}
.contact-box a { font-weight: 700; }

/* Footer */
.site-footer {
    padding: 40px 0 28px;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
.footer-grid h4 {
    margin: 0 0 12px;
    font-size: 14px;
}
.footer-grid p,
.footer-grid li {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 13px;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .grid-3,
    .grid-2,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 12px 16px 16px;
        background: var(--bg-2);
        border-bottom: 1px solid var(--line);
    }
    .nav.open { display: flex; }
    .nav-toggle { display: grid; place-items: center; }
    .site-header .container { position: relative; }
}
