/* =====================
   HERO SECTION
===================== */
.mock-box a {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.hero-wrap {
  background: linear-gradient(135deg, #f4f6ff, #ffffff);
  border-radius: 24px;
  padding: 60px 50px;
  margin-bottom: 70px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}


/* HEADER */
.hero-header {
  text-align: center;
  margin-bottom: 48px;
}

.hero-header h2 {
  font-size: 38px;
  line-height: 1.3;
  font-weight: 800;
}

.hero-header h2 span {
  color: #3f51b5;
}

.hero-header p {
  margin-top: 18px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.hero-badges {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges span {
  background: #eef1ff;
  color: #3f51b5;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* PRACTICE GRID */
.practice-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.practice-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.practice-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.practice-card p {
  font-size: 14px;
  color: #444;
}

.practice-card small {
  display: block;
  margin-top: 6px;
  color: #777;
}

/* HOVER */
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.practice-card.highlight {
  border: 2px solid #3f51b5;
}

.practice-card.mock {
  background: linear-gradient(135deg, #3f51b5, #5c6cff);
  color: #ffffff;
}

.practice-card.mock p,
.practice-card.mock small {
  color: #e0e4ff;
}

@media (max-width: 1024px) {
  .practice-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .hero-wrap {
    padding: 40px 20px;
    border-radius: 18px;
  }

  .hero-header h2 {
    font-size: 26px;
  }

  .hero-header p {
    font-size: 14px;
  }

  .hero-badges span {
    font-size: 12px;
    padding: 6px 12px;
  }

  .practice-grid-new {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .practice-card {
    padding: 22px 18px;
  }

  .practice-card h3 {
    font-size: 16px;
  }

  .practice-card p {
    font-size: 13px;
  }
}

/* =====================
   SECTION
===================== */

.section {
  max-width: 1100px;
  margin: 80px auto 0; /* ✅ hero 와 확실한 간격 */
  padding: 70px 24px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  color: #1e293b;
}

.section-desc {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* =====================
   CARD GRID
===================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

/* =====================
   FEATURE CARD
===================== */

.feature-card {
  padding: 18px 14px;
  border-radius: 14px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

/* =====================
   PRACTICE GROUPS
===================== */
/* =====================
   GROUP GRID (INNER)
===================== */
/* =====================
   MAIN LAYOUT
===================== */
.practice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 28px;
}

/* 컬럼 */
.column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* =====================
   PRACTICE BOX
===================== */
.practice-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.practice-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 800;
}

/* 링크들 */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-row a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f3f8;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.link-row a:hover {
  background: #e0e7ff;
}

/* =====================
   MOCK COLUMN
===================== */
.mock-column {
  display: flex;
}

.mock-box {
  background: linear-gradient(135deg, #3f51b5, #5c6cff);
  border-radius: 24px;
  padding: 36px 28px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(63,81,181,0.35);
  width: 100%;
}

.mock-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.mock-box p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.mock-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  color: #3f51b5;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .practice-layout {
    grid-template-columns: 1fr;
  }

  .mock-column {
    order: -1;
  }
}

/* =====================
   MAIN LAYOUT
===================== */
.practice-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 28px;
}

/* 컬럼 */
.column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* =====================
   PRACTICE BOX
===================== */
.practice-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.practice-box h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 800;
}

/* 링크들 */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-row a {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f3f8;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.link-row a:hover {
  background: #e0e7ff;
}

/* =====================
   MOCK COLUMN
===================== */
.mock-column {
  display: flex;
}

.mock-box {
  background: linear-gradient(135deg, #3f51b5, #5c6cff);
  border-radius: 24px;
  padding: 36px 28px;
  color: #fff;
  box-shadow: 0 20px 50px rgba(63,81,181,0.35);
  width: 100%;
}

.mock-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.mock-box p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.mock-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  color: #3f51b5;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .practice-layout {
    grid-template-columns: 1fr;
  }

  .mock-column {
    order: -1;
  }
}


/* =====================
   SCORE TABLE
===================== */

.score-table {
  width: 100%;
  max-width: 900px;          /* ✅ 넓게 */
  margin: 40px auto 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

/* 헤더 */
.score-table thead th {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 700;
  padding: 16px 18px;
  text-align: center;
  font-size: 0.9rem;
}

/* 바디 */
.score-table tbody td {
  padding: 16px 18px;
  text-align: center;
  color: #334155;
  border-bottom: 1px solid #e5e7eb;
}

/* 마지막 줄 border 제거 */
.score-table tbody tr:last-child td {
  border-bottom: none;
}

/* CEFR 강조 */
.score-table tbody td:first-child {
  font-weight: 700;
  color: #166534;
}

/* 점수 컬럼 */
.score-table tbody td:nth-child(2) {
  font-weight: 600;
  color: #0f172a;
}

/* 설명 컬럼 */
.score-table tbody td:last-child {
  color: #475569;
}

/* Hover 효과 */
.score-table tbody tr:hover {
  background: #f0fdf4;
  transition: background 0.2s ease;
}

/* ===============================
   LEVEL SUMMARY BAR STYLE
================================ */

.level-row {
  margin-bottom: 14px;
}

.level-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}

.bar-bg {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.6s ease;
}

/* IBEST INTRO */
.ibest-intro {
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
  padding: 80px 20px 90px;
  border-bottom: 1px solid #eee;
}

.intro-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.intro-header {
  text-align: center;
  margin-bottom: 50px;
}

.intro-header .brand {
  display: inline-block;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.intro-header h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.intro-header h1 strong {
  color: #1e40af;
}

.intro-header p {
  font-size: 16px;
  color: #555;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.intro-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
}

.intro-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.intro-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.intro-highlight {
  background: #1e3a8a;
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  font-size: 16px;
}

.intro-highlight b {
  color: #fde68a;
}

.quick-menu {
  padding: 50px 20px 70px;
  background: #ffffff;
}

.quick-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.quick-item {
  background: #f9fafb;
  border-radius: 18px;
  padding: 28px 10px;
  text-align: center;
  text-decoration: none;
  color: #111;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.quick-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}

.quick-item .icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.quick-item span {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

/* 모바일 */
@media (max-width: 768px) {
  .quick-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .quick-item {
    padding: 22px 8px;
  }

  .quick-item .icon {
    font-size: 30px;
  }
}


/* 반응형 */
@media (max-width: 900px) {
  .intro-cards {
    grid-template-columns: 1fr;
  }

  .intro-header h1 {
    font-size: 26px;
  }
}


/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  .score-table {
    font-size: 0.85rem;
  }

  .score-table thead th,
  .score-table tbody td {
    padding: 14px 10px;
  }
}
