:root{
  --bg:#070A0F;
  --bg2:#0B1020;
  --card:#0F162C;
  --text:#EAF0FF;
  --muted:#B7C3E6;
  --line:rgba(255,255,255,.12);
  --accent:#76A9FF;
  --accent2:#7CFFCB;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;

  /* ✅ topbar height: 한 번만 관리 */
  --topbar-h: 74px;
}

*{ box-sizing:border-box; }

/* 수정한 부분: height:100% 제거 */
html {
  scroll-behavior: smooth;
}

body{
  margin:0;
  min-height: 100vh;
  font-family:"Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  background-attachment: fixed; /* 배경 끊김(가로선) 방지 */

  /* ✅ fixed topbar offset */
  padding-top: var(--topbar-h);
}

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

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

/* =========================
   TOPBAR (항상 고정)
========================= */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:99999;
  background: rgba(7,10,15,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  min-height: var(--topbar-h);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height: var(--topbar-h);
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{
  width:42px; height:42px;
  border-radius:14px;
  background: linear-gradient(135deg, #ffffff, #dfe8ff);
  padding:6px;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.no-logo .brand__logo{ display:none; }
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__text strong{ font-size:16px; letter-spacing:.2px; }
.brand__text small{ font-size:12px; color:var(--muted); }

.nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  color: rgba(234,240,255,.88);
  white-space:nowrap;
}
.nav a:hover{ background: rgba(255,255,255,.06); }
.nav__cta{
  background: linear-gradient(90deg, rgba(118,169,255,.18), rgba(124,255,203,.12));
  border:1px solid rgba(255,255,255,.05);
}
.lang{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
  padding-left:6px;
  white-space:nowrap;
}
.lang__current{ color:var(--text); font-weight:700; }
.lang__link:hover{ text-decoration:underline; }

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  overflow:hidden;

  /* ✅ padding은 공통 1곳에서만 */
  padding: calc(var(--topbar-h) + 48px) 0 80px;

  background:
    url("ship-hero1.png") center/cover no-repeat;
}

/* ✅ 공통 오버레이(배경+가독성) - 하나만 둠 */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(7,10,15,.50) 0%, rgba(7,10,15,.78) 100%),
    radial-gradient(900px 520px at 25% 10%, rgba(118,169,255,.10), transparent 60%);
  z-index:0;
}

.hero__inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1.18fr .82fr;
  gap:28px;
  align-items:stretch;
}

.hero__copy{
  position:relative;
  z-index:1;
}
.hero__copy::before{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius:22px;
  background: rgba(7,10,15,.22);
  border: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  z-index:-1;
}

.hero__fx{
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(900px 600px at 30% 10%, rgba(118,169,255,.10), transparent 60%),
    radial-gradient(800px 520px at 80% 30%, rgba(124,255,203,.08), transparent 55%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.2), transparent);
  z-index:0;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-size:13px;
  margin-bottom:16px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

h1{
  margin:0 0 14px;
  font-size: clamp(28px, 5.1vw, 46px);
  line-height:1.18;
  letter-spacing:-.6px;
  word-break: keep-all;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.title-line1,
.title-line2{ display:block; }

.grad{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  font-size:18px;
  line-height:1.85;
  color:rgba(234,240,255,.92);
  max-width:720px;
  letter-spacing:-0.2px;
}
.mbr{ display:none; }

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06);
  font-size:14px;
  white-space:nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.10); }
.btn--primary{
  border-color: rgba(118,169,255,.25);
  background: linear-gradient(90deg, rgba(118,169,255,.22), rgba(124,255,203,.14));
}
.btn--ghost{ background: rgba(255,255,255,.05); }

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.badge{
  font-size:12px;
  color:rgba(234,240,255,.90);
  padding:8px 10px;
  border-radius:999px;
  background: rgba(7,10,15,.35);
  border:1px solid rgba(255,255,255,.08);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

/* Right hero card */
.hero__panel{ display:flex; }
.panel__card{
  width:100%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15,22,44,.92), rgba(13,20,38,.86));
  border:1px solid rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  padding:18px;
}
.panel__kpi{
  display:flex;
  gap:12px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.04);
  margin-bottom:14px;
}
.kpi__label{ font-size:12px; color:var(--muted); }
.kpi__value{ font-size:15px; font-weight:700; margin-top:4px; }

