:root {
  --ec-primary: #16a34a;
  --ec-primary-dark: #0f7a36;
  --ec-primary-light: #22c55e;
  --ec-primary-soft: #dcfce7;
  --ec-secondary: #071225;
  --ec-text: #102018;
  --ec-muted: #64748b;
  --ec-bg: #f7fff9;
  --ec-card: #ffffff;
  --ec-border: #d9f3df;
  --ec-success: #16a34a;
  --ec-warning: #f59e0b;
  --ec-danger: #ef4444;
  --ec-shadow: 0 18px 50px rgba(15, 122, 54, 0.10);
  --ec-shadow-hover: 0 24px 65px rgba(15, 122, 54, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--ec-text);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(132, 204, 22, 0.12), transparent 32%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

/* Common */
.ec-page {
  overflow: hidden;
  position: relative;
}

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

.ec-section-new {
  padding: 62px 0;
}

.ec-section-head-new {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.ec-section-title-new {
  margin: 0;
  color: var(--ec-secondary);
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.5px;
  font-weight: 900;
}

.ec-section-text-new {
  margin: 8px 0 0;
  color: var(--ec-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Header */
.ec-header-new {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 243, 223, 0.9);
}

.ec-nav-new {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ec-brand-new {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ec-primary-dark);
  font-weight: 900;
  font-size: 22px;
  white-space: nowrap;
}

.ec-logo-box,
.ec-logo-svg {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #008236);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.22);
  overflow: hidden;
  position: relative;
  animation: ecLogoFloat 3.2s ease-in-out infinite;
}

.ec-logo-svg::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.52) 50%, transparent 65%);
  transform: translateX(-120%) rotate(12deg);
  animation: ecLogoShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

.ec-logo-svg svg {
  width: 37px;
  height: 37px;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 5px 10px rgba(22, 163, 74, 0.14));
}

.ec-brand-name-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ec-brand-name-wrap strong {
  font-size: 21px;
  font-weight: 900;
  color: var(--ec-primary-dark);
  letter-spacing: -0.4px;
}

.ec-brand-name-wrap small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ec-muted);
  letter-spacing: 0.2px;
}

.ec-menu-new {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ec-menu-new a {
  color: #1f2e25;
  font-size: 13.5px;
  font-weight: 800;
  transition: 0.25s ease;
}

.ec-menu-new a:hover,
.ec-menu-new a.active {
  color: var(--ec-primary);
}

.ec-actions-new {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ec-user-pill-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--ec-border);
  border-radius: 15px;
  padding: 7px 12px;
  color: var(--ec-primary-dark);
  font-size: 13.5px;
  font-weight: 900;
}

.ec-user-pill-new span {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: var(--ec-primary-soft);
  display: grid;
  place-items: center;
}

.ec-mobile-btn {
  display: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ec-primary-soft);
  color: var(--ec-primary-dark);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

/* Premium Buttons */
.ec-btn-new {
  position: relative;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 13.5px;
  border: 1px solid transparent;
  transition: 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}

.ec-btn-primary-new {
  background: linear-gradient(135deg, #16a34a, #0f9f43) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.22) !important;
}

.ec-btn-primary-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.35) 48%, transparent 62%, transparent 100%);
  transform: translateX(-120%);
  transition: 0.65s ease;
}

.ec-btn-primary-new:hover::before {
  transform: translateX(120%);
}

.ec-btn-primary-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(22, 163, 74, 0.30) !important;
}

.ec-btn-primary-new:active {
  transform: translateY(0) scale(0.98);
}

.ec-btn-outline-new {
  background: #ffffff !important;
  color: #102018 !important;
  border: 1px solid #d8eadf !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05) !important;
}

.ec-btn-outline-new:hover {
  background: #f0fdf4 !important;
  color: #0f7a36 !important;
  border-color: #86efac !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 122, 54, 0.12) !important;
}

.ec-btn-outline-new:active {
  transform: translateY(0) scale(0.98);
}

.ec-actions-new .ec-btn-new {
  min-height: 40px;
  padding: 0 20px;
}

/* Hero */
.ec-hero-new {
  position: relative;
  padding: 34px 0 36px;
}

