*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0A0A0F;
  --bg-card: #16161F;
  --bg-card-hover: #1C1C28;
  --surface: #1E1E2A;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --text: #F5F5F7;
  --text-sec: #A1A1AA;
  --text-muted: #71717A;
  --accent: #C8FF00;
  --accent-dim: rgba(200,255,0,0.1);
  --accent-glow: rgba(200,255,0,0.15);
  --kakao: #fee500;
  --kakao-text: #3c1e1e;
  --call-green: #22c55e;
  --call-dark: #16a34a;
  --font: 'NanumSquareNeo', 'Inter', sans-serif;
  --font-gm: 'Noto Sans KR', var(--font);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Hero === */
.hero {
  position: relative;
  padding: 100px 0 60px;
  background: var(--bg);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero_bg.png') right center / cover no-repeat;
  opacity: 0.5;
  animation: hero-drift 20s ease-in-out infinite;
}
@keyframes hero-drift {
  0%, 100% { transform: scale(1.05) translate(0, 0); }
  33% { transform: scale(1.08) translate(-10px, 5px); }
  66% { transform: scale(1.06) translate(5px, -8px); }
}
.hero .container { position: relative; z-index: 1; text-align: left; }

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hero-text { flex: 1; }
.hero-character {
  flex-shrink: 0;
  position: relative;
  left: -105px;
  top: -65px;
}
.hero-character::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(200,255,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-character img {
  width: 280px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: hero-float 4s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-gm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-gm);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-align: left;
  color: var(--text);
}
.hero-sub {
  font-family: var(--font-gm);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 36px;
  color: var(--text-sec);
}
.hero-sub strong {
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 24px rgba(200,255,0,0.3);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-call {
  background: var(--accent);
  color: #000;
}
.btn-call:hover, .btn-call:active {
  background: #d4ff33;
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(200,255,0,0.3);
}
.btn-kakao {
  background: var(--kakao);
  color: var(--kakao-text);
}
.btn-kakao:hover, .btn-kakao:active {
  background: #fdd835;
  transform: scale(1.02);
}
.btn-kakao.blink {
  animation: kakao-blink 1.5s ease-in-out infinite;
  font-weight: 800;
}
@keyframes kakao-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254,229,0,0.5); }
  50% { box-shadow: 0 0 24px 8px rgba(254,229,0,0.3); transform: scale(1.03); }
}
.btn-large {
  padding: 18px 32px;
  font-size: 18px;
}

