/* ── Panels ── */
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.8));
  box-shadow: var(--shadow);
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: 20px 0 12px;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(124, 92, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 80% 70%, rgba(79, 140, 255, 0.06) 0%, transparent 70%);
  border-radius: var(--radius);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

.hero-glow-left {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124,92,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-right {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,140,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding-left: 30px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px 14px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: var(--radius-full);
  background: rgba(124, 92, 255, 0.1);
  color: #C4B5FF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-text h1 {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #7C5CFF, #4F8CFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.hero-workflow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(167,139,250,0.6);
  letter-spacing: 0.03em;
}

.hero-workflow .wf-dot {
  font-size: 8px;
  opacity: 0.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s var(--ease-out);
  text-decoration: none;
}

.btn-primary.hero-btn {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(124, 92, 255, 0.5);
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.25);
}
.btn-primary.hero-btn:hover {
  background: #8B6FFF;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(124, 92, 255, 0.35);
}

.btn-arrow {
  transition: transform 0.2s ease;
}
.btn-primary.hero-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline.hero-btn {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline.hero-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ── Dashboard Mockup ── */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.mockup-laptop {
  position: relative;
  width: 100%;
  padding-top: 62%;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(124,92,255,0.08);
  overflow: hidden;
}

.mockup-screen {
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  overflow: hidden;
  background: #050816;
  display: flex;
  flex-direction: column;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #28C840; }

.mockup-url {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  font-family: JetBrains Mono, monospace;
  padding: 2px 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}

.mockup-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-chart-area {
  position: relative;
  height: 90px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  padding: 8px;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  inset: 0;
  padding: 8px;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-chart 2s ease-out 0.5s forwards;
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

.chart-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 10px 8px 8px;
}
.chart-bars span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(124,92,255,0.4), rgba(79,140,255,0.15));
  height: 0;
  animation: grow-bar 0.6s var(--ease-out) forwards;
}
.chart-bars span:nth-child(1) { animation-delay: 0.1s; }
.chart-bars span:nth-child(2) { animation-delay: 0.15s; }
.chart-bars span:nth-child(3) { animation-delay: 0.2s; }
.chart-bars span:nth-child(4) { animation-delay: 0.25s; }
.chart-bars span:nth-child(5) { animation-delay: 0.3s; }
.chart-bars span:nth-child(6) { animation-delay: 0.35s; }
.chart-bars span:nth-child(7) { animation-delay: 0.4s; }
.chart-bars span:nth-child(8) { animation-delay: 0.45s; }
.chart-bars span:nth-child(9) { animation-delay: 0.5s; }
.chart-bars span:nth-child(10) { animation-delay: 0.55s; }
.chart-bars span:nth-child(11) { animation-delay: 0.6s; }
.chart-bars span:nth-child(12) { animation-delay: 0.65s; }
@keyframes grow-bar {
  to { height: var(--h); }
}
.chart-bars span:nth-child(1) { --h: 28%; }
.chart-bars span:nth-child(2) { --h: 45%; }
.chart-bars span:nth-child(3) { --h: 38%; }
.chart-bars span:nth-child(4) { --h: 62%; }
.chart-bars span:nth-child(5) { --h: 55%; }
.chart-bars span:nth-child(6) { --h: 78%; }
.chart-bars span:nth-child(7) { --h: 70%; }
.chart-bars span:nth-child(8) { --h: 90%; }
.chart-bars span:nth-child(9) { --h: 82%; }
.chart-bars span:nth-child(10) { --h: 95%; }
.chart-bars span:nth-child(11) { --h: 88%; }
.chart-bars span:nth-child(12) { --h: 72%; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mockup-stat-card {
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.glass {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat-value.purple { color: #7C5CFF; }
.stat-value.blue { color: #4F8CFF; }

.stat-change {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
}
.stat-change.up { color: #3EE089; }

.mockup-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mockup-activity,
.mockup-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 9px;
  color: rgba(255,255,255,0.4);
}

.activity-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3EE089;
  box-shadow: 0 0 8px rgba(62,224,137,0.5);
  flex-shrink: 0;
}
.activity-dot.pulse {
  animation: mockup-pulse 2s ease-in-out infinite;
}
@keyframes mockup-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.mockup-progress {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.mockup-progress-bar {
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.mockup-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7C5CFF, #4F8CFF);
  animation: fill-progress 1.5s var(--ease-out) 1s forwards;
  width: 0;
}
@keyframes fill-progress {
  to { width: 45%; }
}

.mockup-base {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 10px;
  background: rgba(17,24,39,0.8);
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
}

.mockup-notch {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 0 0 4px 4px;
}

/* ── Floating Phone ── */
.mockup-phone {
  position: absolute;
  right: -12%;
  bottom: -8%;
  width: 28%;
  padding-top: 54%;
  border-radius: 16px;
  background: rgba(17,24,39,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(79,140,255,0.1);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: float-phone 4s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 12px;
  background: #000;
  border-radius: 0 0 8px 8px;
}

.phone-content {
  position: absolute;
  inset: 0;
  padding: 20px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-stat span {
  display: block;
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.phone-stat strong {
  font-size: 16px;
  font-weight: 800;
  color: #4F8CFF;
}

.phone-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
}
.phone-chart span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(79,140,255,0.5), rgba(79,140,255,0.1));
  height: 0;
  animation: grow-bar 0.6s var(--ease-out) 0.8s forwards;
}
.phone-chart span:nth-child(1) { --h: 60%; }
.phone-chart span:nth-child(2) { --h: 80%; }
.phone-chart span:nth-child(3) { --h: 45%; }
.phone-chart span:nth-child(4) { --h: 70%; }

/* ── Orb Effects ── */
.mockup-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.orb-1 {
  top: -8%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,92,255,0.15) 0%, transparent 70%);
  animation: orb-drift 6s ease-in-out infinite;
}
.orb-2 {
  bottom: 5%;
  left: -5%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(79,140,255,0.12) 0%, transparent 70%);
  animation: orb-drift 8s ease-in-out infinite reverse;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -10px) scale(1.1); }
  66% { transform: translate(-5px, 8px) scale(0.95); }
}

