/* SkiBuddy — style.css */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #e8f0fe;
  --accent: #34a853;
  --danger: #ea4335;
  --warning: #fbbc04;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #bdc1c6;
  --gray-500: #9aa0a6;
  --gray-600: #80868b;
  --gray-700: #5f6368;
  --gray-800: #3c4043;
  --gray-900: #202124;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--gray-700); }

/* ─── Layout Utilities ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--gray-600); font-size: 1.1rem; margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-size: 1rem; font-weight: 600;
  border: 2px solid transparent; transition: all var(--transition); white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-1px); box-shadow: var(--shadow);
  text-decoration: none; color: var(--white);
}
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); transform: translateY(-1px); text-decoration: none; }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); text-decoration: none; color: var(--gray-900); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.4rem; font-weight: 800; color: var(--primary); text-decoration: none; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.5rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--gray-800); font-weight: 500; font-size: 0.95rem; transition: background var(--transition); text-decoration: none; }
.nav a:hover { background: var(--gray-100); color: var(--primary); }
.nav a.active { color: var(--primary); background: var(--primary-light); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); padding: 16px 24px 24px; z-index: 999; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; color: var(--gray-800); font-weight: 500; border-bottom: 1px solid var(--gray-100); text-decoration: none; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1565c0 100%);
  color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.2rem; max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); border-radius: 50px; padding: 6px 16px; font-size: 0.875rem; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.hero-resort { padding: 56px 0 48px; }

/* ─── Cards ─────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 24px; }

/* ─── Buddy Cards ───────────────────────────────────────────── */
.buddy-card { display: flex; flex-direction: column; }
.buddy-card-header { padding: 24px; display: flex; align-items: flex-start; gap: 16px; }
.buddy-card-body { padding: 0 24px 24px; flex: 1; }
.buddy-card-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.avatar { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.avatar-lg { width: 100px; height: 100px; font-size: 2.5rem; }
.avatar-xl { width: 140px; height: 140px; font-size: 3.5rem; }
.buddy-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.buddy-meta { font-size: 0.85rem; color: var(--gray-600); }
.buddy-tagline { font-size: 0.925rem; color: var(--gray-700); margin: 8px 0 12px; }
.buddy-specialties { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 50px; background: var(--primary-light); color: var(--primary); font-size: 0.78rem; font-weight: 500; }
.tag-gray { background: var(--gray-100); color: var(--gray-700); }
.tag-green { background: #e6f4ea; color: #137333; }

/* ─── Stars ─────────────────────────────────────────────────── */
.stars { display: inline-flex; gap: 2px; }
.star { color: var(--warning); font-size: 0.875rem; }
.star-empty { color: var(--gray-300); }
.rating-row { display: flex; align-items: center; gap: 6px; }
.rating-text { font-size: 0.875rem; color: var(--gray-600); }
.rating-score { font-weight: 700; font-size: 0.95rem; }

/* ─── Resort Cards ──────────────────────────────────────────── */
.resort-card-gradient { height: 140px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); display: flex; align-items: flex-end; padding: 16px; }
.resort-card-gradient h3 { color: var(--white); }
.resort-state { font-size: 0.8rem; color: rgba(255,255,255,0.8); }

/* ─── Terrain Bars ──────────────────────────────────────────── */
.terrain-bar-wrap { margin-bottom: 10px; }
.terrain-bar-label { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 4px; }
.terrain-bar-track { height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.terrain-bar-fill { height: 100%; border-radius: 4px; }
.fill-green { background: var(--accent); }
.fill-blue { background: var(--primary); }
.fill-black { background: var(--gray-900); }

/* ─── How It Works Steps ────────────────────────────────────── */
.step-card { text-align: center; padding: 36px 24px; }
.step-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; }
.step-number { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonial-card { padding: 32px; }
.testimonial-text { font-size: 1rem; color: var(--gray-800); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-name { font-weight: 600; font-size: 0.925rem; }
.testimonial-detail { font-size: 0.8rem; color: var(--gray-500); }

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; }
.cta-section .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Stats Bar ─────────────────────────────────────────────── */
.stats-bar { display: flex; gap: 32px; padding: 24px 32px; background: var(--gray-50); border-radius: var(--radius); margin: 24px 0; flex-wrap: wrap; }
.stat-item { text-align: center; flex: 1; min-width: 80px; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--gray-600); margin-top: 2px; }

/* ─── Profile Page ──────────────────────────────────────────── */
.profile-hero { background: var(--gray-50); padding: 48px 0; border-bottom: 1px solid var(--gray-200); }
.profile-header { display: flex; align-items: flex-start; gap: 32px; }
.profile-info h1 { font-size: 2rem; margin-bottom: 8px; }
.profile-info .resort-link { color: var(--primary); font-weight: 500; }
.profile-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 40px; }
.profile-sidebar .card { position: sticky; top: 88px; }
.sidebar-card-body { padding: 24px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.price-row:last-child { border-bottom: none; }
.price-label { font-size: 0.875rem; color: var(--gray-600); }
.price-val { font-weight: 700; color: var(--gray-900); }

/* ─── Availability Calendar ─────────────────────────────────── */
.calendar-section { margin: 32px 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cal-month-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; margin-bottom: 8px; }
.cal-month-title { font-weight: 700; font-size: 1rem; }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.cal-weekday { text-align: center; font-size: 0.75rem; color: var(--gray-500); font-weight: 600; padding: 4px 0; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; cursor: default; font-weight: 500; transition: all var(--transition); }
.cal-day.available { background: #e6f4ea; color: #137333; }
.cal-day.unavailable { background: var(--gray-100); color: var(--gray-400); }
.cal-day.empty { background: transparent; }
.cal-day.today { border: 2px solid var(--primary); }
.cal-day.selected { background: var(--primary); color: var(--white); }
.cal-day.clickable { cursor: pointer; }
.cal-day.clickable:hover { transform: scale(1.1); }
.cal-legend { display: flex; gap: 16px; align-items: center; margin-top: 12px; font-size: 0.8rem; color: var(--gray-600); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ─── Reviews ───────────────────────────────────────────────── */
.review-card { padding: 20px 24px; margin-bottom: 16px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gray-200); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; color: var(--gray-700); }
.review-meta { flex: 1; }
.review-name { font-weight: 600; font-size: 0.925rem; }
.review-date { font-size: 0.8rem; color: var(--gray-500); }
.review-text { font-size: 0.925rem; color: var(--gray-700); line-height: 1.65; }

/* ─── Blog ──────────────────────────────────────────────────── */
.blog-hero { background: var(--gray-50); padding: 48px 0; border-bottom: 1px solid var(--gray-200); }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; margin-top: 40px; padding-bottom: 64px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--gray-500); margin-bottom: 16px; }
article h2 { font-size: 1.5rem; margin: 36px 0 12px; color: var(--gray-900); }
article h3 { font-size: 1.15rem; margin: 24px 0 8px; }
article p { margin-bottom: 16px; line-height: 1.75; color: var(--gray-800); }
article ul, article ol { padding-left: 24px; margin-bottom: 16px; }
article li { margin-bottom: 6px; color: var(--gray-800); line-height: 1.65; }
article strong { color: var(--gray-900); }
.sidebar-widget { margin-bottom: 24px; }
.sidebar-widget-title { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-600); margin-bottom: 12px; }
.related-post { padding: 12px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.related-post:last-child { border-bottom: none; }

/* ─── Booking Modal ─────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(24px); transition: transform 0.3s ease; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { padding: 24px 28px 16px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--white); z-index: 1; border-bottom: 1px solid var(--gray-100); }
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--gray-100); color: var(--gray-700); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); }
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 24px 28px; }
.modal-steps { display: flex; margin-bottom: 28px; }
.modal-step-indicator { flex: 1; text-align: center; padding: 8px 4px; font-size: 0.75rem; font-weight: 600; color: var(--gray-400); border-bottom: 3px solid var(--gray-200); transition: all var(--transition); }
.modal-step-indicator.active { color: var(--primary); border-bottom-color: var(--primary); }
.modal-step-indicator.done { color: var(--accent); border-bottom-color: var(--accent); }
.modal-footer { padding: 16px 28px 24px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--gray-100); position: sticky; bottom: 0; background: var(--white); }
.step-panel { display: none; }
.step-panel.active { display: block; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 20px 16px; text-align: center; cursor: pointer; transition: all var(--transition); }
.service-card:hover, .service-card.selected { border-color: var(--primary); background: var(--primary-light); }
.service-icon { font-size: 2rem; margin-bottom: 8px; }
.service-name { font-weight: 700; font-size: 0.925rem; margin-bottom: 4px; }
.service-price { color: var(--primary); font-weight: 700; font-size: 1rem; }
.service-desc { font-size: 0.78rem; color: var(--gray-600); margin-top: 4px; }
.buddy-pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.buddy-pick-card { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: all var(--transition); }
.buddy-pick-card:hover, .buddy-pick-card.selected { border-color: var(--primary); background: var(--primary-light); }
.surprise-btn { grid-column: 1 / -1; border: 2px dashed var(--primary); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; color: var(--primary); font-weight: 600; background: var(--primary-light); transition: all var(--transition); }
.surprise-btn:hover { background: var(--primary); color: var(--white); }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 6px; color: var(--gray-800); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 11px 14px; border: 2px solid var(--gray-300); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.925rem; color: var(--gray-900); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.12); }
.form-textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-summary { background: var(--gray-50); border-radius: var(--radius); padding: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.9rem; }
.summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 1rem; }
.summary-label { color: var(--gray-600); }
.summary-total { color: var(--primary); }
.confirmation { text-align: center; padding: 24px 0; }
.confirmation-icon { font-size: 4rem; margin-bottom: 16px; }
.booking-ref { background: var(--primary-light); border-radius: var(--radius); padding: 16px; margin: 20px 0; font-family: monospace; font-size: 1.3rem; font-weight: 700; color: var(--primary); letter-spacing: 0.1em; }

/* ─── Dashboard ─────────────────────────────────────────────── */
.dashboard-layout { display: flex; min-height: calc(100vh - 68px); }
.dashboard-sidebar { width: 260px; background: var(--gray-900); flex-shrink: 0; padding: 24px 0; display: flex; flex-direction: column; }
.dashboard-sidebar .sidebar-logo { padding: 0 24px 24px; font-size: 1.2rem; font-weight: 800; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 16px; }
.sidebar-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 24px; color: rgba(255,255,255,0.7); font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all var(--transition); text-decoration: none; border-left: 3px solid transparent; }
.sidebar-nav-item:hover { background: rgba(255,255,255,0.06); color: var(--white); text-decoration: none; }
.sidebar-nav-item.active { background: rgba(26,115,232,0.15); color: var(--primary); border-left-color: var(--primary); }
.sidebar-nav-item .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.dashboard-main { flex: 1; padding: 32px; overflow-y: auto; background: var(--gray-50); }
.dashboard-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card-label { font-size: 0.85rem; color: var(--gray-600); margin-top: 4px; }
.upcoming-list { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); overflow: hidden; }
.upcoming-list-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-200); font-weight: 700; }
.booking-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--gray-100); }
.booking-row:last-child { border-bottom: none; }
.booking-row-date { font-weight: 600; min-width: 80px; }
.booking-row-guest { flex: 1; }
.booking-row-guest-name { font-weight: 600; font-size: 0.925rem; }
.booking-row-detail { font-size: 0.8rem; color: var(--gray-500); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: #e6f4ea; color: #137333; }
.badge-blue { background: var(--primary-light); color: var(--primary-dark); }
.badge-gray { background: var(--gray-100); color: var(--gray-700); }
.badge-orange { background: #fce8e6; color: #c5221f; }
.dash-form-section { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); margin-bottom: 24px; }
.dash-form-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; color: var(--gray-900); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; cursor: pointer; }
.checkbox-item input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }
.bookings-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px; }
.bookings-tab { padding: 10px 24px; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--gray-600); transition: all var(--transition); background: none; border-top: none; border-left: none; border-right: none; font-family: inherit; font-size: 0.95rem; }
.bookings-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.bookings-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.bookings-table th { padding: 12px 16px; text-align: left; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-600); background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.bookings-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.bookings-table tr:last-child td { border-bottom: none; }

