/* ===== SORO Global Styles — A안: Pretendard + Inter, 미색 라이트 테마 ===== */

:root {
  /* Colors — Warm Ivory Light Theme */
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #0891b2;
  --accent-light: #ecfeff;
  --glow: #06b6d4;
  --bg: #FAFAF5;
  --bg-dark: #F3F1EB;
  --surface: #FFFFFF;
  --surface-light: #F8F6F0;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #888888;
  --border: rgba(0,0,0,0.07);
  --border-light: rgba(0,0,0,0.12);
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);

  /* Typography — A안: Pretendard + Inter */
  --font-sans: 'Pretendard Variable', 'Pretendard', 'Inter', system-ui, -apple-system, sans-serif;
  --font-inter: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 19.2px; /* 16px × 1.2 = 가독성 강화 */ }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Typography — A안 스펙 ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 5vw, 2.75rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); letter-spacing: -0.01em; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ===== Navigation ===== */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,250,245,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-bar.scrolled { background: rgba(250,250,245,0.96); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo span { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-inter); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 0.5rem 1.25rem;
  border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  transition: all 0.2s; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff !important; box-shadow: 0 4px 12px rgba(37,99,235,0.25); }

/* Mobile menu */
.mobile-menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(250,250,245,0.98); backdrop-filter: blur(20px); z-index: 99;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block; padding: 1rem 0; color: var(--text-secondary);
  font-size: 1.125rem; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--text-primary); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ===== Hero ===== */
.hero {
  min-height: auto; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 140px 1.5rem 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(8,145,178,0.04) 0%, transparent 40%),
              var(--bg);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary-light); border: 1px solid rgba(37,99,235,0.15);
  padding: 0.375rem 1rem; border-radius: 100px; font-size: 0.8125rem;
  color: var(--primary); margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--primary); }
.hero .subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 10px; font-size: 0.9375rem;
  font-weight: 600; cursor: pointer; transition: all 0.25s; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(8,145,178,0.2);
}
.btn-accent:hover { background: var(--glow); transform: translateY(-2px); color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }

/* ===== Cards ===== */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; transition: all 0.3s;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.card-icon.blue { background: var(--primary-light); color: var(--primary); }
.card-icon.cyan { background: var(--accent-light); color: var(--accent); }
.card-icon.green { background: #ecfdf5; color: var(--success); }
.card-icon.yellow { background: #fffbeb; color: var(--warning); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); font-size: 0.9375rem; }

/* ===== Stats ===== */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number {
  font-family: var(--font-inter); font-size: 2.5rem; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ===== Section Headers ===== */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

/* ===== Grid Layouts ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Comparison Table ===== */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border);
}
.compare-table th { color: var(--text-primary); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table td { color: var(--text-secondary); font-size: 0.9375rem; }
.compare-table tr:hover td { background: rgba(37,99,235,0.03); }

/* ===== Process / Steps ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; padding: 1.5rem; text-align: center; }
.process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--primary-light); color: var(--primary); font-weight: 700;
  font-family: var(--font-inter);
}
.process-step h4 { margin-bottom: 0.5rem; font-size: 0.9375rem; }
.process-step p { font-size: 0.8125rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  color: var(--text-primary); font-size: 1rem; font-weight: 500; text-align: left;
  font-family: var(--font-sans);
}
.faq-question .icon { font-size: 1.25rem; transition: transform 0.3s; color: var(--primary); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 0 1.25rem; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.8; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(8,145,178,0.04) 100%);
  border: 1px solid rgba(37,99,235,0.12); border-radius: 20px;
  padding: 3.5rem 2.5rem; text-align: center;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark); border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; margin-top: 1rem; line-height: 1.7; }
.footer-col h4 { color: var(--text-primary); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.875rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.8125rem; color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ===== Form ===== */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-primary); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; background: var(--surface);
  border: 1.5px solid var(--border-light); border-radius: 10px;
  color: var(--text-primary); font-size: 0.9375rem; font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab-btn {
  padding: 0.5rem 1.25rem; border-radius: 8px; border: 1.5px solid var(--border);
  background: transparent; color: var(--text-secondary); font-size: 0.875rem;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-sans);
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== AI Demo ===== */
.ai-demo {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; max-width: 700px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.ai-demo-header {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem;
  background: var(--surface-light); border-bottom: 1px solid var(--border);
  font-size: 0.8125rem; color: var(--text-muted);
}
.ai-demo-body { padding: 1.5rem; min-height: 200px; }
.ai-msg {
  display: flex; gap: 0.75rem; margin-bottom: 1.25rem;
  opacity: 0; transform: translateY(10px); transition: all 0.4s ease;
}
.ai-msg.visible { opacity: 1; transform: translateY(0); }
.ai-msg-icon {
  width: 32px; height: 32px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.875rem;
}
.ai-msg-icon.user { background: var(--primary-light); color: var(--primary); }
.ai-msg-icon.ai { background: var(--accent-light); color: var(--accent); }
.ai-msg-text { font-size: 0.9375rem; line-height: 1.7; }
.ai-msg-text .brand { color: var(--primary); font-weight: 600; }
.typing-indicator { display: inline-flex; gap: 4px; align-items: center; padding: 0.5rem 0; }
.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted);
  animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; padding: 1rem 0;
  font-size: 0.8125rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-muted); }

/* ===== Page Header ===== */
.page-header {
  padding: 140px 0 60px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.05) 0%, transparent 60%), var(--bg);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header .subtitle { color: var(--text-secondary); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* ===== Animations ===== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

.fade-in-up { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Utility ===== */
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.badge { display: inline-flex; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-cyan { background: var(--accent-light); color: var(--accent); }
.badge-green { background: #ecfdf5; color: var(--success); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Map ===== */
.map-container { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { width: 100%; height: 350px; border: 0; }
