/* TOPIK 에듀 — 그린 브랜드(#10b981) 기반, 한글 학습 테마 */
:root {
  --landing-primary: #10b981;
  --landing-primary-light: #6ee7b7;
  --landing-primary-dark: #059669;
  --landing-accent: #0ea5e9;
  --landing-violet: #7c3aed;
  --landing-amber: #f59e0b;
  --landing-ink: #101a29;
  --landing-muted: #737588;
  --landing-bg-soft: #f4faf7;
  --landing-card: #ffffff;
  --landing-border: rgba(15, 23, 42, 0.08);
  --landing-radius: 18px;
  --landing-radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06), 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-brand: 0 10px 30px rgba(16, 185, 129, 0.28);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body.index-page {
  color: var(--landing-ink);
  padding-top: 72px;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(14, 165, 233, 0.06), transparent 60%),
    radial-gradient(900px 480px at 6% 0%, rgba(16, 185, 129, 0.07), transparent 55%),
    #ffffff;
  letter-spacing: -0.01em;
}

::selection { background: rgba(16, 185, 129, 0.18); }

/* 앵커 이동 시 부드러운 스크롤 + 고정 헤더(72px) 보정 */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }

h1, h2, h3, h4, h5, h6, .sitename {
  color: var(--landing-ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* AgileTech 스타일 eyebrow(소제목) */
.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--landing-primary-dark);
  margin-bottom: 0.9rem;
}

.subtitle::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--landing-primary), var(--landing-accent));
}

.section-title .subtitle { justify-content: center; }

.header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 24px rgba(15, 23, 42, 0.04);
  z-index: 1000;
  height: 72px;
}

.header .logo h1.sitename {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0 0.55rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #047857, #10b981 55%, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navmenu a {
  position: relative;
  padding-bottom: 2px;
}

@media (min-width: 1200px) {
  .navmenu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .navmenu a:hover::after,
  .navmenu a.active::after { transform: scaleX(1); }
}

.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.navmenu a {
  text-decoration: none;
  color: var(--landing-ink);
  font-weight: 500;
  font-size: 0.9rem;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--landing-primary-dark);
}

.mobile-nav-toggle {
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--landing-ink);
}

@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .navmenu ul {
    display: none;
    position: absolute;
    inset: 72px 0 auto 0;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }
  .navmenu.nav-open ul {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    url("../img/hangul-bg.svg") center top / cover no-repeat,
    radial-gradient(820px 380px at 80% 10%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(720px 400px at 12% 6%, rgba(16, 185, 129, 0.14), transparent 60%),
    linear-gradient(180deg, #f1faf5 0%, #ffffff 72%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, #ffffff);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--landing-primary-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.hero-title span {
  background: linear-gradient(120deg, #047857, #10b981 50%, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--landing-muted);
  font-size: 1.06rem;
  max-width: 38rem;
  line-height: 1.7;
}

.hero-stats .hero-stat {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius-sm);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 6rem;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-stats .hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--landing-primary-dark);
}

.hero-stat span {
  font-size: 0.72rem;
  color: var(--landing-muted);
  font-weight: 600;
}

.hero .hero-img {
  max-width: 100%;
  max-height: 520px;
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.12));
}

.store-badge {
  font-size: 0.65rem !important;
}

.btn-get-started,
.btn-app-store {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Primary — solid green pill */
.btn-get-started {
  background: linear-gradient(135deg, #059669 0%, #10b981 60%, #34d399 100%);
  border: 2px solid transparent;
  color: #fff !important;
  box-shadow: var(--shadow-brand);
}

.btn-get-started:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.4);
  color: #fff !important;
}

/* Secondary — outline that fills on hover (AgileTech) */
.btn-app-store {
  background: transparent;
  border: 2px solid var(--landing-primary);
  color: var(--landing-ink) !important;
}

.btn-app-store::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--landing-primary);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-app-store:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-app-store:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.section {
  padding: 5.5rem 0;
}

.section-title {
  margin-bottom: 2.75rem;
}

.section-title h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-title h2 span {
  background: linear-gradient(120deg, #047857, #10b981 55%, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title p {
  color: var(--landing-muted);
  max-width: 40rem;
  margin: 1rem auto 0;
  font-size: 1.02rem;
}

.light-background {
  background: var(--landing-bg-soft);
}

.featured-services .service-item,
.services .service-item {
  background: var(--landing-card);
  border-radius: var(--landing-radius);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--landing-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-services .service-item:hover,
.services .service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: var(--shadow-md);
}

.featured-services .icon,
.services .service-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  font-size: 1.5rem;
  color: #fff;
  margin-right: 1rem;
  background: linear-gradient(135deg, var(--landing-primary-light), var(--landing-primary));
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
}

.services .service-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.services .service-item p {
  color: var(--landing-muted);
  font-size: 0.9rem;
}