/* === Event Banner === */
.event-banner {
  margin-top: 24px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
  border: 3px solid #fff200;
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(255, 242, 0, 0.5), 0 8px 28px rgba(255, 8, 68, 0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-family: 'GmarketSansBold', 'Noto Sans KR', sans-serif;
  animation: event-pulse 1.6s ease-in-out infinite;
  transform: rotate(-1deg);
}
@keyframes event-pulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(255, 242, 0, 0.5), 0 8px 28px rgba(255, 8, 68, 0.4);
    transform: rotate(-1deg) scale(1);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 242, 0, 0.9), 0 10px 36px rgba(255, 8, 68, 0.6);
    transform: rotate(-1deg) scale(1.02);
  }
}
.event-flash {
  font-size: 15px;
  color: #fff200;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.fire-icon {
  filter: drop-shadow(0 0 6px #ff8a00) drop-shadow(0 0 12px #ff2a00);
  transform-origin: 50% 100%;
}
.fire-icon .fire-outer {
  animation: fire-flicker-outer 0.45s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
.fire-icon .fire-mid {
  animation: fire-flicker-mid 0.3s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
.fire-icon .fire-inner {
  animation: fire-flicker-inner 0.22s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
.fire-flip { transform: scaleX(-1); }
@keyframes fire-flicker-outer {
  0%   { transform: scale(1, 1) skewX(-2deg); opacity: 1; }
  50%  { transform: scale(1.05, 1.08) skewX(1deg); opacity: 0.95; }
  100% { transform: scale(0.97, 1.12) skewX(2deg); opacity: 1; }
}
@keyframes fire-flicker-mid {
  0%   { transform: scale(1, 1) translateY(0); }
  50%  { transform: scale(0.94, 1.1) translateY(-1px); }
  100% { transform: scale(1.06, 0.95) translateY(1px); }
}
@keyframes fire-flicker-inner {
  0%   { transform: scale(1, 1); opacity: 0.9; }
  50%  { transform: scale(1.15, 1.2); opacity: 1; }
  100% { transform: scale(0.9, 1.1); opacity: 0.85; }
}
.event-main {
  font-size: 22px;
  color: #ffffff;
  line-height: 1.3;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  letter-spacing: -1px;
}
.event-main em {
  font-style: normal;
  color: #fff200;
  font-size: 26px;
  display: inline-block;
  animation: event-shake 0.6s ease-in-out infinite;
}
@keyframes event-shake {
  0%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-2px) rotate(-2deg); }
  75% { transform: translateY(-2px) rotate(2deg); }
}
.event-period {
  font-size: 14px;
  color: #ffffff;
  text-shadow: 1px 1px 0 #000;
  letter-spacing: -0.3px;
}
@media (max-width: 480px) {
  .event-flash { font-size: 13px; }
  .event-main { font-size: 18px; }
  .event-main em { font-size: 21px; }
  .event-period { font-size: 12px; }
}

/* === Stats === */
.stats {
  padding: 32px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat-banner {
  font-family: var(--font-gm);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  padding: 20px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.stat-banner strong {
  font-weight: 700;
  color: var(--accent);
  font-size: 26px;
  text-shadow: 0 0 16px rgba(200,255,0,0.3);
}

/* === Action Cards === */
.actions {
  padding: 60px 0;
  background: var(--bg);
}
.actions-title {
  text-align: center;
  font-family: var(--font-gm);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}
.action-card {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.action-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-gm);
  font-size: 18px;
  font-weight: 700;
}
.card-1 .card-num { background: var(--accent); }
.card-2 .card-num { background: #7C3AED; color: #fff; }
.card-3 .card-num { background: #3B82F6; color: #fff; }
.card-4 .card-num { background: #F59E0B; color: #000; }

.card-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.card-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-call-sm {
  background: var(--accent);
  color: #000;
}
.btn-call-sm:hover { background: #d4ff33; }
.btn-kakao-sm {
  background: var(--kakao);
  color: var(--kakao-text);
}
.btn-kakao-sm:hover { background: #fdd835; }
.btn-view {
  background: #7C3AED;
  color: #fff;
}
.btn-view:hover { background: #6d28d9; }

.live-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.live-sites a {
  padding: 8px 16px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}
.live-sites a:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* === Portfolio Carousel (Drag to Scroll) === */
.carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  margin: -4px -16px 14px;
  padding: 8px 16px 14px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  user-select: none;
  -webkit-user-select: none;
}
.carousel-wrapper.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.carousel-wrapper.dragging a {
  pointer-events: none;
}
.carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}
.carousel-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}
.carousel-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
}
.carousel-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s;
  display: block;
}
.carousel-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(200,255,0,0.1);
}
.carousel-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.carousel-info {
  padding: 10px 12px;
}
.carousel-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.carousel-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Trust === */
.trust {
  padding: 60px 0;
  background: var(--surface);
}
.trust h2 {
  text-align: center;
  font-family: var(--font-gm);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.trust-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.trust-item:hover {
  border-color: var(--border-light);
}
.trust-icon {
  margin-bottom: 12px;
}
.trust-icon img {
  border-radius: 12px;
  margin: 0 auto;
}
.trust-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Bottom CTA === */
.bottom-cta {
  padding: 60px 0;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}
.bottom-cta h2 {
  font-family: var(--font-gm);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.bottom-cta p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.bottom-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}

/* === Footer === */
.footer {
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.footer-link a {
  color: var(--accent);
  font-weight: 600;
}
.footer-notice {
  margin-top: 12px;
  font-size: 10px;
  opacity: 0.6;
  line-height: 1.5;
}

/* === Floating CTA === */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-call {
  background: var(--accent);
  color: #000;
}
.float-kakao {
  background: var(--kakao);
  color: var(--kakao-text);
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero-flex { position: relative; }
  .hero-text { position: relative; z-index: 2; }
  .hero-character {
    position: absolute;
    right: -20px;
    bottom: 40px;
    left: auto;
    opacity: 0.15;
    filter: drop-shadow(none) saturate(0.3) brightness(0.6);
    pointer-events: none;
  }
  .hero-character img {
    width: 240px;
    animation: none;
    filter: none;
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero { padding: 80px 0 48px; }
  .action-card { padding: 20px 16px; }
  .stat-banner { font-size: 16px; }
  .stat-banner strong { font-size: 18px; }
}

/* ===== PRICING (ad 톤 — 빨강/노랑 임팩트) ===== */
.pricing {
  padding: 72px 0 60px;
  background: #fffbea;
  border-top: 4px dashed #ffb000;
  border-bottom: 4px dashed #ffb000;
}
.pricing-head {
  text-align: center;
  font-size: clamp(28px, 4.6vw, 40px);
  font-weight: 900;
  margin: 0 0 8px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.pricing-head em {
  font-style: normal;
  color: #e8310e;
  background: #ffe600;
  padding: 2px 12px;
  display: inline-block;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0 #1a1a1a;
  margin-left: 6px;
}
.pricing-sub {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin: 0 0 48px;
  font-weight: 600;
}
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: #fff;
  border: 3px solid #1a1a1a;
  border-radius: 14px;
  padding: 36px 28px 28px;
  box-shadow: 8px 8px 0 #1a1a1a;
  transition: transform .15s ease, box-shadow .15s ease;
}
.plan:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 #1a1a1a;
}
.plan-pro {
  background: #fff3cc;
  border-color: #e8310e;
  box-shadow: 8px 8px 0 #e8310e;
}
.plan-pro:hover { box-shadow: 11px 11px 0 #e8310e; }

.plan-badge {
  position: absolute;
  top: -18px;
  right: -14px;
  background: #e8310e;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 8px 16px;
  border: 3px solid #1a1a1a;
  border-radius: 999px;
  transform: rotate(8deg);
  letter-spacing: .04em;
  box-shadow: 3px 3px 0 #1a1a1a;
}
.plan-stamp {
  position: absolute;
  top: 18px;
  right: -14px;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: #ffe600;
  border: 3px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  color: #1a1a1a;
  transform: rotate(-14deg);
  box-shadow: 3px 3px 0 #1a1a1a;
}
.plan-tag {
  display: inline-block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .18em;
  color: #1a1a1a;
  background: #ffe600;
  padding: 4px 12px;
  border: 2px solid #1a1a1a;
  margin-bottom: 14px;
}
.plan h3 {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 14px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.plan-num {
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 900;
  color: #e8310e;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-unit {
  font-size: 16px;
  color: #555;
  font-weight: 700;
}
.plan-desc {
  font-size: 14px;
  color: #555;
  margin: 0 0 20px;
  font-weight: 600;
}
.plan-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 2px dashed #1a1a1a;
}
.plan-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
}
.plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px; height: 18px;
  background: #ffe600;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.plan-pro .plan-list li::before { background: #ffb000; }
.plan-list li strong { font-weight: 800; }

.pricing-note {
  max-width: 900px;
  margin: 36px auto 0;
  padding: 18px 22px;
  background: #ffe600;
  border: 3px solid #1a1a1a;
  box-shadow: 4px 4px 0 #1a1a1a;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.7;
  color: #1a1a1a;
  border-radius: 8px;
}
.pricing-note strong { font-weight: 900; }

/* ===== FAQ ===== */
.faq-sec {
  padding: 72px 0;
  background: #fff;
}
.faq-head {
  text-align: center;
  font-size: clamp(26px, 4.2vw, 36px);
  font-weight: 900;
  margin: 0 0 36px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}
.faq-item {
  max-width: 760px;
  margin: 0 auto 14px;
  background: #fffbea;
  border: 3px solid #1a1a1a;
  border-radius: 10px;
  padding: 22px 26px;
  box-shadow: 4px 4px 0 #1a1a1a;
  transition: transform .12s, box-shadow .12s;
}
.faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1a1a;
}
.faq-item h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #e8310e;
}
.faq-item p {
  font-size: 15px;
  color: #333;
  margin: 0;
  line-height: 1.75;
  font-weight: 500;
}

@media (max-width: 768px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; gap: 34px; }
  .plan-stamp { right: -10px; width: 70px; height: 70px; font-size: 12px; }
  .pricing { padding: 60px 0 50px; }
  .faq-sec { padding: 60px 0; }
  .faq-item { padding: 18px 20px; }
}
