/* ========================================
   Rydzone — Complete Styles
   ======================================== */

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

:root {
  --accent: #FF5C00;
  --accent2: #FF8C42;
  --bg: #0A0A0A;
  --bg2: #141414;
  --bg3: #1E1E1E;
  --bg4: #282828;
  --border: #2A2A2A;
  --text: #F5F5F5;
  --text2: #A0A0A0;
  --text3: #6A6A6A;
  --success: #22C55E;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
}

html, body { height: 100%; }

body {
  background: var(--bg);
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   1. SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ========================================
   2. BASIC RESETS
   ======================================== */
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
}
input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

/* ========================================
   3. SHARED BADGES & TAGS
   ======================================== */
.event-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-ride { background: rgba(255,92,0,.15); color: var(--accent); }
.badge-camp { background: rgba(34,197,94,.15); color: var(--success); }
.badge-festival { background: rgba(168,85,247,.15); color: #A855F7; }
.badge-meetup { background: rgba(59,130,246,.15); color: #3B82F6; }
.badge-tour { background: rgba(255,140,66,.15); color: var(--accent2); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg3);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text2);
}

/* ========================================
   4. IMAGE PLACEHOLDER
   ======================================== */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg4) 100%);
}
.img-placeholder label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   5. MAP STYLES
   ======================================== */
.map-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg2);
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .3;
}
.map-road-h {
  position: absolute;
  height: 3px;
  background: var(--bg4);
  border-radius: 2px;
}
.map-road-v {
  position: absolute;
  width: 3px;
  background: var(--bg4);
  border-radius: 2px;
}
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  z-index: 2;
}
.map-pin-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(255,92,0,.4);
}
.map-pin-tail {
  width: 2px;
  height: 10px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
}

/* ========================================
   6. LANDING PAGE
   ======================================== */

/* --- scroll container --- */
.landing-scroll { height: 100vh; overflow-y: auto; }

/* --- nav --- */
.l-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.l-nav.scrolled {
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}
.l-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.l-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.l-nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text2);
}
.l-nav-links a:hover { color: var(--text); }
.l-nav-actions { display: flex; gap: 12px; align-items: center; }
.l-btn-ghost {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 8px;
  transition: color .2s;
}
.l-btn-ghost:hover { color: var(--text); }
.l-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  transition: background .2s, transform .15s;
}
.l-btn-primary:hover { background: #e65200; transform: translateY(-1px); }
.l-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  transition: border-color .2s;
}
.l-btn-outline:hover { border-color: var(--text3); }
.l-btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

/* --- hero --- */
.l-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.l-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,0,.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.l-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.l-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 24px;
}
.l-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.l-eyebrow-center {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}
.l-hero-copy h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.l-accent { color: var(--accent); }
.l-hero-copy > p {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}
.l-hero-cta { display: flex; gap: 12px; margin-bottom: 48px; }
.l-hero-stats {
  display: flex;
  gap: 0;
}
.l-hero-stats .l-stat-div + .l-stat-div {
  border-left: 1px solid var(--border);
}
.l-stat-div {
  padding: 0 24px;
  text-align: center;
}
.l-stat-div:first-child { padding-left: 0; }
.l-stat-div strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.l-stat-div span {
  font-size: 13px;
  color: var(--text3);
}

