/* =========================
   DESIGN TOKENS
========================= */

:root {
  --dark: #1F2937;
  --blue: #526D92;
  --blue-deep: #455E80;

  --section: #E9EEF4;
  --auto: #F5F6F8;
  --input: #FFF8E8;
  --success: #E4F1E8;

  --white: #FFFFFF;
  --text: #2F343A;
  --muted: #6B7280;
  --border: #E3E7EC;
}


/* =========================
   RESET / BASE
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================
   COMMON
========================= */

.section {
  padding: 120px 0;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--auto);
}

.section-heading-wrap {
  max-width: 900px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--section);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.section-title {
  max-width: 900px;
  color: var(--dark);
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  font-weight: 800;
  word-break: keep-all;
}

.section-title span {
  color: var(--blue);
}

.section-description {
  max-width: 790px;
  margin-top: 26px;
  color: #4B5563;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
  word-break: keep-all;
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(31, 41, 55, 0.10);
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F6F8 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 58px;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  color: var(--dark);
  font-size: clamp(44px, 4.4vw, 62px);
  line-height: 1.22;
  letter-spacing: -0.045em;
  font-weight: 800;
  word-break: keep-all;
}

.title-line {
  display: block;
}

.title-first {
  white-space: nowrap;
}

.title-highlight {
  color: var(--blue);
}

.hero-description {
  max-width: 520px;
  margin-top: 28px;
  color: #4B5563;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
  word-break: keep-all;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 15px 22px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(82, 109, 146, 0.18);
}

.hero-shot {
  transform: rotate(0.4deg);
}


/* =========================
   WHY
========================= */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.problem-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--auto);
}

.step-index,
.feature-number {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.problem-card h3,
.flow-card h3,
.how-card h3 {
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
}

.problem-card p,
.flow-card p,
.how-card p {
  margin-top: 10px;
  color: #4B5563;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.solution-banner {
  margin-top: 34px;
  padding: 24px 28px;
  border-radius: 14px;
  background: var(--section);
  color: var(--text);
  font-size: 19px;
  line-height: 1.75;
}

.solution-banner strong {
  color: var(--blue);
}


/* =========================
   FLOW
========================= */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.flow-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.input-card {
  background: var(--input);
}

.auto-card {
  background: var(--section);
}

.success-card {
  background: var(--success);
}

.mini-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.shot-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}


/* =========================
   FEATURE SECTIONS
========================= */

.feature-section {
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 32px;
  align-items: center;
}

.progress-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: center;
}

.feature-grid.reverse {
  grid-template-columns: 1.4fr 0.6fr;
}

.feature-copy {
  max-width: 560px;
}

.feature-number {
  margin-bottom: 10px;
}

.feature-title {
  color: var(--dark);
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.feature-copy p {
  margin-top: 24px;
  color: #4B5563;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
  word-break: keep-all;
}

.feature-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 16px;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.practice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.practice-row span,
.practice-row strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--input);
  color: var(--text);
  font-size: 14px;
}

.practice-row strong {
  background: var(--section);
  color: var(--blue);
}


/* =========================
   PROGRESS
========================= */

.progress-copy {
  max-width: 540px;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.status-item {
  display: grid;
  grid-template-columns: 14px 100px 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.status-item strong {
  color: var(--dark);
  font-size: 16px;
}

.status-item span:last-child {
  color: #4B5563;
  font-size: 15px;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.new {
  background: #B7C2D0;
}

.status-dot.learning {
  background: #E8C872;
}

.status-dot.done {
  background: #8AB79A;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-section {
  display: grid;
  gap: 48px;
}

.dashboard-copy {
  max-width: 860px;
}

.dashboard-shot {
  width: min(100%, 1220px);
  margin: 0 auto;
}


/* =========================
   HOW TO USE
========================= */

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.how-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.how-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--section);
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.how-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 58px;
}

.how-step-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

.how-step-copy {
  min-width: 0;
}

.how-step-label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.how-step-copy h3 {
  color: var(--dark);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 800;
  word-break: keep-all;
}

.how-step-copy p {
  margin-top: 12px;
  color: #3F4854;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 500;
  word-break: keep-all;
}

.how-step-image {
  width: 90%;
  max-width: 430px;
  margin-top: 24px;
  margin-left: auto;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.07);
}

