/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sidebar-bg: #0b0b0d;
  --sidebar-active: #1f1f22;
  --content-bg: #f6f7f9;
  --heading: #0f172a;
  --muted: #64748b;
  --link: #3b6fb5;
  --card-bg: #ffffff;
  --card-border: #e6e8ec;
  --dark-card: #0b0b0d;
  --sidebar-w: 256px;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--content-bg);
  color: var(--heading);
}

/* ============ SIDEBAR ============ */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  padding: 26px 20px;
  z-index: 10;
}

.brand {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  padding: 8px 10px 22px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  text-align: left;
  background: transparent;
  border: none;
  color: #cfcfd4;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav-item:hover { background: #17171a; color: #fff; }
.nav-item.active { background: var(--sidebar-active); color: #fff; }

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #1c1c20;
}

.book-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #0b0b0d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 10px;
  transition: opacity 0.15s;
}
.book-call:hover { opacity: 0.88; }

/* ============ MAIN ============ */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding: 56px 24px 80px;
}

.page { display: none; }
.page.active { display: block; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.container {
  max-width: 820px;
  margin: 0 auto;
}

/* ============ HEADINGS ============ */
.page-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -1px;
  color: var(--heading);
}

.page-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 640px;
  margin: 16px auto 40px;
}

.section-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--heading);
  margin: 48px 0 28px;
}

/* ============ VIDEO CARD ============ */
.video-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  text-align: center;
  color: var(--link);
  font-size: 16px;
  line-height: 1.5;
  max-width: 620px;
  margin: 22px auto 0;
}

/* ============ DARK CTA CARD ============ */
.cta-card {
  background: var(--dark-card);
  border-radius: 18px;
  padding: 44px 32px;
  text-align: center;
  margin-top: 48px;
}
.cta-card h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}
.cta-card p {
  color: #b6b6bd;
  font-size: 16px;
  margin: 12px auto 26px;
  max-width: 520px;
}
.cta-btn {
  display: inline-block;
  background: #f2f3f5;
  color: #0b0b0d;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  transition: opacity 0.15s;
}
.cta-btn:hover { opacity: 0.88; }

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
}

/* ============ TILE GRID ============ */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  min-height: 74px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  border-color: #d2d5db;
}

/* ============ IMPORT / SINGLE CARD ============ */
.single-wrap {
  display: flex;
  justify-content: center;
}
.import-card {
  display: block;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px 24px;
  max-width: 320px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s, box-shadow 0.15s;
}
.import-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08); }
.import-card h3 { color: var(--heading); font-size: 19px; font-weight: 700; }
.import-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 10px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .page-title { font-size: 30px; }
  .tile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 16px;
    gap: 8px;
  }
  .brand { padding: 0 8px 0 0; }
  .nav { flex-direction: row; flex-wrap: wrap; flex: 1; }
  .nav-item { padding: 8px 12px; font-size: 14px; }
  .sidebar-footer { margin-top: 0; padding-top: 0; border: none; }
  .book-call { padding: 9px 14px; }
  .main { margin-left: 0; padding: 32px 16px 60px; }
}