/* --- phone mockup --- */
.l-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.l-phone {
  position: relative;
  width: 280px;
  height: 560px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.l-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--bg);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.l-phone-screen {
  width: 100%;
  height: 100%;
  padding: 36px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.l-phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  pointer-events: none;
}
.l-phone-card {
  background: rgba(30,30,30,.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}
.l-float-card {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.l-float-1 { top: 15%; left: -60px; }
.l-float-2 { bottom: 20%; right: -60px; animation-delay: 1.5s; }
.l-float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- trust --- */
.l-trust {
  width: 100%;
  text-align: center;
  padding: 48px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.l-trust > span {
  display: block;
  font-size: 13px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.l-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.l-trust-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1px;
  opacity: .5;
}

/* --- sections --- */
.l-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
}
.l-section-tight {
  max-width: 1200px;
}
.l-section-head {
  text-align: center;
  margin-bottom: 64px;
}
.l-section-head h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.l-section-head > p {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- feature grid --- */
.l-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.l-feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.l-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.l-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,92,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.l-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.l-feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* --- showcase --- */
.l-showcase {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.l-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.l-showcase-copy h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.l-showcase-copy > p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.l-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.l-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.l-check-list li svg {
  flex-shrink: 0;
}
.l-browser {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.l-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.l-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg4);
}

/* --- steps --- */
.l-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.l-step {
  text-align: center;
  position: relative;
}
.l-step-n {
  font-size: 56px;
  font-weight: 800;
  color: rgba(255,92,0,.45);
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.l-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.l-step p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
}
.l-step-line {
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 1px;
  background: var(--border);
}

/* --- events row --- */
.l-events-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.l-event-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
  text-decoration: none;
  color: inherit;
}
.l-event-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.l-event-img {
  position: relative;
  height: 180px;
  background: var(--bg3);
  overflow: hidden;
}
.l-event-img-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg2) 100%);
}
.l-event-body {
  padding: 20px;
}
.l-event-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.l-event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.l-event-meta span {
  font-size: 13px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.l-event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
}

/* --- community --- */
.l-community {
  background: var(--bg);
}
.l-community-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}
.l-community-inner h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 48px;
}
.l-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.l-testimonial {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.l-stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.l-testimonial p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.l-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text3);
}

/* --- CTA --- */
.l-cta {
  position: relative;
  overflow: hidden;
}
.l-cta-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}
.l-cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,0,.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.l-cta-inner h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.l-cta-inner > p {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* --- footer --- */
.l-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.l-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.l-footer-brand p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.6;
  margin-top: 12px;
}
.l-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.l-footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l-footer-cols h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text3);
  margin-bottom: 4px;
}
.l-footer-cols a {
  font-size: 14px;
  color: var(--text2);
  transition: color .2s;
}
.l-footer-cols a:hover { color: var(--text); }
.l-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text3);
}

/* ========================================
   7. AUTH MODAL
   ======================================== */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.auth-card {
  position: relative;
  width: 420px;
  max-width: 95vw;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  animation: popIn .3s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  transition: background .2s;
}
.auth-close:hover { background: var(--bg3); }
.auth-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
}
.auth-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.auth-card > p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 28px;
}
.auth-field {
  margin-bottom: 16px;
}
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s;
}
.auth-input:focus {
  border-color: var(--accent);
  outline: none;
}
.auth-submit {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  margin-top: 8px;
  transition: background .2s;
}
.auth-submit:hover { background: #e65200; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--text3);
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-social {
  display: flex;
  gap: 12px;
}
.auth-social button {
  flex: 1;
  padding: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color .2s;
}
.auth-social button:hover { border-color: var(--text3); }
.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text2);
}
.auth-switch a,
.auth-switch button {
  color: var(--accent);
  font-weight: 600;
}
.auth-input-wrap {
  position: relative;
}
.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  cursor: pointer;
  font-size: 16px;
}
.auth-hint {
  font-size: 12px;
  color: var(--text3);
  margin-top: 4px;
}

/* ========================================
   8. ONBOARDING
   ======================================== */
