/* ================================================
   EduPortal Pro - Premium Frontend Styles
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ep-primary:      #6C63FF;
  --ep-primary-dark: #5046e4;
  --ep-gold:         #f5a623;
  --ep-gold-dark:    #d4891b;
  --ep-success:      #22c55e;
  --ep-danger:       #ef4444;
  --ep-bg:           #0f0f1a;
  --ep-surface:      #1a1a2e;
  --ep-surface2:     #16213e;
  --ep-border:       rgba(255,255,255,0.08);
  --ep-text:         #e2e8f0;
  --ep-text-muted:   #94a3b8;
  --ep-radius:       14px;
  --ep-radius-lg:    20px;
  --ep-shadow:       0 8px 32px rgba(0,0,0,0.4);
  --ep-glow:         0 0 24px rgba(108,99,255,0.25);
  --ep-transition:   all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* BASE */
.ep-auth-wrapper, .ep-pricing-wrapper, .ep-dashboard,
.ep-test-wrapper, .ep-pdf-viewer-wrapper {
  font-family: 'Inter', sans-serif;
  color: var(--ep-text);
  -webkit-font-smoothing: antialiased;
}

/* ── CARDS ── */
.ep-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 28px;
  box-shadow: var(--ep-shadow);
}
.ep-text-center { text-align: center; }

