/* ==============================
   RESET & BASE
============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  background: #0a0a14;
  color: #d4d4e8;
  line-height: 1.75;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* ==============================
   VARIABLES
============================== */
:root {
  --blue: #4f7dff;
  --blue-dark: #3a62e0;
  --blue-glow: rgba(79, 125, 255, 0.25);
  --bg: #0a0a14;
  --bg2: #10101e;
  --bg3: #16162a;
  --bg4: #1e1e34;
  --border: rgba(255, 255, 255, 0.07);
  --text: #d4d4e8;
  --text-muted: #7878a0;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ==============================
   CONTAINER
============================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #4f7dff, #3a62e0);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 125, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 125, 255, 0.5);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-sm {
  padding: 9px 20px;
  font-size: 13px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==============================
   GNB
============================== */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.gnb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-ni {
  color: var(--white);
}
.logo-app {
  color: var(--blue);
}
.logo-dot {
  color: var(--blue);
  font-size: 28px;
  line-height: 0;
  vertical-align: -4px;
}
.pc-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.pc-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.pc-nav a:hover {
  color: var(--white);
}
.gnb-cta {
  margin-left: 16px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 1000;
  transition: right 0.3s ease;
  padding-top: 80px;
}
.mobile-menu.open {
  right: 0;
}
.mm-inner {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
}
.mm-inner a {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: 10px;
  transition: background 0.2s;
}
.mm-inner a:hover {
  background: var(--bg3);
  color: var(--white);
}
.mm-cta {
  margin-top: 16px;
  background: linear-gradient(135deg, #4f7dff, #3a62e0) !important;
  color: #fff !important;
  text-align: center;
  border-radius: 50px !important;
}
.mm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.mm-overlay.open {
  display: block;
}

/* ==============================
   HERO
============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 70% 50%,
      rgba(79, 125, 255, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(120, 60, 255, 0.06) 0%,
      transparent 50%
    ),
    var(--bg);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(79, 125, 255, 0.12);
  border: 1px solid rgba(79, 125, 255, 0.3);
  color: #7fa8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.accent {
  color: var(--blue);
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-item {
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
}
.stat-item span {
  font-size: 12px;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-orb {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 125, 255, 0.15),
    rgba(79, 125, 255, 0.03)
  );
  border: 1px solid rgba(79, 125, 255, 0.15);
  box-shadow: 0 0 80px rgba(79, 125, 255, 0.12);
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}
.visual-card {
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  animation: floatCard 6s ease-in-out infinite;
}
.visual-card .vc-icon {
  font-size: 22px;
}
.vc1 {
  top: 20px;
  left: 10px;
  animation-delay: 0s;
}
.vc2 {
  top: 20px;
  right: 10px;
  animation-delay: 1.5s;
}
.vc3 {
  bottom: 30px;
  left: 10px;
  animation-delay: 1s;
}
.vc4 {
  bottom: 30px;
  right: 10px;
  animation-delay: 2.5s;
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--blue), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% {
    height: 0;
    opacity: 1;
  }
  100% {
    height: 40px;
    opacity: 0;
  }
}

/* ==============================
   NOTICE BAR
============================== */
.notice-bar {
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.notice-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.notice-track .sep {
  color: var(--blue);
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==============================
   SECTIONS (공통)
============================== */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==============================
   ABOUT
============================== */
.about-section {
  background: var(--bg2);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.about-card:hover {
  border-color: rgba(79, 125, 255, 0.35);
  transform: translateY(-4px);
}
.about-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.about-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.about-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==============================
   SERVICES
============================== */
.services-section {
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.service-card:hover {
  border-color: rgba(79, 125, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 125, 255, 0.1);
}
.service-card.featured {
  border-color: rgba(79, 125, 255, 0.35);
  background: linear-gradient(160deg, rgba(79, 125, 255, 0.08), var(--bg2));
}
.service-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-list {
  list-style: none;
}
.service-list li {
  font-size: 13px;
  color: #9090b8;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li:last-child {
  border-bottom: none;
}
.service-list li::before {
  content: "→";
  color: var(--blue);
  font-weight: 700;
}

/* ==============================
   PROCESS
============================== */
.process-section {
  background: var(--bg2);
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child {
  border-bottom: none;
}
.process-num {
  font-size: 36px;
  font-weight: 900;
  color: rgba(79, 125, 255, 0.2);
  line-height: 1;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.process-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.process-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.process-tags span {
  background: rgba(79, 125, 255, 0.1);
  border: 1px solid rgba(79, 125, 255, 0.2);
  color: #7fa8ff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.process-connector {
  display: none;
}

/* ==============================
   WHY NIAPP
============================== */
.why-section {
  background: var(--bg);
}
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s;
}
.why-item:hover {
  border-color: rgba(79, 125, 255, 0.35);
}
.why-check {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(79, 125, 255, 0.12);
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.why-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==============================
   TARGET
============================== */
.target-section {
  background: var(--bg2);
}
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.target-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.target-card:hover {
  border-color: rgba(79, 125, 255, 0.35);
  transform: translateY(-4px);
}
.target-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.target-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.target-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.target-tag {
  display: inline-block;
  background: rgba(79, 125, 255, 0.1);
  border: 1px solid rgba(79, 125, 255, 0.2);
  color: #7fa8ff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ==============================
   CONTACT
============================== */
.contact-section {
  background: var(--bg);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.ci-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-item a,
.contact-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.contact-item a:hover {
  color: var(--blue);
}

/* Form */
.contact-form {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #9090b8;
}
.req {
  color: var(--blue);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(79, 125, 255, 0.05);
}
.form-group textarea {
  resize: vertical;
}
.form-group select option {
  background: var(--bg3);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #4a4a6a;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.form-check input {
  width: auto;
  accent-color: var(--blue);
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.fl-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fl-group strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.fl-group a {
  font-size: 14px;
  color: var(--text-muted);
}
.fl-group a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.biz-info {
  font-size: 12px;
  color: #4a4a6a;
  margin-bottom: 6px;
  line-height: 1.8;
}
.copyright {
  font-size: 12px;
  color: #4a4a6a;
}

/* ==============================
   SCROLL TOP
============================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(79, 125, 255, 0.4);
  z-index: 800;
}
.scroll-top-btn.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   AOS (Animate on Scroll)
============================== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
============================== */
.pc-only {
  display: inline;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .pc-nav,
  .gnb-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .hero {
    padding: 90px 24px 60px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    height: 260px;
  }
  .visual-orb {
    width: 180px;
    height: 180px;
  }
  .hero-title {
    font-size: 30px;
  }

  .section {
    padding: 72px 0;
  }
  .section-title {
    font-size: 26px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .target-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

  .process-step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }
  .process-num {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 16px;
  }
  .stat-item strong {
    font-size: 18px;
  }
  .contact-form {
    padding: 22px 18px;
  }
}