/* ── Responsive Hero ── */
@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-text h1 {
    font-size: clamp(42px, 8vw, 64px);
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 16px 0 8px;
    min-height: auto;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-btn {
    width: 100%;
    justify-content: center;
  }
  .hero-visual {
    max-width: 100%;
  }
  .mockup-phone {
    right: -4%;
    bottom: -6%;
    width: 24%;
  }
  .mockup-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .mockup-stat-card {
    padding: 6px;
  }
  .stat-value {
    font-size: 15px;
  }
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.badge-building {
  border-color: rgba(109, 93, 252, 0.35);
  background: rgba(109, 93, 252, 0.1);
  color: #D9D5FF;
}
.badge-green {
  border-color: rgba(62, 224, 137, 0.3);
  background: var(--green-soft);
  color: #A7F3D0;
}
.badge-blue {
  border-color: rgba(94, 212, 255, 0.3);
  background: var(--blue-soft);
  color: #BAE6FD;
}

/* ── Workspace Split ── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.42fr);
  gap: 14px;
  align-items: start;
}

/* ── Timeline ── */
.timeline { display: grid; gap: 0; padding: 4px 0; }

.event {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 24px 0;
}
.event:last-child { padding-bottom: 0; }

.event-dot {
  position: absolute;
  top: 7px;
  left: 106px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--bg);
  box-shadow: 0 0 16px rgba(109, 93, 252, 0.5);
  z-index: 1;
}

.event-line {
  position: absolute;
  top: 20px;
  bottom: 0;
  left: 111px;
  width: 1px;
  background: var(--border);
}
.event:last-child .event-line { display: none; }

.event time {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  padding-top: 3px;
}
.event-body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.event-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ── Command Center ── */
.cmd-center { padding: 20px; }
.cmd-center h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cmd-center > p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Tags ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s ease;
  cursor: default;
}
.tag:hover { border-color: var(--border-hover); color: var(--text); }

/* ── Cards Grid ── */
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.25s var(--ease-out);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 60px rgba(109, 93, 252, 0.05);
}
.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.card-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

/* ── Build Section (Sedang Saya Bangun) ── */
.build-section {
  position: relative;
}