.ec-hero-grid-new {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ec-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 16px;
  background: rgba(220, 252, 231, 0.92);
  border: 1px solid var(--ec-border);
  color: var(--ec-primary-dark);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.ec-hero-title-new {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.03;
  letter-spacing: -3px;
  font-weight: 900;
  color: var(--ec-secondary);
}

.ec-hero-title-new span {
  color: var(--ec-primary);
}

.ec-hero-subtitle-new {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--ec-muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

.ec-hero-actions-new {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ec-hero-actions-new .ec-btn-new {
  min-height: 46px;
  min-width: 160px;
  padding: 0 24px;
  border-radius: 10px !important;
  font-size: 14px;
}

.ec-feature-pills-new {
  margin-top: 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  max-width: 620px !important;
}

.ec-feature-pills-new div {
  min-height: 44px !important;
  padding: 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(22, 163, 74, 0.16) !important;
  color: #244130 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 24px rgba(15, 122, 54, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: all 0.25s ease !important;
  backdrop-filter: blur(8px);
}

.ec-feature-pills-new div:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(22, 163, 74, 0.34) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 16px 30px rgba(15, 122, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

/* Hero Visual */
.ec-visual-new {
  position: relative;
  min-height: 560px;
}

.ec-phone-card-new {
  width: 330px;
  min-height: 520px;
  margin: 0 auto;
  border-radius: 34px;
  background: #101c14;
  padding: 12px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  animation: ecFloat 5s ease-in-out infinite;
}

.ec-phone-screen-new {
  height: 100%;
  min-height: 496px;
  border-radius: 26px;
  background: #ffffff;
  overflow: hidden;
}

.ec-phone-top-new {
  padding: 24px 20px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #15803d, #16a34a);
}

.ec-phone-top-new strong {
  font-size: 17px;
}

.ec-phone-top-new small {
  display: block;
  opacity: 0.9;
  margin-top: 5px;
}

.ec-ai-card-new {
  margin: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border: 1px solid var(--ec-border);
}

.ec-ai-card-new h3 {
  margin: 0;
  color: #102018;
  font-size: 18px;
  line-height: 1.25;
}

.ec-ai-card-new p {
  margin: 8px 0 14px;
  color: var(--ec-muted);
  font-size: 13px;
}

.ec-exam-mini-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 0 16px 16px;
}

.ec-exam-mini-new {
  min-height: 76px;
  border: 1px solid var(--ec-border);
  border-radius: 16px;
  background: #ffffff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #102018;
}

.ec-exam-mini-new span {
  display: block;
  font-size: 22px;
  margin-bottom: 5px;
}

.ec-progress-card-new {
  margin: 0 16px 16px;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.ec-progress-row-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
  color: #102018;
}

.ec-progress-line-new {
  height: 9px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 12px;
}

.ec-progress-line-new i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--ec-primary-dark), var(--ec-primary-light));
  border-radius: 999px;
}

.ec-float-card-new {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--ec-border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--ec-shadow);
  animation: ecFloatSmall 4.2s ease-in-out infinite;
}

.ec-score-float-new {
  top: 28px;
  right: 10px;
  width: 160px;
}

.ec-score-float-new strong {
  display: block;
  font-size: 38px;
  color: #102018;
  line-height: 1;
}

.ec-score-float-new small {
  color: var(--ec-primary);
  font-weight: 900;
}

.ec-question-float-new {
  top: 180px;
  left: 0;
  width: 190px;
  animation-delay: 0.5s;
}

.ec-question-float-new p {
  margin: 0 0 10px;
  font-weight: 900;
  color: #102018;
}

.ec-question-float-new li {
  list-style: none;
  font-size: 13px;
  color: var(--ec-primary-dark);
  font-weight: 800;
  margin: 7px 0;
}

/* Ad */
.ec-ad-box-new {
  min-height: 92px;
  margin-top: 20px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px dashed rgba(22, 163, 74, 0.42);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #ecfdf3);
  box-shadow: 0 12px 34px rgba(15, 122, 54, 0.07);
}

.ec-ad-box-new small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ec-ad-box-new strong {
  display: block;
  color: #102018;
  font-size: 20px;
  margin-top: 5px;
}

/* Search */
.ec-search-wrap-new {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--ec-border);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(15, 122, 54, 0.07);
}

.ec-search-input-new {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  border: 1px solid var(--ec-border);
  background: #ffffff;
  padding: 0 16px;
  font: inherit;
  outline: none;
  font-weight: 700;
  color: #102018;
}

.ec-search-input-new::placeholder {
  color: #94a3b8;
}

.ec-search-input-new:focus {
  border-color: var(--ec-primary-light);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

/* Homepage Exam Cards */
.ec-exam-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 16px;
  justify-content: start;
}

.ec-exam-card-new {
  max-width: 320px;
  min-height: 0;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ec-border);
  box-shadow: 0 12px 36px rgba(15, 122, 54, 0.08);
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
}

.ec-exam-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--ec-shadow-hover);
}

.ec-exam-card-top-new {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ec-exam-icon-new {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf3, #ffffff);
  border: 1px solid #bbf7d0;
  font-size: 24px;
}

.ec-status-new {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.ec-status-active-new {
  color: #166534;
  background: #dcfce7;
}

.ec-status-soon-new {
  color: #92400e;
  background: #fef3c7;
}

.ec-exam-card-new h3 {
  margin: 16px 0 6px;
  color: #102018;
  font-size: 18px;
  line-height: 1.2;
}

.ec-exam-card-new p {
  margin: 0;
  color: var(--ec-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ec-meta-new {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ec-meta-new span {
  font-size: 11px;
  font-weight: 850;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 6px 9px;
}

.ec-card-actions-new {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ec-card-actions-new .ec-btn-new {
  min-height: 40px;
  font-size: 13px;
}

/* Why Choose */
.ec-why-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ec-why-card-new {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--ec-border);
  box-shadow: 0 12px 36px rgba(15, 122, 54, 0.07);
  transition: 0.25s ease;
}

.ec-why-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--ec-shadow-hover);
}

.ec-why-icon-new {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #dcfce7;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.ec-why-card-new h3 {
  margin: 0 0 9px;
  color: #102018;
  font-size: 18px;
}

.ec-why-card-new p {
  margin: 0;
  color: var(--ec-muted);
  line-height: 1.65;
  font-size: 14px;
}

/* AI Loader */
.ec-ai-loader-new {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 30px;
  background: radial-gradient(circle at left, rgba(34, 197, 94, 0.12), transparent 34%), rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ec-border);
  box-shadow: var(--ec-shadow);
}

.ec-pot-new {
  display: grid;
  place-items: center;
  font-size: 140px;
  animation: ecFloat 5s ease-in-out infinite;
}

.ec-loader-bar-new {
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 24px;
}

.ec-loader-bar-new i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--ec-primary-dark), var(--ec-primary-light));
  border-radius: 999px;
  animation: ecPulse 1.6s ease-in-out infinite;
}