.how-step-image img {
  width: 100%;
  height: 235px;
  object-fit: contain;
  background: var(--white);
}


/* =========================
   DATA MANAGEMENT
========================= */

.management-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.management-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--auto);
}

.management-copy {
  min-height: 176px;
}

.management-copy .how-number {
  width: auto;
  height: auto;
  margin-bottom: 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
}

.management-copy h3 {
  color: var(--dark);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
}

.management-copy p {
  margin-top: 12px;
  color: #3F4854;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  word-break: keep-all;
}

.management-image {
  width: 82%;
  max-width: 320px;
  margin: auto auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.06);
}

.management-image img {
  width: 100%;
  height: 185px;
  object-fit: contain;
  background: var(--white);
}



/* =========================
   CLOSING
========================= */

.closing-section {
  padding: 112px 0;
  background: var(--dark);
}

.closing-inner {
  text-align: center;
}

.closing-inner h2 {
  max-width: 1120px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.35;
  letter-spacing: -0.035em;
  font-weight: 800;
  word-break: keep-all;
}

.closing-title-line,
.closing-description-line {
  display: block;
}

.closing-inner > p {
  max-width: 900px;
  margin: 24px auto 0;
  color: #D5DBE3;
  font-size: 17px;
  line-height: 1.75;
}

@media (min-width: 641px) {
  .closing-title-line,
  .closing-description-line {
    white-space: nowrap;
  }
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 920px);
  min-height: 104px;
  margin: 0 auto 46px;
  padding: 28px 48px;
  border-radius: 18px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: 0.2s ease;
}

.closing-cta:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.tech-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tech-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #DDE3EA;
  font-size: 14px;
}

/* =========================
   SURVEY
========================= */

#survey {
  background: var(--auto);
}

#survey .container {
  max-width: 1040px;
}

#survey-form {
  display: grid;
  gap: 24px;
  margin-top: 52px;
}

.survey-question {
  padding: 32px 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.05);
}

.survey-question h3 {
  margin-bottom: 22px;
  color: var(--dark);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 800;
  word-break: keep-all;
}

.survey-question label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: calc(50% - 10px);
  margin: 6px 6px 6px 0;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--auto);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
  vertical-align: top;
  transition: 0.15s ease;
}

.survey-question label:hover {
  border-color: #BCC7D6;
  background: #F0F3F7;
}

.survey-question input[type="radio"],
.survey-question input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
}

.survey-question textarea {
  width: 100%;
  min-height: 150px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.survey-question textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(82, 109, 146, 0.10);
}

.survey-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  min-height: 68px;
  margin: 14px auto 0;
  padding: 18px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.survey-submit-button:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(82, 109, 146, 0.18);
}

#survey-success {
  margin-top: 32px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.05);
}

.survey-success-message {
  margin-bottom: 22px;
  color: var(--dark);
  font-size: 22px;
  font-weight: 800;
}

#template-copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 560px);
  min-height: 72px;
  margin: 0 auto;
  padding: 18px 28px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  transition: 0.2s ease;
}

#template-copy-button:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
  box-shadow: 0 10px 24px rgba(82, 109, 146, 0.18);
}
/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {

  .hero-grid,
  .feature-grid,
  .feature-grid.reverse,
  .progress-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .feature-copy,
  .progress-copy {
    max-width: none;
  }

  .problem-grid,
  .mini-shots {
    grid-template-columns: 1fr;
  }

  .flow-grid,
  .how-grid,
  .management-grid,
  .how-step-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .management-image {
    width: 78%;
  }

.how-step-image {
    width: 52%;
  }

  .feature-grid.reverse .feature-copy {
    order: 1;
  }

  .feature-grid.reverse .feature-shot {
    order: 2;
  }

}


