:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --accent: #c8ff00;
  --accent2: #ff4d00;
  --gray: #141414;
  --gray2: #222;
  --muted: #a0a0a0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ── HERO ── */
.hero {
  min-height: 88vh;
  padding: 160px 48px 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray2);
}
.hero-bg-text {
  position: absolute;
  top: 52%;
  left: -20px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(180px, 22vw, 360px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -8px;
  line-height: 1;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 20px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.15s forwards;
  width: fit-content;
}
.hero h1 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--muted);
  line-height: 1.8;
  margin-top: 32px;
  max-width: 560px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-sub strong { color: var(--white); font-weight: 700; }
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 52px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}
.btn-hero-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 18px 40px;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.btn-hero-main:hover { opacity: 0.85; }
.btn-hero-sub {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--muted);
  border-bottom: 1px solid var(--gray2);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-hero-sub:hover { color: var(--white); border-color: var(--white); }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--gray2);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  padding: 18px 0;
  background: var(--accent);
  border-bottom: 1px solid var(--gray2);
}
.marquee-track {
  display: flex;
  animation: marquee 18s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--black);
  padding: 0 44px;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-dot { color: var(--accent2); margin-right: 10px; }

/* ── SECTION COMMON ── */
.s-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}
.s-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -1px;
  color: var(--white);
  margin-top: 10px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── SERVICE TYPES ── */
.services {
  padding: 120px 48px;
  border-bottom: 1px solid var(--gray2);
}
.s-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray2);
  padding-bottom: 28px;
  margin-bottom: 0;
}
.s-count {
  font-family: var(--font-display);
  font-size: 90px;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray2);
  line-height: 1;
  user-select: none;
}
.svc-list { display: flex; flex-direction: column; }
.svc-item {
  display: grid;
  grid-template-columns: 72px 1fr auto 44px;
  align-items: center;
  gap: 28px;
  padding: 44px 0;
  border-bottom: 1px solid var(--gray2);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.3s ease;
  cursor: pointer;
}
.svc-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 0;
  background: var(--gray);
  transition: width 0.35s ease;
  z-index: 0;
}
.svc-item:hover::before { width: 100%; }
.svc-item:hover { padding-left: 24px; }
.svc-item > * { position: relative; z-index: 1; }
.svc-num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--muted);
  letter-spacing: 1px;
  transition: color 0.2s;
}
.svc-item:hover .svc-num { color: var(--accent); }
.svc-name { font-size: 24px; font-weight: 700; color: var(--white); }
.svc-sub { font-size: 16px; color: #b5b5b5; margin-top: 6px; line-height: 1.6; }
.svc-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 1px;
}
.svc-arrow {
  font-size: 28px;
  color: var(--muted);
  transition: transform 0.3s, color 0.2s;
}
.svc-item:hover .svc-arrow { transform: translate(5px,-5px); color: var(--accent); }