.ec-step-row-new {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ec-step-row-new div {
  padding: 14px;
  border-radius: 16px;
  background: #f0fdf4;
  border: 1px solid var(--ec-border);
  color: #14532d;
  font-size: 13px;
  font-weight: 900;
}

/* Exams Page */
.ec-exams-page {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(34,197,94,.16), transparent 32%), radial-gradient(circle at top right, rgba(132,204,22,.10), transparent 34%), linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
}

.ec-exams-hero {
  position: relative;
  padding: 22px 0 20px;
  overflow: hidden;
}

.ec-exams-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(220,252,231,.76);
  border: 1px solid var(--ec-border);
  color: #0f7a36;
  font-size: 12.5px;
  font-weight: 900;
}

.ec-exams-hero-card {
  max-width: 920px;
  padding: 26px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 22px;
  align-items: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(22,163,74,.14);
  box-shadow: 0 14px 36px rgba(15,122,54,.07);
  backdrop-filter: blur(14px);
}

.ec-exams-title {
  max-width: 760px;
  margin: 0;
  color: #071225;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 900;
}

.ec-exams-title span {
  color: #16a34a;
}

.ec-exams-subtitle {
  max-width: 760px;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 600;
}

.ec-exams-steps {
  max-width: 620px;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ec-exams-step {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px 0 10px;
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(22,163,74,.14);
  color: #244130;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15,122,54,.05);
}

.ec-exams-step span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #dcfce7;
  color: #0f7a36;
  font-size: 12px;
}

.ec-exams-stats {
  display: none !important;
}

.ec-exams-main {
  padding: 34px 0 70px;
}

.ec-exams-toolbar {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--ec-border);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(15,122,54,.07);
}

.ec-exams-search span {
  display: none;
}

.ec-exams-search input {
  width: 100%;
  min-height: 50px;
  border-radius: 15px;
  border: 1px solid var(--ec-border);
  background: #ffffff;
  padding: 0 16px;
  font: inherit;
  outline: none;
  font-weight: 700;
  color: #102018;
}

.ec-exams-search input:focus {
  border-color: var(--ec-primary-light);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.ec-exams-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ec-exams-filter {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--ec-border);
  background: #ffffff;
  color: #102018;
  font-weight: 900;
  font-size: 13.5px;
  cursor: pointer;
  transition: .25s ease;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}

.ec-exams-filter.active,
.ec-exams-filter:hover {
  background: linear-gradient(135deg, #16a34a, #0f9f43);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(22,163,74,.22);
  transform: translateY(-2px);
}

.ec-exams-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.ec-exams-section-head h2 {
  margin: 0;
  color: #071225;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -1.3px;
  font-weight: 900;
}

.ec-exams-section-head p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
}

.ec-exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 330px));
  justify-content: start;
  gap: 18px;
}

.ec-exams-card {
  min-height: 230px;
  max-width: 330px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86));
  border: 1px solid rgba(22,163,74,.15);
  box-shadow: 0 16px 42px rgba(15,122,54,.08);
  display: flex;
  flex-direction: column;
  transition: .25s ease;
}

.ec-exams-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(15,122,54,.14);
}

.ec-exams-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ec-exams-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf3, #ffffff);
  border: 1px solid #bbf7d0;
  font-size: 24px;
}