.about .who-we-are {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--landing-primary-dark);
}

.about-list li {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.about-list li i {
  color: var(--landing-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Pillars */
.pillar-card {
  position: relative;
  background: var(--landing-card);
  border-radius: var(--landing-radius);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--landing-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.22);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.pillar-card--home .pillar-icon { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.pillar-card--voca .pillar-icon { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.pillar-card--conv .pillar-icon { background: linear-gradient(135deg, #f472b6, #db2777); }
.pillar-card--gram .pillar-icon { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.pillar-card--topik .pillar-icon { background: linear-gradient(135deg, #fb923c, #ea580c); }

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.pillar-card p {
  color: var(--landing-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.pillar-preview {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Learning loop */
.loop-step {
  text-align: center;
  background: var(--landing-card);
  border-radius: var(--landing-radius);
  padding: 1.75rem 1.15rem;
  height: 100%;
  position: relative;
  border: 1px solid var(--landing-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.loop-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.loop-num {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--landing-primary-light);
  color: var(--landing-primary-dark);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-step i {
  font-size: 2rem;
  color: var(--landing-primary-dark);
  margin: 0.5rem 0;
}

.loop-step h4 {
  font-size: 1rem;
  font-weight: 700;
}

.loop-step p {
  font-size: 0.85rem;
  color: var(--landing-muted);
  margin: 0;
}

/* Feature tabs */
.feature-tabs {
  border: none;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-tabs .nav-link {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: start;
  color: var(--landing-ink);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
}

.feature-tabs .nav-link i {
  font-size: 1.25rem;
  color: var(--landing-primary-dark);
  margin-top: 0.15rem;
}

.feature-tabs .nav-link span {
  display: flex;
  flex-direction: column;
}

.feature-tabs .nav-link small {
  color: var(--landing-muted);
  font-weight: 400;
  margin-top: 0.25rem;
}

.feature-tabs .nav-link.active {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.feature-preview {
  background: #fff;
  border-radius: var(--landing-radius);
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 280px;
}

.preview-fallback {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-muted);
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.85rem;
}

.detail-list li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.detail-list li i {
  color: var(--landing-primary);
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #065f46 0%, #059669 40%, #10b981 100%);
  color: #fff;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hangul-bg-dark.svg") center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% 120%, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  letter-spacing: -0.025em;
}

.cta-sub {
  opacity: 0.92;
}

.cta .btn-get-started {
  background: #fff;
  color: var(--landing-primary-dark) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta .btn-get-started:hover {
  color: var(--landing-primary-dark) !important;
}


.cta .btn-app-store {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
  box-shadow: none;
}

.cta .btn-app-store::after {
  background: #fff;
}

.cta .btn-app-store:hover {
  color: var(--landing-primary-dark) !important;
}
/* FAQ */
.faq .faq-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: #fff;
}

.faq .faq-item h3 {
  grid-column: 1;
  grid-row: 1;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  align-self: center;
}

.faq .faq-content {
  display: none;
  grid-column: 1 / -1;
  grid-row: 2;
  padding-top: 0.75rem;
  color: var(--landing-muted);
}

.faq .faq-item.faq-active .faq-content {
  display: block;
}

.faq-toggle {
  grid-column: 2;
  grid-row: 1;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--landing-muted);
  transition: transform 0.2s;
  align-self: center;
}

.faq .faq-item.faq-active .faq-toggle {
  transform: rotate(90deg);
}

/* Actors */
.testimonial-item {
  background: #fff;
  border-radius: var(--landing-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.actor-card-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.25rem;
}

.actor-card-body {
  width: 100%;
}

.actor-media-wrap {
  position: relative;
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.actor-media-wrap--video {
  background: #0f172a;
}

.actor-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(15px);
  transform: scale(1.12);
}

.actor-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

.actor-media-photo,
.actor-media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.actor-media-video {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-item:hover .actor-media-wrap {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    z-index: 2;
  }
}

#testimonials .init-swiper,
#testimonials .swiper-wrapper,
#testimonials .swiper-slide {
  overflow: visible;
}

.actor-age-20s { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.actor-age-30s { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.actor-age-40s { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.actor-age-50s { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }

.language-selector .btn {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
}

.language-selector .btn-ko {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.language-selector .btn-en {
  background: linear-gradient(135deg, #374151, #111827);
  color: #fff;
}

.translate-widget .goog-te-banner-frame {
  display: none !important;
}

body { top: 0 !important; }

.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--landing-primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1100;
  text-decoration: none;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ───────────────────────────────────────────
   TOPIK 에듀 — 허브 / 강의 / 도서 컴포넌트
   ─────────────────────────────────────────── */

/* 허브 hero lead 가운데 정렬 폭 제한 */
.hero-lead.mx-auto { margin-left: auto; margin-right: auto; }

/* 허브: 3 서비스 카드 */
.svc-card {
  display: block;
  position: relative;
  height: 100%;
  background: var(--landing-card);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--landing-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: var(--landing-ink);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--landing-primary);
}

.svc-card--app::before { background: linear-gradient(90deg, #6ee7b7, #10b981); }
.svc-card--lecture::before { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.svc-card--book::before { background: linear-gradient(90deg, #fb923c, #ea580c); }

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--landing-ink);
}

.svc-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--landing-primary-dark);
  background: rgba(110, 231, 183, 0.25);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0.25rem 0 1rem;
}

.svc-card--app .svc-icon { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.svc-card--lecture .svc-icon { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.svc-card--book .svc-icon { background: linear-gradient(135deg, #fb923c, #ea580c); }

.svc-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.svc-card p { color: var(--landing-muted); font-size: 0.92rem; margin-bottom: 1.1rem; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--landing-primary-dark);
}

.svc-card:hover .svc-link i { transform: translateX(4px); }
.svc-link i { transition: transform 0.2s ease; }

/* 강의: 자격(전문성) 카드 */
.cred-card {
  background: var(--landing-card);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--landing-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  text-align: center;
}

.cred-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin: 0 auto 1.1rem;
}

.cred-icon--teacher { background: linear-gradient(135deg, #6ee7b7, #10b981); }
.cred-icon--reading { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.cred-icon--multi { background: linear-gradient(135deg, #60a5fa, #2563eb); }

.cred-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.cred-card p { color: var(--landing-muted); font-size: 0.9rem; margin-bottom: 0; }

/* 도서 카드 */
.book-card {
  display: flex;
  flex-direction: column;
  background: var(--landing-card);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--landing-radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.book-cover-link {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f1f5f9;
  overflow: hidden;
}

.book-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.book-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #94a3b8;
}

.book-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1rem 1.1rem 1.2rem;
}

.book-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.badge-level { color: #fff; font-weight: 700; }
.badge-level--beginner { background: #10b981; }
.badge-level--intermediate { background: #2563eb; }
.badge-level--advanced { background: #ea580c; }
.badge-lang { background: #f1f5f9; color: #475569; font-weight: 600; }

.book-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.book-pub { font-size: 0.78rem; color: var(--landing-muted); margin-bottom: 0.75rem; }

.book-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 0.9rem;
}

.book-price-now { font-size: 1.15rem; font-weight: 800; color: var(--landing-primary-dark); }
.book-price-was { font-size: 0.85rem; color: #94a3b8; text-decoration: line-through; }

.book-actions { display: flex; flex-direction: column; gap: 0.5rem; }

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-buy--soon {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.book-yes24-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--landing-primary-dark);
  text-decoration: none;
}

.book-yes24-link:hover { text-decoration: underline; }

/* ───────────────────────────────────────────
   AgileTech 스타일 — 히어로 플로팅 / 카운터 밴드
   ─────────────────────────────────────────── */

/* 히어로 일러스트 + 떠다니는 칩 */
.hero-figure {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hero-blob {
  position: absolute;
  inset: -10% -8% -6% -8%;
  z-index: 0;
  background:
    radial-gradient(closest-side at 35% 40%, rgba(16, 185, 129, 0.22), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(14, 165, 233, 0.18), transparent 70%);
  filter: blur(8px);
  border-radius: 42% 58% 52% 48% / 55% 45% 60% 40%;
  animation: blobMorph 12s ease-in-out infinite;
}

.hero-figure .hero-img,
.hero-figure .hero-img-placeholder { position: relative; z-index: 1; }

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--landing-border);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--landing-ink);
  white-space: nowrap;
}

.float-chip i { color: var(--landing-primary-dark); }
.float-chip--1 { top: 10%; left: -4%; animation: floatY 4s ease-in-out infinite; }
.float-chip--2 { top: 46%; right: -6%; animation: floatY 5s ease-in-out infinite 0.6s; }
.float-chip--3 { bottom: 12%; left: 2%; animation: floatY 4.5s ease-in-out infinite 0.3s; }

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

@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 52% 48% / 55% 45% 60% 40%; }
  50% { border-radius: 58% 42% 45% 55% / 45% 58% 42% 55%; }
}

@media (max-width: 991px) {
  .float-chip { font-size: 0.74rem; padding: 0.4rem 0.75rem; }
  .float-chip--1 { left: 0; }
  .float-chip--2 { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .float-chip, .hero-blob { animation: none; }
}

/* 카운터(통계) 밴드 */
.counters { padding-top: 0; padding-bottom: 3.5rem; }

.counter-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #065f46 0%, #059669 55%, #10b981 100%);
  border-radius: var(--landing-radius);
  padding: 2.4rem 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.counter-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hangul-bg-dark.svg") center / cover no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

.counter-item { position: relative; z-index: 1; }

.counter-item strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.counter-item span {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.92;
}

/* 도서 — 레벨별 목업 + 언어별 구매 */
.book-levels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.level-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.level-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.level-card--alt .level-figure { order: 2; }
.level-card--alt .level-info { order: 1; }

.level-figure {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1faf5, #eef6ff);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.level-figure-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #94a3b8;
}

.level-figure--empty .level-figure-fallback { display: flex; }

.level-info { padding: 0.5rem 0.75rem; }

.level-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0.7rem 0 0.2rem;
}

.level-pub {
  font-size: 0.82rem;
  color: var(--landing-muted);
  margin-bottom: 1.2rem;
}

.level-buy-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--landing-ink);
  margin-bottom: 0.65rem;
}

.level-buy-label i { color: var(--landing-primary-dark); }

.level-buys {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lang-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid var(--landing-primary);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
  color: var(--landing-ink);
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lang-buy:hover {
  background: var(--landing-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

.lang-buy-price { font-weight: 600; font-size: 0.78rem; opacity: 0.7; }
.lang-buy:hover .lang-buy-price { opacity: 0.92; }
.lang-buy i { font-size: 0.78rem; }

@media (max-width: 767px) {
  .level-card { grid-template-columns: 1fr; }
  .level-card--alt .level-figure { order: 0; }
  .level-card--alt .level-info { order: 0; }
}

/* ───────────────────────────────────────────
   앱 소개 — 킬러 기능 split + 성장 시스템
   ─────────────────────────────────────────── */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.feature-split--alt .feature-figure { order: 2; }
.feature-split--alt .feature-info { order: 1; }

.feature-figure {
  position: relative;
  border-radius: 24px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  box-shadow: var(--shadow-sm);
}

.feature-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 46%, rgba(255, 255, 255, 0.6), transparent 75%);
  pointer-events: none;
}

/* SVG illustration — main visual (odd rows: left) */
.feature-accent {
  position: relative;
  z-index: 1;
  order: 1;
  flex: 0 0 auto;
  width: 56%;
}

.feature-accent img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.08));
}

/* app screenshot — smaller companion (odd rows: right) */
.feature-shot {
  position: relative;
  z-index: 2;
  order: 2;
  height: 94%;
  width: auto;
  max-width: 40%;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 16px 30px rgba(15, 23, 42, 0.18));
}

.feature-accent img { border-radius: 16px; }

/* even rows: swap left/right inside the figure */
.feature-split--alt .feature-accent { order: 2; }
.feature-split--alt .feature-shot { order: 1; }

.feature-figure--voca { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.feature-figure--kpop { background: linear-gradient(135deg, #f5f3ff, #e0f2fe); }
.feature-figure--ai { background: linear-gradient(135deg, #ecfdf5, #e0f2fe); }
.feature-figure--tutor { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.feature-figure--lxp { background: linear-gradient(135deg, #fffbeb, #dcfce7); }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--landing-primary-dark);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.feature-info h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.feature-info > p {
  color: var(--landing-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--landing-ink);
  margin-bottom: 0.65rem;
}

.feature-list li i {
  color: var(--landing-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

@media (max-width: 767px) {
  .feature-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-split--alt .feature-figure { order: 0; }
  .feature-split--alt .feature-info { order: 0; }
  .feature-stack { gap: 2.5rem; }
}

/* 성장 시스템 칩 */
.growth-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 100%;
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.growth-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.growth-chip > i {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--landing-primary-light), var(--landing-primary));
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25);
}

.growth-chip h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.growth-chip p {
  font-size: 0.84rem;
  color: var(--landing-muted);
  margin: 0;
}

/* 강의 문의 폼 */
.inquiry-card {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.inquiry-card .form-label { color: var(--landing-ink); }

.inquiry-card .form-control,
.inquiry-card .form-select {
  border-radius: 12px;
  border-color: var(--landing-border);
  padding: 0.65rem 0.9rem;
}

.inquiry-card .form-control:focus,
.inquiry-card .form-select:focus {
  border-color: var(--landing-primary);
  box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.18);
}

.inquiry-card .form-check-input:checked {
  background-color: var(--landing-primary);
  border-color: var(--landing-primary);
}

.inquiry-consent {
  background: var(--landing-bg-soft);
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  padding: 0.9rem 0.9rem 0.9rem 2.4rem;
}

.inquiry-success {
  padding: 1.5rem 1rem;
}

.inquiry-success i {
  font-size: 3rem;
  color: var(--landing-primary);
}

.inquiry-success h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0.75rem 0 0.4rem;
}

.inquiry-success p { color: var(--landing-muted); }

@media (max-width: 575px) {
  .inquiry-card { padding: 1.25rem; }
}
