
/* ★ 공통요소 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

*{
  margin: 0;
  padding: 0;
}

body {
  font-family: "Pretendard";
  background: #000;
  overflow-x: hidden;
}

.inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px; /* 좌우 숨은 여백(스크린샷 동일) */
  box-sizing: border-box;
}


/* ★ 1. 상단 네비 */
#top_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 9999;
  display: flex;
  align-items: center;
  pointer-events: auto;
  background: rgba(245,245,247,0.9);
}


.logo {
  margin-left: 100px;
}

.gnb ul {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  list-style: none;
}

.gnb ul > li:nth-child(3) a {
  font-weight: 600;
}

.gnb a {
  color: #222;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.icon_wrap{
  width: auto;          /* ★ 기존 100px 제거 */
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 100px;
  flex-shrink: 0;       /* ★ 줄어들며 잘리는 것 방지 */
}

.icon>img{
width: 20px;
height: 20px;
cursor: pointer;
}

/* ===== 햄버거 버튼 (기본 숨김) ===== */
.hamburger{
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}
.hamburger .material-symbols-outlined{
  font-size: 28px;
  color: #222;
}

/* ===== 모바일 오버레이 ===== */
.m_menu{
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.m_menu.is-open{
  opacity: 1;
  visibility: visible;
}
.m_panel{
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 86vw);
  height: 100%;
  background: rgba(245,245,247,0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(100%);
  transition: transform .25s ease;
  padding: 18px 18px 24px;
}
.m_menu.is-open .m_panel{ transform: translateX(0); }

.m_close{
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  display: flex;
  padding: 6px;
}
.m_close .material-symbols-outlined{
  font-size: 28px;
  color: #222;
}

.m_list{
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  gap: 14px;
}
.m_list a{
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: #222;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.m_list a:hover{ background: rgba(0,0,0,0.06); }

/* ===== 반응형 ===== */
@media (max-width: 1200px){
  .logo{ margin-left: 24px; }
  .icon_wrap{ margin-right: 24px; }
  .gnb ul{ gap: 32px; }
}

@media (max-width: 900px){
  #top_nav{
    justify-content: space-between;
    padding: 0 20px;
  }

  .logo{
    margin-left: 0;
  }

  .gnb{
    display: none;   /* 중앙 메뉴 제거 */
  }

  .icon_wrap{
    margin-right: 0;
    gap: 16px;
  }

  .hamburger{
    display: flex;
  }
}



/* ★ 2. 히어로 색션 */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero_bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  z-index: 2;
}

/* Hero content */
.wrap {
  position: relative;
  z-index: 999;
  margin-top: 80px;
  padding-top: 110px; /* 스크린샷 기준 hero 타이틀 위치 */
  text-align: center;
  color: #fff;
}

.hero_title {
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 14px;
}

.hero_sub {
  font-size: 18px;
  font-weight: 200;
  margin-bottom: 60px;
}

/* 버튼 */
.btn_group {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 280px;
}

.btn {
  padding: 14px 50px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 200;
  display: inline-block;
  cursor: pointer;
  transition: 0.25s;
  text-decoration: none;
}

.btn.blue {
background: linear-gradient(
  90deg,
  #4FA5CAE6 0%,
  #38C0DBE6 80%,
  #92EDFFE6 100%
);
  color: #fff;
}

.btn.dark {
  background: rgba(0,0,0,0.7);
  color: #fff;
}

.btn:hover {
  opacity: 0.85;
}

/* 스펙 라인 */
.spec_wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.spec_item {
  text-align: center;
  position: relative;
  padding: 0 40px; /* 좌우 여백 추가 → 줄과 텍스트 간격 */
}

.spec_item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;  
  right: 0;
  width: 1px;
  height: 40px;  /* 깔끔한 고정 길이 */
  background: rgba(255, 255, 255, 0.3);
}
.spec_item .label {
  font-size: 18px;
  font-weight: 200;
  opacity: 0.85;
  margin-bottom: 14px;
}

