
/* =========================
   TOPBAR
========================= */

.topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:#fff;
  border-bottom:1px solid #eee;
  z-index:1000;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

.inner{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* =========================
   BRAND
========================= */

.brand{
  display:flex;
  align-items:center;
  font-size:20px;
  font-weight:700;
}

.brand .dot{
  width:10px;
  height:10px;
  background:#111;
  border-radius:50%;
  margin-right:8px;
}

/* =========================
   NAV
========================= */

.nav{
  display:flex;
  gap:32px;
}

.nav a{
  text-decoration:none;
  color:#333;
  font-size:15px;
  font-weight:500;
  transition:0.3s;
}

.nav a:hover{
  color:#000;
}

/* =========================
   BUTTON
========================= */

.btn{
  text-decoration:none;
  padding:10px 20px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
}

.btn.primary{
  background:#111;
  color:#fff;
  transition:0.3s;
}

.btn.primary:hover{
  background:#333;
}
/* =========================
   MOBILE
========================= */

@media (max-width:768px){

  .nav{
    display:none;
  }

  .btn.primary{
    padding:8px 14px;
    font-size:13px;
  }

  .brand{
    font-size:18px;
  }

}
/* =========================
   HEADER SPACE FIX
========================= */

/* fixed header 때문에 내용 가려짐 방지 */
body{
  padding-top:70px;
}

/* ===== HERO ===== */
.master-hero{
  text-align:center;
  padding:120px 20px;
  background:#f8f8f8;
}
.hero-wrapper{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}

.hero-text{
  flex:1;
}

.hero-image{
  flex:1;
}

.hero-image img{
  width:100%;
  border-radius:16px;
}

.master-hero h1{
  font-size:42px;
  margin-bottom:20px;
}

.master-hero p{
  font-size:20px;
  line-height:1.7;
}


/* ===== INTRO ===== */
.master-intro{
  text-align:center;
  padding:100px 20px;
}

.master-intro p{
  max-width:700px;
  margin:0 auto;
  font-size:18px;
  line-height:1.9;
}


/* ===== SYSTEM ===== */
.master-system{
  padding:120px 20px;
  background:#fafafa;
  text-align:center;
}

.system-wrapper{
  max-width:1100px;
  margin:60px auto 0;
  display:flex;
  gap:40px;
}

.system-card{
  flex:1;
  background:#fff;
  padding:40px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.system-card span{
  font-size:14px;
  color:#888;
}

.system-card h3{
  margin:15px 0;
  font-size:24px;
}

.system-card p{
  line-height:1.8;
}

.highlight{
  border:2px solid #000;
}


/* ===== FLOW ===== */
.master-flow{
  padding:120px 20px;
  text-align:center;
}

.flow{
  margin-top:50px;
  display:flex;
  justify-content:center;
  gap:30px;
}

.flow div{
  padding:15px 25px;
  border:1px solid #000;
  border-radius:30px;
}


/* ===== TARGET ===== */
.master-target{
  padding:120px 20px;
  background:#f8f8f8;
  text-align:center;
}

.master-target ul{
  list-style:none;
  padding:0;
  margin-top:40px;
}

.master-target li{
  margin-bottom:15px;
  font-size:18px;
}

.apply-btn{
  display:inline-block;
  margin-top:30px;
  padding:16px 36px;

  background:#111;
  color:white;
  text-decoration:none;
  font-weight:600;
  font-size:16px;

  border-radius:999px;
  transition:0.3s;
}

/* hover */
.apply-btn:hover{
  background:#ff6b6b;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.apply-section{
  text-align:center;
  padding:60px 20px;
}

.apply-btn{
  display:inline-block;
  padding:18px 42px;

  background:#111;
  color:#fff;
  text-decoration:none;

  font-size:17px;
  font-weight:600;
  border-radius:999px;

  transition:0.3s;
}

.apply-btn:hover{
  background:#ff6b6b;
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
/* =========================
   MOBILE FULL FIX
========================= */

@media (max-width:768px){

  /* 전체 섹션 여백 줄이기 */
  .master-hero,
  .master-intro,
  .master-system,
  .master-flow,
  .master-target {
    padding:70px 20px;
  }

  /* HERO */
  .hero-wrapper{
      flex-direction: column-reverse;
    gap:30px;
    text-align:center;
  }

  .master-hero h1{
    font-size:26px;
  }

  .master-hero p{
    font-size:15px;
    line-height:1.6;
  }

  /* SYSTEM */
  .system-image{
    margin:30px 0;
  }

  .system-wrapper{
    flex-direction:column;
    gap:18px;
  }

  .system-card{
    width:100%;
    max-width:100%;
    padding:25px 20px;
  }

  .system-card h3{
    font-size:20px;
  }

  .system-card p{
    font-size:14px;
    line-height:1.6;
  }

  /* FLOW */
  .flow{
    flex-direction:column;
    gap:15px;
  }

  .flow div{
    width:100%;
  }

  /* TARGET */
  .master-target li{
    font-size:15px;
  }

  /* 버튼 */
  .apply-btn{
    width:100%;
    max-width:320px;
    padding:16px 0;
    font-size:15px;
  }

}