/* =========================
   로고
========================= */
/* 
.brand img {
  height: 30px;
  vertical-align: middle;
} */

/* =========================
   필독이미지
========================= */
.compare-box {
  flex: 1;
  padding: 80px 60px;
  border-radius: 28px;
  position: relative;
  color: #fff;
  overflow: hidden;
}

/* 공통 배경 설정 */
.compare-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 텍스트 위로 */
.compare-box * {
  position: relative;
  z-index: 2;
}

/* 어두운 오버레이 */
.compare-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* 각 배경 이미지 */
.study-bg::before {
  background-image: url("study.jpg");
}

.beginner-bg::before {
  background-image: url("beginner.jpg");
}

/* =========================
   BLACK & WHITE OVERRIDE
========================= */


/* 색 변수 무력화 */
:root {
  --accent: #000;
  --accent-soft: transparent;
  --navy: #000;
}

/* 카드 / 태그 완전 무효화 */
/* .card,
.tag,
.quote,
.meta-grid {
  display: none !important;
} */

/* Hero Video */
.hero-video {
  position: relative;
  width: 100%;
  height: 80vh;
  margin-top: 20px;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 영상 위 오버레이 */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}

/* 타이핑 텍스트 */
.hero-overlay h1 {
  color: #fff;
  font-size: 35px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* 커서 */
.hero-overlay h1::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* CTA 흑백화 */
.home-pricing-cta {
  background: #fff;
  border-top: 1px solid #000;
  border-radius: 0;
}

.home-pricing-cta h2,
.home-pricing-cta p {
  color: #000;
}

.btn.primary {
  background: #000;
  color: #fff;
  border: none;
}

/* Hero Video */
.hero-video {
  position: relative;
  width: 100%;
  height: 80vh;
  margin-top: 20px;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 영상 위 오버레이 */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}

/* 타이핑 텍스트 */
.hero-overlay h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* 커서 */
.hero-overlay h1::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* CTA 흑백화 */
.home-pricing-cta {
  background: #fff;
  border-top: 1px solid #000;
  border-radius: 0;
}

.home-pricing-cta h2,
.home-pricing-cta p {
  color: #000;
}

.btn.primary {
  background: #000;
  color: #fff;
  border: none;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, #fff 56%, #fbfbfe 100%);
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px
}

/* ===== Header (깔끔/정돈: 3번 레퍼런스) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, .7);
}

.topbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 10px;
  border-radius: 999px
}

.nav a:hover {
  background: var(--surface);
  color: var(--navy)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .05);
}

.btn.primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  filter: brightness(.98)
}

.btn.ghost:hover {
  background: var(--surface)
}

/* ===== Page ===== */
.page {
  padding: 34px 0 80px
}

/* ===== Hero / Profile (1번 레퍼런스 느낌) ===== */
.hero {
  display: grid;
  grid-template-columns: 1.45fr .95fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 10px;
}

.card {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-left {
  padding: 26px 26px 24px
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--navy);
  background: var(--accent-soft);
  border: 1px solid rgba(109, 114, 242, .18);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tag span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.subtitle {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.quote {
  margin: 18px 0 0;
  padding: 18px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(109, 114, 242, .10), rgba(109, 114, 242, .04));
  border: 1px solid rgba(109, 114, 242, .16);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}

.quote:before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 64px;
  color: rgba(109, 114, 242, .25);
  font-weight: 800;
  line-height: 1;
}

.quote p {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7
}

.meta-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.meta {
  padding: 14px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.meta .k {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px
}

.meta .v {
  font-size: 14px;
  color: var(--text);
  font-weight: 650
}


/* ===== 메인 → 요금 CTA ===== */

.home-pricing-cta {
  margin: 120px 0;
  padding: 80px 20px;
  background: linear-gradient(180deg,
      rgba(109, 114, 242, .12),
      rgba(109, 114, 242, .04));
  border-radius: 32px;
  text-align: center;
}

.home-pricing-cta h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.home-pricing-cta p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn.large {
  font-size: 16px;
  padding: 16px 36px;
}

.simple-intro {
  max-width: 720px;
  margin: 120px auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: #000;
}


/* ===== 입문자,독학자섹션 ===== */

/* =====================
   비교 섹션 (좌우 배치)
===================== */

.compare-section {
  display: flex;
  gap: 60px;
  margin: 160px auto;
  max-width: 1200px;
}

.compare-box {
  flex: 1;
  padding: 60px;
  border: 1px solid #000;
  border-radius: 28px;
  line-height: 1.8;
  background: #fff;
}

.compare-box h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

.compare-box.light {
  background: #fafafa;
}

/* 모바일 대응 */
@media (max-width:900px) {
  .compare-section {
    flex-direction: column;
  }
}

/* =======================
   LANDING PACKAGE SLIDER
======================= */

/* =====================
   배너 슬라이드
===================== */

.landing-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-track {
  display: flex;
  transition: transform 0.8s ease;
}

/* .banner-slide{
  min-width:100%;
  height:310px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(
    180deg,
    #f5f5f5,
    #e9e9e9
  );
  color:#000;
  text-align:center;
  
} */


.banner-slide {
  min-width: 100%;
  height: 310px;
  /* background-size: contain; */
  /* background-size:cover; */
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  /* ← 반복 방지 */
}

.slide1 {
  background-image: url("banner1.jpg");
}

.slide2 {
  background-image: url("banner2.jpg");
}

.slide3 {
  background-image: url("banner3.jpg");
}

/* .banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
} */

.banner-content {
  padding-left: 40px;
  /* 20~60 사이에서 조절 */
  text-align: left;
}

.banner-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  -webkit-text-stroke: 1px #fff;
  text-shadow: none;
}

.banner-price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  -webkit-text-stroke: 1px #fff;
  text-shadow: none;
}

.banner-price .old {
  text-decoration: line-through;
  font-size: 18px;
  opacity: .6;
  margin-right: 10px;
   -webkit-text-stroke: 1px #fff;
  text-shadow: none;
}

/* 좌우 버튼 */

.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  z-index: 999;
}

.banner-btn.prev {
  left: 20px;
  padding-left: 20px;
}

.banner-btn.next {
  right: 20px;
  padding-left: 20px;
}

.banner-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  padding-left: 20px;
}



/* =====================
   SNS
===================== */


.social-proof {
  margin: 140px auto;
  text-align: center;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.social-card {
  width: 280px;
  padding: 40px;
  border: 1px solid #000;
  border-radius: 24px;
  transition: 0.3s;
}

.social-card:hover {
  background: #000;
  color: #fff;
  transform: translateY(-6px);
}

.social-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

/* ===== 상황별 표현 미리보기 강화 ===== */

.section-block.preview {
  max-width: 1200px;
  margin: 160px auto;
}

.preview-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.preview-grid>div {
  padding: 40px;
  border: 2px solid #000;
  border-radius: 24px;
  background: #fff;
  transition: 0.3s;
}

.preview-grid>div:hover {
  background: #000;
  color: #fff;
  transform: translateY(-6px);
}

.preview-grid h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.preview-grid p {
  line-height: 1.8;
  font-size: 16px;
}

/* =====================
   메인 CTA 중앙 정렬 복구
===================== */

.main-cta {
  width: 100%;
  text-align: center;
  margin: 200px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.main-cta p {
  margin-bottom: 40px;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* 버튼 중앙 유지 */
.cta-buttons .btn {
  min-width: 180px;
}