.spec_item .value {
  font-size: 34px;
  font-weight: 500;
}

.notice {
  font-size: 18px;
  font-weight: 100;
  opacity: 0.75;
}

@media (max-width: 900px){
  .btn_group{
    display: block;
  }
  .btn_group a{
    margin-bottom: 20px;
  }

  .spec_wrap{
    display: none;
  }

  .hero_title {
    font-size: 50px;
  }
}

/* 3. ★ 가로배너 색션 */
#benefit {
  width: 100%;
  background: #0E121B;
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
}

#benefit .sec_title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
}

#benefit .sec_desc {
  font-size: 18px;
  color: #9ea5b3;
  margin-bottom: 40px;
}

.benefit_cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.benefit_card {
  flex: 1;
  background: #141821;
  border-radius: 12px;
  padding: 80px 0;
  text-align: center;
}

.benefit_card .icon{
  display: flex;
  justify-content: center;
  align-items: center;
  gap:10px;
}

.benefit_card .icon img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  margin-bottom: 14px;
}

.benefit_card .badge {
  font-size: 20px;
  color: #9ea5b3;
  margin-bottom: 6px;
}

.benefit_card .main_txt {
  font-size: 24px;
  font-weight: 500;
}

@media (max-width: 900px){
  .benefit_cards{
    display: block;
    
  }

  .benefit_card{
    padding: 50px 0;
    margin-bottom: 20px;
  }
}


/* 4. ★ 세로 카드 안내 색션 */
#model_info {
  width: 100%;
  background: #181C27;
  color: #fff;
}

#model_info .btn.blue{
  width: 180px;
  text-align: center;
  text-decoration: none;
  margin-top: 100px;
  cursor: pointer;
}


.info_2{
  width: 100%;
  background-color: #0E121B;
  padding: 80px 0;
}

.info_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
}

.info_row_reverse {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 48px;
}

.info_row:last-child {
  margin-bottom: 0;
}

.text_box {
  flex: 1;
}

.info_title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.info_title .blue {
  color: #39b8ff;
}

.info_desc {
  font-size: 18px;
  font-weight: 400;
  color: #b6bdc8;
  line-height: 1.6;
}

/* 이미지 */
.img_box {
  flex: 1;
}

.img_box img {
  width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px){
  .info_row, .info_row_reverse{
    display: block;
    text-align: center;
  }

  #model_info .btn.blue{
    margin: 20px;
  }
}



/* 5. ★ 운전 경험/ 안전성 색션 */
#driving_features {
  width: 100%;
  background: #05070d;
  color: #fff;
  padding: 80px 0 120px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

#driving_features .container{
  display: flex;
  width: 100%; height: 100vh;
  margin: 0;
  margin-top: 50px;
  padding: 0;
  border: none;
  
}

#driving_features .container .item{
width: 100vw;
flex-shrink: 0;
}


.feature_set {
  margin-bottom: 100px;
}

.feature_set:last-child {
  margin-bottom: 0;
}

/* 텍스트 영역 */
.feature_title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature_title .blue {
  color: #39b8ff;
}

.feature_desc {
  font-size: 18px;
  font-weight: 200;
  line-height: 1.6;
  color: #aab0bb;
  margin-bottom: 24px;
}

/* 이미지/영상 */
.feature_media img,
.feature_media video {
  width: 80%;
  height: 600px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  background-color: #181C27;
}

@media (max-width: 900px){
  #driving_features .container{
    display: block;
    height: auto;
  }
}


/* <!-- ★ 6. 하단 가로 배너 --> */
#m3_performance_banner {
  width: 100%;
  height: 600px;
  background: url("./img/before.png") no-repeat center/cover;
  position: relative;
  transition: background 0.6s ease;

  display: flex;  
  flex-direction: column;      
  align-items: center; 
  justify-content: center; 
  text-align: center;
}

/* hover 시 이미지 변경 */
#m3_performance_banner:hover {
  background: url("./img/after.png") no-repeat center/cover;
}