@media (max-width: 640px) {

  .container {
    width: min(100% - 32px, 1320px);
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding: 68px 0;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .title-first {
    white-space: normal;
  }

  .hero-description,
  .section-description,
  .feature-copy p {
    font-size: 17px;
  }

  .flow-grid,
  .how-grid,
  .management-grid,
  .how-step-grid {
    grid-template-columns: 1fr;
  }

  .how-step-card {
    min-height: auto;
    padding: 24px;
  }

  .management-card {
    min-height: auto;
  }

  .management-copy {
    min-height: auto;
  }

 .management-image {
    width: 78%;
    margin-top: 24px;
  }

.how-step-image {
    width: 52%;
    margin-top: 22px;
  }

  .status-item {
    grid-template-columns: 14px 88px 1fr;
  }

  .problem-card,
  .flow-card,
  .how-card {
    padding: 24px;
  }

  .closing-section {
    padding: 84px 0;
  }

}

@media (max-width: 640px) {
  .closing-cta {
    width: 100%;
    min-height: 84px;
    margin-bottom: 34px;
    padding: 22px 24px;
    border-radius: 16px;
    font-size: 26px;
  }
}
@media (max-width: 640px) {

  #survey-form {
    gap: 18px;
    margin-top: 38px;
  }

  .survey-question {
    padding: 24px 20px;
  }

  .survey-question h3 {
    font-size: 19px;
  }

  .survey-question label {
    width: 100%;
    margin-right: 0;
    font-size: 15px;
  }

  .survey-submit-button {
    width: 100%;
    min-height: 62px;
    font-size: 18px;
  }
}
/* Revised landing copy/layout */
.hero-note {margin-top:14px;color:var(--muted);font-size:15px;font-weight:600;}
.hero-description strong {color:var(--dark);font-weight:700;}
.title-line {white-space:normal;}
.problem-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.solution-banner p {margin-top:10px;font-size:16px;}
.flow-grid {grid-template-columns:repeat(5,minmax(0,1fr));}
.flow-card {min-width:0;}
.closing-inner h2 span {color:#BDD0E8;}
.closing-cta {margin-top:38px;margin-bottom:0;gap:14px;border:0;font-family:inherit;cursor:pointer;}
.closing-inner .cta-note {margin:18px auto 0;color:#D5DBE3;font-size:14px;}
@media(max-width:1100px) {.flow-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:980px) {.problem-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px) {.problem-grid,.flow-grid{grid-template-columns:1fr;} .closing-cta{font-size:clamp(20px,5vw,26px);padding:20px 12px;} }

/* Final typography and YouTube identity refinements */
.youtube-text { color: #FF0000; }
.hero-youtube-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #FFF1F0;
  color: #C62828;
  font-size: 14px;
  font-weight: 700;
}
.youtube-play {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 19px;
  border-radius: 5px;
  background: #FF0000;
  color: #FFFFFF;
  font-size: 10px;
  line-height: 1;
}
.hero .eyebrow { display: block; width: fit-content; }
.hero h1 { text-wrap: balance; }
.section-title, .feature-title, .closing-inner h2 { text-wrap: balance; }
/* Give feature descriptions enough space without changing image order. */
@media (min-width: 981px) {
  .feature-grid { grid-template-columns: 0.8fr 1.2fr; }
  .feature-grid.reverse { grid-template-columns: 1.2fr 0.8fr; }
  .feature-title { font-size: clamp(34px, 3.2vw, 46px); }
}
@media (max-width: 640px) {
  .hero-youtube-badge { font-size: 12px; padding: 7px 11px; }
  .hero h1 { font-size: clamp(32px, 8.8vw, 43px); }
}

/* 설문 제출 완료 후 제출 버튼 숨기기 */
.survey-submit-button[hidden] {
  display: none !important;
}