/* ── BUTTONS ── */
.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--ep-transition);
  white-space: nowrap;
}
.ep-btn-primary {
  background: linear-gradient(135deg, var(--ep-primary), var(--ep-primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(108,99,255,0.35);
}
.ep-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,99,255,0.5); color: #fff; }
.ep-btn-outline {
  background: transparent;
  color: var(--ep-primary);
  border: 2px solid var(--ep-primary);
}
.ep-btn-outline:hover { background: var(--ep-primary); color: #fff; transform: translateY(-2px); }
.ep-btn-gold {
  background: linear-gradient(135deg, var(--ep-gold), var(--ep-gold-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(245,166,35,0.35);
}
.ep-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,166,35,0.5); color: #fff; }
.ep-btn-danger { background: var(--ep-danger); color: #fff; }
.ep-btn-danger:hover { background: #c53030; }
.ep-btn-whatsapp { background: #25D366; color: #fff; }
.ep-btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.ep-btn-full { width: 100%; }
.ep-btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }

/* ── MESSAGES ── */
.ep-msg { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; display: none; }
.ep-msg.ep-success { background: rgba(34,197,94,0.15); border: 1px solid var(--ep-success); color: var(--ep-success); display: block; }
.ep-msg.ep-error   { background: rgba(239,68,68,0.15); border: 1px solid var(--ep-danger); color: var(--ep-danger); display: block; }

/* ── BADGES ── */
.ep-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.ep-badge-active { background: rgba(34,197,94,0.15); color: var(--ep-success); border: 1px solid var(--ep-success); }
.ep-badge-free   { background: rgba(148,163,184,0.15); color: var(--ep-text-muted); border: 1px solid var(--ep-border); }

/* ───────────────────────────────────────────────
   AUTH BOX
─────────────────────────────────────────────── */
.ep-auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  min-height: 80vh;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}
.ep-auth-box {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius-lg);
  box-shadow: var(--ep-shadow), var(--ep-glow);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}
.ep-auth-tabs {
  display: flex;
  background: var(--ep-surface2);
  border-bottom: 1px solid var(--ep-border);
}
.ep-tab-btn {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  color: var(--ep-text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ep-transition);
  border-bottom: 3px solid transparent;
}
.ep-tab-btn.active { color: var(--ep-primary); border-bottom-color: var(--ep-primary); }
.ep-tab-btn:hover { color: var(--ep-text); }
.ep-tab-content { display: none; padding: 32px; }
.ep-tab-content.active { display: block; }
.ep-auth-header { text-align: center; margin-bottom: 28px; }
.ep-auth-icon { font-size: 48px; margin-bottom: 12px; }
.ep-auth-header h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.ep-auth-header p  { margin: 0; color: var(--ep-text-muted); font-size: 14px; }
.ep-auth-logged { padding: 40px 20px; display: flex; justify-content: center; }
.ep-auth-logged .ep-card { max-width: 360px; }
.ep-avatar-icon { font-size: 56px; margin-bottom: 16px; }

/* FORM */
.ep-form { display: flex; flex-direction: column; gap: 16px; }
.ep-form-group { display: flex; flex-direction: column; gap: 6px; }
.ep-form-group label { font-size: 13px; font-weight: 500; color: var(--ep-text-muted); }
.ep-form-group input {
  background: var(--ep-surface2);
  border: 1px solid var(--ep-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--ep-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: var(--ep-transition);
  outline: none;
}
.ep-form-group input:focus { border-color: var(--ep-primary); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }
.ep-form-group input::placeholder { color: var(--ep-text-muted); }

/* ───────────────────────────────────────────────
   PRICING
─────────────────────────────────────────────── */
.ep-pricing-wrapper {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  padding: 60px 20px;
}
.ep-pricing-header { text-align: center; margin-bottom: 40px; }
.ep-pricing-header h2 { font-size: 32px; font-weight: 800; margin: 0 0 10px; background: linear-gradient(135deg, #fff, var(--ep-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ep-pricing-header p  { color: var(--ep-text-muted); font-size: 16px; margin: 0; }
.ep-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.ep-pricing-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--ep-transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ep-pricing-card:hover { transform: translateY(-6px); box-shadow: var(--ep-shadow), var(--ep-glow); border-color: var(--ep-primary); }
.ep-pricing-popular { border-color: var(--ep-primary); box-shadow: var(--ep-glow); }
.ep-pricing-best { border-color: var(--ep-gold); box-shadow: 0 0 24px rgba(245,166,35,0.2); }
.ep-pricing-best:hover { box-shadow: var(--ep-shadow), 0 0 32px rgba(245,166,35,0.35); border-color: var(--ep-gold); }
.ep-popular-ribbon {
  position: absolute;
  top: 0; right: 0;
  background: var(--ep-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 0 0 0 14px;
}
.ep-plan-badge { font-size: 13px; font-weight: 600; color: var(--ep-text-muted); }
.ep-pricing-card h3 { font-size: 22px; font-weight: 700; margin: 0; }
.ep-plan-price { display: flex; align-items: baseline; gap: 4px; }
.ep-currency { font-size: 20px; font-weight: 700; color: var(--ep-text-muted); }
.ep-amount { font-size: 52px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #fff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ep-pricing-best .ep-amount { background: linear-gradient(135deg, var(--ep-gold), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ep-plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ep-plan-features li { font-size: 14px; color: var(--ep-text); }
.ep-pricing-card .ep-btn { margin-top: auto; }

/* ───────────────────────────────────────────────
   MODAL
─────────────────────────────────────────────── */
.ep-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.ep-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(6px); }
.ep-modal-box {
  position: relative;
  z-index: 1;
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius-lg);
  padding: 36px;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--ep-shadow), var(--ep-glow);
  animation: ep-modal-in 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes ep-modal-in { from { opacity:0; transform: scale(0.9) translateY(20px); } to { opacity:1; transform: scale(1) translateY(0); } }
.ep-modal-box h3 { font-size: 20px; font-weight: 700; margin: 0 0 20px; }
.ep-modal-close { position: absolute; top: 16px; right: 16px; background: var(--ep-surface2); border: 1px solid var(--ep-border); color: var(--ep-text-muted); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 14px; transition: var(--ep-transition); }
.ep-modal-close:hover { color: var(--ep-text); background: var(--ep-border); }
.ep-payment-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.ep-payment-step { display: flex; align-items: flex-start; gap: 12px; }
.ep-step-num { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: var(--ep-primary); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ep-payment-step p { margin: 0; font-size: 14px; color: var(--ep-text); padding-top: 4px; }
.ep-qr-placeholder { background: var(--ep-surface2); border: 1px solid var(--ep-border); border-radius: 12px; padding: 16px; text-align: center; }
.ep-qr-placeholder p { margin: 4px 0; font-size: 14px; }

/* ───────────────────────────────────────────────
   DASHBOARD
─────────────────────────────────────────────── */
.ep-dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}
.ep-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.ep-dash-welcome { display: flex; align-items: center; gap: 16px; }
.ep-dash-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ep-primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
}
.ep-dash-welcome h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.ep-dash-welcome p  { margin: 0; }
.ep-dash-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: 12px;
  padding: 6px;
  width: fit-content;
}
.ep-dash-tab {
  padding: 10px 24px;
  border-radius: 8px;
  background: none;
  border: none;
  color: var(--ep-text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ep-transition);
}
.ep-dash-tab.active { background: var(--ep-primary); color: #fff; box-shadow: 0 2px 12px rgba(108,99,255,0.4); }
.ep-dash-content { display: none; }
.ep-dash-content.active { display: block; }
.ep-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.ep-content-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--ep-transition);
}
.ep-content-card:hover:not(.ep-locked) { transform: translateY(-4px); border-color: var(--ep-primary); box-shadow: var(--ep-glow); }
.ep-content-card h4 { margin: 0; font-size: 15px; font-weight: 600; }
.ep-card-icon { font-size: 36px; }
.ep-card-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.ep-card-meta span { font-size: 12px; color: var(--ep-text-muted); background: var(--ep-surface2); padding: 3px 10px; border-radius: 20px; }
.ep-card-thumb img { width: 100%; border-radius: 8px; }
.ep-locked { opacity: 0.65; }
.ep-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--ep-radius);
  color: #fff;
  z-index: 2;
}
.ep-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--ep-text-muted);
  background: var(--ep-surface);
  border-radius: var(--ep-radius);
  border: 1px dashed var(--ep-border);
}