.ob-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.ob-page-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,0,.1) 0%, transparent 70%);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.ob-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ob-sub {
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 32px;
}
.ob-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}
.ob-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: background .3s, color .3s;
}
.ob-step-circle.done {
  background: var(--accent);
  color: #fff;
}
.ob-step-circle.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255,92,0,.25);
}
.ob-step-circle.todo {
  background: var(--bg3);
  color: var(--text3);
  border: 1px solid var(--border);
}
.ob-step-bar {
  width: 48px;
  height: 2px;
  background: var(--border);
}
.ob-step-bar.done {
  background: var(--accent);
}
.ob-card {
  width: 480px;
  max-width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  animation: obSlideIn .35s ease;
}
@keyframes obSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.ob-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.ob-card > p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
}
.ob-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}
.ob-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  transition: border-color .2s;
}
.ob-input:focus { border-color: var(--accent); }
select.ob-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236A6A6A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.ob-city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.ob-city-btn {
  padding: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.ob-city-btn:hover,
.ob-city-btn.active {
  border-color: var(--accent);
  background: rgba(255,92,0,.08);
  color: var(--accent);
}
.ob-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.ob-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: 24px;
}
.ob-choice-btn:hover,
.ob-choice-btn.active {
  border-color: var(--accent);
  background: rgba(255,92,0,.08);
}
.ob-choice-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
}
.ob-bike-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.ob-bike-box-label {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.ob-bike-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ob-add-bike {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  transition: border-color .2s, color .2s;
  margin-bottom: 16px;
}
.ob-add-bike:hover { border-color: var(--accent); color: var(--accent); }
.ob-photo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text3);
  margin: 0 auto 16px;
  cursor: pointer;
  transition: border-color .2s;
}
.ob-photo-circle:hover { border-color: var(--accent); }
.ob-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.ob-btn-back {
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: border-color .2s;
}
.ob-btn-back:hover { border-color: var(--text3); }
.ob-btn-skip {
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  transition: color .2s;
}
.ob-btn-skip:hover { color: var(--text2); }
.ob-btn-next {
  flex: 1;
  padding: 11px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  transition: background .2s;
}
.ob-btn-next:hover { background: #e65200; }

/* ========================================
   9. WEB APP
   ======================================== */

/* --- Layout --- */
.w-app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.w-sidebar {
  width: 240px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  flex-shrink: 0;
}
.w-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 28px;
  padding: 0 8px;
}
.w-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}
.w-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.w-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: background .15s, color .15s;
  position: relative;
}
.w-nav-item:hover { background: var(--bg3); color: var(--text); }
.w-nav-item.active {
  background: rgba(255,92,0,.1);
  color: var(--accent);
  font-weight: 600;
}
.w-nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  margin-top: 12px;
  transition: background .2s;
}
.w-create-btn:hover { background: #e65200; }
.w-sidebar-foot {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}
.w-profile-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}
.w-profile-mini:hover { background: var(--bg3); }
.w-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: background .15s, color .15s;
}
.w-icon-btn:hover { background: var(--bg3); color: var(--text); }
.w-icon-btn-lg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* --- Main --- */
.w-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.w-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.w-page-title {
  font-size: 20px;
  font-weight: 700;
}
.w-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.w-search-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  transition: border-color .2s;
}
.w-search-mini:hover { border-color: var(--text3); }
.w-dot-badge {
  position: relative;
}
.w-dot-badge::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.w-scroll {
  flex: 1;
  overflow-y: auto;
}
.w-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px;
}
.w-content-narrow {
  max-width: 680px;
}

/* --- Feed --- */
.w-feed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
.w-feed-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.w-composer {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.w-composer-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  resize: none;
}
.w-composer-btn {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  align-self: flex-end;
  transition: background .2s;
}
.w-composer-btn:hover { background: #e65200; }
.w-stories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.w-story {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.w-story-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.w-story-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-story-add-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text3);
}

/* --- Post --- */
.w-post {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.w-post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}
.w-post-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}
.w-post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text2);
  transition: background .15s, color .15s;
}
.w-post-action:hover { background: var(--bg3); color: var(--text); }
.w-post-action.liked { color: var(--accent); }