.ec-exams-badge {
  padding: 7px 11px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.ec-exams-badge.active {
  color: #166534;
  background: #dcfce7;
}

.ec-exams-badge.soon {
  color: #92400e;
  background: #fef3c7;
}

.ec-exams-card h3 {
  margin: 16px 0 7px;
  color: #102018;
  font-size: 20px;
  letter-spacing: -.3px;
  font-weight: 900;
}

.ec-exams-card p {
  margin: 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

.ec-exams-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ec-exams-tags span {
  padding: 6px 9px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 850;
}

.ec-exams-actions {
  margin-top: auto;
  padding-top: 17px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ec-empty-state {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--ec-border);
  color: #64748b;
  box-shadow: 0 14px 34px rgba(15,122,54,.07);
}

.ec-exams-info-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.ec-exams-info-card,
.ec-exams-ad-card {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(22,163,74,.14);
  box-shadow: 0 14px 36px rgba(15,122,54,.07);
}

.ec-exams-info-card h2,
.ec-exams-ad-card h3 {
  margin: 0;
  color: #071225;
  font-size: 22px;
  letter-spacing: -.4px;
}

.ec-exams-info-card p,
.ec-exams-info-card li,
.ec-exams-ad-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 14px;
}

.ec-exams-info-card p {
  margin-top: 10px;
}

.ec-exams-info-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.ec-exams-ad-card {
  background: linear-gradient(135deg, #ffffff, #ecfdf3);
  border-style: dashed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ec-faq-grid-new {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ec-faq-mini {
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--ec-border);
}

.ec-faq-mini b {
  color: #071225;
}

.ec-faq-mini div {
  margin-top: 7px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

/* Phases Page */
.ec-phases-page {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(34,197,94,.16), transparent 32%), radial-gradient(circle at top right, rgba(132,204,22,.10), transparent 34%), linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
}

.ec-phases-hero {
  position: relative;
  padding: 28px 0 24px;
  overflow: hidden;
}

.ec-phases-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(220,252,231,.76);
  border: 1px solid var(--ec-border);
  color: #0f7a36;
  font-size: 13px;
  font-weight: 900;
}

.ec-phases-breadcrumb a {
  color: #0f7a36;
}

.ec-phases-hero-card {
  max-width: 940px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(22,163,74,.14);
  box-shadow: 0 14px 36px rgba(15,122,54,.07);
  backdrop-filter: blur(14px);
}

.ec-phases-title {
  max-width: 780px;
  margin: 0;
  color: #071225;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 900;
}

.ec-phases-title span {
  color: #16a34a;
}

.ec-phases-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  color: #64748b;
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 600;
}

.ec-phases-steps {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ec-phases-step {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(22,163,74,.14);
  color: #244130;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15,122,54,.05);
}

.ec-phases-step span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #dcfce7;
  color: #0f7a36;
  font-size: 12px;
  font-weight: 900;
}

.ec-phases-main {
  padding: 32px 0 70px;
}

.ec-phases-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 22px;
  align-items: start;
}

.ec-phases-card,
.ec-phases-side-card,
.ec-phases-content-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(22,163,74,.14);
  box-shadow: 0 14px 36px rgba(15,122,54,.07);
  border-radius: 24px;
}

.ec-phases-card {
  padding: 24px;
}

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

.ec-phases-section-head h2 {
  margin: 0;
  color: #071225;
  font-size: 28px;
  letter-spacing: -0.7px;
  font-weight: 900;
}

.ec-phases-section-head p {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.ec-phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 310px));
  gap: 16px;
}

.ec-phase-card {
  min-height: 185px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid rgba(22,163,74,.15);
  box-shadow: 0 12px 30px rgba(15,122,54,.07);
  display: flex;
  flex-direction: column;
  transition: .25s ease;
}

.ec-phase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15,122,54,.12);
}

.ec-phase-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ec-phase-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf3, #ffffff);
  border: 1px solid #bbf7d0;
  font-size: 24px;
}

.ec-phase-seq {
  padding: 7px 10px;
  border-radius: 12px;
  color: #166534;
  background: #dcfce7;
  font-size: 12px;
  font-weight: 900;
}

.ec-phase-card h3 {
  margin: 16px 0 7px;
  color: #102018;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.ec-phase-card p {
  margin: 0;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

.ec-phase-card .ec-btn-new {
  margin-top: auto;
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
}

.ec-phases-empty {
  padding: 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--ec-border);
  color: #64748b;
  font-weight: 700;
}

.ec-phases-side-card {
  padding: 22px;
  position: sticky;
  top: 92px;
}

.ec-phases-side-card h2 {
  margin: 0;
  color: #071225;
  font-size: 22px;
  letter-spacing: -0.4px;
  font-weight: 900;
}

.ec-phases-side-card p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.ec-tips-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.ec-tip-item {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: 16px;
  background: #f8fff9;
  border: 1px solid rgba(22,163,74,.12);
}

.ec-tip-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #dcfce7;
  color: #0f7a36;
  font-weight: 900;
}

.ec-tip-item b {
  display: block;
  color: #102018;
  font-size: 13.5px;
}

.ec-tip-item span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.45;
}

.ec-phases-side-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.ec-phases-content-card {
  margin-top: 22px;
  padding: 26px;
}

.ec-phases-content-card h2 {
  margin: 0;
  color: #071225;
  font-size: 24px;
  letter-spacing: -0.4px;
  font-weight: 900;
}

.ec-phases-content-card h3 {
  margin: 18px 0 8px;
  color: #071225;
  font-size: 17px;
  font-weight: 900;
}

.ec-phases-content-card p,
.ec-phases-content-card li {
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 520;
}

.ec-phases-content-card p {
  margin: 10px 0 0;
  max-width: 95ch;
}

.ec-phases-content-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  max-width: 95ch;
}

.ec-phases-faq-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ec-phases-faq-box {
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--ec-border);
}

.ec-phases-faq-box b {
  color: #071225;
}