.build-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.build-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.build-head p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
  max-width: 480px;
}
.build-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
  text-decoration: none;
}
.build-link:hover { color: var(--primary); }

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.build-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transition: all 0.3s var(--ease-out);
}
.build-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.build-card:hover .build-icon {
  transform: scale(1.05);
}
.build-card-link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.build-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--icon-clr);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.build-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.build-top h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.build-cat {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  color: var(--cat-clr);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.build-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.build-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.build-track {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.build-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: 0;
  background: var(--bar);
  box-shadow: 0 0 12px var(--bar);
  transition: width 1s var(--ease);
}
.build-fill.animated { width: var(--w); }

.build-pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}

/* ── Progress Bars ── */
.progress {
  height: 6px;
  margin-top: 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  transition: width 0.8s var(--ease);
  width: 0;
}
.progress-fill.animated { width: var(--w); }

/* ── Roadmap ── */
.roadmap-list { display: grid; gap: 10px; }
.road-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s;
}
.road-item:hover { border-color: var(--border-hover); }
.road-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.road-check.muted { background: rgba(255, 255, 255, 0.04); color: var(--muted); }
.road-item strong { font-size: 14px; font-weight: 600; }
.road-mini {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Status / Side ── */
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.status-line::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(62, 224, 137, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

.status-offline {
  color: #64748b;
}
.status-offline::before {
  background: #64748b;
  box-shadow: none;
  animation: none;
}

.side-status p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.side-tags span {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s var(--ease-out);
}
.btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-hover); }
.btn-primary {
  background: var(--primary);
  border-color: rgba(109, 93, 252, 0.5);
  box-shadow: 0 0 30px rgba(109, 93, 252, 0.2);
}
.btn-primary:hover { background: #7D6FFD; box-shadow: 0 0 40px rgba(109, 93, 252, 0.3); }

/* ── Command Trigger ── */
.cmd-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  max-width: 520px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(17, 24, 39, 0.7);
  color: var(--muted);
  font-size: 13.5px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cmd-trigger:hover { border-color: var(--border-hover); box-shadow: 0 0 0 1px rgba(109, 93, 252, 0.15); }
.cmd-trigger .icon { font-size: 16px; opacity: 0.6; flex-shrink: 0; }
.cmd-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd-kbd {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 10.5px;
  font-family: JetBrains Mono, monospace;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.top-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Command Palette Modal ── */
.cmd-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: start center;
  padding: 10vh 16px 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cmd-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cmd-modal {
  width: min(580px, 100%);
  max-height: min(480px, 70vh);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s var(--ease);
}
.cmd-overlay.open .cmd-modal {
  transform: translateY(0) scale(1);
}
.cmd-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.cmd-input-wrap .icon { font-size: 18px; opacity: 0.4; flex-shrink: 0; }
.cmd-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.cmd-input::placeholder { color: var(--muted); }
.cmd-results {
  overflow-y: auto;
  padding: 6px;
}
.cmd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.1s ease;
}
.cmd-item:hover,
.cmd-item.highlighted { background: rgba(109, 93, 252, 0.12); color: var(--text); }
.cmd-item .icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.cmd-item .kbd { margin-left: auto; font-family: JetBrains Mono, monospace; font-size: 10px; color: var(--muted); opacity: 0.5; flex-shrink: 0; }

/* ── Command Palette Search Button ── */
.cmd-search-btn {
  padding: 6px 14px;
  border: none;
  border-radius: var(--radius-xs);
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.cmd-search-btn:hover { opacity: 0.85; }

/* ── Command Palette Filter Chips ── */
.cmd-filters {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  flex-shrink: 0;
}
.cmd-filters::-webkit-scrollbar { height: 0; }
.cmd-filter {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.cmd-filter:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(124, 92, 255, 0.08);
}
.cmd-filter.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ===== Workspace Section ===== */
.workspace-section {
  padding: 20px 0 16px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.workspace-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: all 0.3s var(--ease-out);
}

.ws-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.ws-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ws-card-head h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ws-dot {
  font-size: 10px;
  color: var(--primary);
  flex-shrink: 0;
}

.ws-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.ws-link:hover {
  color: var(--primary);
}

/* Skills */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.skill-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-icon {
  color: var(--primary);
  opacity: 0.8;
  flex-shrink: 0;
}

.skill-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.skill-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-track {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.skill-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: 0;
  background: linear-gradient(90deg, #7C4DFF, #9C6BFF);
  box-shadow: 0 0 12px var(--primary);
  transition: width 1s var(--ease);
}

.skill-fill.animated { width: var(--w); }

.skill-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  min-width: 32px;
  text-align: right;
}

/* Toolkit Pills */
.toolkit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-pill {
  display: inline-flex;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  transition: all 0.25s var(--ease-out);
  cursor: default;
}

.tl-pill:hover {
  color: var(--text);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(124,77,255,0.2);
  transform: scale(1.04);
}

.tl-ai {
  border-color: rgba(124,77,255,0.2);
  background: rgba(124,77,255,0.06);
  color: #A78BFA;
}

.tl-ai:hover {
  border-color: rgba(124,77,255,0.5);
  box-shadow: 0 0 20px rgba(124,77,255,0.25);
}

/* Focus Card */
.ws-focus {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-focus h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.ws-focus p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== Assets / Product Section ===== */
.assets-section {
  padding: 20px 0 16px;
}

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

.assets-section .section-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.assets-section .section-head h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.product-price {
  font-size: 13px;
  font-weight: 500;
  color: #60A5FA;
}

/* More card CTA */
.product-card-more {
  border: 1px dashed rgba(255,255,255,0.12);
  cursor: pointer;
}

.product-card-more:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(124,77,255,0.2);
}

.more-thumb {
  background: rgba(124,77,255,0.08);
  border: none;
}

.product-card-more:hover .more-thumb {
  transform: none;
}

.more-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(124,77,255,0.15);
  color: var(--primary);
  box-shadow: 0 0 24px rgba(124,77,255,0.2);
  transition: all 0.3s var(--ease-out);
}

.product-card-more:hover .more-icon {
  background: rgba(124,77,255,0.25);
  box-shadow: 0 0 40px rgba(124,77,255,0.4);
  transform: scale(1.06);
}

.product-link {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-link:hover {
  color: var(--text);
}

/* ===== Notes Section ===== */
.notes-section {
  padding: 20px 0 16px;
}

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

.notes-section .section-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notes-section .section-head h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.note-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease-out);
  min-height: 220px;
}