/* ── PACKAGES ── */
.packages {
  padding: 120px 48px;
  background: var(--gray);
  position: relative;
  overflow: hidden;
}
.packages::after {
  content: 'WEB';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 280px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray2);
  border: 1px solid var(--gray2);
  margin-top: 64px;
}
.pkg-card {
  background: var(--gray);
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s;
}
.pkg-card.featured {
  background: var(--black);
}
.pkg-card:hover { background: #1a1a1a; }
.pkg-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.pkg-badge.standard { background: var(--gray2); color: var(--muted); }
.pkg-badge.popular { background: var(--accent); color: var(--black); }
.pkg-badge.premium { background: var(--accent2); color: #fff; }
.pkg-price {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.pkg-price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 400;
}
.pkg-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.pkg-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}
.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.pkg-features li {
  font-size: 14px;
  color: #b5b5b5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.pkg-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pkg-features li.muted { color: var(--muted); }
.pkg-features li.muted::before { color: var(--gray2); }
.btn-pkg {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
}
.btn-pkg:hover { opacity: 0.85; }
.btn-pkg.outline {
  background: transparent;
  border: 1px solid var(--gray2);
  color: var(--muted);
}
.btn-pkg.solid {
  background: var(--accent);
  color: var(--black);
}
.btn-pkg.accent2 {
  background: var(--accent2);
  color: #fff;
}

/* ── TEMPLATE BAND ── */
.template-band {
  margin: 0 48px;
  border: 1px solid var(--gray2);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.template-band::before {
  content: 'TEMPLATE';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 110px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}
.template-band-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.template-band h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.template-band h3 em { color: var(--accent); font-style: normal; }
.template-band p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}
.btn-template {
  flex-shrink: 0;
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-template:hover {
  background: var(--accent);
  color: var(--black);
}

/* ── PROCESS ── */
.process {
  padding: 120px 48px;
  border-bottom: 1px solid var(--gray2);
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--gray2);
  margin-top: 60px;
}
.proc-step {
  padding: 44px 28px;
  border-right: 1px solid var(--gray2);
  position: relative;
  transition: background 0.3s;
}
.proc-step:last-child { border-right: none; }
.proc-step:hover { background: var(--gray); }
.proc-n {
  font-family: var(--font-display);
  font-size: 56px;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray2);
  line-height: 1;
  margin-bottom: 20px;
  transition: -webkit-text-stroke-color 0.3s;
}
.proc-step:hover .proc-n { -webkit-text-stroke-color: var(--accent); }
.proc-step h4 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.proc-step p { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }
.proc-arr {
  position: absolute;
  right: 16px; top: 44px;
  font-size: 18px;
  color: var(--gray2);
}

/* ── TECH STACK ── */
.tech {
  padding: 120px 48px;
  background: var(--gray);
  border-bottom: 1px solid var(--gray2);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray2);
  border: 1px solid var(--gray2);
  margin-top: 64px;
}
.tech-item {
  background: var(--gray);
  padding: 40px 32px;
  transition: background 0.3s;
}
.tech-item:hover { background: #1a1a1a; }
.tech-icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: block;
}
.tech-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.tech-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── FAQ ── */
.faq {
  padding: 120px 48px;
  border-bottom: 1px solid var(--gray2);
}
.faq-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--gray2);
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--gray2); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
  gap: 20px;
}
.faq-item:hover .faq-q { color: var(--accent); }
.faq-q-text { flex: 1; }
.faq-icon {
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.35s ease, color 0.2s;
  flex-shrink: 0;
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 300;
  max-width: 720px;
}
.faq-a-inner strong { color: var(--white); font-weight: 700; }

/* ── CTA BAND ── */
.cta-band {
  margin: 0 48px 100px;
  background: var(--accent);
  padding: 80px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '오디디지.';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(0,0,0,0.06);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}
.cta-band h3 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
  color: var(--black);
  line-height: 1.2;
}
.cta-band h3 em { color: var(--accent2); font-style: normal; }
.cta-band p { font-size: 16px; color: rgba(0,0,0,0.6); margin-top: 10px; font-weight: 500; }
.btn-cta {
  flex-shrink: 0;
  display: inline-block;
  background: var(--black);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 20px 40px;
  border-radius: 2px;
  transition: opacity 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-cta:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  padding: 60px 48px 40px;
  border-top: 1px solid var(--gray2);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.f-brand {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 5px;
  color: var(--white);
}
.f-brand span { color: var(--accent); }
.f-tagline { font-size: 16px; color: var(--muted); margin-top: 8px; }
.f-tagline em { color: var(--accent); font-style: normal; }
.f-desc { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.8; font-weight: 300; }
.f-right { text-align: right; font-size: 12px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ── KAKAO FLOAT ── */
#kakao-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  text-decoration: none;
}
.kk-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAE100;
  color: #3C1E1E;
  padding: 14px 24px 14px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(250,225,0,0.38), 0 2px 8px rgba(0,0,0,0.18);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.22s ease;
}
#kakao-float:hover .kk-inner {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(250,225,0,0.5);
}
.kk-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 100%; height: 100%;
  border-radius: 50px;
  background: #FAE100;
  opacity: 0;
  z-index: 1;
  animation: kkPulse 2.4s ease-out infinite;
}


/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes kkPulse {
  0%   { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  70%  { opacity: 0;   transform: translate(-50%,-50%) scale(1.3); }
  100% { opacity: 0;   transform: translate(-50%,-50%) scale(1.3); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hero { padding: 130px 20px 64px; min-height: auto; }
  .hero-stats { flex-wrap: wrap; gap: 28px; }
  .services, .packages, .process, .tech, .faq { padding: 80px 20px; }
  .s-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .s-count { display: none; }
  .svc-item { grid-template-columns: 48px 1fr 32px; }
  .svc-price { display: none; }
  .pkg-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .proc-step { border-bottom: 1px solid var(--gray2); padding: 28px 16px; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .template-band { margin: 0 20px; flex-direction: column; padding: 40px 28px; gap: 28px; }
  .btn-template { width: 100%; text-align: center; }
  .cta-band { margin: 0 20px 60px; flex-direction: column; padding: 48px 28px; text-align: center; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 48px 20px 32px; }
  .f-right { text-align: left; }
  #kakao-float { bottom: 20px; right: 16px; }

}