:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #eef4ff;
  --primary: #1d4ed8;
  --primary-dark: #153ea8;
  --secondary: #0f172a;
  --muted: #5b6477;
  --line: #dfe7f5;
  --accent: #25c2a0;
  --warning: #f59e0b;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, #f5f8ff 0%, #edf3ff 100%);
  color: var(--secondary);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--secondary);
}

.brand strong {
  color: var(--primary);
}

.brand span {
  color: var(--primary-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.nav-link,
.dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--secondary);
  transition: 0.2s ease;
}

.nav-link:hover,
.dropdown-toggle:hover,
.nav-link.active {
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--secondary);
}

.dropdown-menu a:hover {
  background: rgba(29, 78, 216, 0.05);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-width: 220px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  color: var(--secondary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary);
}

.hero {
  padding: 74px 0 48px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 14px;
  padding: 0 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 28px rgba(29, 78, 216, 0.18);
}

.button-primary:hover { transform: translateY(-2px); }

.button-secondary {
  background: #fff;
  color: var(--secondary);
  border-color: var(--line);
}

.button-ghost {
  background: rgba(37, 194, 160, 0.08);
  color: var(--primary-dark);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.metric {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 140px;
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  color: var(--primary-dark);
}

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

.hero-card {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #eef4ff);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow);
}

.tool-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(37, 194, 160, 0.1);
  color: #0e8f6d;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tool-list {
  display: grid;
  gap: 12px;
}

.tool-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  font-weight: 600;
}

.tool-item .icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(29, 78, 216, 0.08);
  border-radius: 10px;
}

.section {
  padding: 52px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.short-grid,
.category-grid,
.project-grid,
.guide-grid,
.card-grid {
  display: grid;
  gap: 20px;
}

.short-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-grid,
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tool-card,
.category-card,
.feature-card,
.project-card,
.guide-card,
.info-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.tool-card {
  min-height: 180px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.card-emoji {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
  background: rgba(29, 78, 216, 0.08);
}

.tool-card h3,
.category-card h3,
.project-card h3,
.guide-card h3,
.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.tool-card p,
.category-card p,
.project-card p,
.guide-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: rgba(29, 78, 216, 0.06);
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.category-card {
  text-align: center;
  min-height: 186px;
}

.category-card .card-emoji {
  margin: 0 auto 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.about-photo {
  background: linear-gradient(135deg, rgba(29,78,216,0.12), rgba(37,194,160,0.12));
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(148,163,184,0.2);
}

.about-photo img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 420px;
}

.about-copy {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

.inline-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.inline-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-weight: 600;
}

.inline-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 194, 160, 0.12);
  color: #0d8f6f;
  border-radius: 50%;
}

.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.86);
  padding: 50px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.05rem;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255,255,255,0.7);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer .brand {
  color: #fff;
}

.footer .brand strong { color: #8ab4ff; }
.footer .brand span { color: #fff; }

.copy-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.page-header {
  padding: 74px 0 26px;
}

.page-header .container {
  padding: 0 0 16px;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
}

.page-header p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 720px;
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 28px;
  padding-bottom: 64px;
}

.article,
.sidebar-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.article h2,
.article h3,
.sidebar-card h3 {
  margin-top: 0;
}

.article p,
.article li {
  color: var(--muted);
}

.article ul,
.article ol {
  padding-left: 18px;
}

.callout {
  background: rgba(29, 78, 216, 0.04);
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  border-radius: 12px;
  margin: 20px 0;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.related-list a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(15,23,42,0.02);
}

@media (max-width: 980px) {
  .hero-shell,
  .about-grid,
  .content-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .short-grid,
  .category-grid,
  .project-grid,
  .guide-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: auto;
    box-shadow: none;
    background: rgba(15,23,42,0.02);
    border: none;
    padding: 0 0 0 12px;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }
}

@media (max-width: 620px) {
  .short-grid,
  .category-grid,
  .project-grid,
  .guide-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 35px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   Tools & Learn Workspace Styling (Premium UI Components)
   ========================================================================== */

/* Card Interactions */
.card-link {
  display: block;
  outline: none;
  cursor: pointer;
}

.tool-card, .category-card, .guide-card, .project-card, .info-card {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
}

.card-link:hover .tool-card,
.card-link:hover .category-card,
.card-link:hover .guide-card,
.card-link:hover .project-card,
.card-link:hover .info-card {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(29, 78, 216, 0.12);
  border-color: rgba(29, 78, 216, 0.4);
}

.card-link:focus-visible .tool-card {
  outline: 3px solid var(--primary);
}

/* Modal Workspace Overlay */
.workspace-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.workspace-modal.active {
  display: flex;
}

.workspace-modal-content {
  background: #fff;
  width: min(850px, 100%);
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.workspace-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-soft);
}