.note-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(124,77,255,0.12);
}

.note-date {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.01em;
}

.note-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.note-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}

.note-cat {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.cat-blue {
  color: #60A5FA;
  background: rgba(96,165,250,0.12);
}

.cat-green {
  color: #34D399;
  background: rgba(52,211,153,0.12);
}

.cat-yellow {
  color: #FBBF24;
  background: rgba(251,191,36,0.12);
}

.cat-purple {
  color: #A78BFA;
  background: rgba(167,139,250,0.12);
}

.note-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.25);
  transition: all 0.3s var(--ease-out);
}

.note-card:hover .note-arrow {
  color: var(--text);
  transform: translateX(4px);
}

/* ===== CTA / Now Section ===== */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 20px 0 16px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  min-height: 100px;
  border-radius: 16px;
  background: linear-gradient(135deg, #08111f, #050814);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.cta-glow-left {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-glow-right {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(96,165,250,0.12);
  color: #60A5FA;
  flex-shrink: 0;
}

.cta-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.cta-text p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #8B5CF6, #A855F7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  flex-shrink: 0;
}

.cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(139,92,246,0.35);
}

.cta-btn svg {
  transition: transform 0.25s var(--ease-out);
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

.focus-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124,77,255,0.15);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(124,77,255,0.25);
  flex-shrink: 0;
}

/* Contact sidebar active state */
.page-contact .contact-link {
  background: rgba(109, 93, 252, 0.14);
  color: var(--text);
  font-weight: 600;
  position: relative;
}
.page-contact .contact-link::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* ===== Contact Page ===== */
.contact-page {
  padding: 16px 0 24px;
}

.contact-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.contact-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,77,255,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #8B5CF6, #A855F7);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  align-self: flex-start;
}

.form-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(139,92,246,0.35);
}

.form-submit svg {
  transition: transform 0.25s var(--ease-out);
}

.form-submit:hover svg {
  transform: translateX(3px);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.contact-channel:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.channel-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.channel-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.channel-body p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.channel-action {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s ease;
}

.contact-channel:hover .channel-action {
  color: #A78BFA;
}

/* Error page */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  gap: 12px;
}

