/* NC.EL.50 — writing.namecentury.com English Test Center (CCU online + partner local) */

body.nc-el-english-test-center {
  --et-bg: #ffffff;
  --et-bg-soft: #f7f7fb;
  --et-purple: #5b4fe8;
  --et-purple-dark: #4639c9;
  --et-purple-soft: #eeecfd;
  --et-green: #58cc02;
  --et-green-dark: #46a302;
  --et-text: #1f1f2e;
  --et-muted: #6b6b80;
  --et-border: #e8e8f0;
  --et-radius: 20px;
  --et-shadow: 0 8px 32px rgba(91, 79, 232, 0.12);
  background: var(--et-bg);
  color: var(--et-text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.nc-el-english-test-center .nc-el-writing-header {
  background: #fff;
  border-bottom: 1px solid var(--et-border);
  position: sticky;
  top: 0;
  z-index: 30;
}

body.nc-el-english-test-center .nc-el-writing-header-inner {
  max-width: 1140px;
  padding: 0.85rem 1.25rem;
}

body.nc-el-english-test-center .nc-el-writing-brand {
  color: var(--et-purple);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

body.nc-el-english-test-center .nc-el-writing-brand span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--et-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

body.nc-el-english-test-center .nc-el-writing-main {
  max-width: none;
  padding: 0;
}

/* Nav */
.nc-et-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nc-et-nav a {
  color: var(--et-text);
  text-decoration: none;
}

.nc-et-nav a:hover {
  color: var(--et-purple);
}

.nc-et-nav-cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--et-green) !important;
  color: #fff !important;
  box-shadow: 0 2px 0 var(--et-green-dark);
}

.nc-et-nav-cta:hover {
  filter: brightness(1.05);
}

/* Hero — DET-style split */
.nc-et-hero {
  background: linear-gradient(180deg, var(--et-purple-soft) 0%, #fff 55%);
  padding: 2.5rem 1.25rem 3.5rem;
  overflow: hidden;
}

.nc-et-hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nc-et-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.nc-et-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--et-text);
}

.nc-et-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--et-muted);
  max-width: 520px;
}

.nc-et-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.nc-et-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease;
}

.nc-et-btn:hover {
  transform: translateY(-1px);
}

.nc-et-btn-primary {
  background: var(--et-green);
  color: #fff;
  box-shadow: 0 4px 0 var(--et-green-dark);
}

.nc-et-btn-secondary {
  background: #fff;
  color: var(--et-purple);
  border-color: var(--et-purple);
}

.nc-et-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.nc-et-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--et-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--et-muted);
}

/* Mock score card — DET-inspired visual */
.nc-et-mock-card {
  background: #fff;
  border-radius: var(--et-radius);
  box-shadow: var(--et-shadow);
  border: 1px solid var(--et-border);
  padding: 1.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.nc-et-mock-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.nc-et-mock-card header strong {
  font-size: 0.85rem;
  color: var(--et-purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nc-et-mock-score {
  text-align: center;
  padding: 1rem 0;
}

.nc-et-mock-score .score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--et-purple);
  line-height: 1;
}

.nc-et-mock-score .label {
  font-size: 0.9rem;
  color: var(--et-muted);
  margin-top: 0.35rem;
}

.nc-et-mock-modules {
  display: grid;
  gap: 0.5rem;
}

.nc-et-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: var(--et-bg-soft);
  border-radius: 10px;
  font-size: 0.88rem;
}

.nc-et-mock-row span:last-child {
  font-weight: 700;
  color: var(--et-purple);
}

/* Sections */
.nc-et-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.nc-et-section--soft {
  background: var(--et-bg-soft);
  max-width: none;
}

.nc-et-section--soft .nc-et-section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.nc-et-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}

