:root{
    --bg:#070a14;
    --bg2:#0b1230;
    --card:rgba(255,255,255,.06);
    --line:rgba(255,255,255,.12);
    --text:#eaf0ff;
    --muted:rgba(234,240,255,.72);
    --accent:#2f6bff;
    --accent2:#00d4ff;
  
    --radius:18px;
    --shadow: 0 20px 60px rgba(0,0,0,.45);
    --container: 1120px;
  }
  
  *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, sans-serif;
    background: linear-gradient(
        to bottom, /* 상단: 기존 빛깔을 은은하게 표현 (불투명도 조절 가능) */
        var(--bg) 0%,                /* 중간: 기본 배경색으로 부드럽게 연결 */
        var(--bg2) 100%               /* 하단: 최종 배경색 */
        );
    color:var(--text);
  }
  
  a{color:inherit; text-decoration:none}
  a:hover{opacity:.92}
  img{max-width:100%; display:block}
  
  .container{
    width:min(var(--container), calc(100% - 40px));
    margin:0 auto;
  }
  
  /* Topbar */
  .topbar{
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter: blur(12px);
    background: rgba(7,10,20,.65);
    border-bottom:1px solid var(--line);
  }
  .topbar__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 0;
    gap:16px;
  }
  .brand{display:flex; align-items:center; gap:10px}
  .brand__logo{width:28px; height:28px}
  .brand__name{font-weight:700; letter-spacing:.2px}
  
  .topbar__nav{display:flex; align-items:center; gap:16px}
  .navlink{
    font-size:14px;
    color:var(--muted);
    padding:8px 10px;
    border-radius:10px;
  }
  .navlink--cta{
    color:#fff;
    background: linear-gradient(90deg, rgba(47,107,255,.9), rgba(0,212,255,.75));
  }
  
  /* Image sections */
  .img-section{
    position:relative;
    width:100%;
    overflow:hidden;
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .img-section__img{
    width:100%;
    height:auto;
  }
  
  /* Hero overlay */
  .img-section--hero{
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .hero-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    padding:40px 0;
    pointer-events:none;
  }
  .hero-card{
    pointer-events:auto;
    max-width: 620px;
    background: rgba(0,0,0,.35);
    border:1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding:22px 22px 18px;
  }
  .kicker{
    margin:0 0 8px;
    font-size:12px;
    color:rgba(234,240,255,.8);
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  .h1{
    margin:0 0 10px;
    font-size:34px;
    line-height:1.15;
  }
  .sub{
    margin:0 0 14px;
    color:var(--muted);
    line-height:1.55;
    font-size:15px;
  }
  .micro{
    margin:10px 0 0;
    color:rgba(234,240,255,.62);
    font-size:12px;
    line-height:1.5;
  }
  .hero-actions{display:flex; gap:10px; flex-wrap:wrap}
  
  /* Buttons */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 14px;
    border-radius: 14px;
    border:1px solid rgba(255,255,255,.14);
    font-weight:700;
    font-size:14px;
    cursor:pointer;
    transition: transform .12s ease, opacity .12s ease, border-color .12s ease;
    user-select:none;
  }
  .btn:hover{transform: translateY(-1px)}
  .btn--primary{
    color:#05102b;
    border-color: transparent;
    background: linear-gradient(90deg, rgba(47,107,255,1), rgba(0,212,255,1));
  }
  .btn--ghost{
    background: rgba(255,255,255,.06);
    color: var(--text);
  }
  .btn--block{width:100%}
  
  /* Content strips under some image sections */
  .content-strip{ padding: 22px 0 34px; }
  .grid2{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:14px;
  }
  .card{
    background: var(--card);
    border:1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding:18px;
  }
  .card.note{border-color: rgba(0,212,255,.22)}
  .h2{
    margin:0 0 10px;
    font-size:22px;
    line-height:1.25;
  }
  .h2.big{font-size:28px}
  .h3{
    margin:0 0 8px;
    font-size:18px;
  }
  .center{text-align:center}
  .list{
    margin:0;
    padding-left:18px;
    color:var(--muted);
    line-height:1.65;
    font-size:14px;
  }
  
  /* Lead section */
  .lead-section{
    padding:54px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .lead-wrap{
    display:grid;
    grid-template-columns: 1.05fr .95fr;
    gap:18px;
    align-items:start;
  }
  .badges{display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 12px}
  .badge{
    font-size:12px;
    color:rgba(234,240,255,.82);
    border:1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    padding:7px 10px;
    border-radius:999px;
  }
  .mini-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    color: rgba(234,240,255,.72);
    font-size:13px;
  }
  .mini-links .dot{opacity:.35}
  
  /* Form */
  .form{
    background: rgba(0,0,0,.25);
    border:1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    padding:18px;
    box-shadow: var(--shadow);
  }
  .field{margin-bottom:12px}
  label{display:block; font-size:13px; color: rgba(234,240,255,.86); margin-bottom:6px}
  input, select, textarea{
    width:100%;
    border-radius: 14px;
    border:1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: var(--text);
    padding:12px 12px;
    outline:none;
  }
  input:focus, select:focus, textarea:focus{
    border-color: rgba(0,212,255,.6);
    box-shadow: 0 0 0 3px rgba(0,212,255,.14);
  }
  textarea{resize:vertical}
  .help{
    margin:6px 0 0;
    font-size:12px;
    color: rgba(255,140,140,.95);
    min-height: 14px;
  }
  .consent{margin:10px 0 12px}
  .check{display:flex; gap:10px; align-items:flex-start; font-size:13px; color: var(--muted)}
  .check input{width:18px; height:18px; margin-top:2px}
  .check a{color: rgba(0,212,255,.9); text-decoration:underline}
  .success{
    background: rgba(0,0,0,.25);
    border:1px solid rgba(0,212,255,.25);
    border-radius: var(--radius);
    padding:18px;
    box-shadow: var(--shadow);
  }
  
  /* FAQ */
  .faq{padding:44px 0}
  .qa{
    margin:10px 0;
    background: rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 12px 14px;
  }
  .qa summary{
    cursor:pointer;
    font-weight:700;
    color: rgba(234,240,255,.92);
  }
  .qa__a{
    margin-top:10px;
    color: var(--muted);
    line-height:1.6;
    font-size:14px;
  }
  
  /* Footer */
  .footer{
    border-top:1px solid rgba(255,255,255,.08);
    padding:28px 0 18px;
    background: rgba(0,0,0,.22);
  }
  .footer__inner{
    display:grid;
    grid-template-columns: 1fr 1fr auto;
    gap:18px;
    align-items:start;
  }
  .footer__title{display:block; margin-bottom:6px}
  .footer__text{margin:0; color: rgba(234,240,255,.70); line-height:1.6; font-size:13px}
  .footer__links{display:flex; flex-direction:column; gap:8px}
  .footer__links a{color: rgba(234,240,255,.78); font-size:13px; text-decoration:underline}
  .footer__bottom{padding-top:12px}
  .footer__bottom .micro{margin:0}
  
  /* Responsive */
  @media (max-width: 900px){
    .grid2{grid-template-columns:1fr}
    .lead-wrap{grid-template-columns:1fr}
    .topbar__nav{gap:8px}
    .navlink{padding:8px 8px}
    .h1{font-size:30px}
  }
  @media (max-width: 520px){
    .hero-overlay{padding:18px 0}
    .hero-card{padding:16px}
    .h1{font-size:26px}
  }
  
  .legal-buttons{
    display:flex;
    gap:12px;
    justify-content:center;
    margin-top:16px;
  }
  .legal-btn{
    background:none;
    border:1px solid rgba(255,255,255,.2);
    color:#eaf0ff;
    padding:8px 14px;
    border-radius:10px;
    font-size:13px;
    cursor:pointer;
  }
  
  /* Modal */
  .modal{
    position:fixed;
    inset:0;
    display:none;
    z-index:999;
  }
  .modal.is-open{display:block}
  .modal__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
  }
  .modal__content{
    position:relative;
    max-width:720px;
    max-height:80vh;
    overflow:auto;
    margin:5vh auto;
    background:#0b1230;
    color:#eaf0ff;
    border-radius:16px;
    padding:24px;
  }
  .modal__close{
    position:absolute;
    top:12px;
    right:14px;
    background:none;
    border:none;
    font-size:22px;
    color:#fff;
    cursor:pointer;
  }
  .modal__body{
    font-size:14px;
    line-height:1.7;
  }
  .modal__body h3{margin-top:20px}

  
  /* Footer mobile fix */
@media (max-width: 900px){
    .footer__inner{
      grid-template-columns: 1fr !important;
      gap: 14px;
    }
  
    .footer__col{
      min-width: 0; /* 긴 문자열로 레이아웃 깨지는 것 방지 */
    }
  
    .footer__text{
      word-break: keep-all;
      overflow-wrap: anywhere; /* 주소/이메일/사업자번호가 길어도 줄바꿈 */
      line-height: 1.7;
    }
  
    .legal-buttons{
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .legal-btn{
      width: auto;
      max-width: 100%;
    }
  }
  
  @media (max-width: 520px){
    .footer{
      padding: 22px 0 16px;
    }
  
    .footer__text{
      font-size: 12.5px;
    }
  
    .legal-btn{
      width: 100%; /* 아주 작은 화면에서는 버튼 2개가 세로로 */
      text-align: center;
    }
  }
  