.ec-phases-faq-box div {
  margin-top: 7px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.ec-footer-new {
  padding: 54px 0 28px;
  background: #071225;
  color: #cbd5e1;
}

.ec-footer-grid-new {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
}

.ec-footer-new h4 {
  color: #ffffff;
  margin: 0 0 14px;
  font-size: 16px;
}

.ec-footer-new a {
  display: block;
  color: #cbd5e1;
  margin: 10px 0;
  font-weight: 700;
  transition: 0.25s ease;
}

.ec-footer-new a:hover {
  color: #86efac;
}

.ec-footer-bottom-new {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #94a3b8;
  font-size: 14px;
}

.ec-bottom-nav-new {
  display: none;
}

/* Floating Leaves */
.ec-leaf-new {
  position: fixed;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #22c55e, #86efac);
  border-radius: 80% 0 80% 0;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
  animation: ecLeaf 13s linear infinite;
}

.ec-leaf-new:nth-child(1) { left: 8%; animation-delay: 0s; }
.ec-leaf-new:nth-child(2) { left: 28%; animation-delay: 3s; width: 23px; height: 23px; }
.ec-leaf-new:nth-child(3) { left: 52%; animation-delay: 6s; }
.ec-leaf-new:nth-child(4) { left: 78%; animation-delay: 1.5s; width: 22px; height: 22px; }
.ec-leaf-new:nth-child(5) { left: 90%; animation-delay: 8s; }

/* Reveal */
.ec-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s ease;
}

.ec-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes ecLeaf {
  0% { transform: translateY(110vh) rotate(0deg); }
  100% { transform: translateY(-20vh) rotate(360deg); }
}

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

@keyframes ecFloatSmall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes ecPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}

@keyframes ecLogoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-2deg); }
}

@keyframes ecLogoShine {
  0% { transform: translateX(-120%) rotate(12deg); }
  45%, 100% { transform: translateX(120%) rotate(12deg); }
}

/* Responsive */
@media (max-width: 1024px) {
  .ec-menu-new,
  .ec-actions-new {
    display: none;
  }

  .ec-mobile-btn {
    display: grid;
    place-items: center;
  }

  .ec-hero-grid-new,
  .ec-exams-info-grid,
  .ec-phases-layout {
    grid-template-columns: 1fr;
  }

  .ec-hero-content-new {
    text-align: center;
  }

  .ec-hero-subtitle-new {
    margin-left: auto;
    margin-right: auto;
  }

  .ec-hero-actions-new,
  .ec-feature-pills-new {
    justify-content: center;
  }

  .ec-exam-grid-new,
  .ec-exams-grid,
  .ec-phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-why-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }

  .ec-ai-loader-new {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ec-step-row-new {
    grid-template-columns: 1fr;
  }

  .ec-phases-side-card {
    position: static;
  }

  .ec-footer-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 88px;
  }

  .ec-container {
    width: min(100% - 24px, 1180px);
  }

  .ec-nav-new {
    min-height: 58px;
  }

  .ec-brand-new {
    font-size: 20px;
    gap: 8px;
  }

  .ec-logo-box,
  .ec-logo-svg {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .ec-logo-svg svg {
    width: 32px;
    height: 32px;
  }

  .ec-brand-name-wrap strong {
    font-size: 18px;
  }

  .ec-brand-name-wrap small {
    font-size: 9px;
  }

  .ec-mobile-btn {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .ec-hero-new {
    padding: 24px 0 30px;
  }

  .ec-hero-title-new {
    font-size: 41px;
    letter-spacing: -2px;
  }

  .ec-hero-subtitle-new {
    font-size: 16px;
  }

  .ec-hero-actions-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ec-hero-actions-new .ec-btn-new {
    width: 100%;
    min-height: 48px;
  }

  .ec-feature-pills-new {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    max-width: 100% !important;
  }

  .ec-feature-pills-new div {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
  }

  .ec-visual-new {
    min-height: 470px;
  }

  .ec-phone-card-new {
    width: 292px;
    min-height: 455px;
    border-radius: 30px;
  }

  .ec-phone-screen-new {
    min-height: 431px;
    border-radius: 24px;
  }

  .ec-score-float-new {
    top: 0;
    right: 0;
    width: 130px;
    padding: 13px;
  }

  .ec-score-float-new strong {
    font-size: 30px;
  }

  .ec-question-float-new {
    top: 268px;
    left: 0;
    width: 150px;
    padding: 13px;
  }

  .ec-question-float-new li {
    font-size: 11px;
  }

  .ec-section-new {
    padding: 52px 0;
  }

  .ec-section-head-new,
  .ec-exams-section-head,
  .ec-phases-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ec-search-wrap-new,
  .ec-exams-toolbar {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .ec-exams-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .ec-exams-filter {
    min-height: 44px;
    padding: 0 8px;
    font-size: 12.5px;
  }

  .ec-exam-grid-new,
  .ec-exams-grid,
  .ec-phases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ec-exam-card-new,
  .ec-exams-card,
  .ec-phase-card {
    max-width: 100%;
    min-height: auto;
  }

  .ec-card-actions-new,
  .ec-exams-actions {
    grid-template-columns: 1fr;
  }

  .ec-ad-box-new {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
    padding: 18px;
  }

  .ec-ad-box-new .ec-btn-new,
  .ec-search-wrap-new .ec-btn-new {
    width: 100%;
  }

  .ec-why-grid-new,
  .ec-faq-grid-new,
  .ec-phases-faq-grid {
    grid-template-columns: 1fr;
  }

  .ec-ai-loader-new,
  .ec-phases-content-card {
    padding: 26px 18px;
    border-radius: 26px;
  }

  .ec-pot-new {
    font-size: 86px;
  }

  .ec-exams-title,
  .ec-phases-title {
    font-size: 34px;
    letter-spacing: -1.1px;
  }

  .ec-exams-steps,
  .ec-phases-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ec-footer-grid-new {
    grid-template-columns: 1fr;
  }

  .ec-footer-bottom-new {
    flex-direction: column;
  }

  .ec-bottom-nav-new {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    border: 1px solid var(--ec-border);
    border-radius: 22px;
    padding: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
  }

  .ec-bottom-nav-new a {
    display: grid;
    place-items: center;
    gap: 4px;
    color: #466150;
    font-size: 11px;
    font-weight: 900;
    padding: 8px 4px;
    border-radius: 15px;
  }

  .ec-bottom-nav-new span {
    font-size: 18px;
  }

  .ec-bottom-nav-new a.active {
    background: var(--ec-primary-soft);
    color: var(--ec-primary-dark);
  }
}

@media (max-width: 420px) {
  .ec-hero-title-new {
    font-size: 38px;
  }

  .ec-phone-card-new {
    width: 276px;
  }

  .ec-phone-top-new {
    padding: 20px 16px 16px;
  }

  .ec-ai-card-new {
    margin: 13px;
    padding: 15px;
  }

  .ec-exam-mini-grid-new {
    padding: 0 13px 13px;
    gap: 7px;
  }

  .ec-exam-mini-new {
    min-height: 68px;
    font-size: 11px;
  }

  .ec-progress-card-new {
    margin: 0 13px 13px;
  }

  .ec-score-float-new {
    right: -4px;
  }

  .ec-question-float-new {
    left: -4px;
  }

  .ec-exams-steps,
  .ec-phases-steps {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Mode Page: Standard Professional Mode Cards
   Paste at bottom of /assets/css/examcook-ui.css
===================================================== */

.ec-mode-card {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.90) !important;
  border: 1px solid rgba(22, 163, 74, 0.14) !important;
  box-shadow: 0 16px 42px rgba(15, 122, 54, 0.08) !important;
}

.ec-mode-section-head {
  margin-bottom: 18px !important;
  align-items: center !important;
}

.ec-mode-section-head h2 {
  font-size: 28px !important;
  letter-spacing: -0.8px !important;
}

.ec-mode-section-head p {
  font-size: 14px !important;
  color: #64748b !important;
}

.ec-mode-section-head .ec-btn-new {
  min-height: 42px !important;
  border-radius: 12px !important;
}

/* Two equal clean cards */
.ec-mode-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.ec-mode-option {
  min-height: 250px !important;
  padding: 22px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.90)) !important;
  border: 1px solid rgba(22, 163, 74, 0.16) !important;
  box-shadow: 0 12px 32px rgba(15, 122, 54, 0.07) !important;
}

.ec-mode-option:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 44px rgba(15, 122, 54, 0.12) !important;
}