/* 가운데 콘텐츠 */
#m3_performance_banner .banner_content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner_title {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 30px;
}

.banner_btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #39b8ff;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.2s;
}

.banner_btn:hover {
  opacity: 0.9;
}


/* ★ 7. 상담신청 섹션  */
#consult {
  width: 100%;
  background: #181C27;
  color: #fff;
  padding: 140px 0 160px;
  box-sizing: border-box;
}

/* .inner 안에서 좌/우 2단 레이아웃 */
.consult_inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
}

/* 왼쪽 텍스트 영역 */
.consult_left {
  flex: 0 0 32%;
}

.consult_title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 18px;
}

.consult_text {
  font-size: 18px;
  line-height: 1.7;
  color: #a9b0bd;
}

/* 오른쪽 폼 영역 */
.consult_right {
  flex: 0 0 56%;
}

/* 각 줄 레이아웃 */
.form_row {
  width: 100%;
  display: flex;
  gap: 12px;
}

.form_row.three .field,
.form_row.two .field {
  flex: 1;
}

/* 라벨/인풋 공통 스타일 */
.field label {
  display: block;
  font-size: 18px;
  font-weight: 200;
  color: #c7cedb;
  margin: 24px 0;
}

.field input,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 4px;
  background: rgba(245, 245, 247, 0.664);
  backdrop-filter: blur(80px);   
  padding: 12px 14px;
  font-size: 18px;
  color: #111;
}

.field input {
  height: 46px;
}

.form_row textarea {
  width: 100%;
  height: 200px;
}

.field input::placeholder,
.field textarea::placeholder {
  font-size: 16px;  
  color: #727272;   
}

.form_row:not(.three):not(.two) {
  display: block;   
}

.field input:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(57, 184, 255, 0.7);
}

/* 체크박스 영역 */
.agree_row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  margin-left: 20px;
}

.check_item {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #c7cedb;
}

.check_item input {
  margin-right: 6px;
}

.agree_desc {
  font-weight: 200;
  font-size: 14px;
  line-height: 1.6;
  color: #848b97;
  margin-bottom: 18px;
    margin-top: 30px;
  margin-left: 20px;
}

/* 제출 버튼 */
.submit_btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 4px;
background: linear-gradient(
  90deg,
  #4FA5CAE6 0%,
  #38C0DBE6 80%,
  #92EDFFE6 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.submit_btn:hover {
  opacity: 0.9;
}


@media (max-width: 900px){
  .consult_inner{
    display: block;
  }
}


/* ★ 우측 하단 TOP 버튼 */
.to_top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);      
  backdrop-filter: blur(18px);                
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45); 
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.to_top:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}


/* ★ Footer --------------------- */
#footer {
  width: 100%;
  background: #d8d8d8; 
  box-sizing: border-box;
  color: #111;
  font-family: "Pretendard";
  padding: 50px 0;
}

.footer_inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* 왼쪽 */
.footer_left {
  flex: 1;
}

.footer_logo {
  width: 60px; 
  margin-bottom: 18px;
}

.footer_info {
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

.footer_info a {
  color: #333;
  text-decoration: underline;
}

/* 오른쪽 메뉴 */
.footer_right {
  display: flex;
  justify-content: flex-end;
}

.footer_menu {
  list-style: none;
  display: flex;
  height: 100%;
  align-items: flex-start;
  padding-top: 10px;
}

.footer_menu li a {
  color: #111;
  font-size: 14px;
  text-decoration: none;
  font-weight: 400;
}

.footer_menu li a:hover {
  text-decoration: underline;
}

.footer_menu li {
  position: relative;
  padding-right: 20px;
  margin-right: 20px;
}

.footer_menu li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;     
  right: 0;
  width: 1px;
  height: 14px;  
  background: #555; 
}

@media (max-width: 900px){
  .footer_inner{
    display: block;
  }
}


/* 모든 색션 스타일 끝 */