:root {
  --bg: #ebceb0;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.55);
  --text: #2a211b;
  --muted: rgba(42, 33, 27, 0.62);
  --shadow: rgba(88, 60, 36, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);

  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.42), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.22), transparent 35%),
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 60%),
    #EBCEB0;

  overflow-x: hidden;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  min-height: 100vh;
  padding: 22px;
  transition: 0.3s ease;
}

.app-shell.sidebar-hidden {
  grid-template-columns: 0 1fr;
}

.glass {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.22),
      rgba(255,255,255,0.06)
    );

  border: 1px solid rgba(255,255,255,0.28);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    inset 0 1px 1px rgba(255,255,255,0.38);

  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
}

.glass::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.22),
      transparent 40%
    );

  pointer-events: none;
}

.sidebar {
  border-radius: 28px;
  padding: 20px;
  overflow: hidden;
  transition: 0.3s ease;
}

.app-shell.sidebar-hidden .sidebar {
  opacity: 0;
  transform: translateX(-24px);
  pointer-events: none;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, #c78f5a, #fff1df);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), 0 12px 24px var(--shadow);
}

.brand h1 {
  margin: 0;
  font-size: 23px;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.glass-btn,
.primary-glass-btn {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
  linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.08)
  );
  color: var(--text);
  border-radius: 17px;
  padding: 13px 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 18px rgba(88, 60, 36, 0.08);
}

.glass-btn:hover,
.primary-glass-btn:hover {
  background: var(--glass-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(88, 60, 36, 0.18);
}

.glass-btn.active {
  background: rgba(255, 255, 255, 0.52);
}

.dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown {
  display: grid;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.28s ease;
}

.dropdown.open {
  max-height: 400px;
  opacity: 1;
}

.sub-btn {
  margin-left: 18px;
  font-size: 14px;
  padding: 11px 14px;
}

.muted {
  color: var(--muted);
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.topbar {
  min-height: 92px;
  border-radius: 28px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.toggle-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 22px;
}

.topbar h2 {
  margin: 0;
  font-size: 30px;
}

.topbar p {
  margin: 4px 0 0;
  color: var(--muted);
}

.hero {
  border-radius: 34px;
  padding: 48px;
  min-height: 260px;
}

.hero h3 {
  margin: 0;
  font-size: 44px;
}

.hero p {
  max-width: 650px;
  line-height: 1.6;
  color: var(--muted);
}

.primary-glass-btn {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  border-radius: 26px;
  padding: 24px;
  min-height: 150px;
  transition: 0.22s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h4 {
  margin: 0 0 8px;
  font-size: 22px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 850px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell.sidebar-hidden {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 30px;
  }

  .hero h3 {
    font-size: 34px;
  }
}