/* --- Right rail --- */
.w-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 28px;
}
.w-rail-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.w-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
}
.w-rail-event {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.w-rail-event:last-child { border-bottom: none; }
.w-rail-event-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg3);
  flex-shrink: 0;
  overflow: hidden;
}
.w-rail-rider {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.w-follow-mini {
  margin-left: auto;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  transition: border-color .2s, color .2s;
}
.w-follow-mini:hover { border-color: var(--accent); color: var(--accent); }
.w-rail-foot {
  padding-top: 12px;
  text-align: center;
}
.w-rail-foot a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* --- Filter / Tabs --- */
.w-filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.w-pill {
  padding: 7px 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.w-pill:hover { border-color: var(--text3); }
.w-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.w-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.w-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  cursor: pointer;
}
.w-tab:hover { color: var(--text2); }
.w-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.w-section-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text2);
}

/* --- Events grid --- */
.w-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.w-event-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
  cursor: pointer;
}
.w-event-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.w-event-img {
  position: relative;
  height: 140px;
  background: var(--bg3);
  overflow: hidden;
}
.w-event-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg2) 100%);
}
.w-event-body {
  padding: 16px;
}
.w-event-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.w-event-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 12px;
}
.w-event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 16px;
}
.w-join-btn {
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  transition: background .2s;
}
.w-join-btn:hover { background: #e65200; }
.w-join-btn.joined {
  background: transparent;
  border: 1px solid var(--success);
  color: var(--success);
}

/* --- Map --- */
.w-map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - 73px);
}
.w-map-list {
  overflow-y: auto;
  border-right: 1px solid var(--border);
  padding: 16px;
}
.w-map-list-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 4px;
}
.w-map-list-item:hover { background: var(--bg3); }
.w-map-list-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--bg3);
  flex-shrink: 0;
  overflow: hidden;
}
.w-map-canvas {
  position: relative;
  overflow: hidden;
}
.w-map-popup {
  position: absolute;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 5;
}
.w-map-popup-img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: var(--bg3);
  margin-bottom: 8px;
  overflow: hidden;
}

/* --- Friends --- */
.w-friends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.w-friend-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color .2s;
}
.w-friend-card:hover { border-color: var(--text3); }
.w-friend-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 12px;
  transition: background .2s;
}
.w-friend-btn:hover { background: #e65200; }
.w-friend-btn.followed {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
}
.w-friends-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.w-friend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  transition: background .15s;
}
.w-friend-row:hover { background: var(--bg3); }
.w-friend-row-info { flex: 1; min-width: 0; }
.w-friend-row-name {
  font-size: 14px;
  font-weight: 600;
}
.w-friend-row-sub {
  font-size: 12px;
  color: var(--text3);
}
.w-friend-row-actions {
  display: flex;
  gap: 8px;
}

/* --- Search --- */
.w-search-big {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
  transition: border-color .2s;
}
.w-search-big:focus { border-color: var(--accent); }
.w-trend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text2);
  margin: 0 6px 8px 0;
  cursor: pointer;
  transition: border-color .2s;
}
.w-trend-chip:hover { border-color: var(--text3); }
.w-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.w-discover-item {
  position: relative;
  height: 180px;
  border-radius: 12px;
  background: var(--bg3);
  overflow: hidden;
  cursor: pointer;
}
.w-discover-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,.8) 100%);
}
.w-discover-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 15px;
  font-weight: 700;
  z-index: 1;
}
.w-search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  transition: background .15s;
  cursor: pointer;
}
.w-search-result:hover { background: var(--bg3); }
.w-search-result-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg3);
  flex-shrink: 0;
  overflow: hidden;
}

/* --- Messages --- */
.w-msg-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: calc(100vh - 73px);
}
.w-msg-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
}
.w-msg-list-head {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.w-convo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}
.w-convo:hover { background: var(--bg3); }
.w-convo.active { background: var(--bg3); }
.w-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  position: absolute;
  bottom: 0;
  right: 0;
  border: 2px solid var(--bg2);
}
.w-unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.w-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.w-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.w-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.w-chat-date {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin: 16px 0;
}
.w-bubble-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 70%;
}
.w-bubble-row.me {
  margin-left: auto;
  flex-direction: row-reverse;
}
.w-bubble {
  padding: 10px 14px;
  background: var(--bg3);
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 100%;
  word-wrap: break-word;
}
.w-bubble.me {
  background: var(--accent);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}