.workspace-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.workspace-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.workspace-close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.workspace-close-btn:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

.workspace-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

/* Common Workspace Inputs */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
  background: #fff;
}

/* File Upload Zone */
.upload-zone {
  border: 2px dashed rgba(29, 78, 216, 0.3);
  background: rgba(29, 78, 216, 0.02);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.upload-zone:hover, .upload-zone.dragover {
  background: rgba(29, 78, 216, 0.06);
  border-color: var(--primary);
}

.upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: inline-block;
  animation: bounceSlow 3s infinite;
}

.upload-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 4px;
}

.upload-subtext {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* Files Preview List */
.file-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--panel-soft);
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.93rem;
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.file-remove-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* Tool Actions Panel */
.action-panel {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Status Notifications */
.status-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 16px;
  display: none;
  font-size: 0.93rem;
}

.status-msg.success {
  background: rgba(37, 194, 160, 0.1);
  color: #0e8f6d;
  display: block;
}

.status-msg.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  display: block;
}

.status-msg.info {
  background: var(--panel-soft);
  color: var(--primary);
  display: block;
}

/* Outputs & Results Displays */
.result-box {
  margin-top: 24px;
  background: var(--panel-soft);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}

.result-box h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--secondary);
}

.output-textarea {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.93rem;
  line-height: 1.5;
  background: #0f172a;
  color: #38bdf8;
  border-radius: 12px;
  padding: 16px;
  resize: vertical;
  min-height: 180px;
}

/* Interactive Sandbox Playgrounds (Guides) */
.playground-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  height: 480px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.playground-editor-side {
  display: flex;
  flex-direction: column;
  background: #1e293b;
}

.playground-header {
  background: #0f172a;
  color: #e2e8f0;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.playground-editor {
  flex: 1;
  width: 100%;
  background: #1e293b;
  color: #f8fafc;
  border: none;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.95rem;
  padding: 16px;
  resize: none;
  outline: none;
  line-height: 1.5;
}

.playground-preview-side {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.preview-header {
  background: var(--panel-soft);
  color: var(--secondary);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.preview-output {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

.terminal-output {
  flex: 1;
  background: #0f172a;
  color: #38bdf8;
  padding: 16px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.92rem;
  overflow-y: auto;
  margin: 0;
  white-space: pre-wrap;
}

.playground-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.playground-btn:hover {
  background: var(--primary-dark);
}

/* Data Engineering Pipeline & Distributed Nodes Visualizers */
.visual-canvas {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  overflow-y: auto;
}

.pipeline-node {
  background: var(--panel-soft);
  border: 2px solid var(--line);
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.pipeline-node.active {
  border-color: var(--primary);
  background: rgba(29, 78, 216, 0.05);
  box-shadow: 0 0 15px rgba(29, 78, 216, 0.15);
}

.node-flow-arrow {
  text-align: center;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  margin: -10px 0;
}

.cluster-viz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cluster-node {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.cluster-node.active {
  border-color: var(--accent);
  background: rgba(37, 194, 160, 0.08);
}

.data-chunk {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  margin: 3px;
  animation: pulseNode 1.5s infinite;
}

/* Tool Specific Styling grids */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
}

/* Strength Meter */
.strength-container {
  margin-top: 12px;
}

.strength-bar {
  height: 6px;
  width: 100%;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.strength-fill {
  height: 100%;
  width: 0;
  background: #ef4444;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Projects details drawer */
.project-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.project-details-grid h4 {
  margin: 0 0 10px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

.info-list li span:first-child {
  color: var(--muted);
  font-weight: 600;
}

.info-list li span:last-child {
  font-weight: 700;
  color: var(--secondary);
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulseNode {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .playground-container {
    grid-template-columns: 1fr;
    height: auto;
  }
  .playground-editor {
    height: 180px;
  }
  .preview-output, .terminal-output {
    height: 180px;
  }
  .grid-2col, .project-details-grid {
    grid-template-columns: 1fr;
  }
}

