/* ===== NAV XP ===== */
.nav-xp {
  background: linear-gradient(135deg, #5b5ef4, #7209b7);
  color: white; font-weight: 800; font-size: 0.8rem;
  padding: 0.3rem 0.8rem; border-radius: 50px;
  box-shadow: 0 2px 8px rgba(91,94,244,0.25);
}

/* ===== HERO ===== */
.ep-hero {
  padding: 3.5rem 4rem 2.5rem; text-align: center;
  background:
    radial-gradient(ellipse 55% 50% at 15% 25%, rgba(91,94,244,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 82% 30%, rgba(236,72,153,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 85%, rgba(124,58,237,0.06) 0%, transparent 70%),
    linear-gradient(145deg, #eef0ff 0%, #f5e8ff 35%, #fce7ff 55%, #fff0e8 100%);
  position: relative;
  overflow: hidden;
}
.ep-hero::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(91,94,244,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.ep-hero::after {
  content: '';
  position: absolute; bottom: -35px; left: -35px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.ep-hero h1 {
  font-size: 2.2rem; font-weight: 900; margin-bottom: 0.5rem;
  position: relative; z-index: 1;
}
.ep-hero p {
  color: var(--muted); font-size: 1.05rem;
  max-width: 600px; margin: 0 auto;
  position: relative; z-index: 1;
}

/* ===== CONTAINER / SECTION ===== */
.ep-container { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
.ep-section {
  background:
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(91,94,244,0.02) 0%, transparent 70%),
    #fafaff;
}
.ep-section:nth-child(even) {
  background:
    radial-gradient(ellipse 40% 40% at 20% 50%, rgba(236,72,153,0.02) 0%, transparent 70%),
    white;
}

/* ===== CARD ===== */
.ep-card {
  background: white; border-radius: 20px; padding: 2rem;
  box-shadow: 0 4px 24px rgba(91,94,244,0.06);
  border: 1px solid rgba(91,94,244,0.08);
  position: relative;
  overflow: hidden;
}
.ep-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5b5ef4, #7c3aed, #ec4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ep-card:hover::after { transform: scaleX(1); }
.ep-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.ep-card-title {
  font-size: 1.3rem; font-weight: 900; text-align: left;
  background: none; -webkit-text-fill-color: var(--text);
  margin-bottom: 0.5rem;
}
.ep-card-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }

/* ===== EXAM PICKER ===== */
.ep-exam-picker {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.ep-exam-option {
  padding: 1.2rem 0.8rem; border-radius: 18px;
  border: 2.5px solid #e8eaff; background: #fafbff;
  text-align: center; cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.ep-exam-option::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5b5ef4, #7c3aed);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ep-exam-option:hover {
  border-color: #5b5ef4; background: #f0f2ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(91,94,244,0.15);
}
.ep-exam-option:hover::after { transform: scaleX(1); }
.ep-exam-option.selected {
  border-color: #5b5ef4;
  background: linear-gradient(135deg, #5b5ef4, #7209b7);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(91,94,244,0.3);
}
.ep-exam-option.selected::after { transform: scaleX(0); }
.ep-exam-option.selected .ep-exam-icon,
.ep-exam-option.selected .ep-exam-name,
.ep-exam-option.selected .ep-exam-when { color: white; }
.ep-exam-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.ep-exam-name { font-weight: 900; font-size: 0.88rem; margin-bottom: 0.15rem; }
.ep-exam-when { font-size: 0.72rem; color: #94a3b8; font-weight: 700; }

/* ===== EXAM DETAILS ===== */
.ep-details {
  border-top: 2px solid #f0f2ff; padding-top: 1.5rem;
  animation: fadeSlideDown 0.3s ease;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ep-details-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ep-details-badge {
  background: linear-gradient(135deg, #5b5ef4, #7209b7);
  color: white; font-weight: 900; font-size: 0.82rem;
  padding: 0.35rem 0.9rem; border-radius: 50px;
  box-shadow: 0 3px 12px rgba(91,94,244,0.25);
}
.ep-details-lang {
  font-weight: 800; font-size: 0.88rem; color: #64748b;
}
.ep-auto-tag {
  font-size: 0.68rem; font-weight: 700;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  padding: 0.15rem 0.5rem; border-radius: 50px;
  margin-left: 0.4rem;
  border: 1px solid rgba(6,214,160,0.15);
}
.ep-countdown-inline {
  font-size: 1.4rem; font-weight: 900;
  padding: 0.5rem 1rem; border-radius: 14px;
  background: #fafbff; border: 2px solid #e8eaff;
  text-align: center;
}

/* ===== SYLLABUS CHIPS ===== */
.ep-syllabus-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ep-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.85rem; border-radius: 50px;
  background: linear-gradient(135deg, #f0f2ff, #ede9fe);
  border: 1.5px solid #e8eaff;
  font-size: 0.82rem; font-weight: 700; color: #334155;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ep-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(91,94,244,0.1);
}
.ep-chip-custom {
  background: linear-gradient(135deg, #fef7f0, #fff1e6);
  border-color: #fed7aa;
  color: #c2410c;
}
.ep-chip-x {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: #94a3b8; padding: 0;
  line-height: 1; transition: all 0.2s;
}
.ep-chip-x:hover { color: #ef4444; transform: scale(1.15); }
.ep-input-sm {
  padding: 0.55rem 0.85rem; font-size: 0.85rem;
}

/* ===== ACTIONS ===== */
.ep-actions {
  display: flex; gap: 0.75rem; margin-top: 1.25rem;
  align-items: center;
}
.ep-reset-btn {
  font-size: 0.85rem; padding: 0.65rem 1.2rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ep-reset-btn:hover { transform: translateY(-2px); }

/* ===== FORM ===== */
.ep-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.ep-field { margin-bottom: 0.5rem; }
.ep-field label {
  display: flex; align-items: center; gap: 0.3rem;
  font-weight: 800; font-size: 0.82rem;
  margin-bottom: 0.35rem; color: var(--text);
}
.ep-select, .ep-input {
  width: 100%; padding: 0.7rem 1rem;
  border: 2px solid #e8eaff; border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: 0.92rem; font-weight: 700;
  color: var(--text); background: white; outline: none;
  transition: all 0.25s; appearance: none;
}
.ep-select:focus, .ep-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91,94,244,0.08);
}
.ep-schedule-btn {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #5b5ef4, #7c3aed);
  box-shadow: 0 4px 16px rgba(91,94,244,0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ep-schedule-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,94,244,0.4);
}

/* ===== COUNTDOWN ===== */
.ep-countdown {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white; font-weight: 900; font-size: 0.85rem;
  padding: 0.4rem 1rem; border-radius: 50px;
  box-shadow: 0 4px 16px rgba(247,37,133,0.3);
}

/* ===== PLAN GRID ===== */
.ep-plan-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.plan-day {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; border-radius: 18px;
  border: 1px solid rgba(91,94,244,0.08);
  background: white;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.plan-day::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #5b5ef4, #ec4899);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.plan-day:hover {
  border-color: rgba(91,94,244,0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(91,94,244,0.08);
}
.plan-day:hover::after { transform: scaleY(1); }
.plan-day-num {
  min-width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.88rem; flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(91,94,244,0.25);
}
.plan-day-info { flex: 1; }
.plan-day-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.2rem; }
.plan-day-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.plan-day-tag {
  font-size: 0.7rem; font-weight: 800;
  padding: 0.2rem 0.6rem; border-radius: 50px;
  background: linear-gradient(135deg, rgba(6,214,160,0.12), rgba(16,185,129,0.08));
  color: #059669;
  display: inline-block; margin-top: 0.3rem;
  border: 1px solid rgba(6,214,160,0.15);
}
.plan-motivation {
  text-align: center; font-weight: 800; font-size: 1rem;
  color: #5b5ef4; padding: 1.25rem; margin-top: 0.5rem;
  background: linear-gradient(135deg, #f5f6ff, #f0eeff);
  border-radius: 14px;
  border: 1px solid rgba(91,94,244,0.06);
}

/* ===== MOCK TEST ===== */
.ep-mock-section {
  background:
    radial-gradient(ellipse 50% 50% at 30% 40%, rgba(91,94,244,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 70%, rgba(236,72,153,0.04) 0%, transparent 70%),
    linear-gradient(160deg, #f0f2ff 0%, #fce4ff 100%) !important;
}
.mock-progress { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.mock-bar {
  flex: 1; height: 8px; background: #eeeeff;
  border-radius: 50px; overflow: hidden;
}
.mock-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.4s ease; width: 10%;
}
.mock-count { font-size: 0.82rem; font-weight: 800; color: var(--muted); }
.mock-question {
  font-size: 1.15rem; font-weight: 800; margin-bottom: 1.25rem;
  color: var(--text); line-height: 1.6;
}
.mock-options { display: flex; flex-direction: column; gap: 0.6rem; }
.mock-opt {
  padding: 0.85rem 1.2rem; border-radius: 14px;
  border: 2px solid #e8eaff; background: white;
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: left;
  font-family: 'Nunito', sans-serif; color: var(--text);
  position: relative;
  overflow: hidden;
}
.mock-opt::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, #5b5ef4, #7c3aed);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.mock-opt:hover {
  border-color: var(--primary); background: #f5f6ff;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(91,94,244,0.08);
}
.mock-opt:hover::before { transform: scaleY(1); }
.mock-opt.correct { background: #ecfdf5; border-color: var(--green); }
.mock-opt.wrong { background: #fef2f2; border-color: #f87171; }
.mock-feedback {
  text-align: center; font-weight: 800; font-size: 0.95rem;
  margin-top: 1rem; min-height: 1.5rem;
}
.mock-result-card { text-align: center; padding: 2rem 0; }
.mock-score {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.mock-msg { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }

/* ===== REVISION SHEET ===== */
.ep-revision-sheet {
  background:
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(91,94,244,0.02) 0%, transparent 70%),
    white !important;
}
.ep-sheet-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.sheet-card {
  background: #fafaff; border-radius: 20px; padding: 1.5rem;
  border: 1px solid rgba(91,94,244,0.08);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.sheet-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5b5ef4, #7c3aed, #ec4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sheet-card:hover {
  border-color: rgba(91,94,244,0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(91,94,244,0.1);
}
.sheet-card:hover::after { transform: scaleX(1); }
.sheet-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.sheet-card h4 { font-size: 1rem; font-weight: 900; margin-bottom: 0.75rem; }
.sheet-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.sheet-list li {
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
  padding-left: 1rem; position: relative;
}
.sheet-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: linear-gradient(135deg, #5b5ef4, #7c3aed);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ep-hero { padding: 2rem 1.5rem 1.5rem; }
  .ep-hero h1 { font-size: 1.6rem; }
  .ep-container { padding: 1.5rem 1rem; }
  .ep-card { padding: 1.25rem; }
  .ep-form-row { grid-template-columns: 1fr; }
  .ep-exam-picker { grid-template-columns: repeat(2, 1fr); }
  .ep-sheet-grid { grid-template-columns: 1fr; }
  .plan-day { flex-direction: column; gap: 0.5rem; }
  .ep-actions { flex-direction: column; }
}