.panel__lines{ display:flex; flex-direction:column; gap:10px; }
.line{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.04);
}
.dot{
  width:10px; height:10px; border-radius:50%;
  margin-top:4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  flex:0 0 auto;
}
.txt{ color:rgba(234,240,255,.86); font-size:13px; line-height:1.5; }

.panel__note{
  font-size: 11px; 
  color: rgba(183,195,230,.78);
}

/* =========================
   SECTIONS
========================= */
.section{
  position:relative;
  padding: 72px 0;
}

.section--glow::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 120px;
  pointer-events:none;
  background:
    radial-gradient(900px 120px at 50% 0%,
      rgba(118,169,255,.10),
      rgba(124,255,203,.06),
      transparent 70%);
  opacity:.9;
}
.section--glow::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 120px;
  pointer-events:none;
  background:
    radial-gradient(900px 120px at 50% 100%,
      rgba(118,169,255,.08),
      rgba(124,255,203,.05),
      transparent 70%);
  opacity:.55;
}

.section__head{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:26px;
}
.section__head h2{
  margin:0;
  font-size:28px;
  letter-spacing:-.3px;
}
.section__head p{
  margin:0;
  color:rgba(183,195,230,.95);
  line-height:1.7;
  max-width: 760px;
}

/* Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border-radius: var(--radius);
  background: rgba(12,18,34,.72);
  border:1px solid rgba(255,255,255,.05);
  padding:18px;
  box-shadow: 0 12px 36px rgba(0,0,0,.22);
}
.card h3{ margin:0 0 8px; font-size:18px; }
.card p{ margin:0 0 12px; color:rgba(234,240,255,.82); line-height:1.7; }
.card--highlight{
  background: linear-gradient(180deg, rgba(118,169,255,.14), rgba(12,18,34,.64));
  border-color: rgba(118,169,255,.12);
}

.list{ margin:0; padding-left:18px; color:rgba(183,195,230,.95); line-height:1.75; }
.list li{ margin:6px 0; }

/* Split panels */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.panel{
  border-radius: var(--radius);
  background: rgba(12,18,34,.60);
  border:1px solid rgba(255,255,255,.05);
  padding:18px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.panel h3{ margin:0 0 12px; font-size:18px; }
.stack{ display:flex; flex-direction:column; gap:12px; }

.item{
  padding:14px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
}
.item__title{ font-weight:700; margin-bottom:6px; }
.item__desc{ color:rgba(183,195,230,.95); line-height:1.7; font-size:14px; }

.tags{ display:flex; flex-wrap:wrap; gap:10px; }
.tag{
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
  color:rgba(234,240,255,.86);
  font-size:12px;
}
.note{
  margin-top:14px;
  color:rgba(183,195,230,.95);
  font-size:14px;
  line-height:1.75;
  padding:14px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border:1px dashed rgba(255,255,255,.10);
}

/* Steps */
.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:12px;
}
.step{
  display:flex;
  flex-direction: column;
  gap:12px;
  padding:14px;
  border-radius: var(--radius);
  background: rgba(12,18,34,.60);
  border:1px solid rgba(255,255,255,.05); 
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.step__no{
  width:34px; height:34px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  background: linear-gradient(90deg, rgba(118,169,255,.22), rgba(124,255,203,.14));
  border:1px solid rgba(255,255,255,.08);
}
.step__title{ font-weight:800; margin-bottom:6px; }
.step__desc{ color:rgba(183,195,230,.95); font-size:13px; line-height:1.6; }

/* CTA */
.section--cta{
  background: linear-gradient(90deg, rgba(118,169,255,.16), rgba(124,255,203,.10));
}
.cta{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.cta h2{ margin:0 0 10px; font-size:28px; }
.cta p{ margin:0; color:rgba(234,240,255,.88); line-height:1.8; }
.cta__box{
  min-width: 320px;
  padding:16px;
  border-radius: var(--radius);
  background: rgba(7,10,15,.35);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.cta__label{ font-size:12px; color:rgba(183,195,230,.95); margin-bottom:8px; }
.cta__email{
  display:block;
  font-size:18px;
  font-weight:800;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.cta__email:hover{ background: rgba(255,255,255,.09); }
.cta__hint{ margin-top:10px; font-size:12px; color:rgba(183,195,230,.95); }

/* Footer */
.footer{
  padding:22px 0 34px;
  background: rgba(0,0,0,.12);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footer__brand{ font-weight:900; }
.footer__meta{ color:rgba(183,195,230,.95); font-size:13px; margin-top:6px; }
.footer__right{ display:flex; gap:10px; align-items:center; color:rgba(234,240,255,.86); }
.footer__sep{ opacity:.55; }
.footer__address{
  margin-top:8px;
  font-size:13px;
  color:rgba(183,195,230,.75);
  letter-spacing:.2px;
}

/* =========================
   HERO FUEL SOLUTION BLOCK
========================= */
.hero__fuel{
  margin-top:36px;
  padding:24px 28px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(118,169,255,.15),rgba(124,255,203,.12));
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
  box-shadow:0 20px 50px rgba(0,0,0,.35);
  max-width:720px;
}

.fuel__badge{
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:var(--accent2);
  margin-bottom:8px;
}

.fuel__headline{
  font-size:22px;
  font-weight:700;
  margin-bottom:10px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.fuel__desc{
  font-size:15px;
  line-height:1.7;
  color:rgba(234,240,255,.9);
}

/* ===== Right Panel Contact (Premium Version) ===== */
.panel__contact{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
}
.contact__label{
  font-size:12px;
  color:rgba(183,195,230,.9);
  margin-bottom:10px;
  letter-spacing:.5px;
}
.contact__email{
  display:inline-block;
  font-size:16px;
  font-weight:700;
  padding:10px 14px;
  border-radius:14px;
  background:linear-gradient(90deg,rgba(118,169,255,.25),rgba(124,255,203,.2));
  border:1px solid rgba(255,255,255,.15);
  transition:.2s;
}
.contact__email:hover{
  background:linear-gradient(90deg,rgba(118,169,255,.35),rgba(124,255,203,.3));
}
.contact__sub{
  margin-top:8px;
  font-size:12px;
  color:rgba(234,240,255,.75);
}

/* =========================
   Responsive (정리본)
========================= */

/* 태블릿 이하 */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .cta{ flex-direction:column; }
  .cta__box{ min-width: 0; width:100%; }
}

/* 768 이하 */
@media (max-width: 768px){
  .hero__fuel{ padding:20px; }
  .fuel__headline{ font-size:18px; }
}

/* ✅ 모바일: 여기서만 딱 한 번에 처리 */
@media (max-width: 560px){
  :root{ --topbar-h: 92px; } /* 모바일에서 헤더 높이 여유 */

  .container{ width: calc(100% - 28px); }

  /* Hero 여백/배경 */
  .hero{
    padding: calc(var(--topbar-h) + 22px) 0 34px;
  }

  /* ✅ 모바일 오버레이는 "너무 진하지 않게" (배경 사진 보이게) */
  .hero::before{
    background:
      linear-gradient(180deg, rgba(7,10,15,.38) 0%, rgba(7,10,15,.62) 100%),
      radial-gradient(900px 520px at 25% 10%, rgba(118,169,255,.10), transparent 60%);
  }

  /* 텍스트 박스(카드) 대비 */
  .hero__copy::before{
    inset:-14px;
    background: rgba(7,10,15,.48);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
  }

  /* 타이포 */
  h1{ font-size:28px; line-height:1.25; }
  .lead{ font-size:15px; line-height:1.7; }
  .mbr{ display:block; }

  /* ✅ 핵심: 모바일에서는 그라데이션 텍스트를 단색으로 강제 (안 보이는 문제 해결) */
  .grad,
  .fuel__headline{
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: rgba(234,240,255,.98) !important;
    -webkit-text-fill-color: rgba(234,240,255,.98) !important;
    text-shadow: 0 2px 14px rgba(0,0,0,.55) !important;
  }

  /* 버튼/배지 */
  .btn{ padding:11px 14px; font-size:13px; }
  .hero__actions{ gap:10px; }
  .badge{ font-size:11px; padding:7px 9px; }

  /* Fuel 블록: 모바일에서는 너무 튀지 않게 + 선명하게 */
  .hero__fuel{
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(7,10,15,.42);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .fuel__desc{
    font-size:14px;
    line-height:1.7;
    color: rgba(234,240,255,.92);
  }

  /* nav 간격 */
  .nav{ gap:8px; }
  .nav a{ padding:8px 8px; }

  /* 레이아웃 */
  .grid{ grid-template-columns: 1fr; }
}

/* 앵커 이동 시 상단바에 가려짐 방지 */
section[id]{
  scroll-margin-top: calc(var(--topbar-h) + 16px);
}

/* 모바일 주소창 변화 대응 */
@supports (height: 100dvh){
  .hero{ min-height: calc(100dvh - var(--topbar-h)); }
}
/* ✅ Mobile fine-tune (<=560px) */
@media (max-width: 560px){

  /* 1) 연료절감 블록 제목/가독성 확실히 */
  .hero__fuel{
    margin-top: 18px !important;
    background: rgba(7,10,15,.50) !important;     /* 살짝 더 진하게 */
    border-color: rgba(255,255,255,.16) !important;
  }
  .fuel__headline{
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: rgba(234,240,255,.98) !important;
    -webkit-text-fill-color: rgba(234,240,255,.98) !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.65) !important;
    margin-bottom: 10px !important;
  }

  /* 2) 메인 카드(글 박스)만 살짝 더 또렷하게 */
  .hero__copy::before{
    background: rgba(7,10,15,.52) !important;
    border-color: rgba(255,255,255,.14) !important;
  }

  /* 3) badge(알약) 텍스트 대비 살짝 업 */
  .badge{
    background: rgba(7,10,15,.58) !important;
  }
}
/* =================================================
   HERO TITLE 2-LINE FIX (모바일 정확히 2줄 고정)
================================================= */
.hero-title{
  margin:0 0 16px;
  line-height:1.2;
}

.hero-title__line{
  display:block;
  word-break:keep-all;
}

/* 첫 줄 */
.hero-title__line--white{
  font-size:clamp(22px, 6vw, 30px);
  font-weight:800;
  white-space:nowrap;   /* 무조건 한줄 */
}

/* 둘째 줄 */
.hero-title__line--grad{
  font-size:clamp(22px, 6vw, 30px);
  font-weight:800;
  margin-top:6px;
  white-space:nowrap;   /* 무조건 한줄 */

  /* 모바일에서는 흰색 유지 (이미 적용되어 있으면 유지됨) */
  color:rgba(234,240,255,.98);
  -webkit-text-fill-color:rgba(234,240,255,.98);
  background:none;
}

/* 모바일 대응 */
@media (max-width:560px){
  .hero-title__line--white,
  .hero-title__line--grad{
    white-space:nowrap;
    font-size:24px;  /* 모바일에서 안정적인 크기 */
  }
}
/* =========================
   PANEL CONTACT CENTER ALIGN
========================= */

.panel__contact{
  text-align:center;
}

.contact__label{
  text-align:center;
}

.contact__email{
  display:inline-block;   /* 가운데 정렬 유지 */
  margin:0 auto;
}

.contact__sub{
  text-align:center;
}
/* ===============================
   PANEL CONTACT PERFECT CENTER
================================ */

.panel__contact{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.contact__label{
  text-align:center;
  width:100%;
  margin-bottom:12px;
}

.contact__email{
  display:inline-block;
  margin:0 auto 10px auto;
}

.contact__sub{
  text-align:center;
  width:100%;
}
.contact__email{
  padding:12px 18px;
  font-size:17px;
  letter-spacing:0.3px;
}