.error-code {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.6;
}

.error-page h2 {
  font-size: 20px;
  font-weight: 700;
}

.error-page p {
  color: var(--muted);
  font-size: 14px;
  max-width: 360px;
}

/* Form success */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  color: #34D399;
}

.form-success h3 {
  font-size: 18px;
  font-weight: 700;
}

.form-success p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 320px;
}

/* ── Dashboard ── */
.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.dash-head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dash-head p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 2px;
}

.dash-logout {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  font-size: 12.5px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s;
}

.dash-logout:hover {
  border-color: rgba(239,68,68,0.3);
  color: #F87171;
  background: rgba(239,68,68,0.06);
}

/* Session Timeout Bar */
.dash-timeout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 12.5px;
  color: var(--muted);
}

.dash-timeout strong {
  color: #FBBF24;
  font-family: JetBrains Mono, monospace;
  font-size: 13px;
}

.dash-timeout-track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.dash-timeout-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
  transition: width 1s linear;
}

/* Tab Navigation */
.dash-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.dash-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}

.dash-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.dash-tab.active {
  color: #fff;
  background: rgba(124,92,255,0.15);
  border: 1px solid rgba(124,92,255,0.2);
}

.dash-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  margin-left: 4px;
}

/* Dashboard Content */
.dash-content {
  min-height: 300px;
}

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

.dash-section-head h3 {
  font-size: 16px;
  font-weight: 700;
}

.dash-badge {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(124,92,255,0.1);
  color: #A78BFA;
  font-weight: 600;
}

/* Stats Grid */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.dash-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(17,24,39,0.5);
}

.dash-card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.dash-card-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-card-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-card-sub {
  font-size: 12px;
  color: var(--muted);
}

/* ── Analytics Dashboard ── */
.dash-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dash-card-full {
  grid-column: span 1;
}
.dash-card-full:first-child:nth-last-child(1) {
  grid-column: span 2;
}
.dash-card-wide {
  grid-column: span 2;
}
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.02);
  transition: background 0.15s;
}
.dash-list-item:hover {
  background: rgba(255,255,255,0.04);
}
.dash-list-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-width: 24px;
  opacity: 0.5;
}
.dash-list-info {
  flex: 1;
  min-width: 0;
}
.dash-list-info strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-list-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-list-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Messages Dashboard ── */
.msg-unread td:first-child {
  position: relative;
}
.msg-unread td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.msg-row td {
  vertical-align: middle;
}
.msg-detail-row td {
  border-bottom: 1px solid var(--border);
}
.dash-btn-sm {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.dash-btn-sm:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .dash-analytics-grid {
    grid-template-columns: 1fr;
  }
}

/* Log Search */
.dash-log-search {
  margin-bottom: 12px;
}
.dash-log-filter {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface-2, #151D31);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}
.dash-log-filter:focus {
  border-color: var(--primary);
}
.dash-log-filter::placeholder {
  color: var(--muted);
}

/* Table */
.dash-table-wrap {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.dash-table th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dash-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: top;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.dash-cell-time {
  white-space: nowrap;
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  color: var(--muted);
}

.dash-cell-detail {
  max-width: 360px;
  word-break: break-word;
}

.dash-cell-ip {
  font-family: JetBrains Mono, monospace;
  font-size: 11px;
  color: var(--muted);
}

.dash-event-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(124,92,255,0.1);
  color: #A78BFA;
}

.dash-event-badge.badge-warn {
  background: rgba(239,68,68,0.1);
  color: #F87171;
}

.dash-event-badge.badge-auth {
  background: rgba(52,211,153,0.1);
  color: #34D399;
}

.dash-log-preview {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}

.dash-log-footer {
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.dash-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.dash-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
}

.dash-link:hover {
  color: #fff;
}

/* Messages */
.dash-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.dash-message-success {
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  color: #34D399;
}

.dash-message-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #F87171;
}

/* SEO Form */
.dash-seo-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-seo-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(17,24,39,0.4);
}

.dash-seo-group h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.dash-seo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dash-seo-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dash-seo-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.dash-seo-field input,
.dash-seo-field textarea {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.dash-seo-field input:focus,
.dash-seo-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.12);
}

.dash-seo-hint {
  font-size: 11px;
  color: var(--muted);
}