/* Icon + badge */
.ec-mode-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 16px !important;
  font-size: 25px !important;
  background: linear-gradient(135deg, #ecfdf3, #ffffff) !important;
  border: 1px solid #bbf7d0 !important;
}

.ec-mode-badge {
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}

/* Text */
.ec-mode-option h3 {
  margin: 18px 0 8px !important;
  font-size: 22px !important;
  letter-spacing: -0.4px !important;
}

.ec-mode-option p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #64748b !important;
}

/* Tags */
.ec-mode-tags {
  margin-top: 16px !important;
  gap: 8px !important;
}

.ec-mode-tags span {
  padding: 7px 10px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 12px !important;
}

/* Primary full mock button */
.ec-mode-option > .ec-btn-new {
  margin-top: auto !important;
  min-height: 44px !important;
  border-radius: 12px !important;
}

/* Sectional row cleaner */
.ec-section-list {
  margin-top: 16px !important;
  gap: 10px !important;
}

.ec-section-row {
  min-height: 64px !important;
  padding: 12px 12px 12px 14px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(22, 163, 74, 0.14) !important;
  box-shadow: 0 8px 20px rgba(15, 122, 54, 0.04) !important;
}

.ec-section-row b {
  font-size: 14px !important;
  color: #102018 !important;
}

.ec-section-row span {
  color: #64748b !important;
  font-size: 12.5px !important;
}

.ec-section-row .ec-btn-new {
  min-height: 42px !important;
  min-width: 105px !important;
  border-radius: 12px !important;
}

/* Make the overall top gap less */
.ec-mode-main {
  padding-top: 24px !important;
}

/* Mobile */
@media (max-width: 900px) {
  .ec-mode-grid {
    grid-template-columns: 1fr !important;
  }

  .ec-mode-option {
    min-height: auto !important;
  }
}

@media (max-width: 768px) {
  .ec-mode-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .ec-mode-section-head {
    align-items: flex-start !important;
  }

  .ec-mode-section-head .ec-btn-new {
    width: 100% !important;
  }

  .ec-section-row {
    grid-template-columns: 1fr !important;
  }

  .ec-section-row .ec-btn-new {
    width: 100% !important;
  }
}

/* =====================================================
   Mode Page: Scalable Layout for Many Sections
===================================================== */

