:root {
    --beo-dark: #1a1a2e;
    --beo-accent: #e94560;
    --beo-warm: #f8a634;
    --beo-green: #198754;
    --beo-blue: #0d6efd;
    --beo-bg: #f4f5f7;
    --beo-card: #ffffff;
    --beo-text: #333333;
    --beo-muted: #888888;
    --beo-radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--beo-bg);
    color: var(--beo-text);
    -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ────────────────────────────── */
.af-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.af-nav .brand {
    color: #fff; font-weight: 800; font-size: 17px;
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.af-nav .brand span { color: var(--beo-accent); }
.af-nav .nav-link {
    color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600;
    text-decoration: none; padding: 8px 16px;
    border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50px;
}
.af-nav .nav-link:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ── HERO ──────────────────────────────── */
.af-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff; padding: 60px 16px 50px; text-align: center;
}
.af-hero .hero-tag {
    display: inline-block;
    background: rgba(233, 69, 96, 0.15);
    color: var(--beo-accent); font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 50px;
    letter-spacing: 0.5px; margin-bottom: 16px;
    border: 1px solid rgba(233, 69, 96, 0.25);
}
.af-hero h1 {
    font-size: 32px; font-weight: 900; line-height: 1.15;
    margin-bottom: 14px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.af-hero h1 em { font-style: normal; color: var(--beo-warm); }
.af-hero .hero-sub {
    font-size: 16px; color: rgba(255,255,255,0.7);
    line-height: 1.6; max-width: 520px;
    margin: 0 auto 24px;
}
.af-hero .hero-proof {
    display: flex; justify-content: center; gap: 20px;
    flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5);
}
.af-hero .hero-proof span {
    display: flex; align-items: center; gap: 4px;
}

@media (max-width: 600px) {
    .af-hero h1 { font-size: 24px; }
    .af-hero .hero-sub { font-size: 14px; }
}