/* Privacy Mode */
.mask-sensitive {
  filter: blur(0px);
  transition: filter 0.4s ease;
}

.privacy-active .mask-sensitive {
  filter: blur(6px);
  user-select: none;
  transition: filter 0.25s ease;
  cursor: default;
}

.privacy-active .mask-sensitive:hover {
  filter: blur(0);
}

.dash-privacy.active {
  background: rgba(124,92,255,0.12);
  border-color: rgba(124,92,255,0.3);
  color: #A78BFA;
}

.dash-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dashboard responsive */
@media (max-width: 1120px) {
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-seo-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .dash-head { flex-direction: column; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-tabs { flex-direction: column; }
  .dash-table { font-size: 11px; }
  .dash-table th, .dash-table td { padding: 8px 10px; }
  .dash-cell-detail { max-width: 140px; }
}

/* ── Dashboard: Workspace Form ── */
.skill-row-item {
  display: flex;
  gap: 12px;
}
.skill-row-item .dash-seo-field label {
  font-size: 0.75rem;
  display: block;
  margin-bottom: 4px;
  color: var(--muted, #94a3b8);
}
.skill-row-item input {
  width: 100%;
}
.btn-secondary {
  background: rgba(124,92,255,0.08);
  color: #A78BFA;
  border: 1px solid rgba(124,92,255,0.2);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: rgba(124,92,255,0.18);
}

/* ── Project Listing Page ── */
.proj-list-page {
  padding: 10px 0 60px;
}
.proj-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}
.proj-list-head h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 6px;
}
.proj-list-head p {
  color: var(--muted, #94a3b8);
  margin-top: 4px;
}
.proj-stats {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.proj-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.proj-card-full {
  background: var(--surface, #111827);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: all 0.25s ease;
  overflow: hidden;
}
.proj-card-full:hover {
  border-color: rgba(124,92,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.proj-card-link {
  display: block;
  padding: 22px;
  text-decoration: none;
  color: inherit;
}
.proj-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.proj-cat {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--cat-clr) 12%, transparent);
  color: var(--cat-clr);
}
.proj-status {
  font-size: 0.7rem;
  color: var(--muted);
}
.proj-card-full h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.proj-card-full p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tech-pill {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.tech-more {
  background: rgba(124,92,255,0.08);
  color: #A78BFA;
  border-color: rgba(124,92,255,0.15);
}
.proj-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.proj-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.proj-progress-fill {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--bar, #7C5CFF);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.proj-progress-pct {
  font-size: 0.8rem;
  color: var(--muted);
  min-width: 32px;
  text-align: right;
}

/* ── Project Detail Page ── */
.proj-detail-page {
  padding: 10px 0 60px;
}
.proj-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.proj-detail-breadcrumb a {
  color: var(--accent, #A78BFA);
  text-decoration: none;
}
.proj-detail-breadcrumb a:hover {
  text-decoration: underline;
}
.proj-detail-hero {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.proj-detail-info {
  flex: 1;
}
.proj-detail-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px 0 16px;
  line-height: 1.2;
}
.proj-detail-info p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}
.proj-detail-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.proj-detail-progress-card {
  flex-shrink: 0;
  text-align: center;
  background: var(--surface, #111827);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 32px;
  min-width: 180px;
}
.proj-detail-progress-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.proj-ring {
  position: relative;
}
.proj-ring-label {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: -56px;
  padding-bottom: 24px;
}
.proj-status-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}
.proj-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.proj-detail-section {
  margin-bottom: 32px;
}
.proj-detail-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.proj-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-pill-lg {
  font-size: 0.8rem;
  padding: 5px 14px;
}
.proj-feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.proj-feature-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.proj-problem-list,
.proj-solution-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj-problem-list li,
.proj-solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.proj-problem-list li svg,
.proj-solution-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.proj-timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.06);
}
.proj-timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}
.proj-timeline-dot {
  position: absolute;
  left: -29px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.proj-timeline-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}
.proj-timeline-badge {
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(62,224,137,0.12);
  color: #3EE089;
  font-weight: 500;
  flex-shrink: 0;
}
.badge-wip {
  background: rgba(246,200,95,0.12);
  color: #F6C85F;
}
.badge-planned {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.proj-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.proj-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .proj-detail-hero { flex-direction: column; }
  .proj-detail-grid { grid-template-columns: 1fr; }
  .proj-grid-full { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   Assets List Page
   ════════════════════════════════════════ */

.assets-list-page {
  padding: 32px 0;
}

.assets-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.assets-list-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 8px;
}

.assets-list-head p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.assets-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.asset-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.asset-card-full {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
}

.asset-card-full:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.asset-card-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.asset-card-top {
  padding: 14px 16px 0;
}

.asset-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  background: rgba(124, 77, 255, 0.12);
  color: var(--cat-clr, #7C5CFF);
}

.asset-card-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  margin: 14px 16px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}

.asset-card-full:hover .asset-card-thumb {
  transform: scale(1.04);
}

.asset-card-full h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  padding: 0 16px;
  letter-spacing: -0.01em;
}