/* ───────────────────────────────────────────────
   TEST INTERFACE
─────────────────────────────────────────────── */
.ep-test-wrapper {
  background: var(--ep-bg);
  min-height: 100vh;
  padding: 0;
  font-family: 'Inter', sans-serif;
}
.ep-test-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ep-surface);
  border-bottom: 1px solid var(--ep-border);
  padding: 16px 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  flex-wrap: wrap;
}
.ep-test-title { font-size: 16px; font-weight: 700; }
.ep-test-timer {
  font-size: 18px;
  font-weight: 800;
  background: var(--ep-surface2);
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--ep-border);
  font-variant-numeric: tabular-nums;
  color: var(--ep-gold);
}
.ep-test-timer.ep-timer-warning { color: var(--ep-danger); animation: ep-pulse 1s infinite; }
@keyframes ep-pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

.ep-test-layout { display: grid; grid-template-columns: 1fr 260px; min-height: calc(100vh - 65px); }
.ep-test-main    { padding: 32px 36px; border-right: 1px solid var(--ep-border); }
.ep-test-sidebar { padding: 24px 20px; }

.ep-q-number   { font-size: 13px; font-weight: 600; color: var(--ep-primary); margin-bottom: 12px; }
.ep-q-text     { font-size: 17px; font-weight: 500; line-height: 1.6; margin-bottom: 24px; }
.ep-q-options  { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.ep-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ep-surface2);
  border: 2px solid var(--ep-border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--ep-transition);
}
.ep-option:hover      { border-color: var(--ep-primary); background: rgba(108,99,255,0.08); }
.ep-option.ep-selected { border-color: var(--ep-primary); background: rgba(108,99,255,0.15); }
.ep-option input[type="radio"] { display: none; }
.ep-option-letter {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 50%;
  background: var(--ep-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: var(--ep-transition);
}
.ep-option.ep-selected .ep-option-letter { background: var(--ep-primary); color: #fff; }
.ep-option-text { font-size: 15px; }
.ep-q-nav { display: flex; gap: 12px; }

/* Test Sidebar */
.ep-test-sidebar h4 { margin: 0 0 16px; font-size: 14px; }
.ep-q-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 16px; }
.ep-q-jump {
  width: 36px; height: 36px;
  border: 2px solid var(--ep-border);
  border-radius: 8px;
  background: var(--ep-surface2);
  color: var(--ep-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ep-transition);
}
.ep-q-jump:hover     { border-color: var(--ep-primary); }
.ep-q-jump.ep-j-current  { border-color: var(--ep-primary); background: var(--ep-primary); color: #fff; }
.ep-q-jump.ep-j-answered { border-color: var(--ep-success); background: rgba(34,197,94,0.15); color: var(--ep-success); }
.ep-q-legend { display: flex; flex-direction: column; gap: 8px; }
.ep-q-legend span { font-size: 12px; color: var(--ep-text-muted); }
.ep-q-legend .ep-leg-answered::before { content: '●'; color: var(--ep-success); margin-right: 6px; }
.ep-q-legend .ep-leg-current::before  { content: '●'; color: var(--ep-primary); margin-right: 6px; }
.ep-q-legend .ep-leg-unanswered::before { content: '●'; color: var(--ep-border); margin-right: 6px; }

/* RESULT BOX */
.ep-result-box { text-align: center; }
.ep-result-box h2 { margin-bottom: 20px; }
.ep-score-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--ep-primary) calc(var(--pct) * 1%), var(--ep-surface2) 0);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}
.ep-score-inner {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--ep-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.ep-result-stats { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.ep-stat { text-align: center; }
.ep-stat-val { font-size: 28px; font-weight: 800; }
.ep-stat-label { font-size: 12px; color: var(--ep-text-muted); }

/* ───────────────────────────────────────────────
   PDF VIEWER
─────────────────────────────────────────────── */
.ep-pdf-viewer-wrapper {
  background: var(--ep-bg);
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}
.ep-pdf-header {
  background: var(--ep-surface);
  border-bottom: 1px solid var(--ep-border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.ep-pdf-header h3 { margin: 0; font-size: 16px; }
.ep-pdf-security-badge {
  font-size: 12px;
  background: rgba(239,68,68,0.1);
  color: var(--ep-danger);
  border: 1px solid var(--ep-danger);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.ep-pdf-frame-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - 130px);
}
.ep-pdf-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none; /* allow scroll but block toolbar interaction */
}
.ep-pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.ep-pdf-footer {
  background: var(--ep-surface);
  border-top: 1px solid var(--ep-border);
  padding: 12px 28px;
  font-size: 12px;
  color: var(--ep-text-muted);
  text-align: center;
}

/* ───────────────────────────────────────────────
   HOMEPAGE
─────────────────────────────────────────────── */
.ep-home {
  font-family: 'Inter', sans-serif;
  color: var(--ep-text);
  background: var(--ep-bg);
  -webkit-font-smoothing: antialiased;
  
  /* Break out of standard WordPress Theme containers to be full-width */
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ── NAV ── */
.ep-nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(15,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ep-border);
}
.ep-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center;
  gap: 32px; height: 64px;
}
.ep-nav-logo {
  font-size: 18px; font-weight: 800;
  color: #fff; text-decoration: none;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fff, var(--ep-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ep-nav-links { display: flex; gap: 28px; flex: 1; }
.ep-nav-links a {
  color: var(--ep-text-muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: var(--ep-transition);
}
.ep-nav-links a:hover { color: var(--ep-text); }
.ep-nav-cta { display: flex; gap: 10px; flex-shrink: 0; }
.ep-nav-hamburger {
  display: none; background: none; border: none;
  color: var(--ep-text); font-size: 22px; cursor: pointer;
  margin-left: auto;
}
.ep-nav-mobile {
  display: none; flex-direction: column;
  padding: 16px 24px; gap: 14px;
  border-top: 1px solid var(--ep-border);
  background: var(--ep-surface);
}
.ep-nav-mobile a { color: var(--ep-text-muted); font-size: 15px; text-decoration: none; font-weight: 500; }
.ep-nav-mobile .ep-mobile-cta { color: var(--ep-primary); font-weight: 700; }

/* ── HERO ── */
.ep-hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
}
.ep-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ep-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: ep-orb-float 8s ease-in-out infinite;
}
.ep-orb-1 { width: 500px; height: 500px; background: var(--ep-primary); top: -100px; left: -150px; animation-delay: 0s; }
.ep-orb-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -100px; right: -100px; animation-delay: 3s; }
.ep-orb-3 { width: 300px; height: 300px; background: var(--ep-gold); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 5s; }
@keyframes ep-orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.ep-hero-content { position: relative; z-index: 1; max-width: 800px; }
.ep-hero-badge {
  display: inline-block;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.4);
  color: #a78bfa; font-size: 13px; font-weight: 600;
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.ep-hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #fff 30%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ep-hero-sub {
  font-size: 17px; color: var(--ep-text-muted);
  max-width: 560px; margin: 0 auto 36px;
  line-height: 1.6;
}
.ep-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.ep-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.ep-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.ep-hero-stat { text-align: center; }
.ep-hero-stat-num {
  display: block; font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--ep-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ep-hero-stat-label { font-size: 12px; color: var(--ep-text-muted); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.ep-hero-stat-div { width: 1px; height: 40px; background: var(--ep-border); }

/* ── NOTICES TICKER ── */
.ep-notices-section {
  background: linear-gradient(90deg, rgba(108,99,255,0.1), rgba(139,92,246,0.1));
  border-top: 1px solid var(--ep-border);
  border-bottom: 1px solid var(--ep-border);
  padding: 12px 0;
  overflow: hidden;
}
.ep-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ep-notices-header {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ep-primary); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 4px;
  float: left; margin-right: 16px; flex-shrink: 0;
}
.ep-notices-ticker { overflow: hidden; }
.ep-ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: ep-ticker 30s linear infinite;
}
@keyframes ep-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ep-ticker-item { font-size: 13px; color: var(--ep-text); flex-shrink: 0; }
.ep-ticker-item strong { color: var(--ep-primary); margin-right: 4px; }

