/* Urban Fitness Hub - fresh light blue/white theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');
:root {
  --blue-800: #1e40af;
  --blue-600: #2563eb;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --ink: #0b0f0e;
  --ink-600: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: 'Outfit', ui-sans-serif, system-ui, Segoe UI, Inter, Roboto, Arial; color: var(--ink); background: linear-gradient(180deg, #fff, var(--blue-50)); line-height: 1.6; overflow-x: hidden; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; border-radius: 12px; }
a { color: var(--blue-800); text-decoration: none; }
p { margin: .5rem 0 1rem; color: var(--ink-600); }
h1,h2,h3 { line-height: 1.2; margin: 0 0 .6rem; }

/* Sidebar layout */
.layout { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; background: var(--blue-800); color: var(--white); display: flex; flex-direction: column; padding: 22px; }
.brand { font-weight: 900; letter-spacing: .3px; font-size: 1.3rem; color: var(--white); text-decoration: none; }
.brand span { color: #c7d2fe; }
.snav { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 6px; }
.snav a { display: block; color: #e5e7eb; padding: 10px 12px; border-radius: 10px; }
.snav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.snav a[aria-current="page"] { background: rgba(255,255,255,.22); color: #fff; }
.content { margin-left: 260px; width: calc(100% - 260px); min-height: 100vh; display: flex; flex-direction: column; }
.content > .site-footer { margin-left: 0; }

/* Buttons */
.btn { display: inline-block; background: var(--blue-600); color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 700; border: 1px solid var(--blue-600); box-shadow: 0 8px 18px rgba(37,99,235,.22); transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { background: var(--blue-400); border-color: var(--blue-400); }
.btn-outline { background: transparent; color: var(--blue-800); border: 1px solid var(--blue-800); }
.btn-outline:hover { background: var(--blue-50); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: #f3f4f6; }
.btn-small { padding: 9px 12px; font-size: .95rem; }
.btn-light { background: var(--white); color: var(--blue-800); border: 1px solid var(--white); box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37,99,235,.26); }

/* Hero - angled full-bleed */
.hero { position: relative; background: linear-gradient(140deg, var(--blue-600), var(--blue-400)); color: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 160%; background: url('https://images.pexels.com/photos/1954524/pexels-photo-1954524.jpeg') center/cover no-repeat; opacity: .25; transform: rotate(8deg); border-radius: 40px; }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 72px 22px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.hero-badge { display: inline-block; background: var(--blue-100); color: var(--blue-800); padding: 6px 10px; border-radius: 999px; font-weight: 700; margin-bottom: 8px; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); color: #fff; }
.hero p { font-size: 1.125rem; color: #eef2ff; max-width: 720px; }
.hero-actions { display: flex; gap: 12px; margin-top: 12px; }
.hero-visual img { display: none; }

/* Layout */
.container { max-width: 1000px; margin: 0 auto; padding: 32px 22px; }
.grid { display: grid; gap: 18px; }
.grid.trio { grid-template-columns: repeat(3, 1fr); }
.grid.quad { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }

/* Cards & sections */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--blue-100); box-shadow: 0 16px 36px rgba(0,0,0,.10); }
.feature { border: 1px solid var(--border); border-radius: var(--radius); background: var(--blue-50); padding: 22px; }
.feature { border-left: 4px solid var(--blue-400); }
.classes .class { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); background: var(--white); display: flex; flex-direction: column; height: 100%; }
.classes .class img { height: 200px; width: 100%; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.classes .class .btn { margin-top: auto; }
.team .card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.team .avatar { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }

/* Anchor offset so in-page links land cleanly */
section[id] { scroll-margin-top: 24px; }

/* Class card spacing normalization */
.classes .class h3 { margin: 14px 0 8px; }
.classes .class p { margin: 0 0 12px; }

.section-header { text-align: center; margin-bottom: 8px; }
.section-header h2 { position: relative; display: inline-block; padding-bottom: 6px; }
.section-header h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--blue-600); border-radius: 999px; margin: 10px auto 0; }
.banner { background: linear-gradient(90deg, var(--blue-800), var(--blue-600)); color: var(--white); padding: 26px; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.banner p, .banner strong { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fafafa; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 20px; padding: 28px 22px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.muted { color: var(--muted); }

/* Page hero */
.page-hero { background: var(--blue-50); border-bottom: 1px solid var(--border); padding: 48px 22px; text-align: center; }
.page-hero h1 { margin-bottom: 8px; }
.table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { border-bottom: 1px solid var(--border); padding: 12px; text-align: left; }
.table thead th { background: var(--blue-100); color: var(--ink); }
.table tr:nth-child(even) { background: #f9fbff; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid.trio, .grid.quad { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid.trio, .grid.quad { grid-template-columns: 1fr; }
  .sidebar { position: fixed; width: 220px; }
  .content { margin-left: 220px; width: calc(100% - 220px); }
}

/* Pricing comparison (column graph) */
.pricing-table { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 18px; align-items: start; }
.plan-intro { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.plan-col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.plan-head { background: var(--blue-600); color: #fff; padding: 18px 18px 48px; position: relative; }
.plan-head h3 { margin: 0; font-weight: 800; }
.price-badge { position: absolute; left: 18px; bottom: -22px; transform: none; background: #fff; color: var(--blue-800); border-radius: 999px; padding: 10px 14px; font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.plan-rows { display: grid; margin-top: 18px; }
.plan-row { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-row em { color: var(--muted); font-style: normal; }
.plan-foot { padding: 16px 18px; border-top: 1px solid var(--border); background: #fcfdff; }
.plan-foot .btn { width: 100%; justify-self: end; }
.tick { color: var(--blue-600); font-weight: 900; }
.dash { color: var(--muted); font-weight: 700; }

/* Plan color variants */
.is-essential .plan-head { background: #10b981; } /* teal */
.is-unlimited .plan-head { background: #7c3aed; } /* violet */
.is-performance .plan-head { background: #ef4444; } /* red */

@media (max-width: 980px) {
  .pricing-table { grid-template-columns: 1fr; }
}

