/* =============================================
   ECG — EXECUTIVE CAREER ASSESSMENT STYLES
   assessment.css
   ============================================= */

/* ─── ASSESSMENT HERO ─── */
.eca-hero {
  background: var(--green, #0F2340);
  padding: calc(var(--nav-h, 80px) + 80px) 8% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.eca-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(176,138,87,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.eca-hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold, #B08A57);
  display: block;
  margin-bottom: 20px;
}
.eca-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: #FAF8F5;
  margin: 0 0 24px;
  line-height: 1.1;
}
.eca-hero p {
  font-size: 17px;
  color: rgba(250,248,245,0.75);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.75;
  font-weight: 300;
}

/* ─── UPLOAD ZONE ─── */
.eca-upload-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.eca-upload-zone {
  border: 2px dashed rgba(176,138,87,0.5);
  border-radius: 16px;
  padding: 56px 40px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.eca-upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(176,138,87,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.eca-upload-zone:hover,
.eca-upload-zone.drag-over {
  border-color: var(--gold, #B08A57);
  background: rgba(176,138,87,0.08);
  transform: translateY(-2px);
}
.eca-upload-zone:hover::before,
.eca-upload-zone.drag-over::before { opacity: 1; }
.eca-upload-zone.drag-over { border-style: solid; }

.eca-upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(176,138,87,0.2), rgba(176,138,87,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(176,138,87,0.3);
}
.eca-upload-icon svg { width: 28px; height: 28px; stroke: var(--gold, #B08A57); }
.eca-upload-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #FAF8F5;
  margin-bottom: 8px;
}
.eca-upload-sub {
  font-size: 14px;
  color: rgba(250,248,245,0.5);
  margin-bottom: 28px;
}
.eca-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold, #B08A57);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.eca-browse-btn:hover {
  background: #9A7748;
  transform: translateY(-1px);
}
.eca-upload-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.eca-upload-meta span {
  font-size: 12px;
  color: rgba(250,248,245,0.45);
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}
.eca-upload-meta span svg { width: 12px; height: 12px; }

/* ─── PROCESSING STATE ─── */
#eca-processing {
  display: none;
  padding: 80px 8%;
  background: var(--green, #0F2340);
  text-align: center;
  min-height: 400px;
}
.eca-loader {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  position: relative;
}
.eca-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: ecaSpinRing 1.4s linear infinite;
}
.eca-loader-ring:nth-child(1) { border-top-color: var(--gold, #B08A57); animation-duration: 1.4s; }
.eca-loader-ring:nth-child(2) { border-right-color: rgba(176,138,87,0.4); animation-duration: 1.8s; animation-direction: reverse; inset: 8px; }
.eca-loader-ring:nth-child(3) { border-bottom-color: rgba(176,138,87,0.2); animation-duration: 2.2s; inset: 16px; }
@keyframes ecaSpinRing { to { transform: rotate(360deg); } }

.eca-processing-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: #FAF8F5;
  margin-bottom: 12px;
}
.eca-processing-sub {
  font-size: 15px;
  color: rgba(250,248,245,0.55);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 40px;
}
.eca-progress-bar-wrap {
  max-width: 420px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  height: 4px;
  overflow: hidden;
}
.eca-progress-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold, #B08A57), #E4C070);
  border-radius: 100px;
  transition: width 0.5s ease;
}
.eca-progress-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.eca-step-item {
  font-size: 12px;
  color: rgba(250,248,245,0.3);
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.4s;
}
.eca-step-item.active { color: var(--gold, #B08A57); }
.eca-step-item.done { color: rgba(250,248,245,0.7); }
.eca-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ─── RESULTS DASHBOARD ─── */
#eca-results {
  display: none;
  background: #F8F6F2;
}

/* Result Header */
.eca-result-header {
  padding: 60px 8% 48px;
  text-align: center;
  position: relative;
}
.eca-result-header.score-high { background: linear-gradient(160deg, #0A2418 0%, #0F3020 100%); }
.eca-result-header.score-mid  { background: linear-gradient(160deg, #1A2035 0%, #0F2340 100%); }
.eca-result-header.score-low  { background: linear-gradient(160deg, #2A0A0A 0%, #3D1010 100%); }

.eca-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.eca-result-badge.badge-high { background: rgba(34,197,94,0.15); color: #4ADE80; border: 1px solid rgba(34,197,94,0.25); }
.eca-result-badge.badge-mid  { background: rgba(234,179,8,0.15);  color: #FBBF24; border: 1px solid rgba(234,179,8,0.25); }
.eca-result-badge.badge-low  { background: rgba(239,68,68,0.15);  color: #F87171; border: 1px solid rgba(239,68,68,0.25); }

/* Score Circle */
.eca-score-circle-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
}
.eca-score-svg { width: 200px; height: 200px; transform: rotate(-90deg); }
.eca-score-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 8; }
.eca-score-fill  {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 2s cubic-bezier(0.4,0,0.2,1);
}
.score-high .eca-score-fill { stroke: url(#gradHigh); }
.score-mid  .eca-score-fill { stroke: url(#gradMid); }
.score-low  .eca-score-fill { stroke: url(#gradLow); }

.eca-score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.eca-score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 400;
  color: #FAF8F5;
  line-height: 1;
  margin-bottom: 4px;
}
.eca-score-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  color: rgba(250,248,245,0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eca-result-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: #FAF8F5;
  margin-bottom: 12px;
  line-height: 1.15;
}
.eca-result-sub {
  font-size: 16px;
  color: rgba(250,248,245,0.6);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.eca-result-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.eca-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold, #B08A57);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.eca-btn-primary:hover { background: #9A7748; transform: translateY(-1px); }
.eca-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(250,248,245,0.85);
  border: 1px solid rgba(250,248,245,0.25);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
}
.eca-btn-outline:hover { border-color: rgba(250,248,245,0.6); background: rgba(255,255,255,0.06); }

/* ─── DASHBOARD BODY ─── */
.eca-dashboard {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 8% 80px;
}
.eca-dash-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .eca-dash-grid { grid-template-columns: 1fr; } }

/* Sidebar */
.eca-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eca-sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.eca-sidebar-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold, #B08A57);
  margin-bottom: 16px;
  display: block;
  font-weight: 700;
}
.eca-mini-score-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eca-mini-score-item:last-child { margin-bottom: 0; }
.eca-msi-label {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #1A2035;
  font-weight: 500;
}
.eca-msi-bar-wrap {
  width: 80px;
  height: 5px;
  background: #EEE;
  border-radius: 100px;
  overflow: hidden;
}
.eca-msi-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.2s ease;
}
.eca-msi-score {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  min-width: 32px;
  text-align: right;
  color: #1A2035;
}

/* Main grid */
.eca-main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Category Score Cards */
.eca-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .eca-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .eca-cat-grid { grid-template-columns: 1fr; } }

.eca-cat-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.eca-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
}
.eca-cat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.eca-cat-card.grade-a::before { background: linear-gradient(90deg, #22C55E, #4ADE80); }
.eca-cat-card.grade-b::before { background: linear-gradient(90deg, #84CC16, #A3E635); }
.eca-cat-card.grade-c::before { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.eca-cat-card.grade-d::before { background: linear-gradient(90deg, #F97316, #FB923C); }
.eca-cat-card.grade-f::before { background: linear-gradient(90deg, #EF4444, #F87171); }

.eca-cat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.eca-cat-name {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1A2035;
  letter-spacing: 0.02em;
  flex: 1;
}
.eca-cat-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  margin-left: 12px;
}
.grade-a .eca-cat-score { color: #16A34A; }
.grade-b .eca-cat-score { color: #65A30D; }
.grade-c .eca-cat-score { color: #D97706; }
.grade-d .eca-cat-score { color: #EA580C; }
.grade-f .eca-cat-score { color: #DC2626; }

.eca-cat-bar-wrap {
  background: #F0EDE8;
  height: 4px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.eca-cat-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}
.eca-cat-grade {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}
.grade-a .eca-cat-grade { background: rgba(34,197,94,0.1); color: #16A34A; }
.grade-b .eca-cat-grade { background: rgba(132,204,22,0.1); color: #65A30D; }
.grade-c .eca-cat-grade { background: rgba(234,179,8,0.1);  color: #D97706; }
.grade-d .eca-cat-grade { background: rgba(249,115,22,0.1); color: #EA580C; }
.grade-f .eca-cat-grade { background: rgba(239,68,68,0.1);  color: #DC2626; }

/* ─── RECOMMENDATIONS ─── */
.eca-recs-section {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.eca-recs-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: #0F2340;
  margin-bottom: 6px;
}
.eca-recs-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 28px;
}
.eca-rec-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #F0EDE8;
  align-items: flex-start;
}
.eca-rec-item:last-child { border-bottom: none; padding-bottom: 0; }
.eca-rec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eca-rec-icon.priority-high { background: rgba(239,68,68,0.1); }
.eca-rec-icon.priority-mid  { background: rgba(234,179,8,0.1); }
.eca-rec-icon.priority-low  { background: rgba(34,197,94,0.1); }
.eca-rec-icon svg { width: 16px; height: 16px; }
.eca-rec-icon.priority-high svg { stroke: #DC2626; }
.eca-rec-icon.priority-mid  svg { stroke: #D97706; }
.eca-rec-icon.priority-low  svg { stroke: #16A34A; }
.eca-rec-body { flex: 1; }
.eca-rec-label {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A2035;
  margin-bottom: 4px;
}
.eca-rec-text {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.65;
}
.eca-rec-priority {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.eca-rec-priority.priority-high { background: rgba(239,68,68,0.1); color: #DC2626; }
.eca-rec-priority.priority-mid  { background: rgba(234,179,8,0.1);  color: #D97706; }
.eca-rec-priority.priority-low  { background: rgba(34,197,94,0.1);  color: #16A34A; }

/* ─── CTA PANEL ─── */
.eca-upgrade-panel {
  background: linear-gradient(135deg, #0F2340 0%, #1A3A5C 100%);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.eca-upgrade-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(176,138,87,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.eca-upgrade-panel h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  color: #FAF8F5;
  margin-bottom: 12px;
  position: relative;
}
.eca-upgrade-panel p {
  font-size: 15px;
  color: rgba(250,248,245,0.65);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.eca-upgrade-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── ERROR STATE ─── */
.eca-error-toast {
  display: none;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 10px;
  padding: 14px 20px;
  margin-top: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #F87171;
  text-align: center;
}

/* ─── HOMEPAGE ASSESSMENT SECTION ─── */
.eca-home-section {
  background: #FAF8F5;
  padding: 100px 8%;
}
.eca-home-header {
  text-align: center;
  margin-bottom: 64px;
}
.eca-home-header .section-eyebrow { color: var(--gold, #B08A57); }
.eca-home-header .section-headline { color: #0F2340; }
.eca-home-sub {
  font-size: 17px;
  color: #4B5563;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}

/* Showcase Cards */
.eca-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
@media (max-width: 800px) { .eca-showcase-grid { grid-template-columns: 1fr; } }

.eca-showcase-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.eca-showcase-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,0.12); }

.eca-sc-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eca-sc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1A2035;
  letter-spacing: 0.02em;
}
.eca-sc-score-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
}
.eca-sc-score-pill.high { background: rgba(34,197,94,0.1); color: #16A34A; border: 1px solid rgba(34,197,94,0.2); }
.eca-sc-score-pill.low  { background: rgba(239,68,68,0.1);  color: #DC2626; border: 1px solid rgba(239,68,68,0.2); }
.eca-sc-score-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.eca-sc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.eca-sc-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.badge-green { background: rgba(34,197,94,0.1); color: #16A34A; }
.badge-red   { background: rgba(239,68,68,0.1);  color: #DC2626; }

.eca-sc-preview {
  height: 280px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.eca-sc-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.eca-showcase-card:hover .eca-sc-preview img { transform: scale(1.02); }
.eca-sc-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,35,64,0.7));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.eca-sc-preview:hover .eca-sc-preview-overlay { opacity: 1; }
.eca-privacy-mask {
  position: absolute;
  top: 17%;
  left: 55%;
  right: 0;
  height: 8%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10,15,30,0.32);
  z-index: 2;
  pointer-events: none;
}
.eca-modal-img-wrap { position: relative; }
.eca-modal-privacy-mask {
  position: absolute;
  top: 17%;
  left: 55%;
  right: 0;
  height: 8%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10,15,30,0.32);
  display: none;
  pointer-events: none;
}
.eca-sc-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.95);
  color: #0F2340;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.eca-sc-actions {
  display: flex;
  gap: 12px;
  padding: 20px 28px 24px;
}
.eca-sc-btn {
  flex: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.eca-sc-btn.primary { background: var(--green, #0F2340); color: #FAF8F5; }
.eca-sc-btn.primary:hover { background: #1A3A5C; }
.eca-sc-btn.secondary { background: #F0EDE8; color: #1A2035; }
.eca-sc-btn.secondary:hover { background: #E5E0D8; }

/* ─── COMPARISON TABLE ─── */
.eca-compare-wrap {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  margin-bottom: 64px;
}
.eca-compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #0F2340;
  padding: 20px 28px;
}
.eca-ch-cell {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #FAF8F5;
  letter-spacing: 0.05em;
}
.eca-ch-cell:first-child { color: rgba(250,248,245,0.55); font-weight: 500; }
.eca-ch-cell.good { color: #4ADE80; }
.eca-ch-cell.bad  { color: #F87171; }

.eca-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 28px;
  border-bottom: 1px solid #F0EDE8;
  align-items: center;
  transition: background 0.2s;
}
.eca-compare-row:last-child { border-bottom: none; }
.eca-compare-row:hover { background: #FAFAF8; }
.eca-cr-label {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}
.eca-cr-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
}
.eca-cr-check.yes { color: #16A34A; }
.eca-cr-check.no  { color: #DC2626; }
.eca-cr-check svg { width: 18px; height: 18px; stroke-width: 2.5; }

/* ─── UPLOAD CTA IN HOME ─── */
.eca-home-cta {
  background: linear-gradient(135deg, #0F2340 0%, #1A3A5C 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.eca-home-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(176,138,87,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.eca-home-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  color: #FAF8F5;
  margin-bottom: 12px;
  position: relative;
}
.eca-home-cta p {
  font-size: 16px;
  color: rgba(250,248,245,0.65);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.eca-home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold, #B08A57);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  letter-spacing: 0.02em;
}
.eca-home-cta-btn:hover { background: #9A7748; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(176,138,87,0.4); }
.eca-home-cta-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
  position: relative;
}
.eca-home-cta-meta span {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: rgba(250,248,245,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── MODAL ─── */
.eca-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,16,28,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.eca-modal-backdrop.open { display: flex; }
.eca-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: ecaModalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes ecaModalIn {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.eca-modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid #F0EDE8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.eca-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0F2340;
}
.eca-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 18px;
  color: #6B7280;
  line-height: 1;
}
.eca-modal-close:hover { background: #F9FAFB; border-color: #D1D5DB; }
.eca-modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 0;
}
.eca-modal-body img {
  width: 100%;
  display: block;
}
.eca-modal-foot {
  padding: 20px 28px;
  border-top: 1px solid #F0EDE8;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* ─── NEW TEAM CARDS ─── */
.eca-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .eca-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .eca-team-grid { grid-template-columns: 1fr; } }

.eca-team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.eca-team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.eca-team-photo-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.eca-team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}
.eca-team-card:hover .eca-team-photo-wrap img { transform: scale(1.03); }

.eca-team-founder-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--gold, #B08A57), #D4A86A);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.eca-team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(15,35,64,0.85));
}

.eca-team-info { padding: 24px 24px 20px; }
.eca-team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #0F2340;
  margin-bottom: 4px;
  line-height: 1.2;
}
.eca-team-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold, #B08A57);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eca-team-bio {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.65;
  margin-bottom: 16px;
}
.eca-team-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.eca-team-exp-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  background: #F0EDE8;
  color: #374151;
  border-radius: 4px;
}
.eca-team-actions {
  display: flex;
  gap: 8px;
  padding: 0 24px 24px;
}
.eca-team-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  flex: 1;
  justify-content: center;
}
.eca-team-action-btn:hover { border-color: var(--gold, #B08A57); color: var(--gold, #B08A57); background: rgba(176,138,87,0.05); }
.eca-team-action-btn svg { width: 13px; height: 13px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .eca-hero { padding: calc(var(--nav-h, 72px) + 48px) 6% 60px; }
  .eca-upload-zone { padding: 36px 20px; }
  .eca-dashboard { padding: 40px 5%; }
  .eca-recs-section { padding: 24px; }
  .eca-upgrade-panel { padding: 36px 24px; }
  .eca-home-section { padding: 70px 5%; }
  .eca-home-cta { padding: 48px 24px; }
  .eca-compare-header, .eca-compare-row { grid-template-columns: 1fr 1fr 1fr; padding: 14px 16px; }
  .eca-cr-label { font-size: 12px; }
}