/* ── VALUE PROPS ───────────────────────── */
.af-values {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; background: var(--beo-dark);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.af-value {
    padding: 28px 20px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.af-value:last-child { border-right: none; }
.af-value i { font-size: 28px; color: var(--beo-warm); margin-bottom: 10px; display: block; }
.af-value h3 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.af-value p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

@media (max-width: 600px) {
    .af-values { grid-template-columns: 1fr; }
    .af-value { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ── SIGNUP FORM ───────────────────────── */
.af-form-section {
    max-width: 580px; margin: 0 auto;
    padding: 32px 16px 60px;
}
.af-form-section h2 {
    font-size: 24px; font-weight: 900; color: var(--beo-dark);
    text-align: center; margin-bottom: 6px;
}
.af-form-section .form-sub {
    font-size: 14px; color: var(--beo-muted); text-align: center;
    margin-bottom: 28px;
}

.af-card {
    background: var(--beo-card); border-radius: var(--beo-radius);
    padding: 24px; margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.af-card h3 {
    font-size: 15px; font-weight: 800; color: var(--beo-dark);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.af-card h3 i { color: var(--beo-accent); font-size: 18px; }

.af-field { margin-bottom: 16px; }
.af-field label {
    display: block; font-size: 13px; font-weight: 700;
    color: var(--beo-dark); margin-bottom: 5px;
}
.af-field label .req { color: var(--beo-accent); }
.af-field label .opt { font-weight: 400; color: #bbb; font-size: 11px; }
.af-field input, .af-field select, .af-field textarea {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid #e0e0e0; border-radius: 12px;
    font-size: 16px; outline: none;
    transition: border-color 0.2s; font-family: inherit;
    -webkit-appearance: none; background: #fff;
}
.af-field input:focus, .af-field select:focus, .af-field textarea:focus {
    border-color: var(--beo-accent);
}
.af-field textarea { min-height: 70px; resize: vertical; }

.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .af-row { grid-template-columns: 1fr; } }

.af-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .af-row-3 { grid-template-columns: 1fr; } }

/* Tooltip */
.af-tip {
    display: flex; align-items: flex-start; gap: 8px;
    background: #f0f7ff; border-radius: 10px;
    padding: 10px 14px; margin-top: 8px;
    font-size: 12px; color: #3b6b9e; line-height: 1.5;
}
.af-tip i { color: var(--beo-blue); font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* File upload */
.af-upload {
    border: 2px dashed #d0d0d0; border-radius: 14px;
    padding: 24px 16px; text-align: center;
    background: #fafafa; cursor: pointer; transition: all 0.2s;
}
.af-upload:active { border-color: var(--beo-accent); background: #fff5f7; }
.af-upload i { font-size: 28px; color: #ccc; margin-bottom: 6px; display: block; }
.af-upload .upload-text { font-size: 14px; font-weight: 600; color: var(--beo-muted); }
.af-upload .upload-hint { font-size: 11px; color: #ccc; margin-top: 3px; }

/* Radio cards for notification method */
.af-radio-group { display: flex; gap: 8px; }
.af-radio-card {
    flex: 1; padding: 14px 12px; border: 1.5px solid #e0e0e0;
    border-radius: 12px; text-align: center; cursor: pointer;
    transition: all 0.2s; background: #fff;
}
.af-radio-card.selected {
    border-color: var(--beo-accent); background: #fff5f7;
}
.af-radio-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.af-radio-card i { font-size: 20px; color: var(--beo-muted); display: block; margin-bottom: 4px; }
.af-radio-card.selected i { color: var(--beo-accent); }
.af-radio-card .rc-label { font-size: 13px; font-weight: 600; color: var(--beo-dark); }

/* Hours — simplified */
.af-hours-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #f5f5f5;
}
.af-hours-row:last-child { border-bottom: none; }
.af-hours-row .day { width: 44px; font-size: 14px; font-weight: 700; color: var(--beo-dark); }
.af-hours-row .toggle {
    width: 44px; height: 26px; border-radius: 13px;
    background: #ddd; position: relative; cursor: pointer;
    transition: background 0.2s; flex-shrink: 0;
}
.af-hours-row .toggle.on { background: var(--beo-green); }
.af-hours-row .toggle::after {
    content: ''; position: absolute;
    width: 20px; height: 20px; border-radius: 50%;
    background: #fff; top: 3px; left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.af-hours-row .toggle.on::after { transform: translateX(18px); }
.af-hours-row .time-inputs {
    flex: 1; display: flex; align-items: center; gap: 6px;
}
.af-hours-row .time-inputs input {
    flex: 1; padding: 8px 10px; border: 1.5px solid #e0e0e0;
    border-radius: 8px; font-size: 14px; text-align: center; max-width: 100px;
}
.af-hours-row .time-inputs span { font-size: 12px; color: #ccc; }
.af-hours-row .closed { font-size: 13px; color: #ccc; font-style: italic; }

.af-quick-fill { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.af-quick-fill button {
    padding: 7px 14px; border: 1.5px solid #e0e0e0;
    border-radius: 20px; background: #fff;
    font-size: 12px; font-weight: 600; color: #888; cursor: pointer;
}
.af-quick-fill button:active { border-color: var(--beo-accent); color: var(--beo-accent); }

/* Submit button */
.af-submit {
    display: block; width: 100%; padding: 18px;
    background: var(--beo-accent); color: #fff;
    border: none; border-radius: 50px;
    font-size: 17px; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 8px;
}
.af-submit:active { background: #c73350; }

.af-terms {
    text-align: center; font-size: 12px; color: #bbb;
    margin-top: 12px; line-height: 1.6;
}
.af-terms a { color: var(--beo-accent); text-decoration: none; }

/* ── COMPARISON STRIP ──────────────────── */
.af-compare {
    background: var(--beo-dark); padding: 40px 16px; color: #fff;
}
.af-compare h2 {
    text-align: center; font-size: 22px; font-weight: 900;
    margin-bottom: 6px;
}
.af-compare .compare-sub {
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}
.af-compare-table {
    max-width: 600px; margin: 0 auto;
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.af-compare-table thead th {
    background: rgba(255,255,255,0.08); color: #fff;
    padding: 10px; font-size: 11px; font-weight: 700;
}
.af-compare-table thead th.highlight { background: var(--beo-green); }
.af-compare-table tbody td {
    padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center; color: rgba(255,255,255,0.7);
}
.af-compare-table tbody td:first-child {
    text-align: left; font-weight: 600; color: #fff;
}
.af-compare-table .win { color: var(--beo-green); font-weight: 700; }
.af-compare-table .lose { color: var(--beo-accent); }

/* ── HOW IT WORKS ──────────────────────── */
.af-steps { padding: 40px 16px; max-width: 600px; margin: 0 auto; }
.af-steps h2 {
    text-align: center; font-size: 22px; font-weight: 900;
    color: var(--beo-dark); margin-bottom: 28px;
}
.af-step-card {
    display: flex; gap: 16px; align-items: flex-start;
    margin-bottom: 20px;
}
.af-step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--beo-accent); color: #fff;
    font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.af-step-card h3 { font-size: 16px; font-weight: 800; color: var(--beo-dark); margin-bottom: 4px; }
.af-step-card p { font-size: 13px; color: var(--beo-muted); line-height: 1.5; }

/* ── FOOTER ────────────────────────────── */
.af-footer {
    background: var(--beo-dark); padding: 24px 16px;
    text-align: center; color: rgba(255,255,255,0.4); font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.af-footer a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* ── ONBOARDING FLOW (separate page) ──── */
.ob-progress-strip {
    background: #fff; padding: 16px;
    border-bottom: 1px solid #eee;
    position: sticky; top: 52px; z-index: 90;
}
.ob-progress-bar {
    height: 6px; background: #eee; border-radius: 3px;
    overflow: hidden; margin-bottom: 10px;
}
.ob-progress-fill {
    height: 100%; background: var(--beo-green);
    border-radius: 3px; transition: width 0.4s ease;
}
.ob-step-dots {
    display: flex; justify-content: space-between;
}
.ob-dot {
    display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1;
}
.ob-dot-circle {
    width: 30px; height: 30px; border-radius: 50%;
    background: #eee; color: #bbb;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; transition: all 0.3s;
}
.ob-dot.active .ob-dot-circle { background: var(--beo-accent); color: #fff; }
.ob-dot.done .ob-dot-circle { background: var(--beo-green); color: #fff; }
.ob-dot-label { font-size: 9px; font-weight: 600; color: #ccc; text-transform: uppercase; }
.ob-dot.active .ob-dot-label { color: var(--beo-accent); }
.ob-dot.done .ob-dot-label { color: var(--beo-green); }

.ob-content { max-width: 580px; margin: 0 auto; padding: 24px 16px 100px; }
.ob-content h2 { font-size: 22px; font-weight: 900; color: var(--beo-dark); margin-bottom: 6px; }
.ob-content .ob-sub { font-size: 14px; color: var(--beo-muted); margin-bottom: 24px; }

/* Menu entry specific */
.menu-category-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid #eee; margin-bottom: 12px;
}
.menu-category-header h4 { font-size: 16px; font-weight: 800; color: var(--beo-dark); }
.menu-category-header button {
    font-size: 12px; font-weight: 600; color: var(--beo-accent);
    background: none; border: none; cursor: pointer;
}

.menu-item-mini {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; background: #fff; border-radius: 12px;
    margin-bottom: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.menu-item-mini .mi-drag { color: #ddd; font-size: 16px; cursor: grab; }
.menu-item-mini .mi-info { flex: 1; }
.menu-item-mini .mi-name { font-size: 14px; font-weight: 700; color: var(--beo-dark); }
.menu-item-mini .mi-price { font-size: 14px; font-weight: 800; color: var(--beo-accent); }
.menu-item-mini .mi-actions { display: flex; gap: 6px; }
.menu-item-mini .mi-actions button {
    width: 34px; height: 34px; border-radius: 8px;
    border: none; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.mi-edit { background: var(--beo-bg); color: var(--beo-dark); }
.mi-delete { background: #fee; color: var(--beo-accent); }

.add-item-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 14px; border: 1.5px dashed #d0d0d0;
    border-radius: 12px; background: none;
    font-size: 14px; font-weight: 600; color: var(--beo-muted);
    cursor: pointer; margin-bottom: 16px;
}
.add-item-btn:active { border-color: var(--beo-accent); color: var(--beo-accent); }

/* Path selector cards */
.path-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
.path-card {
    background: #fff; border: 2px solid #e8e8e8; border-radius: var(--beo-radius);
    padding: 20px; cursor: pointer; transition: all 0.2s;
    display: flex; align-items: flex-start; gap: 14px;
}
.path-card:active { border-color: var(--beo-accent); }
.path-card.selected { border-color: var(--beo-accent); background: #fff5f7; }
.path-card .path-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.path-card .path-icon.manual { background: #dbeafe; color: var(--beo-blue); }
.path-card .path-icon.upload { background: #dcfce7; color: var(--beo-green); }
.path-card .path-icon.concierge { background: #fef3c7; color: #92400e; }
.path-card h3 { font-size: 15px; font-weight: 800; color: var(--beo-dark); margin-bottom: 4px; }
.path-card p { font-size: 12px; color: var(--beo-muted); line-height: 1.5; }
.path-card .path-tag {
    display: inline-block; font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 6px; margin-top: 6px;
    text-transform: uppercase;
}
.tag-recommended { background: #dcfce7; color: #166534; }
.tag-easiest { background: #fef3c7; color: #92400e; }

/* Bottom nav for onboarding */
.ob-bottom {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 100; background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 16px env(safe-area-inset-bottom, 12px);
    display: flex; gap: 10px;
}
.ob-bottom .btn-back {
    padding: 16px 20px; border: 1.5px solid #e0e0e0;
    border-radius: 14px; background: #fff;
    font-size: 15px; font-weight: 600; color: var(--beo-muted); cursor: pointer;
}
.ob-bottom .btn-next {
    flex: 1; padding: 16px;
    background: var(--beo-accent); color: #fff;
    border: none; border-radius: 14px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ob-bottom .btn-next:active { background: #c73350; }
.ob-bottom .btn-done {
    flex: 1; padding: 16px;
    background: var(--beo-green); color: #fff;
    border: none; border-radius: 14px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Success / live page */
.success-page { text-align: center; padding: 60px 16px; }
.success-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: #dcfce7; color: var(--beo-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; margin: 0 auto 20px;
}
.success-page h1 { font-size: 26px; font-weight: 900; color: var(--beo-dark); margin-bottom: 8px; }
.success-page p { font-size: 15px; color: var(--beo-muted); line-height: 1.6; max-width: 400px; margin: 0 auto; }

.your-links {
    max-width: 480px; margin: 24px auto 0;
    text-align: left;
}
.link-card {
    background: #fff; border-radius: var(--beo-radius);
    padding: 16px; margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex; align-items: center; gap: 12px;
}
.link-card i { font-size: 22px; color: var(--beo-accent); flex-shrink: 0; }
.link-card .lc-label { font-size: 12px; color: var(--beo-muted); }
.link-card .lc-value { font-size: 14px; font-weight: 700; color: var(--beo-dark); word-break: break-all; }
.link-card .lc-copy {
    margin-left: auto; padding: 8px 14px;
    background: var(--beo-bg); border: none; border-radius: 8px;
    font-size: 12px; font-weight: 600; color: var(--beo-dark);
    cursor: pointer; flex-shrink: 0;
}