/* ── SECTION BASE ── */
.ep-section-header { text-align: center; margin-bottom: 48px; }
.ep-section-header h2 {
  font-size: 34px; font-weight: 800; margin: 0 0 12px;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ep-section-header p { color: var(--ep-text-muted); font-size: 16px; margin: 0; max-width: 560px; margin: 0 auto; }

/* ── FEATURES ── */
.ep-features-section { padding: 80px 0; }
.ep-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.ep-feature-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 28px 24px;
  transition: var(--ep-transition);
}
.ep-feature-card:hover { transform: translateY(-4px); border-color: var(--ep-primary); box-shadow: var(--ep-glow); }
.ep-feature-icon { font-size: 36px; display: block; margin-bottom: 14px; }
.ep-feature-card h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.ep-feature-card p  { margin: 0; color: var(--ep-text-muted); font-size: 14px; line-height: 1.6; }

/* ── HOME CONTENT CARDS (Tests / PDFs) ── */
.ep-exams-section { padding: 80px 0; background: var(--ep-surface2); }
.ep-notes-section { padding: 80px 0; }
.ep-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.ep-home-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 24px;
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  transition: var(--ep-transition);
}
.ep-home-card:hover { transform: translateY(-4px); border-color: var(--ep-primary); box-shadow: var(--ep-glow); }
.ep-home-card h4 { margin: 0; font-size: 15px; font-weight: 600; }
.ep-home-card-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(108,99,255,0.15);
  color: var(--ep-primary);
  padding: 3px 10px; border-radius: 20px;
  border: 1px solid rgba(108,99,255,0.3);
}
.ep-home-card-icon { font-size: 38px; }
.ep-home-card-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.ep-home-card-meta span { font-size: 12px; color: var(--ep-text-muted); background: var(--ep-surface2); padding: 3px 10px; border-radius: 20px; }
.ep-home-card-thumb img { width: 100%; border-radius: 8px; max-height: 120px; object-fit: cover; }
.ep-unlock-btn { margin-top: auto; }
.ep-view-all { text-align: center; }
.ep-empty-home { color: var(--ep-text-muted); text-align: center; grid-column: 1/-1; padding: 32px; }