.asset-card-full p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding: 6px 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asset-card-footer {
  padding: 12px 16px 16px;
}

.asset-price {
  font-size: 15px;
  font-weight: 700;
  color: #60A5FA;
}

/* ════════════════════════════════════════
   Asset Detail Page
   ════════════════════════════════════════ */

.asset-detail-page {
  padding: 32px 0;
}

.asset-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.asset-detail-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.asset-detail-breadcrumb a:hover {
  color: var(--text);
}

.asset-detail-hero {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.asset-detail-thumb {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.asset-detail-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  color: #fff;
  letter-spacing: 0.02em;
}

.asset-detail-info {
  flex: 1;
  min-width: 0;
}

.asset-detail-info h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.asset-detail-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.asset-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.asset-price-lg {
  font-size: 24px;
  font-weight: 700;
  color: #60A5FA;
}

.asset-detail-section {
  margin-bottom: 40px;
}

.asset-detail-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.asset-feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.asset-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.asset-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.asset-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.asset-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .asset-grid-full { grid-template-columns: repeat(2, 1fr); }
  .asset-detail-hero { flex-direction: column; }
  .asset-detail-thumb { width: 100%; height: auto; aspect-ratio: 16/9; }
  .asset-feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .asset-grid-full { grid-template-columns: 1fr; }
  .asset-gallery { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   Notes List Page
   ════════════════════════════════════════ */

.notes-list-page {
  padding: 32px 0;
}

.notes-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.notes-list-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 8px;
}

.notes-list-head p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.notes-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.note-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.note-card-full {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease-out);
}

.note-card-full:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 12px 40px rgba(124,77,255,0.12);
}

.note-full-date {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.01em;
}

.note-card-full h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.note-card-full > p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.note-full-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.note-read-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.2s;
}

.note-card-full:hover .note-read-more {
  transform: translateX(4px);
}

/* ════════════════════════════════════════
   Note Detail Page
   ════════════════════════════════════════ */

.note-detail-page {
  padding: 32px 0;
  max-width: 800px;
}

.note-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.note-detail-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.note-detail-breadcrumb a:hover {
  color: var(--text);
}

.note-detail-article {
  margin-bottom: 48px;
}

.note-detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.note-detail-header .note-cat {
  display: inline-block;
  margin-bottom: 12px;
}

.note-detail-date {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.note-detail-header h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}

.note-detail-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.note-detail-source {
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.15);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13.5px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.note-source-label {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.note-source-value {
  color: var(--muted);
  line-height: 1.5;
}

.note-detail-body {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.8;
}

.note-detail-body p {
  margin-bottom: 16px;
}

/* ── Insight / Comments Section ── */

.note-insights-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.note-insights-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.note-insights-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.note-insight-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.note-insight-row {
  width: 100%;
}

.note-insight-input,
.note-insight-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.25s;
}

.note-insight-input:focus,
.note-insight-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.15);
}

.note-insight-textarea {
  resize: vertical;
  min-height: 80px;
}

.note-insights-list {
  margin-top: 24px;
}

.note-insights-list h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.note-insight-item {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 12px;
}

.note-insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.note-insight-head strong {
  font-size: 14px;
  color: var(--text);
}

.note-insight-time {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.note-insight-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.note-detail-page .dash-message {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}

.note-detail-page .dash-message-success {
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  color: #34D399;
}

.note-detail-page .dash-message-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #F87171;
}

