/* ==========================================================================
   Import Web Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */
:root {
  /* HSL Colors */
  --primary-hsl: 224, 71%, 40%;       /* #1e40af - 로열 블루 */
  --primary-light-hsl: 221, 83%, 53%; /* #2563eb - 포인트 블루 */
  --primary: hsl(var(--primary-hsl));
  --primary-light: hsl(var(--primary-light-hsl));
  
  --accent-hsl: 199, 89%, 48%;        /* #0ea5e9 - 스카이 블루 */
  --accent: hsl(var(--accent-hsl));

  /* Neutral Backgrounds (Light Theme) */
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-hover: #f1f5f9;
  --bg-blue-tint: #eff6ff;
  --bg-footer: #0f172a;               /* 푸터는 시각적 무게감을 주기 위해 어두운 네이비 유지 */
  
  /* Borders */
  --border-light: rgba(30, 64, 175, 0.08);
  --border-focus: hsl(var(--primary-light-hsl));

  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  /* Shadows & Blurs */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-primary: 0 10px 25px rgba(37, 99, 235, 0.15);

  /* Fonts */
  --font-title: 'Outfit', 'Noto Sans KR', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Helper Layout Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

.highlight-blue {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.text-accent {
  color: var(--primary-light) !important;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

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

/* Section Common Styles */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }
  .section-title {
    font-size: 2.5rem;
  }
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-blue-tint);
  color: var(--primary);
  border: 1px solid rgba(30, 64, 175, 0.1);
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.08);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 77%,
    rgba(255, 255, 255, 0.4) 92%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn-glow:hover::after {
  transform: translate(15%, 15%) rotate(30deg);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

/* Scrolled Header Style */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
}

.logo-dot {
  color: var(--accent);
}

.main-nav ul {
  display: none; /* Mobile first hidden */
}

.header-cta {
  display: none;
}

/* Menu Toggle Hamburger */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Menu active state transforms */
.menu-toggle.active .hamburger {
  background: transparent;
}
.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-nav a:hover {
  color: var(--primary-light);
}

/* Tablet / Desktop Navigation */
@media (min-width: 768px) {
  .main-nav ul {
    display: flex;
    gap: 32px;
  }
  
  .main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
  }
  
  .main-nav a:hover {
    color: var(--primary);
  }
  
  .header-cta {
    display: block;
  }
  
  .menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--bg-blue-tint) 0%, #ffffff 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-blue-tint);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Device Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 320px;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.glow-primary {
  width: 250px;
  height: 250px;
  background: rgba(37, 99, 235, 0.15);
  top: 10%;
  right: -10%;
}

.glow-secondary {
  width: 200px;
  height: 200px;
  background: rgba(14, 165, 233, 0.12);
  bottom: 10%;
  left: -10%;
}

/* Device Mockup Box */
.device-mockup {
  position: relative;
  z-index: 2;
  width: 260px;
  background: #ffffff;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(30, 64, 175, 0.05);
  border: 1px solid rgba(30, 64, 175, 0.08);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-mockup:hover {
  transform: translateY(-6px) scale(1.02);
}

.device-screen {
  background: var(--bg-surface);
  border-radius: 28px;
  padding: 24px 16px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screen-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(30, 64, 175, 0.1);
}

.dot-group {
  display: flex;
  gap: 4px;
}

.dot-group .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.2);
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.screen-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.payment-amount {
  text-align: center;
  margin-bottom: 20px;
}

.payment-amount .currency {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  display: block;
}

.payment-amount .amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.qr-box {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.qr-svg {
  display: block;
}

.qr-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  animation: scan 3s linear infinite;
}

.qr-status-text {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 64, 175, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.logo-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
}

.alipay-logo { background: #00A3EE; }
.wechat-logo { background: #09BB07; }
.unionpay-logo { background: #FF7B00; }
.paypay-logo { background: #FF0033; }

.badge-alipay {
  top: 15%;
  left: 2%;
  color: #00A3EE;
}

.badge-wechat {
  bottom: 25%;
  right: 2%;
  color: #09BB07;
}

.badge-unionpay {
  bottom: 10%;
  left: 5%;
  color: #FF7B00;
}

.badge-paypay {
  bottom: 10%;
  left: 5%;
  color: #FF0033;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.floating-1 { animation: float 5s ease-in-out infinite; }
.floating-2 { animation: float 6s ease-in-out infinite 1s; }
.floating-3 { animation: float 7s ease-in-out infinite 0.5s; }

/* Responsive adjustments for Hero */
@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-cta-wrapper {
    flex-direction: row;
    align-items: center;
  }
  .visual-wrapper {
    width: 100%;
    max-width: 480px;
    height: 500px;
  }
  .device-mockup {
    width: 300px;
  }
  .device-screen {
    padding: 32px 24px;
  }
  .floating-badge {
    padding: 8px 16px;
    font-size: 0.8rem;
    gap: 8px;
  }
  .logo-box {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
  .badge-alipay {
    left: -5%;
  }
  .badge-wechat {
    right: -5%;
  }
  .badge-unionpay {
    left: 0%;
  }
}

@media (min-width: 1024px) {
  .hero-container {
    gap: 80px;
  }
}

/* ==========================================================================
   Problem & Solution Section
   ========================================================================== */
.problem-solution-section {
  background: var(--bg-surface);
}

.problem-card, .solution-card {
  padding: 40px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.card-tag-danger {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.1);
}

.card-tag-success {
  background: var(--bg-blue-tint);
  color: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Problem List Style */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.problem-list li {
  display: flex;
  gap: 20px;
}

.list-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ef4444;
  opacity: 0.8;
}

.list-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.list-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Solution Style */
.solution-card {
  border-color: rgba(30, 64, 175, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-blue-tint) 100%);
  box-shadow: var(--shadow-md);
}

.solution-declare {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.solution-declare strong {
  color: var(--primary);
  font-weight: 700;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.sol-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sol-icon-box {
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: bold;
}

.sol-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sol-text strong {
  color: var(--text-main);
}

/* ==========================================================================
   Key Features Section (3대 강점)
   ========================================================================== */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 64, 175, 0.15);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-blue-tint);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
  background: var(--bg-surface);
}

.timeline-container {
  position: relative;
  margin-top: 48px;
}

.timeline-line {
  display: none; /* Mobile first hidden */
}

.timeline-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-num-box {
  position: absolute;
  top: -16px;
  left: 32px;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: dashed rgba(30, 64, 175, 0.15);
    z-index: 1;
  }
  
  .timeline-grid {
    position: relative;
    z-index: 2;
  }
  
  .timeline-step {
    padding-top: 48px;
  }
}

/* ==========================================================================
   NEX Mobile POS Section
   ========================================================================== */
.mobile-pos-section {
  background: #ffffff;
}

.section-badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-blue-tint);
  color: var(--primary-light);
  border-radius: 20px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.pos-features-grid {
  margin-bottom: 40px;
}

.pos-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pos-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}

