/* everLearn 서비스 소개 홈페이지 - 브랜드 컬러 로고 파랑 #4785F6(보조 #4ABBFF), Pretendard */
:root {
  --brand: #4785f6;
  --brand-dark: #3568d4;
  --brand-soft: #eaf2ff;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-tint: #f6f8fa;
  --dark: #0f1a1f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 26, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 26, 31, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.container--narrow { width: min(820px, calc(100% - 40px)); }
.text-brand { color: var(--brand); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: all .18s ease; cursor: pointer;
}
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(71, 133, 246, .3); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { color: var(--ink-2); }
.btn--ghost:hover { background: var(--bg-tint); }
.btn--line { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: #f1fdfc; }
.btn--dark-line { border-color: rgba(255,255,255,.32); color: #fff; }
.btn--dark-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.badge--dark { background: rgba(71, 133, 246,.16); color: #4abbff; }

/* 헤더 */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.header__logo img { height: 30px; width: auto; }
.header__nav { display: flex; gap: 26px; margin-right: auto; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.header__nav a:hover { color: var(--brand); }
.header__actions { display: flex; gap: 8px; }
.header__toggle { display: none; width: 40px; height: 40px; border: 0; background: none; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.header__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* 히어로 */
.hero { padding: 84px 0 96px; background: linear-gradient(180deg, #f4fdfc 0%, #ffffff 68%); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: 50px; font-weight: 800; letter-spacing: -0.035em; }
.hero__desc { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__chips li {
  padding: 7px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); font-weight: 500;
}
.hero__visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.phone {
  position: absolute; border-radius: 34px; overflow: hidden;
  border: 8px solid #10171c; background: #10171c; box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 26px; }
.phone--front { width: 280px; z-index: 2; transform: translateX(-38px) rotate(-3deg); }
.phone--back { width: 250px; z-index: 1; transform: translateX(120px) rotate(6deg); opacity: .96; }

/* 핵심 가치 */
.values { padding: 56px 0; border-bottom: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.value h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.value h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); margin-bottom: 14px; }
.value p { color: var(--muted); font-size: 15.5px; }

/* 섹션 공통 */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__eyebrow { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .02em; margin-bottom: 10px; }
.section__title { font-size: 34px; font-weight: 800; }
.section__desc { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* 기능 카드 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 30px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8f4f2; }
.feature__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft);
  color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* 왜 everLearn - 흩어진 정보 → 하나 */
.why { padding-top: 72px; }
.why__flow { display: grid; grid-template-columns: 1.4fr auto 1fr; gap: 28px; align-items: center; }
.why__sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.why__sources li {
  padding: 16px 10px; text-align: center; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  color: var(--muted); background: var(--bg-tint); border: 1px dashed #d5dbe1;
}
.why__arrow { color: var(--brand); width: 48px; height: 48px; }
.why__arrow svg { width: 48px; height: 48px; }
.why__one {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 30px 22px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid #c9dcfd;
}
.why__one img { width: 56px; height: 56px; }
.why__one strong { font-size: 20px; font-weight: 800; color: var(--brand-dark); }
.why__one p { color: var(--ink-2); font-size: 14.5px; font-weight: 500; }

/* 핵심 기능 3가지 */
.core { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.core + .core { border-top: 1px solid var(--line); }
.core--reverse .core__copy { order: 2; }
.core--reverse .core__visual { order: 1; }
.core__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.core h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.core__copy > p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.core__points { margin-top: 22px; display: grid; gap: 10px; }
.core__points li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.core__points li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%230aa5a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}
.core__visual { display: flex; justify-content: center; }

/* 앱 화면 흉내 카드 */
.mock {
  width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow); font-size: 14px; color: var(--ink-2);
}
.mock__head, .mock__row { display: flex; align-items: center; gap: 8px; }
.mock__head b, .mock__row b { color: var(--ink); font-weight: 700; }
.mock__cnt { margin-left: auto; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.mock__row { padding-top: 12px; margin-top: 12px; border-top: 1px solid #f1f3f5; }
.mock__badge {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px;
  color: #fff; font-weight: 800; font-size: 13px;
}
.mock__badge--n { background: #03c75a; }
.mock__badge--k { background: #fee500; color: #3c1e1e; }
.mock__badge--g { background: #4285f4; }
.mock__badge--d { background: #ff6f0f; font-size: 12px; }
.mock__bars { margin-top: 16px; display: grid; gap: 8px; }
.mock__bar { position: relative; height: 30px; border-radius: 8px; background: #f4f6f8; overflow: hidden; display: flex; align-items: center; padding: 0 10px; }
.mock__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #d8f6f4; }
.mock__bar span { position: relative; font-size: 13px; color: var(--ink-2); }
.mock__bar em { position: relative; margin-left: auto; font-style: normal; font-weight: 700; color: var(--brand-dark); }
.mock__summary { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-tint); font-size: 13.5px; line-height: 1.6; }
.mock__summary b { display: block; color: var(--brand-dark); font-size: 12.5px; margin-bottom: 4px; }
.mock__ai { padding: 3px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; }
.mock__text { margin-top: 14px; font-size: 13.5px; line-height: 1.6; }
.mock__items { margin-top: 14px; display: grid; gap: 6px; }
.mock__item { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--bg-tint); font-size: 13px; }
.mock__item span { color: var(--muted); }
.mock__item b { color: var(--ink); font-weight: 700; }
.mock__item i { font-style: normal; color: var(--brand); margin-left: 6px; letter-spacing: 1px; font-size: 10px; }
.mock__foot { margin-top: 12px; color: var(--muted); font-size: 12px; }
.mock__voice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--brand-soft); }
.mock__mic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><rect x='9' y='3' width='6' height='11' rx='3'/><path d='M5 11a7 7 0 0 0 14 0M12 18v3'/></svg>") center/18px no-repeat; }
.mock__voice p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.mock__needs { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.mock__needs span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.mock__fit { margin-top: 16px; display: grid; gap: 10px; }
.mock__fitrow { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 10px; font-size: 13px; }
.mock__fitrow span { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__fitrow i { height: 8px; border-radius: 999px; background: #eef1f4; overflow: hidden; display: block; }
.mock__fitrow b { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #4abbff); }
.mock__fitrow strong { text-align: right; color: var(--brand-dark); font-weight: 800; }
.mock__reason { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-tint); font-size: 12.5px; color: var(--muted); }
.features--4 { grid-template-columns: repeat(4, 1fr); }

/* 카테고리 */
.categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.categories li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.categories img { width: 42px; height: 42px; object-fit: contain; }

/* 이용 방법 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 15px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; min-height: 48px; }
.step__shot {
  margin-top: 22px; border-radius: 22px; overflow: hidden;
  border: 7px solid #10171c; background: #10171c; box-shadow: var(--shadow);
  max-width: 260px; margin-left: auto; margin-right: auto;
}
.step__shot img { border-radius: 16px; }

/* 학원 원장님 */
.owner { padding: 96px 0; background: var(--dark); color: #fff; }
.owner__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.owner h2 { font-size: 34px; font-weight: 800; }
.owner__desc { margin-top: 18px; color: #9fb0b8; font-size: 17px; max-width: 620px; }
.owner__list { margin-top: 30px; display: grid; gap: 14px; }
.owner__list li { padding-left: 26px; position: relative; color: #c3d0d6; font-size: 15.5px; }
.owner__list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  border-radius: 50%; border: 3px solid var(--brand);
}
.owner__list strong { color: #fff; font-weight: 700; margin-right: 6px; }
.owner__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.owner__panel { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.panel-card {
  width: 100%; max-width: 340px; background: #16232a; border: 1px solid #23343d;
  border-radius: var(--radius); padding: 26px;
}
.panel-card__label { color: #7f939c; font-size: 13px; margin-bottom: 16px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #22323a; }
.panel-row span { color: #9fb0b8; font-size: 15px; }
.panel-row b { font-size: 19px; font-weight: 800; }
.panel-bar { margin-top: 20px; height: 8px; border-radius: 999px; background: #22323a; overflow: hidden; }
.panel-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #4abbff); }
.panel-card__foot { margin-top: 12px; color: #7f939c; font-size: 13px; }
.owner__note { color: #6b7c85; font-size: 12.5px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-size: 17px; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 27px;
  width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item[open] summary { color: var(--brand-dark); }
.faq__body { padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; }

/* CTA */
.cta { padding: 84px 0; background: linear-gradient(135deg, var(--brand) 0%, #3568d4 100%); color: #fff; text-align: center; }
.cta h2 { font-size: 32px; font-weight: 800; }
.cta p { margin-top: 12px; color: rgba(255,255,255,.88); font-size: 17px; }
.cta__buttons { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta__store { font-size: 14px; color: rgba(255,255,255,.82); }

/* 푸터 */
.footer { background: #0b1418; color: #8b9ba3; padding: 56px 0 40px; font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1.4fr 1.1fr; gap: 40px; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 12px; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__links h4 { color: #fff; font-size: 15px; margin-bottom: 12px; font-weight: 700; }
.footer__links a { display: block; padding: 4px 0; }
.footer__links a:hover, .footer__brand a:hover { color: var(--brand); }
.footer__company p { padding: 2px 0; }
.footer__copy { margin-top: 14px; color: #5f7079; font-size: 13px; }

/* 약관 페이지 */
.legal { padding: 56px 0 88px; }
.legal__head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 32px; }
.legal__head h1 { font-size: 30px; font-weight: 800; }
.legal__meta { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.legal__intro { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.legal article { margin-bottom: 34px; }
.legal article h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.legal article p { color: var(--ink-2); margin-bottom: 8px; font-size: 15.5px; }
.legal article ul { margin: 10px 0 12px; display: grid; gap: 6px; }
.legal article li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 15.5px; }
.legal article li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.legal__foot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--brand-dark); font-weight: 600; }

/* 반응형 */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 480px; }
  .hero__title { font-size: 40px; }
  .features, .features--4 { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(4, 1fr); }
  .why__flow { grid-template-columns: 1fr; }
  .why__arrow { transform: rotate(90deg); margin: 0 auto; }
  .core { grid-template-columns: 1fr; gap: 32px; }
  .core--reverse .core__copy { order: 1; }
  .core--reverse .core__visual { order: 2; }
  .owner__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .header__nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; display: none;
  }
  .header__nav.is-open { display: flex; }
  .header__nav a { padding: 12px 0; border-bottom: 1px solid #f1f3f5; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--ghost { display: none; }
  .header__toggle { display: flex; }
  .hero { padding: 56px 0 72px; }
  .hero__title { font-size: 32px; }
  .hero__desc { font-size: 16px; }
  .hero__visual { height: 420px; }
  .phone--front { width: 220px; transform: translateX(-26px) rotate(-3deg); }
  .phone--back { width: 196px; transform: translateX(96px) rotate(6deg); }
  .values__grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
  .section__title, .owner h2, .cta h2 { font-size: 26px; }
  .features, .features--4 { grid-template-columns: 1fr; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .why__sources { grid-template-columns: repeat(2, 1fr); }
  .core h3 { font-size: 23px; }
  .mock { padding: 18px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step p { min-height: 0; }
  .owner { padding: 64px 0; }
  .footer__links { grid-template-columns: 1fr 1fr; }
}