/* ─── Login ──────────────────────────────────────────────────── */
.login-page { min-height: 100vh; background: var(--gray-50); display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo .logo { justify-content: center; font-size: 1.6rem; }
.login-title { text-align: center; margin-bottom: 28px; }
.demo-creds { background: var(--primary-light); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 24px; font-size: 0.85rem; color: var(--primary-dark); }
.demo-creds strong { display: block; margin-bottom: 4px; }

/* ─── Availability Cal ──────────────────────────────────────── */
.avail-cal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.day-checkboxes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.day-check { padding: 8px 14px; border-radius: 50px; border: 2px solid var(--gray-300); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all var(--transition); background: var(--white); color: var(--gray-700); }
.day-check.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ─── Pricing ────────────────────────────────────────────────── */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { text-align: center; padding: 36px 28px; position: relative; }
.pricing-card.featured { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); transform: scale(1.04); }
.pricing-card.featured p, .pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.85); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--warning); color: var(--gray-900); padding: 4px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; margin: 16px 0 4px; }
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-period { font-size: 0.875rem; color: var(--gray-500); }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.7); }
.pricing-features { text-align: left; margin: 24px 0; }
.pricing-feature { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 0.9rem; color: var(--gray-700); }
.pricing-feature::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ─── Team ──────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 28px 20px; }
.team-avatar { margin: 0 auto 16px; }
.team-name { font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.875rem; color: var(--primary); font-weight: 500; margin-bottom: 8px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 240px; }
.footer-col-title { color: var(--white); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── 404 ────────────────────────────────────────────────────── */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--primary-light); line-height: 1; }
.error-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar .card { position: static; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .dashboard-sidebar { width: 220px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta .btn:not(.btn-primary) { display: none; }
  .hamburger { display: flex; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .service-cards { grid-template-columns: 1fr; }
  .buddy-pick-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 16px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .calendar-grid, .avail-cal-grid { grid-template-columns: 1fr; }
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { width: 100%; flex-direction: row; overflow-x: auto; padding: 0; }
  .dashboard-sidebar .sidebar-logo { display: none; }
  .sidebar-nav-item { padding: 12px 16px; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; flex-direction: column; gap: 4px; font-size: 0.75rem; }
  .sidebar-nav-item.active { border-bottom-color: var(--primary); border-left-color: transparent; }
  .dashboard-main { padding: 20px 16px; }
  .stat-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .profile-header { flex-direction: column; align-items: center; text-align: center; }
  .modal { max-height: 100vh; border-radius: 0; }
  .modal-overlay { padding: 0; align-items: flex-end; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-header, .modal-body, .modal-footer { padding-left: 16px; padding-right: 16px; }
  .checkbox-grid { grid-template-columns: 1fr; }
}