.ec-mode-card {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(22, 163, 74, 0.14) !important;
  box-shadow: 0 16px 42px rgba(15, 122, 54, 0.08) !important;
}

.ec-mode-section-head {
  margin-bottom: 18px !important;
  align-items: center !important;
}

.ec-mode-section-head h2 {
  font-size: 28px !important;
  letter-spacing: -0.8px !important;
}

.ec-mode-section-head p {
  font-size: 14px !important;
  color: #64748b !important;
}

/* Full Mock smaller, Sectional bigger */
.ec-mode-grid {
  display: grid !important;
  grid-template-columns: 0.85fr 1.15fr !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.ec-mode-option {
  padding: 22px !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.90)) !important;
  border: 1px solid rgba(22, 163, 74, 0.16) !important;
  box-shadow: 0 12px 32px rgba(15, 122, 54, 0.07) !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Full mock card compact */
.ec-mode-option:first-child {
  min-height: 250px !important;
}

/* Sectional card can hold many sections */
.ec-mode-option:last-child {
  min-height: 250px !important;
  max-height: 430px !important;
}

.ec-mode-option:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 44px rgba(15, 122, 54, 0.12) !important;
}

/* Top icon and badge */
.ec-mode-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px !important;
  font-size: 24px !important;
  background: linear-gradient(135deg, #ecfdf3, #ffffff) !important;
  border: 1px solid #bbf7d0 !important;
}

.ec-mode-badge {
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}

.ec-mode-option h3 {
  margin: 16px 0 7px !important;
  font-size: 22px !important;
  letter-spacing: -0.4px !important;
}

.ec-mode-option p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

/* Tags */
.ec-mode-tags {
  margin-top: 14px !important;
  gap: 8px !important;
}

.ec-mode-tags span {
  padding: 7px 10px !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 12px !important;
}

/* Button */
.ec-mode-option > .ec-btn-new {
  margin-top: auto !important;
  min-height: 44px !important;
  border-radius: 12px !important;
}

/* Scrollable section list */
.ec-section-list {
  margin-top: 14px !important;
  display: grid !important;
  gap: 9px !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
  max-height: 230px !important;
}

/* Custom slim scrollbar */
.ec-section-list::-webkit-scrollbar {
  width: 6px;
}

.ec-section-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}

.ec-section-list::-webkit-scrollbar-thumb {
  background: #bbf7d0;
  border-radius: 999px;
}

.ec-section-list::-webkit-scrollbar-thumb:hover {
  background: #86efac;
}

/* Compact section rows */
.ec-section-row {
  min-height: 58px !important;
  padding: 10px 10px 10px 13px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(22, 163, 74, 0.14) !important;
  box-shadow: 0 8px 18px rgba(15, 122, 54, 0.04) !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.ec-section-row b {
  font-size: 14px !important;
  color: #102018 !important;
}

.ec-section-row span {
  margin-top: 3px !important;
  color: #64748b !important;
  font-size: 12px !important;
}

.ec-section-row .ec-btn-new {
  min-height: 38px !important;
  min-width: 92px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
}

/* Top spacing */
.ec-mode-main {
  padding-top: 24px !important;
}

/* Mobile */
@media (max-width: 900px) {
  .ec-mode-grid {
    grid-template-columns: 1fr !important;
  }

  .ec-mode-option:last-child {
    max-height: none !important;
  }

  .ec-section-list {
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .ec-mode-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .ec-mode-section-head {
    align-items: flex-start !important;
  }

  .ec-mode-section-head .ec-btn-new {
    width: 100% !important;
  }

  .ec-section-row {
    grid-template-columns: 1fr !important;
  }

  .ec-section-row .ec-btn-new {
    width: 100% !important;
  }
}

/* =====================================================
   Mode Page: Innovative Mode Selection Cards
===================================================== */

.ec-mode-card {
  padding: 26px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top left, rgba(34,197,94,.10), transparent 28%),
    rgba(255,255,255,.92) !important;
  border: 1px solid rgba(22, 163, 74, 0.14) !important;
  box-shadow: 0 18px 50px rgba(15, 122, 54, 0.09) !important;
}

.ec-mode-grid {
  display: grid !important;
  grid-template-columns: 0.92fr 1.08fr !important;
  gap: 20px !important;
  align-items: stretch !important;
}

/* Common card */
.ec-mode-option {
  position: relative !important;
  overflow: hidden !important;
  padding: 24px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(22, 163, 74, 0.14) !important;
  box-shadow: 0 14px 34px rgba(15, 122, 54, 0.08) !important;
  transition: 0.25s ease !important;
}

/* Full Mock - premium green card */
.ec-mode-option:first-child {
  min-height: 310px !important;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(135deg, #0f7a36 0%, #16a34a 52%, #22c55e 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.18) !important;
}

.ec-mode-option:first-child::before {
  content: "CBT";
  position: absolute;
  right: -18px;
  top: 22px;
  font-size: 86px;
  font-weight: 900;
  letter-spacing: -5px;
  color: rgba(255,255,255,.10);
  pointer-events: none;
}

.ec-mode-option:first-child::after {
  content: "⏱️";
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-size: 60px;
  opacity: .22;
  pointer-events: none;
}

.ec-mode-option:first-child .ec-mode-icon {
  background: rgba(255,255,255,.20) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #ffffff !important;
}

.ec-mode-option:first-child h3,
.ec-mode-option:first-child p {
  color: #ffffff !important;
}

.ec-mode-option:first-child p {
  opacity: .92 !important;
}

.ec-mode-option:first-child .ec-mode-badge {
  background: rgba(255,255,255,.20) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.20) !important;
}

.ec-mode-option:first-child .ec-mode-tags span {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #ffffff !important;
}

.ec-mode-option:first-child > .ec-btn-new {
  background: #ffffff !important;
  color: #0f7a36 !important;
  border-color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(7,18,37,.16) !important;
}

/* Sectional card */
.ec-mode-option:last-child {
  min-height: 310px !important;
  max-height: 430px !important;
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.10), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fffb) !important;
}