/* ── PRICING CTA ── */
.ep-pricing-cta-section { padding: 80px 0; background: var(--ep-surface2); }
.ep-pricing-cta-box {
  background: var(--ep-surface);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--ep-glow);
}
.ep-pricing-cta-orb {
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--ep-primary); opacity: 0.06; filter: blur(60px);
}
.ep-pricing-cta-box h2 { font-size: 36px; font-weight: 800; margin: 0 0 12px; }
.ep-pricing-cta-box > p { color: var(--ep-text-muted); margin: 0 0 36px; font-size: 16px; }
.ep-pricing-cta-plans { display: flex; justify-content: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.ep-cta-plan {
  background: var(--ep-surface2);
  border: 1px solid var(--ep-border);
  border-radius: 14px; padding: 20px 28px;
  text-align: center; position: relative;
  min-width: 140px;
}
.ep-cta-plan-best { border-color: var(--ep-gold); box-shadow: 0 0 20px rgba(245,166,35,0.2); }
.ep-cta-plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ep-gold); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 20px;
  white-space: nowrap;
}
.ep-cta-plan-name { font-size: 13px; color: var(--ep-text-muted); margin-bottom: 8px; }
.ep-cta-plan-price { font-size: 28px; font-weight: 800; }
.ep-pricing-cta-note { font-size: 12px; color: var(--ep-text-muted); margin-top: 20px; margin-bottom: 0; }
.ep-pricing-cta-note a { color: var(--ep-primary); text-decoration: none; }