.w-bubble-time {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
  padding: 0 4px;
}
.w-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}
.w-chat-input input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
}
.w-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .2s;
}
.w-send-btn:hover { background: #e65200; }

/* --- Profile --- */
.w-profile-cover {
  position: relative;
  height: 200px;
  background: var(--bg3);
  overflow: hidden;
}
.w-profile-cover-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}
.w-profile-head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: -40px;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.w-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg3);
  border: 4px solid var(--bg);
  overflow: hidden;
  flex-shrink: 0;
}
.w-profile-info { flex: 1; }
.w-profile-handle {
  font-size: 14px;
  color: var(--text3);
}
.w-profile-edit {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  transition: border-color .2s;
}
.w-profile-edit:hover { border-color: var(--text3); }
.w-profile-stats {
  display: flex;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.w-stat {
  text-align: center;
  cursor: pointer;
}
.w-stat-n {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.w-stat-l {
  font-size: 12px;
  color: var(--text3);
}
.w-profile-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 28px;
}
.w-garage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.w-garage-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 14px;
  cursor: pointer;
  transition: border-color .2s;
}
.w-garage-card:hover { border-color: var(--text3); }
.w-garage-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text3);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.w-garage-add:hover { border-color: var(--accent); color: var(--accent); }
.w-recent-ride {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

/* --- Notifications --- */
.w-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.w-notif-mark {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
}
.w-notif-group {
  margin-bottom: 24px;
}
.w-notif-group > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.w-notif {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  transition: background .15s;
  cursor: pointer;
}
.w-notif:hover { background: var(--bg3); }
.w-notif.unread { background: rgba(255,92,0,.04); }
.w-notif-av {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg3);
  flex-shrink: 0;
  overflow: hidden;
}
.w-notif-type {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid var(--bg);
}
.w-notif-body { flex: 1; min-width: 0; }
.w-notif-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.4;
}
.w-notif-text strong { color: var(--text); font-weight: 600; }
.w-notif-time {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.w-notif-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.w-notif-btn {
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}
.w-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.w-notif-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg3);
  flex-shrink: 0;
  overflow: hidden;
}

/* --- Post menus --- */
.w-post-menu-wrap {
  position: relative;
  margin-left: auto;
}
.w-dropdown-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
}
.w-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 180px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.w-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text2);
  transition: background .15s;
}
.w-dropdown-item:hover { background: var(--bg4); }
.w-dropdown-item.danger { color: #EF4444; }
.w-dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* --- Modals --- */
.w-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn .25s ease;
}
.w-modal {
  position: relative;
  width: 560px;
  max-width: 95vw;
  max-height: 90vh;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow-y: auto;
  animation: popIn .3s ease;
}
.w-modal-sm { width: 420px; }
.w-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  z-index: 2;
  transition: background .2s;
}
.w-modal-close:hover { background: var(--bg3); }
.w-modal-hero {
  position: relative;
  height: 180px;
  background: var(--bg3);
  overflow: hidden;
}
.w-modal-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg2) 100%);
}
.w-modal-body {
  padding: 28px;
}
.w-modal-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.w-modal-key {
  padding: 6px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text2);
}
.w-modal-section {
  margin-bottom: 20px;
}
.w-modal-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.w-modal-cta {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: background .2s;
}
.w-modal-cta:hover { background: #e65200; }
.w-modal-form-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.w-modal-form {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.w-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.w-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.w-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}
.w-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s;
}
.w-input:focus { border-color: var(--accent); }
.w-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.w-type-btn {
  padding: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.w-type-btn:hover,
.w-type-btn.active {
  border-color: var(--accent);
  background: rgba(255,92,0,.08);
  color: var(--accent);
}
.w-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text3);
  font-size: 14px;
  transition: border-color .2s;
}
.w-upload:hover { border-color: var(--accent); }
.w-modal-form-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
}
.w-btn-secondary {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: border-color .2s;
}
.w-btn-secondary:hover { border-color: var(--text3); }
.w-btn-primary {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  transition: background .2s;
}
.w-btn-primary:hover { background: #e65200; }

/* --- Comments --- */
.w-comments-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn .25s ease;
}
.w-comments-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.w-comment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.w-comment-body { flex: 1; }
.w-comment-bubble {
  background: var(--bg3);
  border-radius: 12px;
  padding: 10px 14px;
}
.w-comment-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.w-comment-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.4;
}
.w-comment-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 6px;
  font-size: 12px;
  color: var(--text3);
}
.w-comment-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
}

