*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --primary:      #1D4ED8;
      --primary-dark: #1E3A8A;
      --primary-mid:  #1E40AF;
      --text-dark:    #1e2536;
      --text-body:    #374151;
      --text-mid:     #1F2937;
      --text-sub:     #5B6470;
      --text-muted:   #94A3B8;
      --text-light:   #CBD5E1;
      --blue-pale:    #DCE7FF;
      --blue-xpale:   #EAF1FF;
      --blue-bg:      #EFF6FF;
      --blue-border:  #C8DBFF;
      --border:       #D7DEE9;
      --border-card:  #D9E1EC;
      --white:        #FFFFFF;
      --dark-card:    #1C2636;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Noto Sans KR', sans-serif;
      color: var(--text-dark);
      background: #F5F7FA;
      line-height: 1.6;
    }

    a { text-decoration: none; color: inherit; }

    /* ================================================
       HEADER / NAVIGATION
    ================================================ */
    .site-header {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 1px 6px rgba(0,0,0,.06);
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .logo h1{
      width: 250px;
      height: 39px;
      font-size: 1rem;
    } 
    
    .logo h1 .site-logo{
      height: 100%;
      display: block;
    }

    .site-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .main-nav a h2 {
      font-size: 15px;
      color: var(--text-body);
      padding: 6px 12px;
      border-radius: 6px;
      transition: background .18s, color .18s;
      white-space: nowrap;
      font-weight: 600;
    }
    .main-nav a:hover { background: var(--blue-bg); color: var(--primary); }

    .nav-login {
      font-size: 13px !important;
      color: var(--text-muted) !important;
      border: 1px solid var(--border) !important;
      border-radius: 20px !important;
      padding: 5px 14px !important;
      white-space: nowrap;
    }
    .nav-login:hover { border-color: var(--primary) !important; color: var(--primary) !important; background: var(--white) !important; }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px;
      background: none;
      border: none;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text-dark);
      border-radius: 2px;
      transition: transform .3s, opacity .3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-nav {
      display: none;
      flex-direction: column;
      background: var(--white);
      border-top: 1px solid var(--border);
      padding: 12px 24px 20px;
      gap: 4px;
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a {
      font-size: 15px;
      color: var(--text-body);
      padding: 11px 0;
      border-bottom: 1px solid #F3F4F6;
    }

    /* ================================================
       HERO SECTION
    ================================================ */
    .hero {
      background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 60%, #1a3faa 100%);
      padding: 56px 24px 64px;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.07) 0%, transparent 60%),
                  url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }

    .hero-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 48px;
      position: relative;
    }

    .hero-left { min-width: 0; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.35);
      color: var(--white);
      font-size: 13px;
      font-weight: 600;
      padding: 6px 16px;
      border-radius: 20px;
      margin-bottom: 24px;
    }
    .hero-badge::before {
      content: '';
      width: 8px;
      height: 8px;
      background: #4ADE80;
      border-radius: 50%;
      animation: blink 1.8s ease-in-out infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

    .hero-title {
      font-size: clamp(26px, 3.5vw, 40px);
      font-weight: 800;
      color: var(--white);
      line-height: 1.3;
      margin-bottom: 20px;
    }
    .hero-title em { font-style: normal; color: #A5C4FF; }

    .hero-desc {
      font-size: 15px;
      color: var(--blue-pale);
      line-height: 1.8;
    }

    .hero-right {
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex-shrink: 0;
      min-width: 280px;
    }

    .hero-info-card {
      width: 400px;
      height: 110px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(144,180,255,.5);
      border-radius: 12px;
      padding: 18px 20px;
      backdrop-filter: blur(4px);
    }
    .hero-info-card h3 {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 16px;
      font-weight: 700;
      color: var(--blue-xpale);
      margin-bottom: 12px;
    }
    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .hero-tag {
      background: var(--white);
      color: var(--primary-dark);
      font-size: 12px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 20px;
    }

    /* ================================================
       QUICK ACTIONS
    ================================================ */
    .quick-actions {
        background: var(--white);
        padding: 0 24px;
        box-shadow: 0 4px 16px rgba(0,0,0,.07);
      }
      .quick-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
      }
      .quick-card {
        padding: 32px 28px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border-right: 1px solid var(--border-card);
        transition: background .2s;
        cursor: pointer;
      }
      .quick-card:first-child { border-left: 1px solid var(--border-card); }
      .quick-card:hover { background: var(--blue-bg); }
      .quick-card:hover .qc-icon { background: var(--primary); color: var(--white); }
      .quick-card:hover .qc-btn  { background: var(--primary); color: var(--white); }
  
      .qc-left { flex: 1; }
      .qc-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: var(--blue-bg);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        transition: background .2s, color .2s;
      }
      .qc-icon svg { width: 22px; height: 22px; }
      .qc-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 6px;
      }
      .qc-desc { font-size: 12.5px; color: var(--text-sub); }
      .qc-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
        background: var(--text-dark);
        color: var(--white);
        font-size: 12px;
        font-weight: 700;
        padding: 8px 16px;
        border-radius: 6px;
        flex-shrink: 0;
        transition: background .2s;
      }
      .qc-btn svg { width: 11px; height: 11px; }
      
    /* ================================================
       NOTICE + PROCESS SECTION
    ================================================ */
    .info-section {
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 24px;
    }

    /* Notice */
    .notice-card {
      background: var(--white);
      border: 1px solid var(--border-card);
      border-radius: 14px;
      overflow: hidden;
    }
    .card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 24px 16px;
      border-bottom: 1px solid #F3F4F6;
    }
    .card-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-dark);
    }
    .more-link {
      font-size: 13px;
      color: var(--text-muted);
      transition: color .2s;
    }
    .more-link:hover { color: var(--primary); }

    .notice-list { list-style: none; }
    .notice-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 24px;
      border-bottom: 1px solid #F3F4F6;
      transition: background .18s;
      cursor: pointer;
    }
    .notice-item:last-child { border-bottom: none; }
    .notice-item:hover { background: var(--blue-bg); }
    .notice-item:hover .notice-title { color: var(--primary); }
    /* 링크 스타일 - 텍스트 색상/밑줄 초기화, 아이템 전체 너비 */
    .notice-item a {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      color: var(--text-body);
      text-decoration: none;
      font-size: 14px;
      transition: color .18s;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .notice-item:hover a { color: var(--primary); }
    /* 공지 뱃지 */
    .notice-badge {
      flex-shrink: 0;
      display: inline-block;
      padding: 1px 7px;
      background: var(--primary);
      color: #fff;
      border-radius: 10px;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.6;
    }

    .notice-dot {
      width: 6px;
      height: 6px;
      background: var(--primary);
      border-radius: 50%;
      flex-shrink: 0;
      margin-right: 12px;
    }
    .notice-title {
      font-size: 14px;
      color: var(--text-body);
      flex: 1;
      transition: color .18s;
    }
    .notice-date {
      font-size: 12px;
      color: var(--text-muted);
      white-space: nowrap;
      margin-left: 12px;
    }

    /* Process */
    .process-card {
        background: var(--white);
        border: 1px solid var(--border-card);
        border-radius: 14px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }
      .process-card .card-header {
        padding: 18px 22px 14px;
        border-bottom: 1px solid #F3F4F6;
        flex-shrink: 0;
      }
      .process-grid-body {
        padding: 20px 18px 22px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
      }
  
      /*
       * Each .proc-row has TWO sub-rows:
       *   .proc-dots-line  — dots + arrows, all at same vertical center
       *   .proc-labels-line — labels, flex mirrors dots-line exactly
       * This guarantees arrows always sit at dot-center, not label-center.
       */
      .proc-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .proc-row:nth-child(2) {
        margin-top: 30px;
      }
  
      /* ── Dots line: flex row, items vertically centered ── */
      .proc-dots-line {
        display: flex;
        align-items: center;  /* CRITICAL: arrows stay at dot-center */
      }
      .proc-dot-cell {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .proc-arr-cell {
        flex: 0 0 28px;        /* fixed arrow column width */
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .proc-arr-cell svg {
        width: 14px;
        height: 14px;
        display: block;
        flex-shrink: 0;
      }
  
      /* ── Labels line: mirrors dots-line layout exactly ── */
      .proc-labels-line {
        display: flex;
        align-items: flex-start;
      }
      .proc-lbl-cell {
        flex: 1;
        text-align: center;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-mid);
        line-height: 1.35;
        word-break: keep-all;
        transition: color .18s;
      }
      .proc-lbl-spc {
        flex: 0 0 28px;       /* mirrors .proc-arr-cell */
      }
  
      /* ── Dot circle ── */
      .proc-dot {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 800;
        color: var(--white);
        border: 2px solid rgba(255,255,255,.75);
        box-shadow: 0 2px 10px rgba(0,0,0,.15);
        transition: transform .22s ease, box-shadow .22s ease;
        cursor: default;
      }
      .proc-dot-cell:hover .proc-dot {
        transform: scale(1.14);
        box-shadow: 0 5px 18px rgba(29,78,216,.32);
      }
      .proc-dot-cell:hover + .proc-arr-cell svg,
      .proc-dot-cell:hover ~ .proc-lbl-cell { color: var(--primary); }
      /* label hover via JS data-idx pairing */
  

    /* ================================================
       DARK SERVICE CARDS
    ================================================ */
     .services-section {
      max-width: 1200px;
      margin: 0 auto 48px;
      padding: 0 24px;
    }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .svc-card {
      background: linear-gradient(160deg, #1C2636 0%, #0F172A 100%);
      border: 1px solid #334155;
      border-radius: 14px;
      padding: 32px 28px 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 200px;
      position: relative;
      overflow: hidden;
      transition: transform .25s, box-shadow .25s;
    }
    .svc-card::after {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 120px;
      height: 120px;
      background: radial-gradient(circle at top right, rgba(29,78,216,.3), transparent 70%);
      pointer-events: none;
    }
    .svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }

    .svc-icon {
      width: 46px;
      height: 46px;
      background: rgba(48, 94, 222, 0.25);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      color: #93C5FD;
    }
    .svc-icon svg { width: 24px; height: 24px; }

    .svc-title {
      font-size: 15px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 10px;
      line-height: 1.45;
    }
    .svc-desc {
      font-size: 12px;
      color: #94A3B8;
      line-height: 1.7;
      flex: 1;
      margin-bottom: 20px;
    }
    .svc-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--white);
      color: var(--text-dark);
      font-size: 12px;
      font-weight: 700;
      padding: 8px 18px;
      border-radius: 6px;
      align-self: flex-start;
      transition: background .2s, color .2s;
    }
    .svc-btn:hover { background: var(--primary); color: var(--white); }
    .svc-btn svg { width: 12px; height: 12px; }


    /* ================================================
       FOOTER
    ================================================ */
    .site-footer {
      background: var(--text-dark);
      color: var(--white);
      padding: 36px 24px;
    }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
    }
    .footer-org {
        width: 180px;
    }

    .footer-org img{
        width: 100%;
        height: auto;
        object-fit: contain;
        margin-bottom: 8px;
    }

    .footer-addr {
      font-size: 13px;
      color: #9CA3AF;
      line-height: 1.8;
    }
    .footer-links {
      text-align: right;
    }
    .footer-links a {
      font-size: 12.5px;
      color: var(--text-light);
      transition: color .18s;
    }
    .footer-links a:hover { color: var(--white); }
    .footer-sep { margin: 0 8px; color: #475569; }
    .footer-copy {
      font-size: 12px;
      color: #4B5563;
      margin-top: 8px;
    }

    /* ================================================
       RESPONSIVE
    ================================================ */
    @media (max-width: 1024px) {
      .hero-inner { flex-direction: column; }
      .hero-right { max-width: 100%; min-width: unset; flex-direction: row; }
      .hero-info-card { flex: 1; }
    }
    
    @media (max-width: 900px) {
        .info-section { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .main-nav { display: none; }
      .nav-login { display: none; }
      .hamburger { display: flex; }

      .hero { padding: 36px 20px 44px; }
      .hero-right { flex-direction: column; }

      .quick-inner { grid-template-columns: 1fr; }
      .quick-card { border-right: none; border-bottom: 1px solid var(--border-card); }
      .quick-card:first-child { border-left: none; }
      .quick-card:last-child { border-bottom: none; }

      

      .proc-row:nth-child(2) { margin-top: 10px; }

      .services-grid { grid-template-columns: 1fr; }

      .footer-inner { flex-direction: column; gap: 20px; }
      .footer-links { text-align: left; }
      
    }

    @media (max-width: 520px) {
      .site-logo { font-size: 14px; }
      .hero-title { font-size: 22px; }
      .proc-lbl { font-size: 10px; }
      .proc-dot { width: 26px; height: 26px; font-size: 10px; }
    }

    /* ================================================
       ANIMATIONS (Scroll Reveal)
    ================================================ */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .55s ease, transform .55s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
    .reveal-delay-1 { transition-delay: .1s; }
    .reveal-delay-2 { transition-delay: .2s; }
    .reveal-delay-3 { transition-delay: .3s; }
    .reveal-delay-8 { transition-delay: .8s; }