.dashboard-greeting {
  margin-bottom: 20px;
}

.dashboard-greeting h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.dashboard-greeting p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.btn-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #050226,
    #070517
  );
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.btn-icon:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.stat-card-icon {
  margin-bottom: 2px;
}

.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Fluency ring */
.fluency-ring-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.fluency-ring-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.fluency-ring-val {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* AI Call Banner */
.ai-call-banner {
  background: linear-gradient(135deg, #191348, #4338A8);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.ai-call-banner::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
}

.ai-call-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(17, 17, 40, 0.4);
}

.ai-call-banner:active {
  transform: translateY(0);
}

.ai-call-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-call-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.ai-call-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.ai-call-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background var(--transition);
  flex-shrink: 0;
}

.ai-call-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Today's Plan */
.plan-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.plan-item:hover {
  border-color: var(--border-light);
  background: var(--bg-card);
}

.plan-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-item-info {
  flex: 1;
}

.plan-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.plan-item-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.plan-item-progress {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Sora', sans-serif;
}

.plan-item-progress.done {
  color: var(--success);
}

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

/* Dashboard Roadmap Flow styling */
.dash-roadmap-flow {
  background: var(--bg-card2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-xl, 16px);
  padding: 20px 16px;
  margin-bottom: 20px;
}

.dash-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  overflow-x: auto;
  padding: 6px 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.dash-flow-steps::-webkit-scrollbar {
  display: none;
}

.dash-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dash-flow-step:hover {
  transform: translateY(-1px);
}

.dash-flow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid var(--border, rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #737373);
  transition: all 0.25s ease;
}

.dash-flow-step span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted, #737373);
  transition: color 0.25s ease;
}

/* Line connecting steps */
.dash-flow-line {
  flex: 1;
  height: 2px;
  background: var(--border, rgba(255, 255, 255, 0.08));
  min-width: 16px;
  transition: background-color 0.25s ease;
}

/* Active State */
.dash-flow-step.active .dash-flow-circle {
  background: rgba(108, 99, 255, 0.15);
  border-color: var(--purple-main, #6C63FF);
  color: var(--purple-main, #6C63FF);
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.2);
}

.dash-flow-step.active span {
  color: #fff;
}

/* Completed State */
.dash-flow-step.completed .dash-flow-circle {
  background: rgba(34, 216, 122, 0.15);
  border-color: var(--success, #22d87a);
  color: var(--success, #22d87a);
  box-shadow: 0 0 12px rgba(34, 216, 122, 0.2);
}

.dash-flow-step.completed span {
  color: var(--success, #22d87a);
}

.dash-flow-line.active {
  background: var(--success, #22d87a);
}

/* Locked State */
.dash-flow-step.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .dash-flow-steps {
    justify-content: flex-start;
    gap: 12px;
  }
  .dash-flow-line {
    min-width: 24px;
  }
}