/* --- Story viewer --- */
.w-story-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn .25s ease;
}
.w-story-stage {
  position: relative;
  width: 400px;
  max-width: 95vw;
  height: 700px;
  max-height: 90vh;
  background: var(--bg2);
  border-radius: 16px;
  overflow: hidden;
}
.w-story-progress {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 3;
}
.w-story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  overflow: hidden;
}
.w-story-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width .3s linear;
}
.w-story-top {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.w-story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 3;
  transition: background .2s;
}
.w-story-nav:hover { background: rgba(255,255,255,.2); }
.w-story-close {
  position: absolute;
  top: 24px;
  right: 16px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 4;
}
.w-story-caption {
  position: absolute;
  bottom: 60px;
  left: 16px;
  right: 16px;
  font-size: 14px;
  color: #fff;
  z-index: 3;
}
.w-story-reply {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.w-story-reply input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  font-size: 14px;
  color: #fff;
}
.w-story-reply input::placeholder { color: rgba(255,255,255,.5); }

/* --- Person profile --- */
.w-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text2);
  transition: background .15s;
}
.w-back-btn:hover { background: var(--bg3); }
.w-person-actions {
  display: flex;
  gap: 10px;
}
.w-btn-follow {
  padding: 8px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: background .2s;
}
.w-btn-follow:hover { background: #e65200; }
.w-btn-follow.following {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
}
.w-btn-msg {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: border-color .2s;
}
.w-btn-msg:hover { border-color: var(--text3); }

/* --- Bike detail --- */
.w-bike-hero {
  position: relative;
  height: 280px;
  background: var(--bg3);
  overflow: hidden;
}
.w-bike-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}
.w-bike-hero-info {
  position: absolute;
  bottom: 20px;
  left: 28px;
  z-index: 2;
}
.w-bike-thumbs {
  display: flex;
  gap: 8px;
  padding: 16px 28px;
}
.w-bike-thumb {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg3);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s;
}
.w-bike-thumb:hover { border-color: var(--text3); }
.w-bike-thumb.active { border-color: var(--accent); }
.w-bike-thumb-add {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  cursor: pointer;
  transition: border-color .2s;
}
.w-bike-thumb-add:hover { border-color: var(--accent); }
.w-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 28px 24px;
}
.w-spec {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.w-spec-l {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 4px;
}
.w-spec-v {
  font-size: 16px;
  font-weight: 600;
}
.w-maint-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  margin-bottom: 12px;
}
.w-maint-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--border);
}
.w-maint-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.w-maint-info { flex: 1; }
.w-maint-name {
  font-size: 14px;
  font-weight: 600;
}
.w-maint-sub {
  font-size: 12px;
  color: var(--text3);
}
.w-maint-status {
  text-align: right;
}
.w-maint-bar {
  width: 80px;
  height: 4px;
  background: var(--bg4);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.w-maint-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--success);
}
.w-log-item {
  display: flex;
  gap: 12px;
  padding: 12px 28px;
  align-items: flex-start;
}
.w-log-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}
.w-tab-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  margin-bottom: 20px;
}