.nc-et-section-intro {
  margin: 0 auto 2.5rem;
  max-width: 640px;
  text-align: center;
  color: var(--et-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Feature grid — DET "why take" style */
.nc-et-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nc-et-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nc-et-hero-photo {
  max-width: 1140px;
  margin: 0.5rem auto 0;
  padding: 0 1.25rem;
}

.nc-et-hero-photo img,
.nc-et-band img,
.nc-et-partner-photo img,
.nc-et-photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.nc-et-hero-photo img {
  height: min(420px, 56vw);
  object-position: center 42%;
  border-radius: 24px;
}

.nc-et-band {
  max-width: 1140px;
  margin: 0 auto 1.75rem;
  padding: 0 1.25rem;
}

.nc-et-band img {
  height: 240px;
  object-position: center 40%;
  border-radius: 20px;
}

.nc-et-partner-photo {
  max-width: 860px;
  margin: 0 auto 1.25rem;
}

.nc-et-partner-photo img {
  height: 300px;
  object-position: center 28%;
  border-radius: 20px;
}

.nc-et-photo {
  height: 168px;
  object-position: center 40%;
  border-radius: 14px;
  margin: 0 0 1rem;
}

.nc-et-photo--room { object-position: 18% 45%; }
.nc-et-photo--grad { object-position: center 22%; }
.nc-et-photo--page { object-position: 12% 55%; }

.nc-et-feature .nc-et-photo {
  width: calc(100% + 1.7rem);
  height: 188px;
  margin: -0.85rem -0.85rem 1rem;
  border-radius: 18px 18px 12px 12px;
}

.nc-et-path-card .nc-et-photo {
  width: calc(100% + 2.7rem);
  height: 160px;
  margin: -1.35rem -1.35rem 1rem;
  border-radius: 16px 16px 12px 12px;
}

.nc-et-feature {
  background: #fff;
  border: 1px solid var(--et-border);
  border-radius: var(--et-radius);
  padding: 0.85rem 0.85rem 1.35rem;
  text-align: center;
}

.nc-et-section--soft .nc-et-feature {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nc-et-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--et-purple-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nc-et-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.nc-et-feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--et-muted);
  line-height: 1.55;
}

/* Module pills */
.nc-et-modules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.nc-et-module-pill {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--et-purple-soft);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--et-purple-dark);
}

/* Pathways row */
.nc-et-pathways {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nc-et-pathways {
    grid-template-columns: repeat(3, 1fr);
  }
}

.nc-et-path-card {
  border-radius: var(--et-radius);
  padding: 1.35rem;
  border: 2px solid var(--et-border);
  background: #fff;
}

.nc-et-path-card--primary {
  border-color: var(--et-purple);
  background: linear-gradient(180deg, var(--et-purple-soft) 0%, #fff 40%);
}

.nc-et-path-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.nc-et-path-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--et-muted);
  line-height: 1.5;
}

.nc-et-path-card a {
  font-weight: 700;
  color: var(--et-purple);
  text-decoration: none;
  font-size: 0.92rem;
}

.nc-et-path-card a:hover {
  text-decoration: underline;
}

/* Compare strip */
.nc-et-compare {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.nc-et-compare span {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--et-border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--et-muted);
}

.nc-et-compare span.nc-et-compare--ours {
  background: var(--et-purple);
  color: #fff;
  border-color: var(--et-purple);
}

/* Steps */
.nc-et-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .nc-et-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nc-et-step {
  text-align: center;
  padding: 1rem 0.75rem;
}

.nc-et-step-num {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--et-purple);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-et-step strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.nc-et-step span {
  font-size: 0.82rem;
  color: var(--et-muted);
  line-height: 1.45;
}

/* Minimal product footer — NOT CCU 4-col */
.nc-et-footer {
  background: var(--et-text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.nc-et-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nc-et-footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.nc-et-footer-brand {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.nc-et-footer-col h4 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.nc-et-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-et-footer-col li {
  margin-bottom: 0.4rem;
}

.nc-et-footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.nc-et-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.nc-et-footer-bottom {
  max-width: 1140px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
