/* ===== Wopara Tickets — shared design system ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #070b14;
    --bg-elev: #0d1322;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --border-hover: rgba(136, 196, 255, 0.32);
    --text-primary: #e8f0fe;
    --text-secondary: rgba(200, 220, 255, 0.62);
    --text-muted: rgba(200, 220, 255, 0.40);
    --text-faint: rgba(200, 220, 255, 0.20);
    --accent: #4f8fff;
    --accent-hover: #6ba0ff;
    --accent-purple: #a78bfa;
    --accent-warm: #ff6b4a;
    --accent-green: #34d399;
    --accent-gold: #c9a227;
    --accent-red: #f87171;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    min-height: 100vh;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; color: inherit; }

/* ===== Page wrap ===== */
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow-wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* ===== Nav ===== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(7, 11, 20, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav-brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}
.nav-brand-name span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: color 0.2s var(--ease-out);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--text-primary); }

@media (max-width: 720px) {
    .nav-links { gap: 16px; }
    .nav-link.hide-mobile { display: none; }
}

/* ===== Typography ===== */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-secondary); }
.lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 56ch; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s var(--ease-out);
    border: 1px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #061226;
    font-weight: 600;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text-primary);
}
.btn-secondary:hover { border-color: var(--border-hover); background: var(--surface-hover); }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-danger {
    background: rgba(248, 113, 113, 0.12);
    color: var(--accent-red);
    border-color: rgba(248, 113, 113, 0.3);
}
.btn-danger:hover { background: rgba(248, 113, 113, 0.18); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 14px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== Cards ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.card:hover { border-color: var(--border-strong); }
.card-clickable:hover { border-color: var(--border-hover); background: var(--surface-hover); }

/* ===== Forms ===== */
.field { display: block; margin-bottom: 18px; }
.field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.005em;
}
.field-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.45;
}
.field-input,
.field-textarea,
.field-select {
    width: 100%;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s var(--ease-out);
}
.field-input:focus,
.field-textarea:focus,
.field-select:focus {
    border-color: var(--accent);
}
.field-textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.field-input::placeholder, .field-textarea::placeholder { color: var(--text-muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field-prefix {
    position: relative;
}
.field-prefix .prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}
.field-prefix .field-input { padding-left: 30px; }

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-secondary);
}
.badge-live { color: var(--accent-green); border-color: rgba(52, 211, 153, 0.32); background: rgba(52, 211, 153, 0.08); }
.badge-draft { color: var(--text-muted); }
.badge-paused { color: var(--accent-gold); border-color: rgba(201, 162, 39, 0.32); background: rgba(201, 162, 39, 0.08); }
.badge-soldout { color: var(--accent-red); border-color: rgba(248, 113, 113, 0.32); background: rgba(248, 113, 113, 0.08); }

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    padding: 14px 20px;
    border-radius: var(--radius);
    z-index: 1000;
    transition: transform 0.4s var(--ease-out);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    font-size: 0.92rem;
    max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { border-color: rgba(248, 113, 113, 0.4); }
.toast.success { border-color: rgba(52, 211, 153, 0.4); }

/* ===== Loader ===== */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Footer ===== */
.site-footer {
    margin-top: 96px;
    padding: 36px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-inner a { color: var(--text-muted); margin-left: 18px; }
.footer-inner a:hover { color: var(--text-secondary); }

/* ===== Utility ===== */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.mono { font-family: var(--font-mono); }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }

/* ===== Reveal anim ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   Wopara Meets — additions
   (Squared labels and plain text states; no pulsing dots, no pill
    status badges, per house style.)
   =================================================================== */

/* Brand accent for Meets leans on the existing blue/purple system. */
.meets-grad-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ----- Hero ----- */
.hero {
    padding: 92px 0 56px;
    text-align: center;
}
.hero h1 { max-width: 16ch; margin: 0 auto 20px; }
.hero .lead { margin: 0 auto 30px; text-align: center; max-width: 60ch; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ----- Category filter row ----- */
.cat-row {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 0 0 28px;
}
.cat-chip {
    padding: 9px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 500;
    transition: all 0.18s var(--ease-out);
    display: inline-flex; align-items: center; gap: 7px;
}
.cat-chip:hover { border-color: var(--border-hover); color: var(--text-primary); }
.cat-chip.active {
    background: rgba(79, 143, 255, 0.12);
    border-color: var(--accent);
    color: var(--text-primary);
}
.cat-chip .count { color: var(--text-muted); font-size: 0.78rem; }

/* small inline category tag (squared, not a status pill) */
.cat-tag {
    display: inline-block;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.28);
    color: var(--accent-purple);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.cat-tag.education { background: rgba(52,211,153,0.10); border-color: rgba(52,211,153,0.28); color: var(--accent-green); }
.cat-tag.advising  { background: rgba(79,143,255,0.10); border-color: rgba(79,143,255,0.28); color: var(--accent); }
.cat-tag.consulting{ background: rgba(201,162,39,0.10); border-color: rgba(201,162,39,0.28); color: var(--accent-gold); }
.cat-tag.coaching  { background: rgba(255,107,74,0.10); border-color: rgba(255,107,74,0.28); color: var(--accent-warm); }

/* ----- Host (person) discovery card ----- */
.host-card { display: flex; flex-direction: column; gap: 14px; }
.host-card .host-top { display: flex; align-items: center; gap: 13px; }
.avatar {
    width: 52px; height: 52px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    color: var(--text-secondary);
}
.avatar.lg { width: 84px; height: 84px; font-size: 1.8rem; }
.avatar.sm { width: 36px; height: 36px; font-size: 0.85rem; }
.host-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1; }
.host-handle { color: var(--text-muted); font-size: 0.82rem; }
.host-headline { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* ----- Credibility stats (no pills) ----- */
.cred-row {
    display: flex; gap: 22px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.cred-stat { display: flex; flex-direction: column; gap: 1px; }
.cred-num { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-primary); }
.cred-num.green { color: var(--accent-green); }
.cred-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* ----- Meeting type card / list ----- */
.mt-card { display: flex; flex-direction: column; gap: 10px; }
.mt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mt-title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.mt-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.84rem; }
.mt-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mt-price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); }
.mt-price.free { color: var(--accent-green); }
.mt-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }

