/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: #ffffff;
  color: #0b1220;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* ——— Left Sidebar Navigation ——— */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100vh;
  background: #2e2e38;
  color: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.sidebar-header {
  padding: 20px 20px 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-family: Poppins, Inter, system-ui;
  display: block;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background 200ms, color 200ms;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.sidebar-link .material-icons {
  font-size: 20px;
}

/* Page wrapper - shifts content right */
.page-wrapper {
  margin-left: 240px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top purple band */
.color-top {
  height: 100px;
  background: #4a3a6b;
  width: 100%;
  position: relative;
}

/* Header */
.site-header {
  background: transparent;
  padding: 18px 0;
  position: relative;
  z-index: 60;
  margin-top: -100px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  font-size: 34px;
}

.logo-accent {
  font-family: Poppins, Inter, system-ui;
  letter-spacing: 0.6px;
  color: #ffffff;
  font-size: 34px;
}

.site-nav a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  margin-left: 20px;
  padding: 8px 10px;
  border-radius: 6px;
}

.site-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Main content */
main {
  padding: 36px 0;
  flex: 1;
}

/* Hero section */
.hero {
  display: flex;
  gap: 36px;
  align-items: center;
  position: relative;
}

.hero .left {
  flex: 1;
  max-width: 740px;
}

.hero h1 {
  font-size: 42px;
  margin: 0 0 12px;
  line-height: 1.02;
  color: #0b1220;
  font-weight: 600;
}

.hero p {
  color: #5b6670;
  font-size: 18px;
  margin: 0 0 18px;
}

/* CTA Button */
.cta {
  display: inline-block;
  background: #f5f5f5;
  color: #333;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ddd;
  transition: transform 180ms, box-shadow 180ms, background 180ms;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  background: #fff;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
  max-width: 800px;
}

.card {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(11,18,32,0.06);
  box-shadow: 0 6px 18px rgba(11,18,32,0.04);
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card::before {
  content: '';
  position: absolute;
  left: 18px;
  top: -10px;
  width: 56px;
  height: 6px;
  border-radius: 6px;
  background: #5b4f9e;
  opacity: 0.95;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11,18,32,0.12);
}

.card h3 {
  margin: 0 0 8px;
  color: #0b1220;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: #5b6670;
}

/* Section styling */
section.container {
  padding-top: 28px;
  padding-bottom: 28px;
}

h2 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #0b1220;
  font-weight: 600;
}

.muted {
  color: #5b6670;
}

code {
  background: rgba(0,0,0,0.03);
  padding: 2px 6px;
  border-radius: 6px;
  color: #5b4f9e;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  color: #5b6670;
  border-top: 1px solid rgba(11,18,32,0.06);
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 300ms;
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .page-wrapper {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .site-header {
    padding: 12px 0;
  }
}