/* --- Edit page --- */
.w-edit-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 28px;
}
.w-edit-cover {
  position: relative;
  height: 160px;
  background: var(--bg3);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}
.w-edit-cover-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 16px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.w-edit-avatar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.w-edit-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg3);
  overflow: hidden;
  flex-shrink: 0;
}
.w-edit-avatar-cam {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  border: 2px solid var(--bg);
  cursor: pointer;
}

/* --- Messages advanced --- */
.w-convo-menu-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  opacity: 0;
  transition: opacity .15s, background .15s;
}
.w-convo:hover .w-convo-menu-btn { opacity: 1; }
.w-convo-menu-btn:hover { background: var(--bg4); }
.w-bubble-tools {
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity .15s;
}
.w-bubble-row:hover .w-bubble-tools { opacity: 1; }
.w-bubble-tool {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  transition: background .15s;
}
.w-bubble-tool:hover { background: var(--bg3); }
.w-react-pop {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.w-react-emoji {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.w-react-emoji:hover { background: var(--bg4); transform: scale(1.2); }
.w-reactions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.w-reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  cursor: pointer;
}
.w-reaction-chip:hover { border-color: var(--text3); }
.w-reply-quote {
  padding: 8px 12px;
  background: var(--bg4);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 6px;
}
.w-reply-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg3);
  border-radius: 8px 8px 0 0;
  font-size: 13px;
  color: var(--text2);
}
.w-chat-search {
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
}
.w-chat-search input {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}
.w-msg-img {
  max-width: 240px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 6px;
}
.w-msg-img img {
  width: 100%;
  display: block;
}

/* --- Avatar clickable --- */
.w-avatar-clickable {
  cursor: pointer;
  transition: opacity .15s;
}
.w-avatar-clickable:hover { opacity: .8; }

/* --- Share menu --- */
.w-share-menu {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 8px;
  min-width: 200px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 50;
}
.w-share-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text2);
  transition: background .15s;
}
.w-share-menu button:hover { background: var(--bg4); }

/* ========================================
   10. RESPONSIVE BREAKPOINTS
   ======================================== */

@media (max-width: 1100px) {
  .l-hero-visual { display: none; }
  .l-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .l-hero-copy > p { margin: 0 auto 32px; }
  .l-hero-cta { justify-content: center; }
  .l-hero-stats { justify-content: center; }
  .w-feed-layout { grid-template-columns: 1fr; }
  .w-rail { display: none; }
}

@media (max-width: 980px) {
  .w-events-grid { grid-template-columns: repeat(2, 1fr); }
  .l-events-row { grid-template-columns: repeat(2, 1fr); }
  .l-testimonials { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .l-nav-links { display: none; }
  .l-hero-copy h1 { font-size: 40px; }
  .l-section-head h2 { font-size: 32px; }
  .l-feature-grid { grid-template-columns: 1fr; }
  .l-steps { grid-template-columns: 1fr; }
  .l-step-line { display: none; }
  .l-showcase-inner { grid-template-columns: 1fr; }
  .l-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .l-community-inner h2 { font-size: 32px; }
  .l-cta-inner h2 { font-size: 32px; }
  .w-sidebar { display: none; }
  .w-friends-grid { grid-template-columns: repeat(2, 1fr); }
  .w-discover-grid { grid-template-columns: repeat(2, 1fr); }
  .w-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .w-msg-layout { grid-template-columns: 1fr; }
  .w-map-layout { grid-template-columns: 1fr; }
  .w-profile-cols { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .w-events-grid { grid-template-columns: 1fr; }
  .l-events-row { grid-template-columns: 1fr; }
  .l-testimonials { grid-template-columns: 1fr; }
  .w-friends-grid { grid-template-columns: 1fr; }
  .w-discover-grid { grid-template-columns: 1fr; }
  .ob-city-grid { grid-template-columns: repeat(2, 1fr); }
  .w-content { padding: 16px; }
  .w-topbar { padding: 12px 16px; }
}
