@charset "utf-8";

/* ============================================
   안전한 오토바이 매입 - 메인 스타일
   원본 사이트 디자인 기반 정밀 재현
   ============================================ */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; }
body { font-family: 'Pretendard', 'Noto Sans KR', '맑은 고딕', sans-serif; color: #fff; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; background: #222; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: top; }
button { cursor: pointer; font-family: inherit; }

/* scroll */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #eee; }
::-webkit-scrollbar-thumb { height: 50px; width: 50px; background: #1a47bc; }

/* ============================================
   Scroll Animation System
   ============================================ */
.scroll_on { opacity: 0; transition: all 1s; }
.scroll_on.active { opacity: 1 !important; transform: translate(0, 0) !important; }
.scroll_on.type_top { transform: translate(0, -50px); }
.scroll_on.type_bottom { transform: translate(0, 50px); }
.scroll_on.type_left { transform: translate(-50px, 0); }
.scroll_on.type_right { transform: translate(50px, 0); }

/* Layout */
.wrap { position: relative; width: 1600px; margin: 0 auto; }
.pc_only { display: block; }
.mo_only { display: none; }

/* ============================================
   Header
   ============================================ */
.head { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; }
.head .wrap { display: flex; justify-content: space-between; align-items: center; }
.head .logo { margin-top: 20px; }
.head .logo a { display: flex; align-items: center; gap: 10px; }
.head .logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #ffd500, #ffb800);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 15px rgba(255, 213, 0, 0.45);
}
.head .logo .logo-icon svg { width: 24px; height: 24px; stroke: #000; fill: none; }
.head .logo .logo-text { font-size: 20px; font-weight: 900; color: #fff; }
.head .logo .logo-text span { color: #ffd500; }

/* ============================================
   Main Sections - Common
   ============================================ */
.main_con { width: 100%; min-height: 100vh; padding: 100px 0; background: #222; color: #fff; }
.main_con a { color: #fff; }

/* ============================================
   Section 1: Hero Banner
   ============================================ */
.main_con01 {
  padding: 0;
  background: url('../images/hero_bg.png') center center no-repeat;
  background-size: cover;
  position: relative;
}
.main_con01::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}
.main_con01 .wrap { display: flex; flex-wrap: wrap; min-height: 100vh; position: relative; z-index: 1; }
.main_con01 .wrap > div { display: flex; flex-wrap: wrap; align-content: center; width: 50%; }

/* Left - Hero Text */
.main_con01_left {}
.main_con01_textbox { margin-bottom: 80px; width: 100%; }
.main_con01_textbox h2 { margin-bottom: 50px; font-size: 60px; font-weight: 900; line-height: 1.2; }
.main_con01_textbox h2 span { position: relative; display: block; }
.main_con01_textbox h2 span.text01 { font-size: 30px; font-weight: 700; margin-bottom: 15px; color: #fff; }
.main_con01_textbox h2 span.text02 { color: #ffd500; letter-spacing: 0.03em; }

/* Rocket Animation */
.main_con01_textbox h2 span {
  animation: rocketSlide 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.main_con01_textbox h2 span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(252, 255, 50, 0.3) 30%, rgba(252, 255, 50, 0.5) 50%, rgba(252, 255, 50, 0.3) 70%, transparent 100%);
  opacity: 0;
  z-index: -1;
}
.main_con01_textbox h2 span::before { animation: rocketTrail 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.main_con01_textbox h2 span.text02 { animation-delay: 0.3s; }
.main_con01_textbox h2 span.text02::before { animation-delay: 0.3s; }

@keyframes rocketSlide {
  0% { opacity: 0; transform: translateX(-100%) scale(0.8); filter: blur(5px); }
  60% { transform: translateX(5%) scale(1.05); }
  100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}
@keyframes rocketTrail {
  0% { opacity: 0; width: 0; }
  50% { opacity: 1; width: 120%; }
  100% { opacity: 0; width: 150%; }
}

.main_con01_textbox p { font-size: 28px; font-weight: 600; letter-spacing: 0.015em; color: rgba(255,255,255,0.9); }
.main_con_btnbox { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 10px; width: 100%; }
.main_btn {
  position: relative;
  display: inline-flex; flex-wrap: wrap; align-content: center; align-items: center;
  width: 310px; height: 80px;
  padding: 0 30px 0 30px;
  background: #ddd; border-radius: 10px;
  font-weight: 800; font-size: 22px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.main_btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btnShine 4s infinite;
}
@keyframes btnShine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.main_btn01 { background: linear-gradient(135deg, #ffd500, #ffb800); color: #000; box-shadow: 0 0 20px rgba(255, 213, 0, 0.5); }
.main_btn02 { background: #FEE500; color: #381e1f !important; box-shadow: 0 0 15px rgba(255, 213, 0, 0.35); }
.main_btn span { display: block; width: 100%; font-size: 14px; font-weight: 500; opacity: 0.8; }
.main_btn:hover { margin-top: -10px; box-shadow: 0 10px 30px rgba(255, 213, 0, 0.6); }

/* Right - Form */
.main_con01_right { padding: 0 80px; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(10px); }
.form_title { text-align: center; width: 100%; margin-bottom: 50px; }
.form_title h2 { margin-bottom: 20px; font-size: 50px; font-weight: 900; letter-spacing: 0.05em; line-height: 1.2; }
.form_title h2 span { color: #ffd500; }
.form_title p { letter-spacing: 0.05em; color: rgba(255,255,255,0.7); font-size: 16px; }

.formbox { width: 100%; }
.formbox ul { display: flex; flex-wrap: wrap; gap: 12px; }
.formbox ul li {
  display: flex; flex-wrap: wrap; align-items: center;
  width: 100%; padding: 0;
  background: rgba(255, 184, 0, 0.08);
  border: 2px solid rgba(255, 213, 0, 0.5);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 213, 0, 0.15);
  transition: all 0.3s;
}
.formbox ul li:focus-within {
  border-color: #ffd500;
  box-shadow: 0 0 20px rgba(255, 213, 0, 0.4);
  background: rgba(255, 184, 0, 0.15);
}
.formbox ul li .form_label {
  position: relative;
  display: inline-flex; flex-wrap: wrap; align-content: center; justify-content: center;
  width: 130px; height: 58px;
  font-size: 18px; font-weight: 700;
  color: #ffd500;
}
.formbox ul li .form_label::after {
  content: '';
  position: absolute; right: 0; top: 20%;
  width: 2px; height: 60%;
  background: rgba(255, 213, 0, 0.4);
}
.formbox ul li .form_input {
  width: calc(100% - 130px);
  padding: 10px 25px;
  background: transparent; border: none;
  color: #fff; font-size: 18px;
  font-family: inherit;
  outline: none;
}
.formbox ul li .form_input::placeholder { color: rgba(255, 255, 255, 0.4); font-size: 16px; }

.agreebox {
  display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-end; align-items: center;
  gap: 10px; text-align: right;
  margin: 20px 0 30px; font-size: 16px; color: rgba(255,255,255,0.7);
}
.agreebox input { width: 20px; height: 20px; accent-color: #ffd500; cursor: pointer; }
.agreebox label { cursor: pointer; }

button.form_btn {
  width: 100%; height: 62px;
  background: linear-gradient(135deg, #ffd500, #ffb800);
  border: none; border-radius: 500px;
  color: #000; font-size: 24px; font-weight: 900;
  box-shadow: 0 0 20px rgba(255, 213, 0, 0.5);
  transition: 0.3s;
  position: relative; overflow: hidden;
}
button.form_btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: btnShine 3s infinite;
}
button.form_btn:hover { background: linear-gradient(135deg, #ffb800, #ffa000); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 213, 0, 0.6); }

.contactbox { text-align: center; width: 100%; margin-top: 30px; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.15); }
.contactbox a { font-size: 38px; font-weight: 900; line-height: 1; color: #ffd500; }
.contactbox p { margin-top: 10px; color: rgba(255,255,255,0.5); font-size: 14px; }

/* ============================================
   Section 2: "왜 고객들이 선택할까요?" (카드형)
   ============================================ */
.main_con02 {
  background: url('../images/hero_bg.png') center center no-repeat;
  background-size: cover;
  position: relative;
}
.main_con02::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 20, 0.88);
  z-index: 0;
}
.main_con02 .wrap { position: relative; z-index: 1; }

/* Section Title */
.main_con_title { text-align: center; margin-bottom: 80px; }
.main_con_title .stitle {
  display: block; margin-bottom: 30px;
  color: #ffd500; font-size: 30px; font-weight: 900;
  line-height: 1; text-transform: uppercase;
  letter-spacing: 0.1em;
}
.main_con_title h2 { font-size: 54px; font-weight: 900; line-height: 1.2; }
.main_con_title h2 strong { color: #ffd500; font-weight: 900; }
.main_con_title p {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 15px; margin-top: 40px;
}
.main_con_title p span.tag {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 30px;
  background: #ffd500; border-radius: 500px;
  color: #000; font-size: 20px; font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 213, 0, 0.45);
}

/* Card Grid */
.card_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
}

.adv_card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 213, 0, 0.2);
  border-radius: 16px;
  padding: 40px 30px 35px;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex; flex-direction: column; align-items: flex-start;
  overflow: hidden;

  /* Scroll animation initial state */
  opacity: 0;
  transform: translateY(50px);
}
.adv_card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Yellow top accent bar */
.adv_card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd500, #ffb800);
  opacity: 0.3;
  transition: opacity 0.3s;
}
.adv_card:hover {
  transform: translateY(-10px);
  border-color: #ffd500;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 213, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}
.adv_card:hover::before { opacity: 1; }

/* Card Number */
.card_number {
  position: absolute; top: 24px; right: 28px;
  font-size: 48px; font-weight: 900;
  color: rgba(255, 213, 0, 0.08);
  line-height: 1;
  transition: color 0.3s;
}
.adv_card:hover .card_number { color: rgba(255, 213, 0, 0.25); }

/* Card Icon */
.card_icon_wrapper {
  width: 68px; height: 68px;
  background: rgba(255, 213, 0, 0.12);
  border: 2px solid rgba(255, 213, 0, 0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: all 0.35s;
}
.card_icon_wrapper svg {
  width: 34px; height: 34px;
  stroke: #ffd500;
  stroke-width: 2.2;
  fill: none;
}
.adv_card:hover .card_icon_wrapper {
  background: linear-gradient(135deg, #ffd500, #ffb800);
  border-color: #ffd500;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(255, 213, 0, 0.4);
}
.adv_card:hover .card_icon_wrapper svg { stroke: #000; }

/* Card Text */
.card_title { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.card_desc { font-size: 16px; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.card_tag {
  display: inline-block; margin-top: 20px;
  font-size: 13px; font-weight: 800;
  color: #000;
  background: rgba(255, 213, 0, 0.85);
  padding: 5px 14px;
  border-radius: 20px;
}

/* ============================================
   Section 3: Live Transactions
   ============================================ */
.main_con03 {
  background: linear-gradient(180deg, #0a0e1a 0%, #111527 50%, #0a0e1a 100%);
}

.main_con03_list01 {
  width: 1180px; margin: 0 auto 50px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,213,0,0.15), rgba(255,184,0,0.08));
  border: 1px solid rgba(255,213,0,0.3);
  border-radius: 12px;
}
.main_con03_list01 ul { display: flex; flex-wrap: wrap; gap: 10px; }
.main_con03_list01 ul li {
  flex: 1; display: inline-flex; flex-wrap: wrap; align-content: center; justify-content: center;
  gap: 10px; width: auto; height: 120px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.45);
}
.main_con03_list01 ul li:nth-child(1) { background: rgba(255,213,0,0.08); }
.main_con03_list01 ul li:nth-child(2) { background: rgba(255,184,0,0.12); }
.main_con03_list01 ul li:nth-child(3) { background: rgba(255,155,0,0.15); }
.main_con03_list01 ul li h4 { display: block; text-align: center; width: 100%; color: rgba(255,213,0,0.7); font-size: 0.9em; font-weight: 600; }
.main_con03_list01 ul li .numbox { font-size: 24px; font-weight: 800; color: #fff; }
.main_con03_list01 ul li .numbox span { font-size: 38px; color: #ffd500; font-weight: 900; }

.main_con03_list02 { width: 1180px; margin: 0 auto 50px; }
.main_con03_list02 h3 { text-align: center; margin-bottom: 30px; font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; }

.live_pulse {
  display: inline-block;
  width: 12px; height: 12px;
  background-color: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00E676;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Trade Ticker */
.trade-list { display: flex; flex-direction: column; gap: 10px; }
.trade-item {
  position: relative;
  display: grid; grid-template-columns: 180px 1fr 200px 180px;
  align-items: center; gap: 30px;
  padding: 22px 30px;
  background: rgba(15, 20, 45, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 213, 0, 0.15);
  border-radius: 10px;
  opacity: 0;
  animation: slideIn 0.5s ease forwards;
}
.trade-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 213, 0, 0.3) 50%, transparent 100%);
}
.trade-item:nth-child(1) { animation-delay: 0s; }
.trade-item:nth-child(2) { animation-delay: 0.15s; }
.trade-item:nth-child(3) { animation-delay: 0.3s; }
.trade-item:nth-child(4) { animation-delay: 0.45s; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.trade-item.slide-out {
  animation: slideOut 0.4s ease forwards;
}
@keyframes slideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

.trade-date { text-align: center; color: rgba(255,255,255,0.5); font-size: 15px; }
.trade-location { text-align: center; font-weight: 700; font-size: 16px; }
.trade-model { text-align: center; font-weight: 800; letter-spacing: 0.05em; color: #ffd500; font-size: 16px; }
.trade-status { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.status-icon { color: #ffd500; font-size: 22px; font-weight: 900; }
.status-text { color: #ffd500; font-weight: 800; font-size: 15px; }

.main_con03_textbox { text-align: center; word-break: keep-all; }
.main_con03_textbox h3 { margin-bottom: 40px; font-size: 44px; font-weight: 800; }
.main_con03_textbox h3 strong { color: #ffd500; font-weight: 800; }
.main_con03_textbox p { font-size: 24px; font-weight: 300; color: rgba(255,255,255,0.7); }

/* ============================================
   Section 4: Customer Reviews (Swiper)
   ============================================ */
.main_con04 {
  background: linear-gradient(180deg, #111527 0%, #0d1020 100%);
}
.swiper { width: 100%; height: 100%; }
.swiper-slide { text-align: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }

.main_con04_list { width: 1250px; max-width: 100%; margin: 0 auto; padding-bottom: 50px; }
.main_con04_list .swiper-slide { overflow: hidden; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.main_con04_list .swiper-slide .imgbox { width: 100%; overflow: hidden; }
.main_con04_list .swiper-slide .imgbox img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; }
.main_con04_list .swiper-slide:hover .imgbox img { transform: scale(1.05); }
.main_con04_list .swiper-slide .textbox { width: 100%; padding: 25px 15px; color: #222; }
.main_con04_list .swiper-slide .textbox .star { margin-bottom: 10px; color: #ffd500; font-weight: bold; line-height: 1; font-size: 18px; letter-spacing: 2px; }
.main_con04_list .swiper-slide .textbox p { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; min-height: 50px; font-weight: 600; word-break: keep-all; font-size: 15px; }

.main_con04 .swiper-pagination-progressbar { top: auto; bottom: 0; background: rgba(255, 255, 255, 0.15); height: 4px; }
.main_con04 .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { background: #ffd500; }

/* ============================================
   Section 5: Bottom CTA + Form
   ============================================ */
.main_con05 {
  padding: 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #111527 100%);
  position: relative;
}
.main_con05::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero_bg.png') center center no-repeat;
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}
.main_con05 .wrap { display: flex; flex-wrap: wrap; min-height: 100vh; position: relative; z-index: 1; }
.main_con05 .wrap > div { display: flex; flex-wrap: wrap; align-content: center; width: 50%; }
.main_con05 .main_con01_textbox h2 { font-size: 52px; }
.main_con05 .main_con01_textbox h2 span.text02 { color: #ffd500; }
.main_con05 .main_con01_textbox p { font-size: 22px; }
.main_con05 .main_con01_right { background: rgba(0, 10, 40, 0.85); backdrop-filter: blur(10px); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: #000; color: #fff;
  padding: 50px 20px 30px;
  text-align: center;
}
.footer-logo { margin-bottom: 25px; }
.footer-logo .company-name { font-size: 24px; font-weight: 800; }
.footer-logo .company-name span { color: #ffd500; }
.footer-info { font-size: 13px; line-height: 1.9; color: #aaa; margin-bottom: 25px; }
.footer-info .info-row { margin-bottom: 5px; }
.footer-info .info-item { display: inline-block; margin: 0 12px; }
.footer-info .label { color: #fff; font-weight: 600; }
.footer-copyright { font-size: 12px; color: #666; padding-top: 15px; letter-spacing: 0.5px; }

/* ============================================
   Mobile Fixed Bottom Bar
   ============================================ */
.mobile_fixed_bar {
  display: none;
  position: fixed; bottom: 0; left: 0; width: 100%;
  z-index: 999;
  background: #000;
  border-top: 2px solid #ffd500;
  padding: 10px 15px;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.7);
}
.mobile_fixed_bar .btn_group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile_fixed_bar a {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 14px;
  border-radius: 8px; font-weight: 900; font-size: 16px; text-decoration: none;
}
.m_btn_call { background: linear-gradient(135deg, #ffd500, #ffb800); color: #000; }
.m_btn_talk { background: #FEE500; color: #191919; }