/* ── REVIEWS ── */
.ep-reviews-section { padding: 80px 0; }
.ep-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.ep-review-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: var(--ep-transition);
}
.ep-review-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,0.3); }
.ep-review-stars { color: var(--ep-gold); font-size: 18px; letter-spacing: 2px; }
.ep-review-text { color: var(--ep-text); font-size: 14px; line-height: 1.6; margin: 0; flex: 1; font-style: italic; }
.ep-review-author { display: flex; align-items: center; gap: 12px; }
.ep-review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ep-primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
}
.ep-review-name  { font-size: 14px; font-weight: 600; }
.ep-review-role  { font-size: 12px; color: var(--ep-text-muted); }
.ep-review-form-wrap {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius-lg); padding: 32px;
  max-width: 560px;
}
.ep-review-form-wrap h3 { margin: 0 0 20px; font-size: 18px; }
.ep-textarea {
  background: var(--ep-surface2);
  border: 1px solid var(--ep-border);
  border-radius: 10px; padding: 12px 16px;
  color: var(--ep-text);
  font-family: 'Inter', sans-serif;
  font-size: 14px; resize: vertical;
  width: 100%; box-sizing: border-box;
  transition: var(--ep-transition); outline: none;
}
.ep-textarea:focus { border-color: var(--ep-primary); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }

/* ── CONTACT ── */
.ep-contact-section { padding: 80px 0; background: var(--ep-surface2); }
.ep-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.ep-contact-card {
  background: var(--ep-surface);
  border: 1px solid var(--ep-border);
  border-radius: var(--ep-radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--ep-transition);
}
.ep-contact-card:hover { transform: translateY(-4px); border-color: var(--ep-primary); }
.ep-contact-icon { font-size: 36px; margin-bottom: 12px; }
.ep-contact-card h4 { margin: 0 0 8px; font-size: 16px; }
.ep-contact-card p  { margin: 0; color: var(--ep-text-muted); font-size: 14px; }
.ep-contact-card a  { color: var(--ep-primary); text-decoration: none; }

