/* Join Orbi marketing site — shared styles */
:root {
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-tint: #eef2ff;
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-2: #06b6d4;
    --accent: #f59e0b;
    --ok: #16a34a;
    --grad: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
    transition: background .15s ease, box-shadow .15s ease, transform .1s ease, border-color .15s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(79, 70, 229, 0.36); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; }

/* header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .orbi { color: var(--brand); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; color: var(--ink-2); font-size: 15px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .login { font-weight: 600; color: var(--ink-2); padding: 10px 12px; }
.header-actions .login:hover { color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.open { display: block; }

/* hero */
.hero { padding: 80px 0 60px; background: radial-gradient(900px 500px at 80% -10%, rgba(6, 182, 212, 0.14), transparent 60%), radial-gradient(700px 500px at 0% 0%, rgba(79, 70, 229, 0.12), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); }
.lead { color: var(--ink-2); font-size: 19px; margin: 20px 0 30px; max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.join-form { display: flex; gap: 8px; margin-top: 22px; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); }
.join-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 15px; font-family: inherit; color: var(--ink); background: transparent; }
.join-form input::placeholder { color: #94a3b8; }
.join-form .btn { padding: 10px 18px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 10px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--ink-2); font-size: 14px; }
.trust span { display: inline-flex; gap: 7px; align-items: center; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }

/* hero visual */
.visual { position: relative; border-radius: 20px; padding: 14px; background: #0f172a; box-shadow: var(--shadow-lg); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { aspect-ratio: 4 / 3; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 10px; font-size: 12px; font-weight: 600; color: #fff; }
.tile::before { content: ""; position: absolute; inset: 0; }
.tile.a::before { background: radial-gradient(circle at 50% 38%, #fcd5b5 0 17%, transparent 18%), linear-gradient(160deg, #3b4a8f, #232c5c); }
.tile.b::before { background: radial-gradient(circle at 50% 38%, #cfe9ff 0 17%, transparent 18%), linear-gradient(160deg, #1f7a86, #123f47); }
.tile.c::before { background: radial-gradient(circle at 50% 38%, #ffd9e8 0 17%, transparent 18%), linear-gradient(160deg, #7b3f76, #3d1f3e); }
.tile.d::before { background: linear-gradient(160deg, #263251, #161e36); }
.tile .name { position: relative; background: rgba(0, 0, 0, 0.45); padding: 3px 8px; border-radius: 6px; }
.tile .share { position: absolute; inset: 14px 14px 38px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); border: 1px dashed rgba(255, 255, 255, 0.3); display: grid; place-items: center; color: #cbd5e1; font-size: 11px; font-weight: 500; }
.toolbar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.toolbar span { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; }
.toolbar span.end { background: #ef4444; width: 56px; border-radius: 999px; }
.toolbar svg { width: 17px; height: 17px; fill: #fff; }
.badge { position: absolute; padding: 9px 13px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.badge.rec { top: -14px; left: -16px; }
.badge.rec i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2); }
.badge.chat { bottom: 60px; right: -18px; font-weight: 500; max-width: 230px; }
.badge.chat b { color: var(--brand); }

/* sections */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.section-head.left { text-align: left; margin-left: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #fff7ed; color: #c2410c; margin-left: 6px; vertical-align: middle; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); margin-top: 26px; }
.link-more:hover { color: var(--brand-dark); }
.center { text-align: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks li svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 2px; }
.panel { border-radius: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.panel .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.panel .row:last-child { border-bottom: 0; }
.panel .row b { font-weight: 600; }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #ecfdf5; color: #047857; white-space: nowrap; }
.pill.soon { background: var(--bg-soft); color: var(--muted); }

/* page hero (inner pages) */
.page-hero { padding: 70px 0 50px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); }
.page-hero p { color: var(--ink-2); font-size: 18px; margin-top: 14px; max-width: 700px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); }

/* feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.flip .art { order: -1; }
.feature-row h2 { font-size: 30px; margin-bottom: 12px; }
.feature-row p { color: var(--ink-2); font-size: 16px; }
.art { border-radius: 18px; background: var(--grad); padding: 3px; }
.art .inner { background: #0f172a; border-radius: 16px; padding: 22px; color: #e2e8f0; min-height: 240px; display: flex; flex-direction: column; justify-content: center; gap: 12px; font-size: 14px; }
.art .bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.art .bar.w60 { width: 60%; } .art .bar.w80 { width: 80%; } .art .bar.w40 { width: 40%; }
.art .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); width: fit-content; }
.art .chip i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }

/* solutions */
.solution { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.solution .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bg-tint); color: var(--brand); display: grid; place-items: center; }
.solution .icon svg { width: 26px; height: 26px; }
.solution h3 { margin-bottom: 6px; }
.solution p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.solution ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }

/* cta band */
.cta-band { background: var(--grad); color: #fff; border-radius: 22px; padding: 60px 30px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 26px; font-size: 17px; }
.cta-band .btn-white { background: #fff; color: var(--brand); }
.cta-band .btn-white:hover { background: #eef2ff; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 30px; color: var(--ink-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 36px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 14px; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.footer-grid a { display: block; padding: 5px 0; color: var(--ink-2); }
.footer-grid a:hover { color: var(--brand); }
.footer-grid .about { max-width: 360px; color: var(--muted); margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); }

/* dialog */
dialog { border: 0; border-radius: 18px; background: #fff; color: var(--ink); padding: 0; width: min(520px, 92vw); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(3px); }
.dlg-body { padding: 28px; }
.dlg-body h3 { margin-bottom: 8px; font-size: 20px; }
.dlg-body p { margin-bottom: 16px; color: var(--ink-2); font-size: 14px; }
.linkbox { display: flex; gap: 8px; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 6px 6px 6px 14px; }
.linkbox code { flex: 1; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--brand); }
.linkbox .btn { padding: 9px 14px; }
.copied { color: var(--ok); font-size: 13px; margin-top: 8px; min-height: 18px; }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.share-grid { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: start; margin-top: 8px; }
.share-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); background: #fff; }
.share-btn:hover { border-color: #cbd5e1; background: var(--bg-soft); }
.share-btn svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.share-btn[hidden] { display: none; }
.qr { text-align: center; }
.qr #qrBox { width: 132px; height: 132px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.qr #qrBox img, .qr #qrBox canvas { display: block; width: 120px; height: 120px; }
.qr small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; }
.room-name { display: flex; align-items: center; gap: 10px; margin-top: 18px; max-width: 520px; }
.room-name label { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.room-name input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; }
.room-name input:focus { outline: 2px solid rgba(79, 70, 229, 0.35); border-color: var(--brand); }
.room-preview { color: var(--brand); font-size: 13px; font-weight: 600; margin-top: 6px; min-height: 18px; }
@media (max-width: 560px) {
    .share-grid { grid-template-columns: 1fr; }
    .qr { justify-self: center; }
    .room-name { flex-direction: column; align-items: stretch; gap: 6px; }
}

@media (max-width: 960px) {
    .hero-grid, .split, .feature-row { grid-template-columns: 1fr; }
    .feature-row.flip .art { order: 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav, .header-actions .login { display: none; }
    .menu-btn { display: grid; }
    .badge.chat { right: 0; }
}
@media (max-width: 560px) {
    .grid-4, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .join-form { flex-direction: column; padding: 10px; }
    .join-form input { padding: 8px 4px; }
    .hero { padding: 50px 0 40px; }
    section { padding: 56px 0; }
    .header-actions .btn { padding: 10px 14px; font-size: 14px; }
}

/* booking page */
.booking { max-width: 1100px; }
.book-card { padding: 30px; }
.book-card:hover { transform: none; box-shadow: var(--shadow); }
.book-steps { display: grid; grid-template-columns: 1.1fr 0.9fr 1.1fr; gap: 30px; }
.book-step h3 { margin-bottom: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-title { font-weight: 700; }
.cal-nav { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border-radius: 8px; border: 1px solid transparent; background: transparent; color: #cbd5e1; font-family: inherit; font-size: 14px; cursor: default; }
.cal-day.open { color: var(--ink); background: var(--bg-tint); border-color: #e0e7ff; cursor: pointer; font-weight: 600; }
.cal-day.open:hover { border-color: var(--brand); }
.cal-day.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 360px; overflow: auto; padding-right: 4px; }
.slots .muted { grid-column: 1 / -1; font-size: 14px; }
.slot { padding: 10px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--brand); }
.slot.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.field span em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(79, 70, 229, 0.35); border-color: var(--brand); }
.selected { font-size: 14px; color: var(--brand); font-weight: 600; margin: 6px 0 12px; }
.form-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.book-done { text-align: center; padding: 40px 30px; max-width: 640px; margin: 0 auto; }
.book-done:hover { transform: none; }
.book-done .done-icon { width: 60px; height: 60px; border-radius: 50%; background: #ecfdf5; color: #047857; display: grid; place-items: center; margin: 0 auto 14px; }
.book-done .done-icon svg { width: 30px; height: 30px; }
.book-done h2 { margin-bottom: 6px; }
.book-done .linkbox { margin-top: 16px; text-align: left; }
.book-done .cta-row { justify-content: center; }
@media (max-width: 960px) { .book-steps { grid-template-columns: 1fr; } }

/* Mobile menu fix: stack items vertically (was inheriting header row layout) */
.mobile-nav .wrap { display:block; height:auto; padding-top:6px; padding-bottom:14px; }