.pos-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.pos-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.pos-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.pos-feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pos-highlights-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  padding: 40px;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pos-highlights-header {
  margin-bottom: 28px;
}

.highlight-tag-title {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.pos-highlights-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.pos-spec-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pos-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pos-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* POS App Download CTA & Store Badges */
.pos-download-cta {
  margin-top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.download-cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.download-cta-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.store-badge-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-img-link,
.store-img-btn {
  display: inline-block;
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.store-badge-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.store-img-link:hover .store-badge-img {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.store-img-btn.disabled-store-btn {
  position: relative;
}

.store-img-btn.disabled-store-btn .store-badge-img {
  filter: opacity(0.7) grayscale(0.2);
}

.store-img-btn.disabled-store-btn:hover .store-badge-img {
  transform: translateY(-2px);
  filter: opacity(0.85) grayscale(0.1);
}

.badge-prep-overlay {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #ef4444;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: var(--bg-surface);
}

.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(30, 64, 175, 0.15);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.faq-question span {
  padding-right: 16px;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .arrow-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   CTA Form Section
   ========================================================================== */
.cta-form-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-blue-tint) 100%);
  border-top: 1px solid var(--border-light);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.cta-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.benefits-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-check {
  color: var(--primary-light);
  font-weight: bold;
}

/* CTA Form Card */
.cta-form-card {
  background: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.cta-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* Form Styling */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group .required {
  color: #ef4444;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(30, 64, 175, 0.15);
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(30, 64, 175, 0.15);
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select-trigger.placeholder-style {
  color: #cbd5e1;
}

.custom-select-trigger:focus, .custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.custom-select-trigger .arrow {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-trigger .arrow {
  transform: rotate(180deg);
}

/* 옵션 컨테이너 */
.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 각각의 옵션 */
.custom-option {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.custom-option:hover {
  background-color: var(--bg-surface-hover);
}

.custom-option.selected {
  background-color: var(--bg-blue-tint);
  color: var(--primary);
  font-weight: 600;
}

.custom-option.placeholder {
  display: none;
}

.form-group input::placeholder {
  color: #cbd5e1;
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Checkbox Style */
.checkbox-group {
  margin-top: 24px;
  margin-bottom: 28px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border: 1px solid rgba(30, 64, 175, 0.2);
  border-radius: 4px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--primary-light);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.checkmark::after {
  content: "✓";
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

/* Error message styling */
.error-message {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-group.has-error input, .form-group.has-error select, .form-group.has-error .custom-select-trigger {
  border-color: #ef4444;
  background-color: #fff5f5;
}

.form-group.has-error .error-message {
  display: block;
}

@media (min-width: 768px) {
  .cta-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Success Modal Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10B981;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.modal-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-msg {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-details {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 28px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-label {
  color: var(--text-light);
}

.detail-value {
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  color: #94a3b8;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 480px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.company-info-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

.company-info-content p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.company-info-content strong {
  color: #94a3b8;
  font-weight: 500;
  margin-right: 4px;
}

.company-info-content .divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.link-column h4 {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.link-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-column a {
  font-size: 0.9rem;
}

.link-column a:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .company-info-content .divider {
    display: none;
  }
  .company-info-content p {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  font-size: 0.85rem;
}

.legal-links a:hover {
  color: #ffffff;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr;
  }
  .footer-links {
    justify-content: flex-end;
  }
  .footer-bottom-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Page Scroll Locks and Global Utility Classes
   ========================================================================== */
body.no-scroll {
  overflow: hidden;
}

/* Intersection Observer Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Legal Pages (Terms of Service & Privacy Policy)
   ========================================================================== */
.legal-page-body {
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-family: var(--font-body);
}

.legal-page-body .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.legal-page-main {
  padding: 120px 0 80px 0;
}

.legal-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 32px;
  margin-bottom: 40px;
}

.legal-badge {
  display: inline-block;
  background: var(--bg-blue-tint);
  color: var(--primary-light);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.legal-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul, .legal-section ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.officer-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary-light);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 12px;
}

.officer-box p {
  margin-bottom: 8px;
}

.officer-box ul {
  list-style: none;
  padding-left: 0;
}

.legal-footer-info {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.legal-footer-info h3 {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .legal-card {
    padding: 24px;
  }
  .legal-header h1 {
    font-size: 1.5rem;
  }
}