/* Sectional section list as modern tiles */
.ec-section-list {
  margin-top: 16px !important;
  display: grid !important;
  gap: 10px !important;
  max-height: 235px !important;
  overflow-y: auto !important;
  padding-right: 4px !important;
}

.ec-section-row {
  position: relative !important;
  min-height: 68px !important;
  padding: 12px 12px 12px 54px !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, #ffffff, #f7fff9) !important;
  border: 1px solid rgba(22,163,74,.16) !important;
  box-shadow: 0 10px 24px rgba(15,122,54,.06) !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: center !important;
}

.ec-section-row::before {
  content: "📘";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #dcfce7;
  font-size: 15px;
}

.ec-section-row b {
  font-size: 14px !important;
  color: #102018 !important;
}

.ec-section-row span {
  margin-top: 3px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.ec-section-row .ec-btn-new {
  min-height: 40px !important;
  min-width: 96px !important;
  border-radius: 13px !important;
  background: #ffffff !important;
}

/* Hover */
.ec-mode-option:hover {
  transform: translateY(-5px) !important;
}

.ec-section-row:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(22,163,74,.28) !important;
}

/* Scrollbar */
.ec-section-list::-webkit-scrollbar {
  width: 6px;
}

.ec-section-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}

.ec-section-list::-webkit-scrollbar-thumb {
  background: #86efac;
  border-radius: 999px;
}

/* Better spacing */
.ec-mode-option h3 {
  margin-top: 18px !important;
  font-size: 24px !important;
}

.ec-mode-option p {
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.ec-mode-option > .ec-btn-new {
  min-height: 46px !important;
  border-radius: 14px !important;
}

/* Mobile */
@media (max-width: 900px) {
  .ec-mode-grid {
    grid-template-columns: 1fr !important;
  }

  .ec-mode-option:last-child {
    max-height: none !important;
  }

  .ec-section-list {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 768px) {
  .ec-mode-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .ec-mode-option {
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .ec-section-row {
    grid-template-columns: 1fr !important;
    padding: 14px 14px 14px 54px !important;
  }

  .ec-section-row .ec-btn-new {
    width: 100% !important;
  }
}

/* =====================================================
   Mode Page: Balanced Innovative Cards
   Paste after previous mode CSS
===================================================== */

/* Equal balance between Full Mock and Sectional Mock */
.ec-mode-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  align-items: stretch !important;
}

/* Same card height feel */
.ec-mode-option {
  min-height: 330px !important;
  max-height: none !important;
  padding: 24px !important;
}

/* Reduce full mock visual heaviness */
.ec-mode-option:first-child {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.20), transparent 28%),
    linear-gradient(135deg, #12813c 0%, #16a34a 56%, #22c55e 100%) !important;
}

.ec-mode-option:first-child::before {
  right: -10px !important;
  top: 34px !important;
  font-size: 68px !important;
  opacity: 0.8 !important;
}

.ec-mode-option:first-child::after {
  right: 22px !important;
  bottom: 22px !important;
  font-size: 46px !important;
  opacity: 0.18 !important;
}

/* Make full mock content more evenly spaced */
.ec-mode-option:first-child .ec-mode-tags {
  margin-top: 18px !important;
}

.ec-mode-option:first-child > .ec-btn-new {
  margin-top: auto !important;
}

/* Sectional card should visually match height */
.ec-mode-option:last-child {
  min-height: 330px !important;
  max-height: 330px !important;
}

/* Keep section list scrollable only when many sections */
.ec-section-list {
  max-height: 155px !important;
  overflow-y: auto !important;
}

/* Section rows more compact and balanced */
.ec-section-row {
  min-height: 60px !important;
  padding: 10px 10px 10px 50px !important;
  border-radius: 16px !important;
}

.ec-section-row::before {
  left: 13px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 11px !important;
}

.ec-section-row .ec-btn-new {
  min-height: 38px !important;
  min-width: 90px !important;
}

/* Better text balance */
.ec-mode-option h3 {
  font-size: 23px !important;
}

.ec-mode-option p {
  max-width: 95% !important;
}

/* Mobile: remove fixed card height */
@media (max-width: 900px) {
  .ec-mode-grid {
    grid-template-columns: 1fr !important;
  }

  .ec-mode-option,
  .ec-mode-option:last-child {
    min-height: auto !important;
    max-height: none !important;
  }

  .ec-section-list {
    max-height: none !important;
    overflow-y: visible !important;
  }
}