/* ── Chat / Percakapan ── */
.trx-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
}
.trx-chat::-webkit-scrollbar { width: 3px; }
.trx-chat::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.trx-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}
.trx-msg-buyer {
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom-left-radius: 4px;
}
.trx-msg-admin {
  align-self: flex-end;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.15);
  border-bottom-right-radius: 4px;
}
.trx-msg-body { white-space: pre-wrap; word-break: break-word; }
.trx-msg-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  font-size: 10.5px;
  color: rgba(255,255,255,0.3);
}
.trx-msg-meta strong { font-weight: 600; color: rgba(255,255,255,0.45); }

.trx-chat-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2, #151D31);
  color: var(--text);
  font-size: 13px;
  resize: vertical;
  outline: none;
  transition: border .2s;
  box-sizing: border-box;
}
.trx-chat-form textarea:focus { border-color: var(--primary); }
.trx-chat-form button {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.trx-chat-form button:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .note-grid-full { grid-template-columns: 1fr; }
  .note-detail-header h1 { font-size: 24px; }
  .note-detail-body { font-size: 14.5px; }
}

/* ── Order Page ── */
.order-page { max-width: 720px; margin: 0 auto; padding: 20px 20px 60px; }
.order-product-summary { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.order-product-thumb { width: 80px; height: 80px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.order-product-price { font-size: 16px; font-weight: 700; color: #fff; }
.order-form { display: flex; flex-direction: column; gap: 18px; max-width: 480px; }
.order-field { display: flex; flex-direction: column; gap: 6px; }
.order-field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.order-field input { padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2, #151D31); color: var(--text); font-size: 14px; outline: none; transition: border .2s; }
.order-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,92,255,0.12); }

/* ── Order Success ── */
.order-success { padding: 32px; border-radius: 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.order-success-icon { margin-bottom: 16px; }
.order-success h2 { margin: 0 0 4px; font-size: 22px; }
.order-trx-id { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--primary); background: rgba(124,92,255,0.1); display: inline-block; padding: 8px 20px; border-radius: 8px; margin: 16px 0 24px; font-family: 'JetBrains Mono', monospace; }
.order-detail-card { text-align: left; background: rgba(255,255,255,0.02); border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; }
.order-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 14px; }
.order-detail-row:last-child { border-bottom: none; }
.order-detail-row span { color: var(--muted); }
.order-detail-row strong { color: var(--text); }
.order-status { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.order-status-pending { background: rgba(246,200,95,0.12); color: #F6C85F; }
.order-status-waiting { background: rgba(94,212,255,0.12); color: #5ED4FF; }
.order-status-confirmed { background: rgba(124,92,255,0.12); color: #A78BFA; }
.order-status-completed { background: rgba(62,224,137,0.12); color: #3EE089; }
.order-status-cancelled { background: rgba(251,113,133,0.12); color: #FB7185; }

/* ── Payment Info ── */
.order-payment-info { text-align: left; padding: 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); }
.order-payment-info h4 { margin: 0 0 8px; font-size: 15px; }
.order-payment-info p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
.order-bank { display: flex; gap: 12px; align-items: center; padding: 10px 14px; background: rgba(255,255,255,0.03); border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.order-bank strong { color: var(--accent); min-width: 60px; }
.order-bank small { color: var(--muted); }

/* ── Transaction Timeline ── */
.trx-timeline { position: relative; padding-left: 24px; text-align: left; }
.trx-timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: rgba(255,255,255,0.08); }
.trx-timeline-item { position: relative; padding: 0 0 20px; }
.trx-timeline-item:last-child { padding-bottom: 0; }
.trx-timeline-dot { position: absolute; left: -20px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg); }
.trx-timeline-content { display: flex; flex-direction: column; gap: 2px; }
.trx-timeline-content strong { font-size: 14px; color: var(--text); }
.trx-timeline-content span { font-size: 13px; color: var(--muted); }
.trx-timeline-content small { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ── Badge Colors ── */
.badge-green { background: rgba(62,224,137,0.12) !important; color: #3EE089 !important; }

@media (max-width: 768px) {
  .order-page { padding: 16px; }
  .order-product-summary { flex-direction: column; text-align: center; }
  .order-detail-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .order-success { padding: 20px; }
  .order-trx-id { font-size: 16px; }
}
