/* ===========================
   스튜디오72 - 공통 CSS
   =========================== */

/* ===========================
   SVG Icon System
   =========================== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg {
  display: block;
}

/* Icon sizes */
.icon-sm svg { width: 16px; height: 16px; }
.icon-md svg { width: 22px; height: 22px; }
.icon-lg svg { width: 28px; height: 28px; }
.icon-xl svg { width: 40px; height: 40px; }

/* Colored icon wrappers */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box-blue  { background: rgba(59,130,246,0.10); }
.icon-box-navy  { background: rgba(26,58,107,0.10); }
.icon-box-teal  { background: rgba(8,145,178,0.10); }
.icon-box-purple{ background: rgba(124,58,237,0.10); }
.icon-box-green { background: rgba(5,150,105,0.10); }
.icon-box-white { background: rgba(255,255,255,0.15); }

/* Success check icon */
.success-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(16,185,129,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* Warning note icon */
.warn-icon { color: #d97706; }

:root {
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --primary-dark: #102040;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   Header
   =========================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

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

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child {
  margin-top: 12px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 12px;
  border-bottom: none;
}

/* ===========================
   Floating CTA
   =========================== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  white-space: nowrap;
}
.floating-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }

.floating-kakao {
  background: #FEE500;
  color: #3c1e1e;
}
.floating-consult {
  background: var(--primary);
  color: #fff;
}

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

section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59,130,246,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,58,107,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--bg-gray);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ===========================
   Cards
   =========================== */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ===========================
   Grid
   =========================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===========================
   Form
   =========================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  font-family: inherit;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===========================
   Badge
   =========================== */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.badge-blue { background: rgba(59,130,246,0.1); color: var(--accent); }
.badge-green { background: rgba(16,185,129,0.1); color: #059669; }
.badge-orange { background: rgba(245,158,11,0.1); color: #d97706; }
.badge-red { background: rgba(239,68,68,0.1); color: #dc2626; }
.badge-purple { background: rgba(139,92,246,0.1); color: #7c3aed; }

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-brand .logo { color: #fff; font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.8;
}

/* ===========================
   Tag Chip
   =========================== */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-gray);
  border-radius: 4px;
  color: var(--text-muted);
}

/* ===========================
   Step Indicator
   =========================== */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===========================
   Mock Thumbnail Styles
   =========================== */
.mock-browser {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.mock-browser-bar {
  background: #f1f5f9;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot-red { background: #fc5c5c; }
.mock-dot-yellow { background: #fbbc04; }
.mock-dot-green { background: #34c759; }
.mock-url {
  flex: 1;
  height: 22px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-left: 10px;
}
.mock-content {
  padding: 20px;
  min-height: 140px;
}
.mock-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
  height: 80px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-hero-text {
  background: rgba(255,255,255,0.9);
  height: 10px;
  border-radius: 4px;
  width: 60%;
}
.mock-line {
  height: 8px;
  background: var(--bg-gray);
  border-radius: 4px;
  margin-bottom: 8px;
}
.mock-line-short { width: 60%; }
.mock-line-medium { width: 80%; }
.mock-btn-mock {
  height: 28px;
  background: var(--primary);
  border-radius: 4px;
  width: 80px;
  margin-top: 12px;
}

/* Mobile thumbnail */
.mock-phone {
  background: #fff;
  border-radius: 20px;
  border: 4px solid #1e293b;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  width: 80px;
}
.mock-phone-bar {
  background: #1e293b;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-phone-notch {
  width: 30px;
  height: 6px;
  background: #0f172a;
  border-radius: 0 0 6px 6px;
}
.mock-phone-content {
  padding: 8px;
  min-height: 120px;
}

/* Wireframe style thumbnail */
.mock-wireframe {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 16px;
}
.mock-wf-header {
  height: 24px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 12px;
}
.mock-wf-hero {
  height: 60px;
  background: #dde6f0;
  border-radius: 6px;
  margin-bottom: 10px;
}
.mock-wf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.mock-wf-block {
  height: 36px;
  background: #e8eef4;
  border-radius: 4px;
}

/* ===========================
   Thumbnail Card in Samples
   =========================== */
.thumb-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-gray);
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,107,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.card:hover .thumb-overlay { opacity: 1; }

/* ===========================
   Alert / Notice
   =========================== */
.notice-bar {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===========================
   Pricing
   =========================== */
.plan-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.plan-card.recommended {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,58,107,0.08);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.plan-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.plan-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.plan-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.plan-list li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.plan-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .floating-cta { bottom: 16px; right: 16px; gap: 8px; }
  .floating-btn { padding: 10px 16px; font-size: 0.8rem; }
}