/* ── FOOTER ── */
.ep-footer {
  background: var(--ep-surface);
  border-top: 1px solid var(--ep-border);
  padding: 56px 0 0;
}
.ep-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.ep-footer-logo {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--ep-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.ep-footer-brand p { color: var(--ep-text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.ep-footer-links h5 { margin: 0 0 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ep-text-muted); }
.ep-footer-links ul  { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ep-footer-links ul a { color: var(--ep-text-muted); font-size: 14px; text-decoration: none; transition: var(--ep-transition); }
.ep-footer-links ul a:hover { color: var(--ep-text); }
.ep-footer-bottom {
  border-top: 1px solid var(--ep-border);
  padding: 20px 0;
  text-align: center;
}
.ep-footer-bottom p { margin: 0; font-size: 13px; color: var(--ep-text-muted); }

/* ── BTN LG (added here) ── */
.ep-btn-lg { padding: 15px 36px; font-size: 16px; border-radius: 12px; }

/* ───────────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ep-footer-grid { grid-template-columns: 1fr 1fr; }
  .ep-footer-brand { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .ep-test-layout   { grid-template-columns: 1fr; }
  .ep-test-sidebar  { border-top: 1px solid var(--ep-border); order: -1; }
  .ep-pricing-grid  { grid-template-columns: 1fr; }
  .ep-dash-header   { flex-direction: column; align-items: flex-start; }
  .ep-content-grid  { grid-template-columns: 1fr 1fr; }
  .ep-nav-links, .ep-nav-cta { display: none; }
  .ep-nav-hamburger { display: block; }
  .ep-nav-mobile.ep-open { display: flex; }
  .ep-pricing-cta-box { padding: 36px 24px; }
  .ep-footer-grid  { grid-template-columns: 1fr; }
  .ep-home-grid    { grid-template-columns: 1fr 1fr; }
  .ep-features-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ep-content-grid  { grid-template-columns: 1fr; }
  .ep-auth-box      { border-radius: 0; }
  .ep-auth-wrapper  { padding: 0; }
  .ep-home-grid     { grid-template-columns: 1fr; }
  .ep-hero-btns     { flex-direction: column; align-items: center; }
  .ep-pricing-cta-plans { flex-direction: column; align-items: center; }
}

/* ================================================
   EduPortal Pro v2.0 — New Feature Styles
   (Appended — design of existing classes unchanged)
   ================================================ */

/* ── EXAM TAGS (Hero) ── */
.ep-hero-exam-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 18px 0 22px;
}
.ep-exam-tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.ep-exam-jkssb { background: rgba(30,64,175,.25); color: #93c5fd; border: 1px solid rgba(147,197,253,.35); }
.ep-exam-jkpsc { background: rgba(109,40,217,.25); color: #c4b5fd; border: 1px solid rgba(196,181,253,.35); }
.ep-exam-ssc   { background: rgba(185,28,28,.25);  color: #fca5a5; border: 1px solid rgba(252,165,165,.35); }

/* ── SUBJECTS SECTION ── */
.ep-subjects-section { background: #f9fafb; padding: 80px 0; }
.ep-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 40px;
}
.ep-subject-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.25s;
    cursor: default;
}
.ep-subject-card:hover {
    border-color: #6c63ff;
    box-shadow: 0 6px 24px rgba(108,99,255,.15);
    transform: translateY(-3px);
}
.ep-subject-icon { font-size: 36px; margin-bottom: 10px; }
.ep-subject-card h4 { font-size: 15px; font-weight: 700; color: #1e1b4b; margin: 0 0 8px; line-height: 1.35; }
.ep-subject-meta { font-size: 12px; color: #9ca3af; display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.ep-subject-link {
    font-size: 13px;
    font-weight: 600;
    color: #6c63ff;
    text-decoration: none;
    transition: color 0.2s;
}
.ep-subject-link:hover { color: #4f46e5; }

/* ── DASHBOARD FILTER BUTTONS ── */
.ep-filter-btn {
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.18s;
}
.ep-filter-btn:hover,
.ep-filter-btn.active {
    background: #1e40af;
    color: #fff;
    border-color: #1e40af;
}

.ep-subj-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.ep-subj-btn:hover,
.ep-subj-btn.active {
    background: #6c63ff;
    color: #fff;
    border-color: #6c63ff;
}

.ep-chap-btn {
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: all 0.18s;
}
.ep-chap-btn:hover,
.ep-chap-btn.active {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

/* ── STAR RATING ── */
.ep-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.ep-star-radio { display: none; }
.ep-star-label {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s;
}
.ep-star-rating:hover .ep-star-label { color: #fbbf24; }
.ep-star-rating .ep-star-label:hover ~ .ep-star-label { color: #fbbf24; }
.ep-star-radio:checked ~ .ep-star-label { color: #fbbf24; }
.ep-star-active { color: #fbbf24 !important; }

/* ── PAYMENT MODAL IMPROVEMENTS ── */
.ep-payment-msg-success { color: #16a34a; font-weight: 600; }
.ep-payment-msg-error   { color: #dc2626; }

/* ── OPTION SELECTED STATE ── */
.ep-option-selected {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
}
.ep-option-selected .ep-option-letter {
    background: #3b82f6 !important;
    color: #fff !important;
}

/* ── TIMER WARNING ── */
.ep-timer-warning { color: #dc2626 !important; animation: ep-pulse 1s infinite; }
@keyframes ep-pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }

/* ── PRICING RAZORPAY NOTE ── */
.ep-rzp-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
}

/* ── ADMIN STAT COMPACT (dashboard page) ── */
.ep-dashboard .ep-admin-stats {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.ep-dashboard .ep-stat-box { padding: 14px 16px; }
.ep-dashboard .ep-stat-num { font-size: 22px; }

/* ── EMPTY STATE IMPROVED ── */
.ep-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    grid-column: 1 / -1;
}

/* ── NAV STICKY ── */
.ep-nav-sticky {
    box-shadow: 0 2px 16px rgba(0,0,0,.12) !important;
    backdrop-filter: blur(12px) !important;
}