/* state label: plain text, no pill */
.state-label { font-size: 0.78rem; font-weight: 500; }
.state-active { color: var(--accent-green); }
.state-paused { color: var(--accent-gold); }
.state-off    { color: var(--text-muted); }

/* ----- Booking calendar / slot picker ----- */
.booking-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .booking-grid { grid-template-columns: 1fr; } }

.cal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
    width: 34px; height: 34px; border-radius: 9px;
    border: 1px solid var(--border-strong); background: var(--surface);
    color: var(--text-secondary); display: grid; place-items: center;
    transition: all 0.18s var(--ease-out);
}
.cal-nav button:hover:not(:disabled) { border-color: var(--border-hover); color: var(--text-primary); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.cal-dow span { text-align: center; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
    aspect-ratio: 1; border-radius: 9px; border: 1px solid transparent;
    background: transparent; color: var(--text-secondary);
    font-size: 0.9rem; display: grid; place-items: center;
    transition: all 0.15s var(--ease-out);
}
.cal-day.has-slots { background: var(--surface); border-color: var(--border); color: var(--text-primary); cursor: pointer; font-weight: 500; }
.cal-day.has-slots:hover { border-color: var(--accent); }
.cal-day.selected { background: var(--accent); color: #061226; border-color: var(--accent); font-weight: 600; }
.cal-day.empty-cell { background: transparent; border: none; }
.cal-day.disabled { color: var(--text-faint); cursor: default; }

.slots-panel { }
.slots-date { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 14px; }
.slots-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
@media (max-width: 420px) { .slots-list { grid-template-columns: 1fr; } }
.slot-btn {
    padding: 12px; border-radius: 10px;
    border: 1px solid var(--border-strong); background: var(--surface);
    color: var(--text-primary); font-size: 0.92rem; font-weight: 500;
    font-family: var(--font-mono);
    transition: all 0.15s var(--ease-out);
}
.slot-btn:hover { border-color: var(--accent); background: var(--surface-hover); }
.slot-btn.selected { background: var(--accent); color: #061226; border-color: var(--accent); }
.slots-empty { color: var(--text-muted); font-size: 0.9rem; padding: 30px 0; text-align: center; }

/* ----- Availability editor ----- */
.avail-day { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.avail-day:last-child { border-bottom: none; }
.avail-day-toggle { display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.avail-windows { display: flex; flex-direction: column; gap: 10px; }
.avail-window { display: flex; align-items: center; gap: 8px; }
.avail-window input[type=time] { width: 130px; }
.avail-window .remove-win { color: var(--text-muted); font-size: 1.3rem; line-height: 1; padding: 0 6px; }
.avail-window .remove-win:hover { color: var(--accent-red); }
.day-off-note { color: var(--text-muted); font-size: 0.88rem; padding-top: 9px; }

/* simple switch */
.switch { position: relative; width: 40px; height: 23px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: 999px; transition: 0.2s var(--ease-out); }
.switch .track::before { content: ''; position: absolute; width: 17px; height: 17px; left: 2px; top: 2px; background: var(--text-muted); border-radius: 50%; transition: 0.2s var(--ease-out); }
.switch input:checked + .track { background: rgba(79,143,255,0.25); border-color: var(--accent); }
.switch input:checked + .track::before { transform: translateX(17px); background: var(--accent); }

/* ----- Dashboard layout ----- */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.share-bar {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface); border: 1px solid var(--border-strong);
    border-radius: 10px; padding: 8px 8px 8px 14px;
}
.share-bar .url { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.empty-state { text-align: center; padding: 64px 24px; }
.empty-state .icon { font-size: 2.4rem; margin-bottom: 14px; opacity: 0.5; }

/* ----- Booking list rows ----- */
.bk-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.bk-row:last-child { border-bottom: none; }
.bk-when { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-secondary); min-width: 132px; }
.bk-main { flex: 1; min-width: 0; }
.bk-title { font-weight: 500; }
.bk-sub { color: var(--text-muted); font-size: 0.84rem; }

/* connect/integration cards */
.integ { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.integ-info { display: flex; align-items: center; gap: 13px; }
.integ-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-elev); border: 1px solid var(--border-strong); display: grid; place-items: center; font-size: 1.2rem; }
.integ-name { font-weight: 600; }
.integ-status { font-size: 0.82rem; color: var(--text-muted); }
.integ-status.on { color: var(--accent-green); }

/* tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab { padding: 11px 16px; color: var(--text-muted); font-size: 0.92rem; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.18s var(--ease-out); }
.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--text-primary); border-bottom-color: var(--accent); }

/* booking summary sticky */
.bk-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.summary-row { display: flex; gap: 10px; align-items: center; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 12px; }
.summary-row svg { flex-shrink: 0; color: var(--text-muted); }
